/* ============================================
   HalalScreen - Professional Landing Page Styles
   Enhanced for Accessibility & Performance
   ============================================ */

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    /* Colors - Main Palette */
    --void: #000000;
    --space: #0a0a14;
    --emerald: #10b981;
    --emerald-bright: #34d399;
    --gold: #fbbf24;
    --gold-bright: #fde047;
    --white: #ffffff;
    
    /* Colors - Opacity Variants (WCAG Enhanced) */
    --white-90: rgba(255, 255, 255, 0.9);
    --white-80: rgba(255, 255, 255, 0.8);
    --white-70: rgba(255, 255, 255, 0.7);
    --white-60: rgba(255, 255, 255, 0.6);
    --white-40: rgba(255, 255, 255, 0.4);
    --white-20: rgba(255, 255, 255, 0.2);
    --white-10: rgba(255, 255, 255, 0.1);
    --red: #ef4444;
    
    /* Typography */
    --font-display: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 30px;
    --radius-xl: 40px;
    --radius-full: 999px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-slow: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Z-Index Scale */
    --z-background: 0;
    --z-particles: 1;
    --z-content: 2;
    --z-cursor-glow: 9999;
    --z-cursor-core: 10000;
}

/* ============================================
   BODY & BASE TYPOGRAPHY
   ============================================ */
body {
    font-family: var(--font-body);
    background: var(--void);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Show cursor on mobile, custom on desktop */
@media (hover: hover) and (pointer: fine) {
    body {
        cursor: none;
    }
}

/* ============================================
   SKIP LINK (Accessibility)
   ============================================ */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--emerald);
    color: var(--void);
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    z-index: 10001;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 1rem;
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

/* ============================================
   FOCUS STATES (Accessibility)
   ============================================ */
*:focus-visible {
    outline: 3px solid var(--emerald-bright);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

/* ============================================
   BRANDING
   ============================================ */
.brand-logo {
    width: clamp(90px, 18vw, 140px);
    display: block;
    margin-bottom: var(--spacing-md);
    filter: drop-shadow(0 15px 40px rgba(16, 185, 129, 0.4));
}

.brand-logo.compact {
    width: clamp(70px, 10vw, 110px);
    margin: 0 auto var(--spacing-md);
}

.lock-logo {
    width: 56px;
    margin: 0 auto 1.25rem;
    filter: drop-shadow(0 10px 20px rgba(16, 185, 129, 0.35));
}

/* ============================================
   HARDWARE ACCELERATION
   ============================================ */
.custom-cursor,
.custom-cursor-core,
.phone-showcase,
.feature-orb,
.bento-card {
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.custom-cursor {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    pointer-events: none;
    z-index: var(--z-cursor-glow);
    mix-blend-mode: screen;
    transition: opacity var(--transition-fast);
}

.custom-cursor-core {
    position: fixed;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald-bright);
    pointer-events: none;
    z-index: var(--z-cursor-core);
    box-shadow: 0 0 15px var(--emerald);
}

@media (hover: none) or (pointer: coarse) {
    .custom-cursor,
    .custom-cursor-core {
        display: none;
    }
}

/* ============================================
   PARTICLE CANVAS
   ============================================ */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-particles);
    pointer-events: none;
}

/* ============================================
   FLOATING DHIKR TEXT
   ============================================ */
.dhikr-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-particles);
    pointer-events: none;
    overflow: hidden;
}

.dhikr-text {
    position: absolute;
    font-family: var(--font-display);
    font-weight: 600;
    color: rgba(16, 185, 129, 0.08);
    user-select: none;
    white-space: nowrap;
}

