/* ==========================================
   COSMIC SPACE THEME - FAHLAWI APP COLORS
========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* --- FAHLAWI APP BRANDING --- */
    /* Your Gradient: PurpleHeart -> FuchsiaPink -> VibrantPurple */
    --primary-gradient: linear-gradient(135deg, #6F35E6, #D330E2, #8037E6);
    
    /* Keeping the Blue/Cyan as a secondary accent for contrast (Icons, etc.) */
    --secondary-gradient: linear-gradient(135deg, #4facfe, #00f2fe);
    
    /* Success/Green remains for variety */
    --success-gradient: linear-gradient(135deg, #43e97b, #38f9d7);
    
    /* Updated Purple Gradient for specific accents */
    --purple-gradient: linear-gradient(135deg, #D330E2, #8037E6);
    
    /* --- DEEP SPACE COLORS --- */
    --space-dark: #0a0a0f;
    --space-deep: #15044A; /* Your App Dark Background */
    
    /* Glow Colors - Updated to match your Pink/Purple */
    --nebula-pink: rgba(211, 48, 226, 0.4); /* Matches FuchsiaPink */
    --star-white: #ffffff;
    --planet-glow: rgba(211, 48, 226, 0.6); /* Glows are now Pink instead of Red */
    
    /* Glass Morphism */
    --card-bg: rgba(21, 4, 74, 0.3); /* Based on your #15044A */
    --card-border: rgba(211, 48, 226, 0.15); /* Pinkish borders */
    
    /* Text */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.85);
    
    /* Effects */
    --shadow-deep: 0 15px 45px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(128, 55, 230, 0.4); /* Vibrant Purple Glow */
    --transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Cairo', sans-serif;
    /* Updated background using your #15044A */
    background: radial-gradient(ellipse at bottom, #15044A 0%, #090A0F 100%);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    position: relative;
}

/* ==========================================
   COSMIC PARTICLE BACKGROUND
========================================== */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Animated Stars Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(1.5px 1.5px at 15px 22.5px, white, transparent),
        radial-gradient(1.5px 1.5px at 45px 52.5px, white, transparent),
        radial-gradient(0.75px 0.75px at 37.5px 37.5px, white, transparent),
        radial-gradient(0.75px 0.75px at 97.5px 60px, white, transparent),
        radial-gradient(1.5px 1.5px at 67.5px 7.5px, white, transparent);
    background-size: 150px 150px;
    background-repeat: repeat;
    animation: twinkle 5s ease-in-out infinite;
    z-index: -1;
    opacity: 0.6;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Moving Nebula Effect */
body::after {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    /* Updated Nebulas to use your Pink/Purples */
    background: 
        radial-gradient(circle at 20% 50%, rgba(211, 48, 226, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(79, 172, 254, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(128, 55, 230, 0.1) 0%, transparent 50%);
    animation: nebula-drift 60s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes nebula-drift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(5%, -5%) rotate(120deg); }
    66% { transform: translate(-5%, 5%) rotate(240deg); }
}

/* ==========================================
   LANGUAGE TOGGLE
========================================== */
.language-toggle {
    position: fixed;
    top: 75px;
    left: 22.5px;
    z-index: 9999;
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1.5px solid var(--card-border);
    border-radius: 37.5px;
    padding: 9px 15px;
    display: flex;
    align-items: center;
    gap: 7.5px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-deep), 0 0 15px rgba(79, 172, 254, 0.3);
}

.language-toggle:hover {
    transform: translateY(-3.75px) scale(1.05);
    box-shadow: var(--shadow-deep), 0 0 22.5px rgba(79, 172, 254, 0.6);
    border-color: rgba(79, 172, 254, 0.5);
}

.language-toggle i {
    font-size: 13px;
    color: #4facfe;
}

/* ==========================================
   NAVBAR
========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(21, 4, 74, 0.9); /* #15044A with opacity */
    backdrop-filter: blur(22.5px);
    /* Pink glow on scroll */
    box-shadow: var(--shadow-deep), 0 3.75px 22.5px rgba(211, 48, 226, 0.2);
}

.nav-wrapper {
    max-width: 1050px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border-radius: 18.75px;
    border: 1.5px solid var(--card-border);
    box-shadow: var(--shadow-deep);
}

.logo img {
    height: 37.5px;
    filter: drop-shadow(0 0 7.5px rgba(255, 255, 255, 0.3));
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.1) rotate(-5deg);
    /* Logo glow updated to Pink */
    filter: drop-shadow(0 0 15px rgba(211, 48, 226, 0.6));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    transition: var(--transition);
    position: relative;
    padding: 7.5px 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2.25px;
    background: var(--primary-gradient);
    border-radius: 2.25px;
    transition: var(--transition);
    /* Nav underline glow updated */
    box-shadow: 0 0 7.5px rgba(211, 48, 226, 0.6);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover {
    color: #D330E2; /* Pink hover */
    text-shadow: 0 0 7.5px rgba(211, 48, 226, 0.6);
}

/* ==========================================
   BUTTONS - UPDATED TO PURPLE SHINE
========================================== */
.btn {
    padding: 12px 26.25px;
    border-radius: 37.5px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 12.75px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    font-family: 'Cairo', sans-serif;
    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.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 225px;
    height: 225px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    /* Purple/Pink Shadow */
    box-shadow: 0 7.5px 22.5px rgba(128, 55, 230, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3.75px);
    /* Stronger Purple/Pink Shadow on Hover */
    box-shadow: 0 11.25px 30px rgba(211, 48, 226, 0.6), 0 0 22.5px rgba(128, 55, 230, 0.4);
}

.btn-gradient {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 7.5px 22.5px rgba(211, 48, 226, 0.5);
}

.btn-gradient:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 15px 37.5px rgba(211, 48, 226, 0.7), 0 0 30px rgba(128, 55, 230, 0.5);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2.25px solid white;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: white;
    color: #8037E6; /* Text becomes vibrant purple on hover */
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 15px 37.5px rgba(255, 255, 255, 0.4), 0 0 22.5px rgba(255, 255, 255, 0.6);
}

.btn-large {
    padding: 15px 33.75px;
    font-size: 14.25px;
}

.btn-white {
    background: white;
    color: #8037E6; /* Vibrant Purple text */
    box-shadow: 0 7.5px 22.5px rgba(255, 255, 255, 0.3);
}

.btn-white:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 15px 37.5px rgba(255, 255, 255, 0.5), 0 0 30px rgba(255, 255, 255, 0.4);
}

