/* ═══════════════════════════════════════════════════════════
   SAP CodeForge — Landing Page Styles
   Dark theme, modern UI, AdsPano-inspired
   ═══════════════════════════════════════════════════════════ */

:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-card: #1a1f35;
    --bg-card-hover: #1f2545;
    --border: #2a3050;
    --border-light: #353b58;

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent-blue: #0070F2;
    --accent-orange: #FF6B35;
    --accent-green: #10B981;
    --accent-purple: #8B5CF6;
    --accent-teal: #14B8A6;
    --accent-yellow: #F59E0B;

    --gradient: linear-gradient(135deg, #FF6B35, #0070F2);
    --gradient-text: linear-gradient(135deg, #FF6B35, #FF8C5A, #0070F2);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.4);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ═══════════ NAVBAR ═══════════ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 14, 26, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-icon {
    width: 32px;
    height: 32px;
}

.brand-text {
    font-size: 18px;
    font-weight: 700;
}

.brand-accent {
    color: var(--accent-orange);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--text-primary); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 1px;
    transition: 0.2s;
}

/* ═══════════ LANGUAGE SELECTOR ═══════════ */

.lang-selector {
    position: relative;
    z-index: 110;
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    white-space: nowrap;
}

.lang-toggle:hover {
    color: var(--text-primary);
    border-color: var(--border-light);
    background: rgba(255,255,255,0.04);
}

.lang-toggle[aria-expanded="true"] {
    color: var(--text-primary);
    border-color: var(--accent-orange);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 6px;
    min-width: 120px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.2s ease;
    z-index: 120;
}

.lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 12px;
    background: none;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
    text-align: left;
}

.lang-option:hover {
    background: rgba(255,255,255,0.06);
    color: var(--text-primary);
}

.lang-option.active {
    color: var(--accent-orange);
    background: rgba(255,107,53,0.08);
}

.lang-flag {
    font-size: 16px;
    line-height: 1;
}