@keyframes floatDhikr {
    0% {
        transform: translate3d(var(--tx), var(--ty), 0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate3d(calc(var(--tx) + var(--dx)), calc(var(--ty) + var(--dy)), 0) rotate(var(--rotate));
        opacity: 0;
    }
}

/* ============================================
   COSMIC BACKGROUND
   ============================================ */
.cosmic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-background);
    background:
        radial-gradient(ellipse at 20% 30%, rgba(76, 29, 149, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(30, 58, 138, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(16, 185, 129, 0.05) 0%, transparent 70%),
        var(--void);
    will-change: transform;
}

/* ============================================
   MAIN CONTAINER
   ============================================ */
.container {
    position: relative;
    z-index: var(--z-content);
    perspective: 2000px;
    perspective-origin: center;
}

/* ============================================
   SECTION BASE
   ============================================ */
section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    position: relative;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    position: relative;
}

.hero-text {
    opacity: 0;
    animation: heroFadeIn 1s ease-out 0.3s forwards;
}

@keyframes heroFadeIn {
    to { opacity: 1; }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--emerald-bright);
    margin-bottom: var(--spacing-lg);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
    animation: badgePulse 2s ease-in-out infinite;
    width: fit-content;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 30px rgba(16, 185, 129, 0.2); }
    50% { box-shadow: 0 0 50px rgba(16, 185, 129, 0.4); }
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--emerald-bright);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale3d(1, 1, 1); }
    50% { opacity: 0.5; transform: scale3d(0.8, 0.8, 1); }
}

h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

.hero-title-main {
    background: linear-gradient(135deg, var(--white) 0%, var(--emerald-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-title-accent {
    background: linear-gradient(135deg, var(--emerald-bright) 0%, var(--gold-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
    background-size: 200% 200%;
    display: block;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.35rem);
    line-height: 1.6;
    color: var(--white-80);
    margin-bottom: var(--spacing-xl);
}

/* ============================================
   BUTTONS & CTAs
   ============================================ */
.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
}

.btn {
    padding: 18px 36px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate3d(-50%, -50%, 0);
    transition: width 0.4s ease, height 0.4s ease;
}

.btn:hover::before,
.btn:focus::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-bright) 100%);
    color: var(--void);
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.4);
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translate3d(0, -3px, 0) scale(1.05);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--white-10);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover,
.btn-secondary:focus {
    transform: translate3d(0, -3px, 0) scale(1.05);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white-40);
}

/* ============================================
   SOCIAL PROOF
   ============================================ */
.social-proof {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--white-70);
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.proof-item strong {
    color: var(--emerald-bright);
    font-weight: 700;
}

/* ============================================
   3D PHONE IN HERO
   ============================================ */
.hero-phone {
    position: relative;
    transform-style: preserve-3d;
    opacity: 0;
    animation: float3D 6s ease-in-out infinite, heroFadeIn 1s ease-out 0.5s forwards;
}

@keyframes float3D {
    0%, 100% {
        transform: translate3d(0, 0, 50px) rotateY(-15deg) rotateX(5deg);
    }
    50% {
        transform: translate3d(0, -20px, 80px) rotateY(10deg) rotateX(-3deg);
    }
}

.phone-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding-top: var(--spacing-md);
    filter: drop-shadow(0 60px 110px rgba(16, 185, 129, 0.45));
}

.phone-glow {
    position: absolute;
    inset: -90px -40px -40px;
    background:
        radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.35) 0%, transparent 55%),
        radial-gradient(circle at 30% 80%, rgba(52, 211, 153, 0.25) 0%, transparent 60%),
        radial-gradient(circle at 80% 100%, rgba(251, 191, 36, 0.18) 0%, transparent 55%);
    filter: blur(60px);
    opacity: 0.85;
    pointer-events: none;
    z-index: -1;
}