/* ==========================================
   HERO SECTION
========================================== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 135px 0 90px;
    overflow: hidden;
}

.hero-3d-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

#hero-canvas {
    width: 100%;
    height: 100%;
}

/* Planet Decorations - Updated to Pink */
.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -10%;
    width: 450px;
    height: 450px;
    /* Pink Planet */
    background: radial-gradient(circle, rgba(211, 48, 226, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(45px);
    animation: planet-float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -10%;
    width: 375px;
    height: 375px;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(45px);
    animation: planet-float 25s ease-in-out infinite reverse;
}

@keyframes planet-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-37.5px, -37.5px) scale(1.1); }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 45px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 75px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--primary-gradient);
    padding: 9px 18.75px;
    border-radius: 37.5px;
    font-weight: 700;
    font-size: 11.25px;
    margin-bottom: 26.25px;
    /* Badge Glow - Pink/Purple */
    box-shadow: 0 7.5px 22.5px rgba(211, 48, 226, 0.4), 0 0 15px rgba(211, 48, 226, 0.3);
    animation: pulse-glow 3s infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 7.5px 22.5px rgba(211, 48, 226, 0.4), 0 0 15px rgba(211, 48, 226, 0.3);
    }
    50% { 
        transform: scale(1.05); 
        box-shadow: 0 11.25px 30px rgba(211, 48, 226, 0.6), 0 0 22.5px rgba(211, 48, 226, 0.5);
    }
}

.hero-title {
    font-size: 54px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 22.5px;
    /* Text Shadow - Pink */
    text-shadow: 0 3.75px 15px rgba(0, 0, 0, 0.5), 0 0 30px rgba(211, 48, 226, 0.3);
    letter-spacing: -0.75px;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(211, 48, 226, 0.4));
}

