/* Authority Nexus 2026 - Marketing Website Styles - Ultra Premium Light Theme */

/* ============================================
   CUSTOM PROPERTIES / CSS VARIABLES
   ============================================ */
:root {
    /* Primary Colors */
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --primary-ultra-light: #dbeafe;
    --secondary: #8b5cf6;
    --secondary-dark: #7c3aed;
    --secondary-light: #a78bfa;

    /* Accent Colors */
    --accent-pink: #ec4899;
    --accent-cyan: #06b6d4;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;

    /* Neutral Colors */
    --white: #ffffff;
    --light: #ffffff;
    --light-gray: #f8fafc;
    --gray-50: #f9fafb;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --dark: #0f172a;
    --dark-lighter: #1e293b;

    /* Text Colors */
    --text: #1e293b;
    --text-muted: #475569;
    /* تحسين التباين WCAG من 4.28:1 إلى 7.01:1 */

    /* Status Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Border & Card */
    --border: #e2e8f0;
    --card-bg: #ffffff;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);
    --shadow-glow-purple: 0 0 40px rgba(139, 92, 246, 0.15);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --gradient-hero: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 25%, #f0fdf4 50%, #faf5ff 75%, #fff1f2 100%);
    --gradient-premium: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-sunset: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-ocean: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-emerald: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);

    /* Animation Timings */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background: var(--light);
    color: var(--text);
    line-height: 1.7;
    direction: rtl;
    overflow-x: hidden;
}

body.ltr {
    direction: ltr;
}

::selection {
    background: rgba(59, 130, 246, 0.2);
    color: var(--gray-900);
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-normal);
}

a:hover {
    color: var(--primary-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   ANIMATED BACKGROUND PATTERNS
   ============================================ */
@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes floatReverse {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(20px) rotate(-5deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(59, 130, 246, 0.6);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ============================================
   HEADER
   ============================================ */
.header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

.header:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gray-900);
    position: relative;
}

.logo span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.logo:hover::after {
    transform: scaleX(1);
}

.nav {
    display: flex;
    gap: 35px;
}

.nav a {
    color: var(--gray-600);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.ltr .nav a::before {
    transform-origin: left;
}

.nav a:hover,
.nav a.active {
    color: var(--primary);
}

.nav a:hover::before,
.nav a.active::before {
    transform: scaleX(1);
    transform-origin: left;
}

body.ltr .nav a:hover::before,
body.ltr .nav a.active::before {
    transform-origin: right;
}

.lang-switch {
    background: var(--gradient-primary);
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
    position: relative;
    overflow: hidden;
}

.lang-switch::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 0.5s ease;
}

.lang-switch:hover::before {
    left: 100%;
}

.lang-switch:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.45);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.mobile-menu-btn:hover {
    background: var(--gray-100);
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav a {
    display: block;
    padding: 15px 20px;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background: var(--gray-100);
    color: var(--primary);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .mobile-nav {
        display: block;
    }
}

/* ============================================
   HERO SECTION - ULTRA PREMIUM
   ============================================ */
.hero {
    padding: 160px 20px 120px;
    text-align: center;
    background: var(--gradient-hero);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    position: relative;
    overflow: hidden;
}

/* Animated Floating Shapes */
.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatReverse 9s ease-in-out infinite;
    pointer-events: none;
}

/* Extra Decorative Elements */
.hero .decoration-1,
.hero .decoration-2,
.hero .decoration-3 {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 950px;
    margin: 0 auto;
    animation: slideUp 0.8s ease-out;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 25px;
    color: var(--gray-900);
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero h1 .gradient {
    background: var(--gradient-primary);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 3s ease infinite;
    position: relative;
    display: inline-block;
}

.hero h1 .gradient::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--gradient-primary);
    opacity: 0.3;
    border-radius: 4px;
    z-index: -1;
}

