/* Hero Section Styles */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-primary) !important;
    color: var(--text-primary);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(34, 197, 94, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(234, 179, 8, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(20, 184, 166, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, rgba(34, 197, 94, 0.04) 0%, transparent 40%);
    opacity: 0.7;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: var(--glass-bg);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin-bottom: 1rem;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: 0 2px 12px rgba(34, 197, 94, 0.15);
}

.hero-badge span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--fintech-primary-light);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    margin-bottom: 0.75rem;
    line-height: 1.1;
    color: var(--text-primary);
    letter-spacing: -0.04em;
    text-shadow: 0 2px 20px rgba(34, 197, 94, 0.1);
}

.highlight {
    color: var(--fintech-primary-light);
    position: relative;
    font-weight: 800;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--fintech-primary), var(--fintech-accent));
    z-index: -1;
    border-radius: 2px;
    opacity: 0.4;
}

.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 1rem;
    opacity: 0.9;
    color: #cbd5e1;
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0.8;
    color: #94a3b8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    margin-top: 1rem;
    box-shadow: var(--glass-shadow);
}

.hero-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 20px 20px 0 0;
    opacity: 0.8;
}

.hero-stats::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    filter: blur(10px);
}

.hero-stats:hover::after {
    opacity: 0.1;
}

.hero-stat {
    text-align: center;
    position: relative;
    padding: 0.5rem 1rem;
    flex: 1;
    min-width: 120px;
}

.hero-stat::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: var(--border);
}

.hero-stat:last-child::after {
    display: none;
}

.stat-number {
    display: block;
    font-size: 2.25rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    color: var(--fintech-accent);
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image .profile-image {
    width: 300px !important;
    height: 300px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    position: relative;
    z-index: 3;
    border: 3px solid rgba(34, 197, 94, 0.3);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.2), 0 0 60px rgba(34, 197, 94, 0.1);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    max-width: 300px !important;
    max-height: 300px !important;
    min-width: 300px !important;
    min-height: 300px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image .profile-image:hover {
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.3), 0 0 80px rgba(34, 197, 94, 0.15);
    border-color: var(--fintech-primary);
}

.hero-image .profile-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    transition: transform 0.3s ease;
    display: block !important;
    max-width: 100% !important;
    max-height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
}

.hero-image .profile-image:hover img {
    transform: scale(1.05);
}

/* Orbiting Elements - Fintech Style */
.orbiting-elements {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Hide orbiting elements on low-end devices */
.low-end-device .orbiting-elements {
    display: none !important;
}

.orbiting-element {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    box-shadow: var(--glass-shadow), 0 0 20px rgba(34, 197, 94, 0.2);
    color: var(--fintech-primary-light);
    font-size: 1.5rem;
    transform: translate(-50%, -50%);
    animation: orbit var(--orbit-speed, 20s) linear infinite;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    pointer-events: auto;
    will-change: transform, animation-duration;
    cursor: pointer;
    z-index: var(--z-index, 1);
}

.orbiting-element:hover {
    z-index: 10 !important;
}

.orbiting-element.speed-boost {
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.6), var(--glass-shadow);
    border-color: var(--fintech-primary);
    background: rgba(34, 197, 94, 0.2);
}

.orbiting-element::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--orbit-radius, 180px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.1), transparent);
    transform-origin: 0 0;
    transform: translate(-50%, -50%) rotate(var(--start-angle, 0deg));
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-image:hover .orbiting-element::before {
    opacity: 1;
}

.orbiting-element:hover,
.orbiting-element:active {
    background: rgba(34, 197, 94, 0.15);
    border-color: var(--fintech-primary);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.4), var(--glass-shadow);
    color: var(--fintech-primary-light);
    z-index: 10;
}

@keyframes orbit {
    from {
        transform: translate(-50%, -50%) rotate(var(--start-angle, 0deg)) translateX(var(--orbit-radius, 180px)) rotate(calc(-1 * var(--start-angle, 0deg)));
    }
    to {
        transform: translate(-50%, -50%) rotate(calc(360deg + var(--start-angle, 0deg))) translateX(var(--orbit-radius, 180px)) rotate(calc(-360deg - var(--start-angle, 0deg)));
    }
}

/* Separate rotation for icon content - only rotates the icon, not the container */
.orbiting-element i {
    display: inline-block;
    animation: iconRotate 5s linear infinite;
    transform-origin: center center;
    will-change: transform;
}

/* TypeScript icon styling */
.orbiting-element .typescript-icon {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    color: var(--fintech-primary-light);
    letter-spacing: -0.02em;
    animation: iconRotate 5s linear infinite;
    transform-origin: center center;
    will-change: transform;
}

.orbiting-element:hover .typescript-icon,
.orbiting-element:active .typescript-icon {
    animation: iconRotate 0.8s linear infinite;
    transition: animation 0.2s ease;
}

@keyframes iconRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.orbiting-element:hover i,
.orbiting-element:active i {
    animation: iconRotate 0.8s linear infinite;
    transition: animation 0.2s ease;
}

.profile-placeholder {
    width: 300px;
    height: 300px;
    background: rgba(30, 64, 175, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(30, 64, 175, 0.15);
    border: 3px solid rgba(30, 64, 175, 0.15);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
    box-shadow: 0 0 15px rgba(30, 64, 175, 0.12);
}

