/* Modern Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Modern Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-display);
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: var(--space-4);
}

h1 { font-size: var(--text-5xl); font-weight: 700; }
h2 { font-size: var(--text-4xl); font-weight: 700; }
h3 { font-size: var(--text-3xl); font-weight: 600; }
h4 { font-size: var(--text-2xl); font-weight: 600; }
h5 { font-size: var(--text-xl); font-weight: 500; }
h6 { font-size: var(--text-lg); font-weight: 500; }

p {
    margin-bottom: var(--space-4);
    color: var(--text-light);
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: all var(--duration-normal) var(--ease-out);
}

a:hover {
    color: var(--accent-green);
    text-decoration: underline;
}

/* Modern Button Styles */
.btn {
    font-family: var(--font-family-primary);
    font-weight: 500;
    border-radius: var(--radius-lg);
    padding: var(--space-3) var(--space-6);
    transition: all var(--duration-normal) var(--ease-out);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--duration-slow) var(--ease-out);
}

.btn:hover::before {
    left: 100%;
}

.btn:active {
    transform: scale(0.98);
}

/* Glass Morphism Components */
.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
}

/* Modern Card Styles */
.card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-200);
    transition: all var(--duration-normal) var(--ease-out);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2xl);
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-glow {
    box-shadow: var(--shadow-glow);
}

.shadow-glow-lg {
    box-shadow: var(--shadow-glow-lg);
}

/* Glitchfix Brand Styles */
.glitchfix-brand {
    background: var(--glitchfix-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    position: relative;
    display: inline-block;
    animation: glitchGlow 3s ease-in-out infinite;
    text-decoration: none;
    transition: all var(--duration-normal) var(--ease-out);
}

.glitchfix-brand:hover {
    transform: scale(1.05);
    text-decoration: none;
}

.glitchfix-brand::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--glitchfix-gradient-soft);
    border-radius: var(--radius-lg);
    padding: var(--space-2) var(--space-4);
    margin: calc(-1 * var(--space-2)) calc(-1 * var(--space-4));
    z-index: -1;
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-out);
}

.glitchfix-brand:hover::before {
    opacity: 1;
}

@keyframes glitchGlow {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(77, 199, 216, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(232, 121, 223, 0.6));
    }
}

/* Glitchfix Button Style */
.btn-glitchfix {
    background: var(--glitchfix-gradient);
    color: var(--white);
    border: none;
    position: relative;
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out);
}

.btn-glitchfix::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left var(--duration-slow) var(--ease-out);
}

.btn-glitchfix:hover::before {
    left: 100%;
}

.btn-glitchfix:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(77, 199, 216, 0.4);
}