.phone {
    position: relative;
    width: 100%;
    aspect-ratio: 9/19.5;
    background:
        radial-gradient(circle at 30% 0%, rgba(11, 71, 65, 0.6) 0%, rgba(7, 19, 25, 0.2) 45%, transparent 70%),
        linear-gradient(160deg, #040b11 0%, #071821 45%, #031713 100%);
    border-radius: 46px;
    padding: 16px;
    border: 1px solid rgba(16, 185, 129, 0.4);
    box-shadow:
        0 0 0 6px rgba(4, 9, 13, 0.8),
        inset 0 0 80px rgba(25, 255, 199, 0.08),
        0 60px 130px rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.phone::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 32px;
    background: rgba(3, 8, 12, 0.9);
    border-radius: 20px;
    z-index: 10;
    box-shadow: inset 0 -2px 6px rgba(0, 0, 0, 0.6);
}

.phone::after {
    content: '';
    position: absolute;
    top: 26px;
    right: 80px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.8) 0%, rgba(16, 185, 129, 0.1) 70%);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
    z-index: 11;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 50% 0%, rgba(17, 94, 89, 0.4) 0%, transparent 55%),
        linear-gradient(180deg, #030e10 0%, #04171b 45%, #071320 100%);
    border-radius: 38px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% -5%, rgba(255, 255, 255, 0.08) 0%, transparent 55%);
    pointer-events: none;
}

/* ============================================
   LOCK SCREEN CONTENT
   ============================================ */
.lock-screen {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2.75rem 1.75rem 2rem;
    gap: var(--spacing-md);
}

.lock-status {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.status-indicators {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: var(--spacing-xs);
}

.status-bar {
    width: 14px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.2);
}

.status-bar.bar-tall {
    height: 8px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald-bright);
    box-shadow: 0 0 6px var(--emerald-bright);
}

.lock-time {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 300;
    color: var(--white);
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.02em;
}

.lock-date {
    font-size: 0.9rem;
    color: var(--white-70);
}

.lock-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.4rem 1.1rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(16, 185, 129, 0.1);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white-80);
}

.lock-chip img {
    width: 18px;
    height: 18px;
}

.lock-hint {
    font-size: 0.85rem;
    color: var(--white-70);
    text-align: center;
}

/* ============================================
   APP LOCK CARD
   ============================================ */
.app-lock-card {
    width: 100%;
    background:
        radial-gradient(circle at 20% 0%, rgba(16, 185, 129, 0.4) 0%, transparent 60%),
        linear-gradient(145deg, rgba(5, 23, 24, 0.95) 0%, rgba(4, 12, 20, 0.95) 100%);
    backdrop-filter: blur(25px);
    border: 1.5px solid rgba(16, 185, 129, 0.35);
    border-radius: 30px;
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.app-lock-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.3) 0%, transparent 75%);
    opacity: 0.6;
}

.app-lock-content {
    position: relative;
    z-index: 1;
}

.app-lock-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.app-lock-text {
    flex: 1;
}

.locked-app-icon {
    width: 76px;
    height: 76px;
    background: linear-gradient(135deg, #e11d48, #f97316);
    border-radius: 20px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    position: relative;
    box-shadow: 0 25px 40px rgba(225, 29, 72, 0.35);
}

.lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lock-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.app-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.lock-message {
    font-size: 0.9rem;
    color: var(--white-70);
}

.lock-pill {
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--white-20);
    color: var(--white-80);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dhikr-progress {
    margin-top: var(--spacing-xs);
}

.dhikr-count {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--emerald-bright), var(--gold-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.dhikr-label {
    font-size: 0.75rem;
    color: var(--white-70);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-top: var(--spacing-sm);
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--emerald), var(--gold-bright));
    border-radius: var(--radius-full);
    width: 12%;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
    animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {
    0%, 100% { box-shadow: 0 0 10px var(--emerald); }
    50% { box-shadow: 0 0 20px var(--emerald-bright); }
}

.unlock-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--emerald), var(--emerald-bright));
    border: none;
    border-radius: 18px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--void);
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.45);
    transition: all var(--transition-base);
}

.unlock-btn:hover,
.unlock-btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.6);
}

.lock-footer {
    font-size: 0.8rem;
    color: var(--white-40);
    text-align: center;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-2xl) var(--spacing-lg);
}