.hero .subtitle {
    font-size: 1.5rem;
    color: var(--gray-600);
    margin-bottom: 45px;
    line-height: 1.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

/* Badges */
.badge {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    padding: 14px 28px;
    border-radius: 60px;
    color: var(--gray-700);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    /* Fix for blurry text on hover */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
}

.badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.badge:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(59, 130, 246, 0.2);
    border-color: var(--primary-light);
}

.badge span {
    font-size: 1.3rem;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ============================================
   BUTTONS - ULTRA PREMIUM
   ============================================ */
.btn {
    padding: 18px 42px;
    border-radius: 60px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    /* Specify exact properties to avoid font rendering issues */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        background-position 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    /* Fix for blurry text on hover */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
}

.btn-primary {
    background: var(--gradient-primary);
    background-size: 200% auto;
    color: #fff;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.35);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.45);
    background-position: right center;
}

.btn-primary:active {
    transform: translateY(-2px);
}

.btn-outline {
    background: var(--white);
    color: var(--gray-700);
    border: 2px solid var(--border);
    box-shadow: var(--shadow);
}

.btn-outline:hover {
    background: var(--gray-50);
    border-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    color: var(--primary);
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
    background: var(--white);
    padding: 80px 20px;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    text-align: center;
}

.stat-item {
    padding: 30px;
    border-radius: 24px;
    transition: all 0.4s ease;
    position: relative;
}

.stat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover {
    background: var(--gray-50);
    transform: translateY(-8px);
}

.stat-item .number {
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-item .label {
    color: var(--gray-600);
    font-size: 1.15rem;
    font-weight: 600;
}

/* ============================================
   FEATURES SECTION - ULTRA PREMIUM CARDS
   ============================================ */
.features {
    padding: 120px 20px;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    animation: slideUp 0.6s ease-out;
}

.section-header h2 {
    font-size: 3.2rem;
    margin-bottom: 18px;
    color: var(--gray-900);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 35px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 40px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

body.ltr .feature-card::before {
    transform-origin: right;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary-light);
    box-shadow: 0 30px 60px rgba(59, 130, 246, 0.15), var(--shadow-glow);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

body.ltr .feature-card:hover::before {
    transform-origin: left;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 28px;
    position: relative;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.feature-icon.speed {
    background: linear-gradient(135deg, #fef3c7, #fcd34d);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
}

.feature-icon.seo {
    background: linear-gradient(135deg, #d1fae5, #34d399);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.feature-icon.ai {
    background: linear-gradient(135deg, #ede9fe, #a78bfa);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.feature-icon.security {
    background: linear-gradient(135deg, #fee2e2, #f87171);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
}

.feature-icon.analytics {
    background: linear-gradient(135deg, #dbeafe, #60a5fa);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.feature-icon.ux {
    background: linear-gradient(135deg, #fce7f3, #f472b6);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.3);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 14px;
    color: var(--gray-900);
    font-weight: 700;
}

.feature-card p {
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.8;
    font-size: 1.05rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 10px 0;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.feature-list li:hover {
    color: var(--gray-800);
    transform: translateX(-5px);
}

body.ltr .feature-list li:hover {
    transform: translateX(5px);
}

.feature-list li::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
    font-size: 1.2rem;
    width: 24px;
    height: 24px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ============================================
   CTA SECTION - ULTRA PREMIUM
   ============================================ */
.cta {
    padding: 140px 20px;
    text-align: center;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    animation: gradientFlow 8s ease infinite;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="50" r="1.5" fill="rgba(255,255,255,0.08)"/></svg>');
    background-size: 80px 80px;
    animation: float 20s linear infinite;
}

.cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
}

.cta>* {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: #fff;
    font-weight: 800;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.cta p {
    font-size: 1.4rem;
    opacity: 0.95;
    margin-bottom: 45px;
    color: #fff;
}

.price-box {
    margin-bottom: 45px;
    animation: pulse 2s ease-in-out infinite;
}

.price-old {
    text-decoration: line-through;
    opacity: 0.6;
    font-size: 2rem;
    margin-left: 20px;
    color: #fff;
}

.price-new {
    font-size: 5.5rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    display: inline-block;
}

.price-new::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 6px;
}

.price-period {
    opacity: 0.85;
    color: #fff;
    font-size: 1.2rem;
}

.btn-white {
    background: #fff;
    color: var(--primary);
    padding: 22px 60px;
    font-size: 1.5rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    /* Fix for blurry text */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
}

.btn-white::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-white:hover::before {
    width: 400px;
    height: 400px;
}

.btn-white:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}

.guarantee {
    margin-top: 35px;
    opacity: 0.95;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: linear-gradient(135deg, var(--gray-900), #0f1729);
    padding: 80px 20px 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    margin-bottom: 55px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

body.ltr .footer-col h4::after {
    left: auto;
    right: 0;
}

.footer-col a {
    display: block;
    color: var(--gray-300);
    /* تحسين التباين على الخلفية الداكنة */
    padding: 8px 0;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.footer-col a:hover {
    color: var(--primary-light);
    transform: translateX(-8px);
}

body.ltr .footer-col a:hover {
    transform: translateX(8px);
}

.footer-col p {
    color: var(--gray-400);
    line-height: 1.9;
    font-size: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-400);
    /* تحسين التباين على الخلفية الداكنة */
    font-size: 1rem;
}

/* ============================================
   HELP PAGE STYLES
   ============================================ */
.help-hero {
    padding: 160px 20px 80px;
    text-align: center;
    background: var(--gradient-hero);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    position: relative;
}

.help-hero h1 {
    color: var(--gray-900);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.help-search {
    max-width: 550px;
    margin: 35px auto 0;
    position: relative;
}

.help-search input {
    width: 100%;
    padding: 22px 60px 22px 28px;
    border-radius: 60px;
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--gray-900);
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.help-search input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.12), var(--shadow-lg);
}

.help-search input::placeholder {
    color: var(--gray-500);
    /* تحسين التباين WCAG */
}

.help-search button {
    position: absolute;
    left: 8px;
    top: 8px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.help-search button:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

body.ltr .help-search button {
    left: auto;
    right: 8px;
}

.help-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.help-category {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 35px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.help-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.help-category:hover::before {
    transform: scaleX(1);
}

.help-category:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.12);
}

.help-category .icon {
    font-size: 3.2rem;
    margin-bottom: 22px;
    display: inline-block;
    transition: transform 0.4s ease;
}

.help-category:hover .icon {
    transform: scale(1.15) rotate(-5deg);
}

.help-category h3 {
    margin-bottom: 14px;
    color: var(--gray-900);
    font-size: 1.35rem;
    font-weight: 700;
}

.help-category p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.8;
}

.help-category .count {
    color: var(--primary);
    font-weight: 700;
    margin-top: 16px;
    display: inline-block;
    font-size: 1rem;
}

.help-section {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 45px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.help-section:hover {
    box-shadow: var(--shadow-lg);
}

.help-section h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--gray-900);
    font-weight: 700;
}

.accordion {
    border: 1px solid var(--border);
    border-radius: 18px;
    margin-bottom: 18px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion:hover {
    border-color: var(--gray-300);
}

.accordion-header {
    padding: 22px 28px;
    background: var(--gray-50);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--gray-800);
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.accordion-header:hover {
    background: rgba(59, 130, 246, 0.06);
    color: var(--primary);
}

.accordion.active .accordion-header {
    background: rgba(59, 130, 246, 0.08);
    color: var(--primary);
}

.accordion-content {
    padding: 30px;
    display: none;
    border-top: 1px solid var(--border);
    background: var(--white);
}

.accordion.active .accordion-content {
    display: block;
    animation: slideUp 0.3s ease-out;
}

.accordion-content p {
    color: var(--gray-600);
    margin-bottom: 18px;
    line-height: 1.9;
    font-size: 1.05rem;
}

.accordion-content ul,
.accordion-content ol {
    padding-right: 28px;
    margin-bottom: 18px;
}

body.ltr .accordion-content ul,
body.ltr .accordion-content ol {
    padding-right: 0;
    padding-left: 28px;
}

.accordion-content li {
    color: var(--gray-600);
    margin-bottom: 12px;
    line-height: 1.8;
}

.accordion-content code {
    background: var(--gray-100);
    color: var(--primary-dark);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    border: 1px solid var(--border);
    font-family: 'Consolas', monospace;
}

.step-box {
    background: rgba(59, 130, 246, 0.06);
    border-right: 5px solid var(--primary);
    padding: 22px;
    border-radius: 14px;
    margin: 20px 0;
}

.warning-box {
    background: rgba(245, 158, 11, 0.06);
    border-right: 5px solid var(--warning);
    padding: 22px;
    border-radius: 14px;
    margin: 20px 0;
}

.success-box {
    background: rgba(16, 185, 129, 0.06);
    border-right: 5px solid var(--success);
    padding: 22px;
    border-radius: 14px;
    margin: 20px 0;
}

body.ltr .step-box,
body.ltr .warning-box,
body.ltr .success-box {
    border-right: none;
    border-left: 5px solid;
}

.toggle-icon {
    transition: transform 0.4s ease;
    color: var(--gray-500);
    font-size: 1.4rem;
    font-weight: 300;
}

.accordion.active .toggle-icon {
    transform: rotate(45deg);
    color: var(--primary);
}

/* ============================================
   COMPARISON TABLE (Features Page)
   ============================================ */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    background: var(--gray-100);
    font-weight: 700;
    color: var(--gray-800);
}

.comparison-table th.highlight {
    background: var(--gradient-primary);
    color: #fff;
}

.comparison-table td.feature-name {
    text-align: right;
    font-weight: 600;
    color: var(--gray-900);
}

body.ltr .comparison-table td.feature-name {
    text-align: left;
}

.comparison-table .check {
    color: var(--success);
    font-size: 1.5rem;
}

.comparison-table .cross {
    color: var(--danger);
    font-size: 1.2rem;
}

.comparison-table .partial {
    color: var(--warning);
    font-size: 0.9rem;
    font-weight: 600;
}

.comparison-table tbody tr {
    transition: all 0.3s ease;
}

.comparison-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.04);
}

/* ============================================
   TESTIMONIALS (Features Page)
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 35px;
    position: relative;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

.testimonial:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 5rem;
    color: var(--gray-200);
    font-family: Georgia, serif;
    line-height: 1;
}

body.ltr .testimonial::before {
    left: auto;
    right: 25px;
}

.testimonial .stars {
    color: #fbbf24;
    margin-bottom: 15px;
    font-size: 1.2rem;
    letter-spacing: 3px;
}

.testimonial .text {
    color: var(--gray-600);
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

.testimonial .author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial .author img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid var(--primary-light);
}

.testimonial .author h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--gray-900);
}

.testimonial .author span {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* ============================================
   NAV PILLS (Help Page)
   ============================================ */
.nav-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
    position: sticky;
    top: 75px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.nav-pill {
    padding: 12px 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 30px;
    color: var(--gray-600);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.nav-pill:hover,
.nav-pill.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

/* ============================================
   CHECKLIST (Help Page)
   ============================================ */
.checklist {
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 18px;
    padding: 30px;
    margin: 25px 0;
}

.checklist h4 {
    margin-bottom: 20px;
    color: var(--success);
    font-size: 1.15rem;
}

.checklist label {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    cursor: pointer;
    color: var(--gray-600);
    transition: color 0.3s ease;
    font-size: 1rem;
}

.checklist label:hover {
    color: var(--gray-900);
}

.checklist input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: var(--success);
    cursor: pointer;
}

/* PRO TIP Box */
.pro-tip {
    background: rgba(139, 92, 246, 0.06);
    border-right: 5px solid var(--secondary);
    padding: 22px;
    border-radius: 14px;
    margin: 20px 0;
}

body.ltr .pro-tip {
    border-right: none;
    border-left: 5px solid var(--secondary);
}

/* Security Note */
.security-note {
    background: rgba(239, 68, 68, 0.06);
    border-right: 5px solid var(--danger);
    padding: 22px;
    border-radius: 14px;
    margin: 20px 0;
}

body.ltr .security-note {
    border-right: none;
    border-left: 5px solid var(--danger);
}

/* File Path */
.file-path {
    background: var(--gray-900);
    color: #f59e0b;
    padding: 4px 12px;
    border-radius: 6px;
    font-family: 'Consolas', monospace;
    font-size: 0.9rem;
    direction: ltr;
    display: inline-block;
}

/* Quota Table */
.quota-table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.quota-table th,
.quota-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    text-align: right;
}

body.ltr .quota-table th,
body.ltr .quota-table td {
    text-align: left;
}

.quota-table th {
    background: var(--gray-100);
    font-weight: 700;
    color: var(--gray-800);
}

.quota-table tr:last-child td {
    border-bottom: none;
}

/* Steps List */
.steps-list {
    list-style: none;
    padding: 0;
}

.steps-list li {
    display: flex;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    gap: 15px;
}

.steps-list li:last-child {
    border-bottom: none;
}

.step-number {
    display: inline-flex;
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 0.95rem;
}

/* External Link */
.external-link {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
}

.external-link:hover {
    color: var(--secondary);
    text-decoration-style: solid;
}

/* TOC Sidebar */
.toc-sidebar {
    position: fixed;
    left: 25px;
    top: 110px;
    width: 240px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 25px;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    box-shadow: var(--shadow-md);
}

body.ltr .toc-sidebar {
    left: auto;
    right: 25px;
}

.toc-sidebar h4 {
    margin-bottom: 20px;
    font-size: 1rem;
    color: var(--gray-900);
}

.toc-sidebar a {
    display: block;
    padding: 10px 0;
    color: var(--gray-500);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.toc-sidebar a:last-child {
    border-bottom: none;
}

.toc-sidebar a:hover {
    color: var(--primary);
    transform: translateX(-5px);
}

body.ltr .toc-sidebar a:hover {
    transform: translateX(5px);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .toc-sidebar {
        display: none;
    }

    .container {
        padding: 0 30px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .help-categories {
        grid-template-columns: repeat(2, 1fr);
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 15px 10px;
    }

    .pricing-card {
        padding: 50px 35px;
    }

    .price-new {
        font-size: 4.5rem;
    }
}

@media (max-width: 768px) {

    /* Header & Navigation */
    .header-inner {
        padding: 15px 20px;
    }

    .nav {
        display: none;
    }

    .logo {
        font-size: 1.3rem;
    }

    .lang-switch {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    /* Hero Section */
    .hero {
        padding: 140px 20px 80px;
    }

    .hero h1 {
        font-size: 2.4rem;
        line-height: 1.3;
    }

    .hero .subtitle {
        font-size: 1.1rem;
        padding: 0 10px;
    }

    .hero-badges {
        gap: 10px;
        flex-direction: column;
        align-items: center;
    }

    .badge {
        padding: 12px 20px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-cta {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 20px;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    /* Buttons */
    .btn {
        padding: 16px 32px;
        font-size: 1rem;
    }

    .btn-white {
        padding: 18px 40px;
        font-size: 1.2rem;
    }

    /* Stats Section */
    .stats {
        padding: 60px 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .stat-item .number {
        font-size: 2.8rem;
    }

    .stat-item .label {
        font-size: 1rem;
    }

    /* Features Section */
    .features {
        padding: 60px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 30px;
    }

    .feature-icon {
        width: 65px;
        height: 65px;
        font-size: 1.8rem;
    }

    /* Section Headers */
    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1.05rem;
    }

    /* Pricing Section */
    .pricing {
        padding: 60px 20px;
    }

    .pricing-card {
        padding: 40px 25px;
    }

    .price-new {
        font-size: 3.8rem;
    }

    .price-period {
        font-size: 1rem;
    }

    /* Comparison Table */
    .comparison-section {
        padding: 60px 15px;
        overflow-x: auto;
    }

    .comparison-table {
        font-size: 0.85rem;
        min-width: 700px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
    }

    /* Testimonials */
    .testimonials-section {
        padding: 60px 20px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial {
        padding: 25px;
    }

    /* CTA Section */
    .cta {
        padding: 60px 20px;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .cta p {
        font-size: 1.1rem;
    }

    /* Help Page */
    .help-hero h1 {
        font-size: 2.2rem;
    }

    .help-categories {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .help-section {
        padding: 25px;
    }

    .nav-pills {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .nav-pill {
        padding: 12px 18px;
        font-size: 0.9rem;
    }

    .accordion-header {
        padding: 18px 20px;
        font-size: 1rem;
    }

    .accordion-content {
        padding: 20px;
    }

    /* Contact Page */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-wrapper {
        padding: 30px;
    }

    .info-card {
        padding: 20px;
    }

    /* Footer */
    .footer {
        padding: 60px 20px 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 480px) {

    /* Hero Section */
    .hero {
        padding: 120px 15px 60px;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    /* Section Headers */
    .section-header h2 {
        font-size: 1.7rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item .number {
        font-size: 2.5rem;
    }

    /* Pricing */
    .price-new {
        font-size: 3rem;
    }

    .pricing-card {
        padding: 30px 20px;
    }

    /* CTA */
    .cta h2 {
        font-size: 1.6rem;
    }

    .cta p {
        font-size: 1rem;
    }

    .btn-white {
        padding: 16px 30px;
        font-size: 1.1rem;
        width: 100%;
    }

    .guarantee {
        flex-direction: column;
        text-align: center;
        font-size: 1rem;
    }

    /* Buttons */
    .btn {
        padding: 14px 28px;
        font-size: 0.95rem;
        width: 100%;
    }

    /* Header */
    .logo {
        font-size: 1.1rem;
    }

    .lang-switch {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    /* Help Page */
    .help-hero h1 {
        font-size: 1.8rem;
    }

    .help-search input {
        padding: 15px 20px;
        font-size: 0.95rem;
    }

    .nav-pills {
        gap: 8px;
    }

    .nav-pill {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    /* Accordion */
    .accordion-header {
        padding: 15px;
        font-size: 0.95rem;
    }

    .accordion-content {
        padding: 15px;
    }

    /* Cards */
    .feature-card {
        padding: 25px;
    }

    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 14px 16px;
        font-size: 0.95rem;
    }

    /* Tables - Horizontal Scroll */
    .comparison-table {
        min-width: 600px;
    }

    /* Social Links */
    .social-links {
        justify-content: center;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .hero .subtitle {
        font-size: 0.95rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .price-new {
        font-size: 2.5rem;
    }

    .badge {
        font-size: 0.8rem;
        padding: 10px 15px;
    }

    .nav-pill {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

/* ============================================
   SPECIAL ANIMATIONS & EFFECTS
   ============================================ */

/* Glowing border effect for cards on focus */
.feature-card:focus-within {
    animation: glow 2s ease-in-out infinite;
}

/* Scroll reveal animation class (to be used with JS) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for children */
.stagger>* {
    animation: slideUp 0.6s ease-out;
    animation-fill-mode: both;
}

.stagger>*:nth-child(1) {
    animation-delay: 0.1s;
}

.stagger>*:nth-child(2) {
    animation-delay: 0.2s;
}

.stagger>*:nth-child(3) {
    animation-delay: 0.3s;
}

.stagger>*:nth-child(4) {
    animation-delay: 0.4s;
}

.stagger>*:nth-child(5) {
    animation-delay: 0.5s;
}

.stagger>*:nth-child(6) {
    animation-delay: 0.6s;
}

/* Hover lift effect */
.hover-lift {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Gradient text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass effect */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Print styles */
@media print {

    .header,
    .footer,
    .cta,
    .nav-pills,
    .toc-sidebar {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .feature-card,
    .help-section,
    .accordion {
        break-inside: avoid;
    }
}