.lang-code {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ═══════════ RTL SUPPORT ═══════════ */

[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .nav-container {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-actions {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-container {
    direction: rtl;
}

[dir="rtl"] .hero-cta {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-trust {
    flex-direction: row-reverse;
}

[dir="rtl"] .trust-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .btn-primary svg,
[dir="rtl"] .btn-outline svg {
    transform: scaleX(-1);
}

[dir="rtl"] .mock-header {
    flex-direction: row-reverse;
}

[dir="rtl"] .mock-upload-area {
    flex-direction: row-reverse;
}

[dir="rtl"] .mock-progress-info {
    flex-direction: row-reverse;
}

[dir="rtl"] .mock-file {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .float-badge {
    flex-direction: row-reverse;
}

[dir="rtl"] .badge-1 {
    right: auto;
    left: -20px;
}

[dir="rtl"] .badge-2 {
    left: auto;
    right: -30px;
}

[dir="rtl"] .steps-grid {
    flex-direction: row-reverse;
}

[dir="rtl"] .step-connector svg {
    transform: scaleX(-1);
}

[dir="rtl"] .pricing-step {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .price-features li {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .cookie-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .cookie-text {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .cookie-option-header {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-bottom {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-legal {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-grid {
    direction: rtl;
}

[dir="rtl"] .cta-buttons {
    flex-direction: row-reverse;
}

[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}

/* ═══════════ BUTTONS ═══════════ */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-orange);
    color: white;
    border: none;
    padding: 10px 22px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: #e55a28;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(255,107,53,0.4);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    padding: 10px 22px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-secondary);
    border: none;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}

.btn-ghost:hover { color: var(--text-primary); }

.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { display: flex; justify-content: center; width: 100%; }

/* ═══════════ HERO ═══════════ */

.hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(255,107,53,0.12) 0%, rgba(0,112,242,0.08) 50%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,107,53,0.12);
    color: var(--accent-orange);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255,107,53,0.2);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-trust {
    display: flex;
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Hero Visual — Dashboard Mock */
.hero-visual {
    position: relative;
}

.dashboard-mock {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.mock-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: rgba(0,0,0,0.3);
    border-bottom: 1px solid var(--border);
    gap: 12px;
}

.mock-dots {
    display: flex;
    gap: 6px;
}

.mock-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mock-dots span:nth-child(1) { background: #ef4444; }
.mock-dots span:nth-child(2) { background: #f59e0b; }
.mock-dots span:nth-child(3) { background: #22c55e; }

.mock-title {
    font-size: 12px;
    color: var(--text-muted);
    flex: 1;
}

.mock-badge {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 100px;
    font-weight: 600;
}

.mock-badge.live {
    background: rgba(16,185,129,0.15);
    color: var(--accent-green);
}

.mock-body {
    padding: 20px;
}

.mock-upload-area {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 2px dashed var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 14px;
}

.mock-progress {
    margin-bottom: 16px;
}

.mock-progress-bar {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.mock-progress-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-green));
    border-radius: 4px;
    animation: progress-shine 2s ease infinite;
}

@keyframes progress-shine {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.mock-progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

.mock-percent {
    color: var(--accent-green);
    font-weight: 700;
}

.mock-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.mock-stat {
    text-align: center;
    padding: 12px 8px;
    background: rgba(0,0,0,0.2);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.mock-stat .stat-num {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
}

.mock-stat .stat-label {
    font-size: 11px;
    color: var(--text-muted);
}

.mock-stat.highlight {
    border-color: var(--accent-green);
    background: rgba(16,185,129,0.08);
}

.mock-stat.highlight .stat-num {
    color: var(--accent-green);
}

.mock-files {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mock-file {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
    padding: 6px 10px;
    background: rgba(0,0,0,0.15);
    border-radius: var(--radius-sm);
    font-family: 'SF Mono', Monaco, Consolas, monospace;
}

.file-icon { font-size: 14px; }

/* Floating badges */
.float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    animation: float 3s ease-in-out infinite;
}

.badge-1 {
    top: -10px;
    right: -20px;
    color: var(--accent-green);
    animation-delay: 0s;
}

.badge-2 {
    bottom: 30px;
    left: -30px;
    color: var(--accent-orange);
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ═══════════ SECTION SHARED ═══════════ */

.section-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,112,242,0.1);
    color: var(--accent-blue);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(0,112,242,0.2);
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* ═══════════ FEATURES ═══════════ */

.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ═══════════ HOW IT WORKS ═══════════ */

.how-it-works {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.step-card {
    text-align: center;
    padding: 32px 28px;
    max-width: 240px;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    margin: 0 auto 20px;
}

.step-content h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-connector {
    flex-shrink: 0;
    opacity: 0.5;
}

/* ═══════════ SUPPORTED MODULES ═══════════ */

.supported {
    padding: 80px 0;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.module-card {
    text-align: center;
    padding: 28px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.module-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.module-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.module-card h4 {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent-blue);
    margin-bottom: 4px;
}

.module-card p {
    font-size: 12px;
    color: var(--text-muted);
}

/* ═══════════ STATS ═══════════ */

.stats {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 36px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

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

.stat-icon {
    margin-bottom: 16px;
}

.stat-number {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 6px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ═══════════ PRICING ═══════════ */

.pricing {
    padding: 100px 0;
}

.pricing-simple {
    max-width: 640px;
    margin: 0 auto;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    position: relative;
    transition: all 0.3s ease;
}

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

.price-card.featured.single {
    border-color: var(--accent-orange);
    background: linear-gradient(180deg, rgba(255,107,53,0.06) 0%, var(--bg-card) 50%);
}

.pricing-how {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.pricing-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.pricing-step-num {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
}

.pricing-step-text h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.pricing-step-text p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.pricing-includes {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    margin-bottom: 28px;
}

.pricing-includes h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.pricing-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 12px;
}

.price-features {
    list-style: none;
    margin-bottom: 28px;
}

.price-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-features li::before {
    content: '✓';
    color: var(--accent-green);
    font-weight: 700;
    font-size: 13px;
}

/* ═══════════ CTA ═══════════ */

.cta {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.cta-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.cta-content p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ═══════════ FOOTER ═══════════ */

.footer {
    padding: 60px 0 32px;
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-muted);
    max-width: 280px;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--text-primary); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover { color: var(--text-primary); }

/* ═══════════ COOKIE BANNER ═══════════ */

.cookie-banner {
    position: fixed;
    bottom: -200px;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 0 24px 24px;
    transition: bottom 0.5s ease;
}

.cookie-banner.visible {
    bottom: 0;
}

.cookie-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 -4px 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
}

.cookie-text {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}

.cookie-text svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.cookie-text p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cookie-text a {
    color: var(--accent-orange);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* Cookie Modal */
.cookie-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 300;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.cookie-modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    max-width: 520px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px 16px;
    border-bottom: 1px solid var(--border);
}

.cookie-modal-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.cookie-modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: color 0.2s;
}

.cookie-modal-close:hover {
    color: var(--text-primary);
}

.cookie-modal-body {
    padding: 20px 28px;
}

.cookie-modal-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.cookie-option {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.cookie-option h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.cookie-option p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    cursor: pointer;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--border);
    border-radius: 12px;
    transition: 0.3s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: 0.3s;
}

.cookie-toggle input:checked + .toggle-slider {
    background: var(--accent-green);
}

.cookie-toggle input:checked + .toggle-slider::before {
    background: white;
    transform: translateX(20px);
}

.cookie-toggle.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 16px 28px 24px;
    border-top: 1px solid var(--border);
}

/* ═══════════ ANIMATIONS ═══════════ */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }
.fade-in:nth-child(6) { transition-delay: 0.5s; }

/* ═══════════ RESPONSIVE ═══════════ */

@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; gap: 40px; }
    .hero-title { font-size: 44px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-simple { max-width: 100%; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .modules-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .nav-links.open, .nav-actions.open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border);
        padding: 16px 32px;
        gap: 12px;
    }
    .nav-mobile-toggle { display: flex; }
    .lang-selector { order: -1; }
    .lang-dropdown { right: auto; left: 0; }

    .hero { padding: 120px 0 60px; }
    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 16px; }
    .hero-cta { flex-direction: column; }
    .hero-trust { flex-direction: column; gap: 8px; }
    .hero-visual { display: none; }

    .section-header h2 { font-size: 30px; }
    .features-grid { grid-template-columns: 1fr; }
    .steps-grid { flex-direction: column; }
    .step-connector { transform: rotate(90deg); }
    .modules-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }

    .cta-content h2 { font-size: 30px; }
    .cta-buttons { flex-direction: column; align-items: center; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .footer-legal { justify-content: center; }

    .float-badge { display: none; }

    [dir="rtl"] .steps-grid { flex-direction: column-reverse; }
    [dir="rtl"] .step-connector svg { transform: rotate(90deg) scaleX(-1); }
    [dir="rtl"] .hero-cta { flex-direction: column; }
    [dir="rtl"] .hero-trust { flex-direction: column; }
    [dir="rtl"] .cta-buttons { flex-direction: column; align-items: center; }

    .cookie-content { flex-direction: column; text-align: center; }
    .cookie-actions { justify-content: center; flex-wrap: wrap; }
    .cookie-modal-footer { flex-wrap: wrap; justify-content: center; }
}