.hero-subtitle {
    font-size: 16.5px;
    color: var(--text-secondary);
    margin-bottom: 37.5px;
    line-height: 1.9;
    max-width: 525px;
}

.hero-actions {
    display: flex;
    gap: 18.75px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.download-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.download-btn {
    transition: var(--transition);
}

.download-btn img {
    height: 45px;
    border-radius: 11.25px;
    box-shadow: 0 7.5px 22.5px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.download-btn:hover img {
    transform: translateY(-6px) scale(1.1);
    /* Download button glow - Pink */
    box-shadow: 0 11.25px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(211, 48, 226, 0.4);
}

/* ==========================================
   3D PHONE MOCKUP
========================================== */
.hero-visual {
    position: relative;
    height: 525px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup-3d {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1125px;
}

.phone-wrapper {
    position: absolute;
    width: 235px;
    height: 460px;
    border-radius: 20px;
    border: 7.5px solid rgba(44, 62, 80, 0.8);
    overflow: hidden;
    box-shadow: 
        0 22.5px 60px rgba(0, 0, 0, 0.6),
        /* Phone glow - Pink */
        0 0 30px rgba(211, 48, 226, 0.3),
        inset 0 0 15px rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    transform-style: preserve-3d;
}

.phone-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-1 {
    left: 50%;
    top: 50%;
    transform: translate(-100%, -50%) rotate(-15deg) translateZ(60px);
    z-index: 1;
    animation: orbital-float1 8s ease-in-out infinite;
}

.phone-2 {
    right: 50%;
    top: 50%;
    transform: translate(100%, -50%) rotate(15deg) translateZ(37.5px);
    z-index: 2;
    animation: orbital-float2 8s ease-in-out infinite;
}

@keyframes orbital-float1 {
    0%, 100% { 
        transform: translate(-100%, -50%) rotate(-15deg) translateZ(60px) translateY(0); 
    }
    50% { 
        transform: translate(-100%, -50%) rotate(-12deg) translateZ(60px) translateY(-22.5px); 
    }
}

@keyframes orbital-float2 {
    0%, 100% { 
        transform: translate(100%, -50%) rotate(15deg) translateZ(37.5px) translateY(0); 
    }
    50% { 
        transform: translate(100%, -50%) rotate(12deg) translateZ(37.5px) translateY(22.5px); 
    }
}
/* ==========================================
   FLOATING COSMIC ELEMENTS
========================================== */
.floating-element {
    position: absolute;
    width: 75px;
    height: 75px;
    background: var(--card-bg);
    backdrop-filter: blur(11.25px);
    border: 2.25px solid var(--card-border);
    border-radius: 18.75px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: var(--shadow-deep), 0 0 22.5px rgba(211, 48, 226, 0.3);
    animation: cosmic-float 5s ease-in-out infinite;
}

.float-1 {
    top: 5%;
    right: 40%;
    animation-delay: 0s;
    background: radial-gradient(circle, rgba(211, 48, 226, 0.2) 0%, var(--card-bg) 70%);
}

.float-2 {
    bottom: 20%;
    left: 0%;
    animation-delay: 1.5s;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.2) 0%, var(--card-bg) 70%);
}

.float-3 {
    top: 60%;
    right: -2%;
    animation-delay: 3s;
    background: radial-gradient(circle, rgba(128, 55, 230, 0.2) 0%, var(--card-bg) 70%);
}

@keyframes cosmic-float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1); 
        box-shadow: var(--shadow-deep), 0 0 22.5px rgba(211, 48, 226, 0.3);
    }
    50% { 
        transform: translateY(-22.5px) rotate(15deg) scale(1.1); 
        box-shadow: var(--shadow-deep), 0 0 37.5px rgba(211, 48, 226, 0.6);
    }
}