/* Modern Design System 2023 */
:root {
    /* Color Palette */
    --primary-green: #4DC7D8;
    --accent-green: #E879DF;
    --dark-green: #2A8AA6;
    --deep-green: #7A4CB2;
    --light-green: #8FE1EA;
    --emerald-light: #C8F5FF;
    --mint-fresh: #F4C3F1;
    
    /* Semantic Colors */
    --success: #3AB0C3;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #6C63FF;
    
    /* Neutral Palette */
    --neutral-50: #FAFAFA;
    --neutral-100: #F5F5F8;
    --neutral-200: #E6E7EF;
    --neutral-300: #D4D5DD;
    --neutral-400: #A3A5B3;
    --neutral-500: #737587;
    --neutral-600: #545669;
    --neutral-700: #3E4052;
    --neutral-800: #252738;
    --neutral-900: #141627;
    
    /* Modern Gradients */
    --gradient-primary: linear-gradient(135deg, #4DC7D8 0%, #6FD1E2 40%, #E879DF 100%);
    --gradient-secondary: linear-gradient(135deg, #4DC7D8 0%, #8B9AE6 50%, #E879DF 100%);
    --gradient-accent: linear-gradient(135deg, #4DC7D8 0%, #7ED5E5 45%, #E879DF 100%);
    --gradient-mesh: conic-gradient(from 180deg at 50% 50%, #4DC7D8 0deg, #93E5F2 90deg, #E879DF 180deg, #B972E4 270deg, #4DC7D8 360deg);
    --gradient-glass: linear-gradient(135deg, rgba(77, 199, 216, 0.1) 0%, rgba(232, 121, 223, 0.08) 100%);
    
    /* Typography Scale */
    --font-family-primary: 'Tajawal', 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family-display: 'Tajawal', 'Cairo', sans-serif;
    --font-family-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Font Sizes (Fluid Typography) */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
    --text-3xl: clamp(1.875rem, 1.6rem + 1.375vw, 2.5rem);
    --text-4xl: clamp(2.25rem, 1.9rem + 1.75vw, 3.5rem);
    --text-5xl: clamp(3rem, 2.5rem + 2.5vw, 4.5rem);
    
    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(22, 25, 45, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(21, 25, 45, 0.1), 0 2px 4px -1px rgba(21, 25, 45, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(21, 25, 45, 0.1), 0 4px 6px -2px rgba(21, 25, 45, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(21, 25, 45, 0.12), 0 10px 10px -5px rgba(21, 25, 45, 0.08);
    --shadow-2xl: 0 25px 50px -12px rgba(21, 25, 45, 0.25);
    --shadow-glow: 0 0 20px rgba(77, 199, 216, 0.35);
    --shadow-glow-lg: 0 0 45px rgba(232, 121, 223, 0.35);
    
    /* Glass Morphism */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(20px);
    
    /* Animation Durations */
    --duration-fast: 150ms;
    --duration-normal: 300ms;
    --duration-slow: 500ms;
    --duration-slower: 750ms;
    
    /* Easing Functions */
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Glitchfix Brand Colors */
    --glitchfix-primary: #4DC7D8;
    --glitchfix-secondary: #6A82E8;
    --glitchfix-accent: #E879DF;
    --glitchfix-dark: #262B3F;
    --glitchfix-light: #E8F6FF;
    --glitchfix-gradient: linear-gradient(135deg, #4DC7D8 0%, #6A82E8 50%, #E879DF 100%);
    --glitchfix-gradient-soft: linear-gradient(135deg, rgba(77, 199, 216, 0.12) 0%, rgba(106, 130, 232, 0.12) 50%, rgba(232, 121, 223, 0.12) 100%);
    --glitchfix-text-gradient: linear-gradient(135deg, #4DC7D8 0%, #E879DF 100%);
    
    /* Legacy Support */
    --vibrant-green: var(--primary-green);
    --vibrant-accent: var(--accent-green);
    --text-dark: var(--neutral-800);
    --text-light: var(--neutral-500);
    --white: #ffffff;
    --light-bg: var(--neutral-50);
    --dark-bg: var(--neutral-900);
}

/* Modern Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--neutral-200);
    transition: all var(--duration-normal) var(--ease-out);
    padding: var(--space-3) 0;
    min-height: 60px;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-xl);
    padding: var(--space-2) 0;
    min-height: 56px;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-collapse {
    flex-grow: 0;
}

.navbar-nav {
    align-items: center;
    gap: var(--space-1);
}

.navbar-nav .dropdown-menu {
    text-align: right;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(77, 199, 216, 0.15);
    padding: 0.75rem;
}

.navbar-nav .dropdown-item {
    border-radius: var(--radius-md);
    padding: 0.6rem 0.75rem;
    font-weight: 500;
}

.navbar-nav .dropdown-item.active {
    background: var(--gradient-primary);
    color: var(--white);
}

.navbar-nav .btn-charge {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-xl);
    padding: var(--space-2) var(--space-5);
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    transition: all var(--duration-normal) var(--ease-out);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    text-decoration: none;
}

.navbar-nav .btn-charge:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-2xl);
}

.navbar-nav .btn-charge:active {
    transform: translateY(0);
}

.dropdown-toggle::after {
    margin-left: .35em;
}

.navbar-brand {
    font-family: var(--font-family-display);
    font-weight: 700;
    font-size: var(--text-lg);
    color: var(--text-dark) !important;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transition: all var(--duration-normal) var(--ease-out);
}

.brand-text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    font-weight: 700;
    display: inline-block;
}

.hero-content .brand-text-gradient {
    font-size: clamp(3.5rem, 3rem + 2vw, 4.75rem);
    font-weight: 900;
    letter-spacing: -0.5px;
}

.navbar-brand:hover {
    transform: scale(1.02);
    color: var(--primary-green) !important;
}

.navbar-brand img {
    height: 32px;
    width: auto;
    transition: all var(--duration-normal) var(--ease-out);
}

.navbar-brand:hover img {
    transform: rotate(3deg) scale(1.05);
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    font-size: var(--text-xs);
    margin: 0 var(--space-1);
    padding: var(--space-2) var(--space-3) !important;
    border-radius: var(--radius-lg);
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    background: transparent;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover {
    color: var(--white) !important;
    background: var(--gradient-accent);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.navbar-nav .nav-link.active {
    color: var(--white) !important;
    background: var(--gradient-primary);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
}

/* Burger Menu (Navbar Toggler) */
.navbar-toggler {
    border: 2px solid var(--primary-green) !important;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: var(--primary-green);
    transform: scale(1.05);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(77, 199, 216, 0.25);
}

.navbar-toggler-icon {
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(77, 199, 216, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:hover .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown Menu Styles */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.dropdown-item:hover {
    background: var(--gradient-accent);
    color: var(--white);
    transform: translateX(-5px);
}

/* Responsive navbar improvements */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        margin: var(--space-1) 0;
        text-align: center;
        padding: var(--space-3) var(--space-4) !important;
    }
    
    .navbar-brand {
        font-size: var(--text-base);
    }
    
    .navbar-brand img {
        height: 28px;
    }
    
    .navbar-collapse {
        margin-top: 1rem;
        background: rgba(255, 255, 255, 0.98);
        padding: 1rem;
        border-radius: 12px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav .dropdown-menu {
        border: none;
        box-shadow: none;
        background: transparent;
        padding: 0;
        margin-top: var(--space-2);
    }

    .navbar-nav .btn-charge {
        width: 100%;
        margin-top: var(--space-2);
    }
}

@media (max-width: 767.98px) {
    .navbar-nav .nav-link {
        font-size: var(--text-sm);
        padding: var(--space-3) var(--space-4) !important;
    }
    
    .navbar-toggler {
        padding: 0.4rem;
    }
}

/* Modern Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--neutral-50) 0%, rgba(77, 199, 216, 0.05) 50%, var(--neutral-100) 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-20) 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    opacity: 0.03;
    animation: meshRotate 20s linear infinite;
}

@keyframes meshRotate {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-title {
    font-family: var(--font-family-display);
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-6);
    line-height: 1.1;
    animation: fadeInUp 1s var(--ease-bounce) both;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    animation: slideInLeft 1s var(--ease-out) 0.5s both;
}

.hero-subtitle {
    font-size: var(--text-2xl);
    font-weight: 600;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-6);
    animation: fadeInUp 1s var(--ease-out) 0.2s both;
    line-height: 1.3;
}

.hero-description {
    font-size: var(--text-lg);
    color: var(--text-light);
    margin-bottom: var(--space-8);
    max-width: 600px;
    line-height: 1.6;
    animation: fadeInUp 1s var(--ease-out) 0.4s both;
}

@keyframes slideInLeft {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 60px;
        opacity: 1;
    }
}

.download-buttons {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    animation: fadeInUp 1s var(--ease-out) 0.6s both;
    width: 100%;
}

/* Responsive Download Buttons Container */
@media (max-width: 768px) {
    .download-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-3);
    }
}

@media (max-width: 576px) {
    .download-buttons {
        gap: var(--space-2);
    }
}

.btn-download {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-family: var(--font-family-primary);
    font-weight: 600;
    transition: all var(--duration-normal) var(--ease-out);
    box-shadow: var(--shadow-lg);
    border: none;
    min-width: 200px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
    max-width: 280px;
    justify-content: center;
}

/* Responsive Button Styles */
@media (max-width: 768px) {
    .btn-download {
        min-width: 100%;
        max-width: 100%;
        padding: var(--space-3) var(--space-5);
        gap: var(--space-3);
    }
    
    .btn-download i {
        font-size: 1.8rem;
    }
    
    .btn-download small {
        font-size: 0.7rem;
    }
    
    .btn-download strong {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .btn-download {
        padding: var(--space-3) var(--space-4);
        gap: var(--space-2);
    }
    
    .btn-download i {
        font-size: 1.5rem;
    }
    
    .btn-download small {
        font-size: 0.65rem;
    }
    
    .btn-download strong {
        font-size: 0.85rem;
    }
}

.btn-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left var(--duration-slow) var(--ease-out);
}

.btn-download:hover::before {
    left: 100%;
}

.btn-download i {
    font-size: 2rem;
    transition: transform var(--duration-normal) var(--ease-bounce);
}

.btn-download:hover i {
    transform: scale(1.2) rotate(5deg);
}

.btn-download div {
    text-align: left;
    line-height: 1.2;
}

.btn-download small {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
}

.btn-download strong {
    display: block;
    font-size: 1rem;
}

.btn-android {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(77, 199, 216, 0.5);
}

.btn-android:hover {
    box-shadow: var(--shadow-glow-lg), var(--shadow-2xl);
}

.btn-ios {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(122, 76, 178, 0.4);
}

.btn-ios:hover {
    box-shadow: var(--shadow-xl), 0 0 30px rgba(122, 76, 178, 0.4);
}

.btn-download:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    color: var(--white);
}

.btn-download:active {
    transform: translateY(-2px) scale(0.98);
}

/* Hero Image */
.hero-image {
    position: relative;
    z-index: 2;
}

.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1f2937, #374151);
    border-radius: 35px;
    padding: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: none !important;
    animation: none !important;
}

/* النوتش (الشق العلوي) */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 18px;
    background: linear-gradient(135deg, #1f2937, #374151);
    border-radius: 0 0 12px 12px;
    z-index: 10;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* أزرار الجانب الأيمن */
.phone-mockup::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 80px;
    width: 6px;
    height: 60px;
    background: linear-gradient(135deg, #2d3748, #4a5568);
    border-radius: 3px;
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.5);
}

/* أزرار الجانب الأيسر */
.phone-mockup .volume-up,
.phone-mockup .volume-down {
    position: absolute;
    left: -3px;
    width: 6px;
    background: linear-gradient(135deg, #2d3748, #4a5568);
    border-radius: 3px;
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.5);
}

.phone-mockup .volume-up {
    top: 120px;
    height: 40px;
}

.phone-mockup .volume-down {
    top: 170px;
    height: 40px;
}

/* زر الطاقة */
.phone-mockup .power-button {
    position: absolute;
    right: -3px;
    top: 200px;
    width: 6px;
    height: 80px;
    background: linear-gradient(135deg, #2d3748, #4a5568);
    border-radius: 3px;
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.5);
}


.phone-screen {
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: 28px;
    display: block;
    position: relative;
    overflow: hidden;
}

.app-preview {
    text-align: center;
    color: var(--white);
    width: 100%;
    height: 100%;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.magic-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.logo-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end), var(--gradient-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(240, 147, 251, 0.6), 0 0 60px rgba(102, 126, 234, 0.3);
    animation: pulse 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.logo-circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
}

.logo-text {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.magic-logo h3 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
}

/* App Slider Styles - SIMPLE VERSION */
.app-slider-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 28px;
}

.app-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
    padding-top: 20px;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 28px;
    display: block;
    background: #000;
}

/* Bootstrap Feature Cards Enhancement */
.feature-card {
    transition: all 0.3s ease;
    border-radius: 1rem !important;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.feature-icon {
    width: 80px;
    height: 80px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background: transparent;
    display: block;
    position: relative;
}

.slider-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Background Elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    opacity: 0.6;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(77, 199, 216, 0.05);
    animation: float 12s ease-in-out infinite;
    backdrop-filter: blur(2px);
}

.element-1 {
    width: 80px;
    height: 80px;
    top: 25%;
    left: 15%;
    animation-delay: 0s;
    background: rgba(122, 76, 178, 0.04);
}

.element-2 {
    width: 120px;
    height: 120px;
    top: 55%;
    right: 15%;
    animation-delay: 4s;
    background: rgba(232, 121, 223, 0.03);
}

.element-3 {
    width: 60px;
    height: 60px;
    bottom: 25%;
    left: 25%;
    animation-delay: 8s;
    background: rgba(75, 52, 128, 0.04);
}

/* Modern Features Section */
.features-section {
    padding: var(--space-24) 0;
    background: linear-gradient(180deg, var(--neutral-50) 0%, var(--white) 100%);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(77, 199, 216, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(16, 217, 196, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--neutral-900);
    text-align: center;
}

.section-subtitle {
    font-size: var(--text-lg);
    text-align: center;
    color: var(--text-light);
    margin-bottom: var(--space-16);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.section-subtitle-white {
    font-size: var(--text-lg);
    text-align: center;
    color: var(--white);
    margin-bottom: var(--space-16);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.section-subtitle-gray {
    font-size: var(--text-lg);
    text-align: center;
    color: var(--neutral-500);
    margin-bottom: var(--space-16);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--space-8);
    border-radius: var(--radius-3xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--duration-normal) var(--ease-out);
    border: 1px solid var(--neutral-200);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glass);
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-out);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-green);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-accent);
    border-radius: var(--radius-3xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
    transition: all var(--duration-normal) var(--ease-bounce);
    box-shadow: var(--shadow-glow);
    position: relative;
    z-index: 2;
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow-lg);
}

.feature-icon i {
    font-size: var(--text-3xl);
    color: var(--white);
    transition: transform var(--duration-normal) var(--ease-bounce);
}

.feature-card:hover .feature-icon i {
    transform: scale(1.2);
}

.feature-card h4 {
    font-family: var(--font-family-display);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-4);
    color: var(--text-dark);
    position: relative;
    z-index: 2;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: var(--text-base);
    position: relative;
    z-index: 2;
}

/* Download Section */
.download-section {
    background: var(--gradient-secondary);
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 750px;
    padding: 100px 0 !important;
}

.download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(75, 52, 128, 0.12) 0%, transparent 65%),
                radial-gradient(circle at 80% 70%, rgba(122, 76, 178, 0.1) 0%, transparent 60%),
                radial-gradient(circle at 50% 90%, rgba(77, 199, 216, 0.08) 0%, transparent 55%);
    pointer-events: none;
}

