/* Hero Section Overhaul */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 140px 0 100px;
    overflow: hidden;
    background: var(--bg-primary);
}

/* Cinematic Mesh Background */
.mesh-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    filter: blur(80px);
    opacity: 0.6;
}

.mesh-item {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
}

.mesh-1 {
    top: -10%;
    right: -5%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent-gold-glow) 0%, transparent 70%);
}

.mesh-2 {
    bottom: -10%;
    left: -5%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(143, 125, 101, 0.15) 0%, transparent 70%);
}

.mesh-3 {
    top: 20%;
    left: 10%;
    width: 30vw;
    height: 30vw;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
}

.mesh-4 {
    top: 60%;
    right: 20%;
    width: 25vw;
    height: 25vw;
    background: radial-gradient(circle, rgba(196, 164, 108, 0.08) 0%, transparent 70%);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.float-card {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 24px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-premium);
    animation: float 8s ease-in-out infinite;
    min-width: 200px;
}

.glass-card-1 {
    top: 25%;
    right: 10%;
    transform: rotate(5deg);
}

.glass-card-2 {
    bottom: 25%;
    right: 5%;
    transform: rotate(-3deg);
    animation-delay: -3s;
}

.glass-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(196, 164, 108, 0.1);
    border-radius: 50%;
    color: var(--accent-gold);
}

.rank-icon {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
}

.glass-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.glass-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
}

.glass-sub {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-secondary);
}

.hero-content {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 100px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-primary);
    margin-bottom: 40px;
    font-family: var(--font-mono);
    box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-gold);
    box-shadow: 0 0 10px var(--accent-gold);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(56px, 8vw, 110px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.hero h1 .serif {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 500;
    color: var(--accent-gold);
    display: inline-block;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-secondary);
    margin-bottom: 60px;
    max-width: 580px;
    line-height: 1.5;
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Elevated Phone Showcase */
.phone-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Subtle 3D Tilt for more interest */
    transform: perspective(2000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.8s var(--ease-silk);
}

.phone-showcase:hover {
    transform: perspective(2000px) rotateY(-5deg) rotateX(2deg);
}

.stats-strip {
    display: flex;
    gap: 80px;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--border-subtle);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 10px;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(15deg); }
    50% { transform: translateY(-20px) rotate(18deg); }
}

@media (max-width: 1200px) {
    .hero-content {
        gap: 60px;
    }
}

@media (max-width: 1024px) {
    .hero {
        padding: 120px 0 60px;
    }
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-cta-group {
        justify-content: center;
        flex-wrap: wrap;
    }
    .stats-strip {
        justify-content: center;
        gap: 40px;
        flex-wrap: wrap;
    }
    .phone-showcase {
        transform: none !important;
    }
    /* Hide floating cards on tablet — they overlap the stacked layout */
    .floating-elements {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 100px 0 40px;
    }
    .hero h1 {
        font-size: clamp(44px, 12vw, 72px);
    }
    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 40px;
    }
    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }
    .hero-badge {
        font-size: 11px;
    }
    .stats-strip {
        gap: 24px;
        margin-top: 48px;
    }
    .stat-number {
        font-size: 30px;
    }
}