/* ==========================================
   SCROLL INDICATOR
========================================== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    animation: cosmic-bounce 2.5s infinite;
}

.mouse {
    width: 24px;
    height: 41.25px;
    border: 2.25px solid var(--text-primary);
    border-radius: 22.5px;
    position: relative;
    box-shadow: 0 0 11.25px rgba(255, 255, 255, 0.3);
}

.wheel {
    width: 3px;
    height: 9px;
    background: var(--text-primary);
    border-radius: 1.5px;
    position: absolute;
    top: 9px;
    left: 50%;
    transform: translateX(-50%);
    animation: cosmic-scroll 2s infinite;
    box-shadow: 0 0 7.5px rgba(255, 255, 255, 0.6);
}

@keyframes cosmic-scroll {
    0% { opacity: 1; top: 9px; }
    100% { opacity: 0; top: 26.25px; }
}

@keyframes cosmic-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-11.25px); }
}

/* ==========================================
   CONTAINER & SECTIONS
========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 45px;
}

section {
    padding: 112.5px 0;
    position: relative;
}

/* Section dividers - Pink */
section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(211, 48, 226, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(30px);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 75px;
    position: relative;
}

.badge-gradient {
    display: inline-block;
    background: var(--primary-gradient);
    padding: 9px 22.5px;
    border-radius: 37.5px;
    font-weight: 700;
    font-size: 12.75px;
    margin-bottom: 22.5px;
    box-shadow: 0 7.5px 22.5px rgba(211, 48, 226, 0.4), 0 0 15px rgba(211, 48, 226, 0.3);
}

.section-title {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 18.75px;
    text-shadow: 0 3.75px 15px rgba(0, 0, 0, 0.4), 0 0 22.5px rgba(211, 48, 226, 0.2);
    letter-spacing: -0.75px;
}

.section-subtitle {
    font-size: 16.5px;
    color: var(--text-secondary);
    max-width: 675px;
    margin: 0 auto;
    line-height: 1.9;
}

/* ==========================================
   WHAT IS FAHLAWI
========================================== */
.what-is-fahlawi {
    background: radial-gradient(ellipse at center, rgba(62, 31, 112, 0.3) 0%, transparent 70%);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.highlight-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1.5px solid var(--card-border);
    border-radius: 22.5px;
    padding: 37.5px 26.25px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-deep);
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    /* Hover rotation glow - Pink */
    background: radial-gradient(circle, rgba(211, 48, 226, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.highlight-card:hover::before {
    opacity: 1;
    animation: rotate-glow 4s linear infinite;
}

@keyframes rotate-glow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.highlight-card:hover {
    transform: translateY(-11.25px) scale(1.05);
    box-shadow: var(--shadow-deep), 0 15px 45px rgba(211, 48, 226, 0.4);
    border-color: rgba(211, 48, 226, 0.5);
}

/* Update Highlight Icons to use Fahlawi Pink Glow */
.highlight-icon {
    /* Removed font-size since we are using SVGs now */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18.75px;
    
    /* Updated Glow to your Pink (Matches Categories) */
    filter: drop-shadow(0 0 15px rgba(211, 48, 226, 0.4));
}

/* Ensure the SVG inside the Highlight card is sized correctly */
.highlight-card .fahlawi-icon {
    width: 65px;
    height: 65px;
}

.highlight-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 13.5px;
}

.highlight-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 12px;
}

/* ==========================================
   FEATURES SECTION
========================================== */
.features {
    background: radial-gradient(ellipse at center, rgba(79, 172, 254, 0.15) 0%, transparent 70%);
}

.main-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.main-feature-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1.5px solid var(--card-border);
    border-radius: 22.5px;
    padding: 37.5px 33.75px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-deep);
    position: relative;
}

.main-feature-card:hover {
    transform: translateY(-11.25px);
    box-shadow: var(--shadow-deep), 0 18.75px 52.5px rgba(79, 172, 254, 0.4);
    border-color: rgba(79, 172, 254, 0.5);
}

.feature-icon-3d {
    width: 90px;
    height: 90px;
    margin: 0 auto 22.5px;
    background: var(--secondary-gradient);
    border-radius: 22.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 37.5px;
    box-shadow: 0 15px 37.5px rgba(79, 172, 254, 0.5), 0 0 30px rgba(79, 172, 254, 0.3);
    transform-style: preserve-3d;
    transition: var(--transition);
}