.features-grid {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.feature-orb {
    background: rgba(16, 185, 129, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 30px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: translate3d(0, 50px, 0);
}

.feature-orb.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.feature-orb::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-orb:hover,
.feature-orb:focus-within {
    transform: translate3d(0, -10px, 0);
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
}

.feature-orb:hover::before,
.feature-orb:focus-within::before {
    opacity: 1;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.feature-orb h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.feature-orb p {
    color: var(--white-70);
    line-height: 1.6;
    font-size: 1rem;
}

/* ============================================
   PORTAL SECTION
   ============================================ */
.portal {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.portal-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: scale3d(0.9, 0.9, 1);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.portal-content.visible {
    opacity: 1;
    transform: scale3d(1, 1, 1);
}

.portal-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, var(--emerald-bright) 0%, var(--gold-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.bento-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(30px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: var(--spacing-xl);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: translate3d(0, 50px, 0);
}

.bento-card.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.bento-card:nth-child(1) { transition-delay: 0.1s; }
.bento-card:nth-child(2) { transition-delay: 0.2s; }
.bento-card:nth-child(3) { transition-delay: 0.3s; }

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--emerald), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.bento-card:hover,
.bento-card:focus-within {
    transform: translate3d(0, -10px, 0) scale(1.02);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.2);
}

.bento-card:hover::before,
.bento-card:focus-within::before {
    opacity: 1;
}

.bento-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    display: block;
}

.bento-card h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.bento-card p {
    color: var(--white-70);
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.stat-card {
    text-align: center;
    padding: var(--spacing-lg);
    background: rgba(16, 185, 129, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: scale3d(0.8, 0.8, 1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-card.visible {
    opacity: 1;
    transform: scale3d(1, 1, 1);
}

.stat-card:nth-child(1) { transition-delay: 0.4s; }
.stat-card:nth-child(2) { transition-delay: 0.5s; }
.stat-card:nth-child(3) { transition-delay: 0.6s; }

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--emerald-bright), var(--gold-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    color: var(--white-70);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cta-card {
    max-width: 800px;
    width: 100%;
    background: rgba(16, 185, 129, 0.05);
    backdrop-filter: blur(40px) saturate(200%);
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: scale3d(0.9, 0.9, 1);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cta-card.visible {
    opacity: 1;
    transform: scale3d(1, 1, 1);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 60%);
    animation: rotateGradient 8s linear infinite;
}

@keyframes rotateGradient {
    to { transform: rotate(360deg); }
}

.cta-card-content {
    position: relative;
    z-index: 1;
}

.cta-card h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--white) 0%, var(--emerald-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-card p {
    font-size: 1.25rem;
    color: var(--white-80);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-card .brand-logo {
    margin: 0 auto var(--spacing-lg);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    padding: var(--spacing-xl) var(--spacing-lg);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: var(--z-content);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo img {
    width: 52px;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(16, 185, 129, 0.35));
}

.footer-logo span {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--emerald-bright), var(--gold-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white-70);
    text-decoration: none;
    transition: color var(--transition-fast);
    padding: 0.5rem;
}

.footer-links a:hover,
.footer-links a:focus {
    color: var(--emerald-bright);
}

.footer-copy {
    width: 100%;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--white-40);
    font-size: 0.875rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }

    .hero-text {
        order: 2;
    }

    .hero-phone {
        order: 1;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-buttons {
        justify-content: center;
    }

    .social-proof {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    section { 
        padding: var(--spacing-md) var(--spacing-sm); 
    }
    
    h1 { 
        font-size: 2.5rem; 
    }
    
    .features-grid, 
    .bento-grid, 
    .stats-grid { 
        grid-template-columns: 1fr; 
    }
    
    .cta-card { 
        padding: 2.5rem var(--spacing-md); 
    }
    
    .footer-content { 
        flex-direction: column; 
        text-align: center; 
    }
    
    .footer-links { 
        justify-content: center; 
    }
}

/* ============================================
   SCROLL REVEAL ANIMATION
   ============================================ */
.reveal {
    opacity: 0;
    transform: translate3d(0, 50px, 0);
    transition: all var(--transition-slow);
}

.reveal.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .custom-cursor,
    .custom-cursor-core,
    #particle-canvas,
    .dhikr-container,
    .cosmic-bg {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .custom-cursor,
    .custom-cursor-core {
        display: none;
    }
}