.download-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.download-description {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Download Phones */
.download-phones-container {
    position: relative;
    height: 600px;
    width: 100%;
    padding: 30px 20px 50px 20px;
}

.download-phone {
    position: absolute;
    width: 250px;
    height: 500px;
    background: linear-gradient(135deg, #1f2937, #374151);
    border-radius: 35px;
    padding: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

/* النوتش للموبايلين */
.download-phone::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 16px;
    background: linear-gradient(135deg, #1f2937, #374151);
    border-radius: 0 0 10px 10px;
    z-index: 10;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.download-phone:hover {
    transform: translateY(-10px) !important;
}

.download-phone-1 {
    top: 30px;
    left: 30px;
    transform: rotate(-8deg);
    z-index: 2;
}

.download-phone-2 {
    top: 70px;
    right: 30px;
    transform: rotate(8deg);
    z-index: 1;
}

.download-phone .phone-screen {
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}

.download-phone .phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
}

/* Download Phone Buttons */
.download-phone .volume-up,
.download-phone .volume-down,
.download-phone .power-button {
    position: absolute;
    width: 4px;
    background: linear-gradient(135deg, #2d3748, #4a5568);
    border-radius: 2px;
    box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.5);
}

.download-phone .volume-up {
    left: -2px;
    top: 100px;
    height: 30px;
}

.download-phone .volume-down {
    left: -2px;
    top: 140px;
    height: 30px;
}

.download-phone .power-button {
    right: -2px;
    top: 120px;
    height: 60px;
}

/* Responsive Download Section */
@media (max-width: 991px) {
    .hero-content {
        text-align: center;
    }
    
    .hero-content .text-start {
        text-align: center !important;
    }
}

@media (max-width: 991px) {
    .download-section h2,
    .download-section p {
        text-align: center;
    }
    
    .download-section .d-flex {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .download-section {
        padding: 60px 0 !important;
        min-height: 550px;
    }
    
    .download-phones-container {
        height: 400px;
        padding: 10px;
        margin-bottom: 30px;
    }
    
    .download-phone {
        width: 180px;
        height: 360px;
    }
    
    .download-phone-1 {
        top: 10px;
        left: 10px;
    }
    
    .download-phone-2 {
        top: 50px;
        right: 10px;
    }
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
}

.footer-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-green);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0 1rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-10px) scale(1.05);
        opacity: 0.6;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
        padding: 6px;
    }
    
    .phone-mockup::before {
        width: 70px;
        height: 15px;
        top: 2px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-links {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .download-title {
        font-size: 2rem;
    }
    
    .phone-mockup {
        width: 220px;
        height: 440px;
        padding: 5px;
    }
    
    .phone-mockup::before {
        width: 60px;
        height: 12px;
        top: 1px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Policy Pages Styles */
.policy-section {
    padding: 120px 0 80px;
    background: var(--light-bg);
    min-height: 100vh;
}

.policy-content {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.policy-header {
    border-bottom: 2px solid var(--primary-green);
    padding-bottom: 2rem;
}

.policy-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.policy-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 0;
}

.policy-body {
    line-height: 1.8;
}

.policy-section-item {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.policy-section-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.policy-section-item h2 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-section-item h2 i {
    color: var(--primary-green);
    font-size: 1.3rem;
}

.policy-section-item h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
}

.policy-section-item p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.policy-section-item ul {
    margin: 1rem 0;
    padding-right: 1.5rem;
}

.policy-section-item li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    position: relative;
}

.policy-section-item li::before {
    content: '•';
    color: var(--primary-green);
    font-weight: bold;
    position: absolute;
    right: -1.2rem;
}

.contact-info {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border-right: 4px solid var(--primary-green);
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-info strong {
    color: var(--primary-blue);
}

/* Active nav link for policy pages */
.navbar-nav .nav-link.active {
    color: var(--white) !important;
    font-weight: 600;
}

.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    color: #fff;
}

.whatsapp-float i {
    animation: whatsappRing 1s ease-in-out infinite;
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

@keyframes whatsappRing {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-15deg);
    }
    20%, 40% {
        transform: rotate(15deg);
    }
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
}

/* Modern Statistics Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: var(--space-24) 0;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 25% 25%, rgba(16, 217, 196, 0.1) 0%, transparent 60%),
                radial-gradient(circle at 75% 75%, rgba(232, 121, 223, 0.08) 0%, transparent 55%),
                radial-gradient(circle at 50% 10%, rgba(127, 255, 212, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.stats-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.stat-card {
    text-align: center;
    padding: var(--space-6);
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all var(--duration-normal) var(--ease-out);
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-out);
}

.stat-card:hover {
    transform: translateY(-4px) scale(1.01);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    font-size: var(--text-2xl);
    color: var(--emerald-light);
    margin-bottom: var(--space-3);
    filter: drop-shadow(0 0 15px rgba(16, 217, 196, 0.5));
    transition: all var(--duration-normal) var(--ease-bounce);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(3deg);
    filter: drop-shadow(0 0 20px rgba(16, 217, 196, 0.7));
}

.stat-number {
    font-family: var(--font-family-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-1);
    display: block;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.stat-label {
    font-size: var(--text-base);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-1);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    line-height: 1.3;
}

.stat-description {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    line-height: 1.4;
    margin-top: var(--space-1);
}

/* Testimonials Section */
.testimonials-section {
    background: var(--light-bg);
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(77, 199, 216, 0.25);
    border-color: var(--primary-green);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.stars {
    display: flex;
    gap: 5px;
    margin-bottom: 1rem;
    justify-content: center;
}

.stars i {
    color: #ffd700;
    font-size: 1.2rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.6;
    text-align: center;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-green);
    box-shadow: 0 0 15px rgba(77, 199, 216, 0.4);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h5 {
    margin: 0;
    color: var(--text-dark);
    font-weight: 600;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Team Section */
.team-section {
    background: var(--white);
}

.team-card {
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-image {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid;
    border-image: linear-gradient(45deg, var(--gradient-start), var(--gradient-accent), var(--vibrant-pink)) 1;
    box-shadow: 0 15px 35px rgba(240, 147, 251, 0.3);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(77, 199, 216, 0.9), rgba(232, 121, 223, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: scale(1.1);
}

.team-info h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-info span {
    background: linear-gradient(45deg, var(--gradient-accent), var(--vibrant-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
    display: block;
    margin-bottom: 1rem;
}

.team-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* FAQ Section */
.faq-section {
    background: var(--light-bg);
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.accordion-button {
    background: var(--white);
    color: var(--text-dark);
    font-weight: 600;
    padding: 1.5rem;
    border: none;
    font-size: 1.1rem;
    text-align: right;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(77, 199, 216, 0.4);
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    margin-left: 0;
    margin-right: auto;
}

.accordion-body {
    background: var(--white);
    color: var(--text-light);
    padding: 1.5rem;
    line-height: 1.6;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Counter Animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-number.animate {
    animation: countUp 0.6s ease-out;
}

/* Policy pages responsive */
@media (max-width: 768px) {
    .policy-content {
        padding: 2rem 1.5rem;
    }
    
    .policy-title {
        font-size: 2rem;
    }
    
    .policy-section-item h2 {
        font-size: 1.3rem;
    }
    
    .policy-section {
        padding: 100px 0 60px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .team-image {
        width: 200px;
        height: 200px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .accordion-button {
        font-size: 1rem;
        padding: 1rem;
    }
}

/* Payment Page */
.payment-page {
    padding-top: 70px;
    background: #fffaf1;
    min-height: 100vh;
}

.section-divider {
    display: block;
    width: 140px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 193, 7, 0.6), rgba(255, 158, 10, 0.9), rgba(255, 193, 7, 0.6));
    margin: 0.35rem auto 0.6rem;
    border-radius: 999px;
}

.payment-wrapper {
    width: 100%;
    max-width: 1060px;
    margin: 0 auto;
    padding: var(--space-6) var(--space-4) var(--space-12);
    font-size: 0.95rem;
}

.payment-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
}

.payment-badge {
    background: linear-gradient(135deg, rgba(255, 204, 102, 0.6), rgba(255, 158, 10, 0.65));
    color: #5a3400;
    font-weight: 600;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.3px;
    font-size: 0.85rem;
    box-shadow: 0 6px 12px rgba(255, 173, 66, 0.25);
}

.payment-title {
    font-size: clamp(1.3rem, 1.2rem + 0.8vw, 1.7rem);
    font-weight: 700;
    color: #7a3d00;
    margin: 0;
}

.payment-subtitle {
    color: var(--text-light);
    max-width: 560px;
}

.payment-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(77, 199, 216, 0.12);
    box-shadow: 0 12px 32px rgba(34, 41, 53, 0.07);
    padding: var(--space-3);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.card-heading {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    margin-bottom: var(--space-1);
}

.heading-icon {
    display: none;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.card-subtitle {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
}

.payment-card .btn-search {
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-xl);
    font-weight: 600;
    padding: var(--space-3);
    border: none;
    box-shadow: var(--shadow-lg);
    transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
}

.payment-card .btn-search i {
    margin-left: var(--space-2);
}

.payment-card .btn-search:hover {
    color: var(--white);
    box-shadow: var(--shadow-2xl);
    transform: translateY(-2px);
}

.method-icons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.method-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.1rem;
    background: rgba(77, 199, 216, 0.1);
    border: 1px solid rgba(77, 199, 216, 0.15);
    border-radius: var(--radius-xl);
    font-weight: 600;
    color: var(--text-dark);
}

.method-chip i {
    font-size: 1.4rem;
    color: var(--dark-green);
}

.method-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    color: var(--text-light);
}

.method-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
}

.method-list i {
    color: var(--dark-green);
}

.packages-section {
    margin-top: var(--space-6);
}

.packages-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

.section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--neutral-900);
    text-align: center;
}

.packages-header .refresh-btn {
    align-self: center;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.refresh-btn {
    border-radius: var(--radius-lg);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
}

@media (max-width: 768px) {
    .packages-grid {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
        gap: var(--space-2);
    }

    .package-tile {
        padding: var(--space-2);
        gap: var(--space-1);
    }

    .package-tile-amount {
        font-size: 1.05rem;
    }

    .package-tile-icon {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .packages-grid {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
        justify-content: center;
        gap: var(--space-2);
    }

    .package-tile {
        padding: var(--space-2);
        gap: var(--space-1);
    }

    .package-tile-bonus {
        font-size: 0.7rem;
    }
}

.package-tile {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 215, 128, 0.18), rgba(255, 166, 43, 0.1));
    border-radius: 16px;
    border: 1px solid rgba(255, 193, 7, 0.18);
    padding: var(--space-3);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    cursor: pointer;
    transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out), border-color var(--duration-normal) var(--ease-out);
    min-height: 200px;
}

.package-bonus-badge {
    position: absolute;
    top: 0.5rem;
    inset-inline-end: 0.5rem;
    inset-inline-start: auto;
    background: linear-gradient(135deg, #fbbf24, #f97316);
    color: #1f2937;
    font-weight: 700;
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.22);
}

.package-tile-coins {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    text-align: center;
    padding-top: var(--space-2);
}

.package-tile-values {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.package-tile-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-full);
    display: grid;
    place-items: center;
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.25);
    overflow: hidden;
}

.package-tile-icon img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.package-tile-coins-amount {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 700;
    margin: 0;
}

.package-tile-coins-label {
    font-size: 0.75rem;
    color: var(--text-light);
}

.package-price-button {
    margin-top: auto;
    margin-inline: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.38), rgba(255, 158, 10, 0.42));
    color: #4b2500;
    padding: 0.3rem 0.6rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.74rem;
    box-shadow: 0 6px 14px rgba(255, 173, 66, 0.25);
    border: 1px solid rgba(255, 173, 66, 0.35);
    width: fit-content;
}