.main-feature-card:hover .feature-icon-3d {
    transform: rotateY(360deg) scale(1.1);
}

.main-feature-card h3 {
    font-size: 19.5px;
    font-weight: 800;
    margin-bottom: 13.5px;
}

.main-feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 12.75px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22.5px;
}

.feature-item {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1.5px solid var(--card-border);
    border-radius: 18.75px;
    padding: 22.5px;
    display: flex;
    gap: 18.75px;
    transition: var(--transition);
    overflow: hidden;
}

.feature-content {
    flex: 1;
    min-width: 0;
}

.feature-item h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 7.5px;
    word-wrap: break-word;
}

.feature-item p {
    font-size: 11.25px;
    color: var(--text-secondary);
    line-height: 1.7;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.feature-item:hover {
    transform: translateX(-7.5px);
    border-color: rgba(211, 48, 226, 0.5);
    box-shadow: var(--shadow-deep), 0 7.5px 30px rgba(211, 48, 226, 0.3);
}

.feature-icon {
    width: 52.5px;
    height: 52.5px;
    background: var(--purple-gradient);
    border-radius: 13.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 7.5px 22.5px rgba(211, 48, 226, 0.4);
}

/* ==========================================
   HOW IT WORKS
========================================== */
.how-it-works {
    background: radial-gradient(ellipse at center, rgba(128, 55, 230, 0.15) 0%, transparent 70%);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.step-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1.5px solid var(--card-border);
    border-radius: 22.5px;
    padding: 37.5px 26.25px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-deep);
}

.step-card:hover {
    transform: translateY(-11.25px) scale(1.05);
    /* Hover Glow - Pink/Purple */
    box-shadow: var(--shadow-deep), 0 18.75px 52.5px rgba(211, 48, 226, 0.4);
}

.step-number {
    position: absolute;
    top: -18.75px;
    right: 26.25px;
    width: 45px;
    height: 45px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    font-weight: 900;
    box-shadow: 0 11.25px 30px rgba(211, 48, 226, 0.5), 0 0 22.5px rgba(211, 48, 226, 0.4);
}

.step-icon {
    width: 82.5px;
    height: 82.5px;
    margin: 18.75px auto 22.5px;
    background: var(--secondary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 37.5px;
    box-shadow: var(--shadow-deep), 0 0 22.5px rgba(79, 172, 254, 0.4);
}

.step-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 13.5px;
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 12px;
}

/* ==========================================
   CATEGORIES
========================================== */
.categories {
    background: radial-gradient(ellipse at center, rgba(67, 233, 123, 0.1) 0%, transparent 70%);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 26.25px;
}

.category-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1.5px solid var(--card-border);
    border-radius: 22.5px;
    padding: 37.5px 22.5px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-deep);
}

.category-card:hover {
    transform: translateY(-11.25px) rotate(3deg) scale(1.05);
    /* Category hover - Pink */
    box-shadow: var(--shadow-deep), 0 18.75px 52.5px rgba(211, 48, 226, 0.4);
    border-color: rgba(211, 48, 226, 0.5);
}

.category-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px; /* Ensure container has height */
    margin-bottom: 15px;
}
/* 2. Style the new SVGs */
.fahlawi-icon {
    width: 60px;
    height: 60px;
    /* This filter creates the 'Glow' effect behind the SVG */
    filter: drop-shadow(0 0 8px rgba(211, 48, 226, 0.5));
    transition: transform 0.4s ease;
}

/* 3. Hover Animation */
.category-card:hover .fahlawi-icon {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 0 15px rgba(211, 48, 226, 0.8));
}
@keyframes orbit-bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-11.25px) rotate(10deg); }
}

.category-card h3 {
    font-size: 15.75px;
    font-weight: 800;
    margin-bottom: 9px;
}

.category-card p {
    font-size: 10.5px;
    color: var(--text-secondary);
}

/* ==========================================
   TESTIMONIALS
========================================== */
.testimonials {
    background: radial-gradient(ellipse at center, rgba(211, 48, 226, 0.15) 0%, transparent 70%);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1.5px solid var(--card-border);
    border-radius: 22.5px;
    padding: 33.75px 30px;
    transition: var(--transition);
    box-shadow: var(--shadow-deep);
}

.testimonial-card:hover {
    transform: translateY(-11.25px);
    /* Testimonial gold/pink mix */
    box-shadow: var(--shadow-deep), 0 18.75px 52.5px rgba(128, 55, 230, 0.4);
    border-color: rgba(128, 55, 230, 0.5);
}

.stars {
    font-size: 18px;
    margin-bottom: 18.75px;
    filter: drop-shadow(0 0 7.5px rgba(255, 215, 0, 0.6));
}

.testimonial-text {
    font-size: 12.75px;
    line-height: 1.9;
    margin-bottom: 22.5px;
    color: var(--text-secondary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 13.5px;
}

.author-avatar {
    width: 52.5px;
    height: 52.5px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 7.5px 22.5px rgba(211, 48, 226, 0.4);
}

.author-info h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4.5px;
}

.author-info p {
    font-size: 11.25px;
    color: var(--text-secondary);
}

/* ==========================================
   CTA SECTION
========================================== */
.cta-section {
    padding: 90px 0;
}

.cta-card {
    background: var(--primary-gradient);
    border-radius: 30px;
    padding: 75px 60px;
    text-align: center;
    box-shadow: 0 22.5px 60px rgba(128, 55, 230, 0.5), 0 0 45px rgba(211, 48, 226, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate-glow 10s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 40.5px;
    font-weight: 900;
    margin-bottom: 18.75px;
    text-shadow: 0 3.75px 15px rgba(0, 0, 0, 0.3);
}

.cta-content p {
    font-size: 16.5px;
    margin-bottom: 37.5px;
    opacity: 0.95;
}

.cta-card .download-buttons {
    justify-content: center;
    margin-top: 37.5px;
}

/* ==========================================
   FOOTER
========================================== */
.footer {
    background: rgba(21, 4, 74, 0.6); /* User's Dark BG with opacity */
    backdrop-filter: blur(22.5px);
    border-top: 1.5px solid var(--card-border);
    padding: 75px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: var(--primary-gradient);
    box-shadow: 0 0 15px rgba(211, 48, 226, 0.6);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(262.5px, 1fr));
    gap: 45px;
    margin-bottom: 45px;
}

.footer-logo {
    height: 41.25px;
    margin-bottom: 18.75px;
    filter: drop-shadow(0 0 11.25px rgba(255, 255, 255, 0.3));
}

.footer-desc {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 22.5px;
    font-size: 12px;
}

.social-links {
    display: flex;
    gap: 13.5px;
}

.social-link {
    width: 41.25px;
    height: 41.25px;
    background: var(--primary-gradient);
    border-radius: 11.25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    padding: 3px;
    box-shadow: 0 7.5px 22.5px rgba(211, 48, 226, 0.3);
}

.social-link:hover {
    transform: translateY(-6px) rotate(10deg) scale(1.1);
    box-shadow: 0 11.25px 30px rgba(211, 48, 226, 0.6), 0 0 22.5px rgba(128, 55, 230, 0.4);
}

.social-link img {
    width: 100%;
    height: 100%;
    border-radius: 9px;
}

.footer-col h4 {
    font-size: 16.5px;
    font-weight: 700;
    margin-bottom: 22.5px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 13.5px;
    display: flex;
    align-items: center;
    gap: 11.25px;
}

.footer-links i {
    color: #feca57;
    font-size: 13.5px;
}

.footer-links a,
.footer-links span {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 11.25px;
}

.footer-links a:hover {
    color: var(--text-primary);
    transform: translateX(3.75px);
}

.payment-methods {
    text-align: center;
    padding: 30px 0;
    border-top: 0.75px solid var(--card-border);
    border-bottom: 0.75px solid var(--card-border);
    margin-bottom: 30px;
}

.payment-methods p {
    margin-bottom: 18.75px;
    font-weight: 600;
    font-size: 12.75px;
}

.payment-logos {
    display: flex;
    justify-content: center;
    gap: 18.75px;
}