.package-price-button small {
    font-size: 0.7rem;
    opacity: 0.85;
    color: inherit;
}

.package-tile:hover .package-price-button {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(77, 199, 216, 0.25);
}

.package-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(255, 174, 66, 0.25);
    border-color: rgba(255, 193, 7, 0.4);
}

.package-tile:hover .package-price-button {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(255, 173, 66, 0.35);
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.5), rgba(255, 158, 10, 0.55));
}

.packages-empty {
    border: 1px dashed rgba(255, 188, 91, 0.45);
    border-radius: 16px;
    padding: var(--space-5);
    background: rgba(255, 247, 226, 0.6);
}

.user-details {
    border-radius: 16px;
    border: 1px solid rgba(255, 188, 91, 0.4);
    padding: var(--space-3);
    background: rgba(255, 247, 226, 0.65);
    transition: all var(--duration-normal) var(--ease-out);
    width: 100%;
    max-width: 420px;
}

.user-details.empty {
    border: none;
    background: transparent;
    padding: 0;
    text-align: center;
    color: #a37429;
    font-size: 0.85rem;
}

.user-mini-card {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.user-mini-avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(255, 173, 66, 0.55);
    box-shadow: 0 6px 12px rgba(255, 173, 66, 0.25);
}

.user-mini-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: start;
}