.payment-logos img {
    height: 33.75px;
    background: white;
    padding: 9px 13.5px;
    border-radius: 11.25px;
    box-shadow: 0 3.75px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.payment-logos img:hover {
    transform: translateY(-3.75px);
    box-shadow: 0 7.5px 22.5px rgba(0, 0, 0, 0.5);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
}

.footer-links-bottom {
    display: flex;
    gap: 26.25px;
}

.footer-links-bottom a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 11.25px;
}

.footer-links-bottom a:hover {
    color: var(--text-primary);
}

/* ==========================================
   RESPONSIVE DESIGN (Kept identical logic)
========================================== */
.hamburger {
    display: none;
}

@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-content {
        gap: 45px;
    }
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 40.5px;
    }
    
    .hero-visual {
        height: 375px;
    }
    
    .phone-wrapper {
        width: 175px;
        height: 347.5px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .section-title {
        font-size: 31.5px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 18.75px;
        text-align: center;
    }
    
    .nav-wrapper {
        padding: 12px 20px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(21, 4, 74, 0.95); /* Updated to dark purple */
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
        padding: 20px 0;
        border-radius: 0 0 20px 20px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
    }
    
    .hamburger span {
        width: 25px;
        height: 3px;
        background: white;
        border-radius: 3px;
        transition: 0.3s;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }
    
    .hero-visual {
        height: 350px;
        order: -1;
    }
    
    .phone-wrapper {
        width: 190px;
        height: 370px;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .highlights-grid,
    .main-features,
    .features-grid,
    .steps-container,
    .categories-grid,
    .testimonials-slider {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero {
        padding: 105px 0 60px;
    }
    
    .hero-title {
        font-size: 31.5px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 10px;
    }
    
    .download-btn img {
        height: 41.25px;
        width: 180px;
    }
    
    .cta-card {
        padding: 45px 26.25px;
    }
    
    .section-title {
        font-size: 27px;
    }
    
    .nav-actions .btn {
        padding: 8px 16px;
        font-size: 11px;
    }
    
    .logo img {
        height: 30px;
    }
}

@media (max-width: 480px) {
    .nav-actions .btn {
        padding: 6px 12px;
        font-size: 10px;
    }
    
    .logo img {
        height: 25px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .phone-wrapper {
        width: 140px;
        height: 270px;
    }
    
    .floating-element {
        display: none;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* ==========================================
   CUSTOM SCROLLBAR
========================================== */
::-webkit-scrollbar {
    width: 10.5px;
}

::-webkit-scrollbar-track {
    background: #0a0a0f;
    border-left: 0.75px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 7.5px;
    box-shadow: 0 0 15px rgba(211, 48, 226, 0.4);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-gradient);
    box-shadow: 0 0 22.5px rgba(79, 172, 254, 0.6);
}

/* Hero Download Buttons Styling */
.hero .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.hero .download-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero .download-btn {
    transition: var(--transition);
    display: block;
    position: relative;
    border-radius: 12px;
    padding: 3px;
    background: var(--primary-gradient);
}

.hero .download-btn img {
    height: 50px;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    background: white;
    display: block;
}

.hero .download-btn:hover {
    transform: translateY(-5px) scale(1.05);
    /* Hero button hover glow - Pink */
    box-shadow: 0 12px 35px rgba(211, 48, 226, 0.5), 0 0 20px rgba(211, 48, 226, 0.4);
}

.hero .download-btn:hover img {
    box-shadow: none;
}

.hero .hero-actions::after {
    content: '';
    width: 60px;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 2px;
    margin: -15px 0;
}

/* CTA Download Buttons Styling */
.cta-section .download-btn {
    transition: var(--transition);
    display: block;
    position: relative;
    border-radius: 12px;
    padding: 3px;
    background: var(--primary-gradient);
}

.cta-section .download-btn img {
    height: 50px;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    background: white;
    display: block;
}

.cta-section .download-btn:hover {
    transform: translateY(-5px) scale(1.05);
    /* CTA button hover glow - Pink */
    box-shadow: 0 12px 35px rgba(211, 48, 226, 0.5), 0 0 20px rgba(211, 48, 226, 0.4);
}

.cta-section .download-btn:hover img {
    box-shadow: none;
}

.cta-section .download-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}