.search-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.search-form {
    width: 100%;
    max-width: 420px;
}

.search-input-wrapper {
    position: relative;
}

.search-input-wrapper i {
    position: absolute;
    top: 50%;
    inset-inline-start: 0.9rem;
    transform: translateY(-50%);
    color: #a37429;
    font-size: 0.95rem;
}

.search-input-wrapper .search-input {
    padding-inline-start: 2.4rem;
    height: 44px;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 188, 91, 0.45);
    background-color: rgba(255, 250, 236, 0.75);
}

@media (max-width: 768px) {
    .payment-wrapper {
        padding: var(--space-6) var(--space-3) var(--space-8);
        font-size: 0.88rem;
    }

    .card-title {
        font-size: 1rem;
    }

    .packages-grid {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
        gap: var(--space-2);
    }

    .package-tile {
        padding: var(--space-2);
        gap: var(--space-1);
    }

    .package-tile-icon {
        width: 34px;
        height: 34px;
    }
}

.section-line {
    display: block;
    width: 130px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 193, 7, 0.6), rgba(255, 166, 43, 0.9), rgba(255, 193, 7, 0.6));
    margin: 0 auto 0.6rem;
    border-radius: 999px;
}

.confirmation-modal {
    border-radius: 14px;
    border: 1px solid rgba(255, 188, 91, 0.35);
    box-shadow: 0 16px 38px rgba(255, 173, 66, 0.25);
    background: rgba(255, 249, 235, 0.97);
}

.confirmation-modal .modal-body {
    padding: var(--space-3) var(--space-3) var(--space-2);
}

.modal-package-block {
    border-radius: 12px;
    border: 1px solid rgba(255, 188, 91, 0.35);
    background: rgba(255, 243, 214, 0.65);
    padding: var(--space-2);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.modal-package-coins {
    gap: var(--space-2);
}

.modal-package-coins img {
    width: 36px;
    height: 36px;
}

.modal-package-coins strong {
    font-size: 0.9rem;
}

.modal-package-price {
    font-size: 0.8rem;
}

.modal-package-bonus {
    font-size: 0.68rem;
}

.modal-package-desc {
    font-size: 0.68rem;
}

.modal-footer {
    padding: var(--space-3);
}

.modal-footer .btn {
    font-size: 0.68rem;
    padding: 0.25rem 0.6rem;
    border-radius: 8px;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.modal-footer .btn-primary {
    background: linear-gradient(135deg, rgba(255, 190, 92, 0.95), rgba(255, 145, 25, 0.95));
    border: 1px solid rgba(255, 145, 25, 0.55);
    color: #4b2500;
    box-shadow: 0 6px 16px rgba(255, 173, 66, 0.3);
}

.modal-footer .btn-primary:hover {
    background: linear-gradient(135deg, rgba(255, 198, 112, 0.98), rgba(255, 155, 45, 0.98));
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(255, 173, 66, 0.35);
}

.modal-footer .btn-light {
    background: rgba(255, 243, 214, 0.95);
    border: 1px solid rgba(255, 188, 91, 0.45);
    color: #7a3d00;
}

.modal-footer .btn-light:hover {
    background: rgba(255, 240, 204, 0.98);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(255, 188, 91, 0.25);
}

.modal-dialog.modal-sm {
    max-width: 260px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .modal-dialog.modal-sm {
        max-width: 320px;
    }
}

@media (min-width: 1200px) {
    .modal-dialog.modal-sm {
        max-width: 420px;
    }

    .confirmation-modal .modal-body {
        padding: var(--space-4) var(--space-4) var(--space-3);
    }

    .modal-user-mini img {
        width: 50px;
        height: 50px;
    }

    .modal-user-name {
        font-size: 0.95rem;
    }

    .modal-user-id {
        font-size: 0.75rem;
    }

    .modal-package-block {
        padding: var(--space-3);
    }

    .modal-package-coins img {
        width: 44px;
        height: 44px;
    }

    .modal-package-coins strong {
        font-size: 1rem;
    }

    .modal-package-price {
        font-size: 0.85rem;
    }

    .modal-package-bonus,
    .modal-package-desc {
        font-size: 0.7rem;
    }

    .modal-footer {
        padding: var(--space-3);
    }

    .modal-footer .btn {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
}

@media (min-width: 1440px) {
    .modal-dialog.modal-sm {
        max-width: 480px;
    }

    .confirmation-modal .modal-body {
        padding: var(--space-4) var(--space-5) var(--space-3);
    }

    .modal-package-block {
        padding: var(--space-3);
        gap: var(--space-2);
    }
}

.modal-user-mini {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.modal-user-mini img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 2px solid rgba(255, 173, 66, 0.55);
    box-shadow: 0 6px 12px rgba(255, 173, 66, 0.25);
}

.modal-user-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: start;
}

@media (min-width: 1200px) {
    .modal-user-mini img {
        width: 50px;
        height: 50px;
    }

    .modal-user-info {
        gap: 0.3rem;
    }
}
