/* ========================================
   Tourenpilot - Stylesheet
   ======================================== */

/* CSS Variables - Light Mode (Default) */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #0f172a;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    --gray-50: #f8fafc;
    --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;

    --white: #ffffff;
    --black: #000000;

    /* Semantic colors for theming */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: #ffffff;
    --bg-navbar: rgba(255, 255, 255, 0.95);
    --bg-footer: #0f172a;

    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-inverse: #ffffff;

    --border-color: #e2e8f0;
    --border-light: #f1f5f9;

    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #2563eb 100%);

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    --transition: all 0.3s ease;
}

/* Dark Mode */
[data-theme="dark"] {
    --gray-50: #0f172a;
    --gray-100: #1e293b;
    --gray-200: #334155;
    --gray-300: #475569;
    --gray-400: #64748b;
    --gray-500: #94a3b8;
    --gray-600: #cbd5e1;
    --gray-700: #e2e8f0;
    --gray-800: #f1f5f9;
    --gray-900: #f8fafc;

    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-card: #1e293b;
    --bg-navbar: rgba(15, 23, 42, 0.95);
    --bg-footer: #020617;

    --text-primary: #f8fafc;
    --text-secondary: #e2e8f0;
    --text-muted: #94a3b8;
    --text-inverse: #0f172a;

    --border-color: #334155;
    --border-light: #1e293b;

    --gradient-hero: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e3a5f 100%);

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.4), 0 1px 2px -1px rgb(0 0 0 / 0.4);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.4);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.4);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.4), 0 8px 10px -6px rgb(0 0 0 / 0.4);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-nav {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    background: var(--primary);
    color: #ffffff !important;
}

.btn-nav:hover {
    background: var(--primary-dark);
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-navbar);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.logo-icon {
    font-size: 1.75rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--gray-600);
}

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

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

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--gray-700);
    transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    padding-top: 72px;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 6rem;
}

.hero-content {
    color: var(--white);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray-300);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 2rem;
    min-width: 320px;
    box-shadow: var(--shadow-xl);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.card-stats {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
}

.stat-label {
    color: #cbd5e1;
    font-size: 0.875rem;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: auto;
}

/* ========================================
   Section Styles
   ======================================== */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Features Section
   ======================================== */
.features {
    background: var(--gray-50);
}

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

.feature-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-card.featured {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(6, 182, 212, 0.03) 100%);
}

.feature-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.feature-card ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-card li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9375rem;
    color: var(--gray-600);
}

.feature-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 600;
}

/* ========================================
   Comparison Section
   ======================================== */
.comparison {
    background: var(--white);
}

.comparison-table {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.comparison-header {
    background: var(--gray-900);
    color: var(--white);
    font-weight: 600;
}

.comparison-header .comparison-col {
    padding: 1.25rem;
    text-align: center;
    font-size: 1.125rem;
}

.comparison-col {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
}

.comparison-col.old {
    background: var(--gray-50);
    color: var(--gray-600);
}

.comparison-col.new {
    background: rgba(16, 185, 129, 0.05);
    color: var(--gray-800);
    font-weight: 500;
}

.comparison-row:not(.comparison-header) {
    border-bottom: 1px solid var(--gray-100);
}

.comparison-col .icon {
    font-size: 1.25rem;
}

/* ========================================
   Tech Section
   ======================================== */
.tech-section {
    background: var(--gray-900);
    color: var(--white);
}

.tech-section .section-header h2 {
    color: var(--white);
}

.tech-section .section-header p {
    color: var(--gray-400);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.tech-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.tech-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tech-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tech-card p {
    font-size: 0.875rem;
    color: var(--gray-400);
}

/* ========================================
   Target Groups Section
   ======================================== */
.target-groups {
    background: var(--gray-50);
}

.groups-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.group-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.group-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.group-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.group-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.group-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: var(--gradient-primary);
    padding: 5rem 0;
}

.cta-content {
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--gray-400);
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    text-align: center;
    font-size: 0.875rem;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

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

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

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .groups-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .comparison-col {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .groups-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-card {
        min-width: auto;
        width: 100%;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .comparison-row {
        grid-template-columns: 1fr;
    }

    .comparison-header {
        display: none;
    }

    .comparison-col.old::before {
        content: 'Vorher: ';
        font-weight: 600;
    }

    .comparison-col.new::before {
        content: 'Nachher: ';
        font-weight: 600;
    }

    .groups-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Legal Pages (Impressum, Datenschutz, AGB)
   ======================================== */
.legal-page {
    padding-top: 120px;
    padding-bottom: 4rem;
    min-height: calc(100vh - 300px);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.legal-date {
    color: var(--gray-500);
    font-size: 0.9375rem;
    margin-bottom: 2rem;
}

.legal-notice {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 2rem;
}

.legal-notice p {
    margin: 0;
    color: var(--gray-700);
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.legal-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.legal-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content li {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 0.5rem;
    position: relative;
}

.legal-content li::before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

.legal-content a {
    color: var(--primary);
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-back {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

@media (max-width: 768px) {
    .legal-page {
        padding-top: 100px;
    }

    .legal-content h1 {
        font-size: 2rem;
    }

    .legal-content h2 {
        font-size: 1.25rem;
    }
}

/* ========================================
   Dark Mode Toggle Button
   ======================================== */
.theme-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1001;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: var(--bg-card);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 2px solid var(--border-color);
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.theme-toggle .icon {
    font-size: 1.5rem;
    transition: var(--transition);
}

.theme-toggle .icon-sun {
    display: none;
}

.theme-toggle .icon-moon {
    display: block;
}

[data-theme="dark"] .theme-toggle .icon-sun {
    display: block;
}

[data-theme="dark"] .theme-toggle .icon-moon {
    display: none;
}

/* ========================================
   Dark Mode Overrides
   ======================================== */
[data-theme="dark"] .navbar {
    background: var(--bg-navbar);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .logo {
    color: var(--text-primary);
}

[data-theme="dark"] .nav-links a {
    color: var(--text-muted);
}

[data-theme="dark"] .nav-links a:hover {
    color: var(--primary-light);
}

[data-theme="dark"] .btn-nav {
    color: #ffffff;
}

[data-theme="dark"] .btn-nav:hover {
    color: #ffffff;
}

[data-theme="dark"] .nav-toggle span {
    background: var(--text-primary);
}

[data-theme="dark"] .btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .btn-secondary:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
}

[data-theme="dark"] .hero-wave svg path {
    fill: var(--bg-primary);
}

[data-theme="dark"] .features {
    background: var(--bg-secondary);
}

[data-theme="dark"] .feature-card {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .feature-card:hover {
    border-color: var(--primary-light);
}

[data-theme="dark"] .feature-card h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .feature-card li {
    color: var(--text-muted);
}

[data-theme="dark"] .feature-card.featured {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border-color: var(--primary);
}

[data-theme="dark"] .comparison {
    background: var(--bg-primary);
}

[data-theme="dark"] .comparison-table {
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .comparison-col.old {
    background: var(--bg-secondary);
    color: var(--text-muted);
}

[data-theme="dark"] .comparison-col.new {
    background: rgba(16, 185, 129, 0.1);
    color: var(--text-primary);
}

[data-theme="dark"] .comparison-row:not(.comparison-header) {
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .comparison-header {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

[data-theme="dark"] .target-groups {
    background: var(--bg-secondary);
}

[data-theme="dark"] .group-card {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .group-card:hover {
    border-color: var(--primary-light);
}

[data-theme="dark"] .group-card h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .group-card p {
    color: var(--text-muted);
}

[data-theme="dark"] .footer {
    background: var(--bg-footer);
}

[data-theme="dark"] .footer-brand .logo-text {
    color: var(--text-primary);
}

[data-theme="dark"] .footer-bottom {
    border-top-color: var(--border-color);
}

[data-theme="dark"] .section-header h2 {
    color: var(--text-primary);
}

[data-theme="dark"] .section-header p {
    color: var(--text-muted);
}

/* Dark Mode - Tech Section */
[data-theme="dark"] .tech-section {
    background: #020617;
}

[data-theme="dark"] .tech-section .section-header h2 {
    color: #ffffff;
}

[data-theme="dark"] .tech-section .section-header p {
    color: #94a3b8;
}

[data-theme="dark"] .tech-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .tech-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .tech-card h4 {
    color: #ffffff;
}

[data-theme="dark"] .tech-card p {
    color: #94a3b8;
}

/* Dark Mode - Legal Pages */
[data-theme="dark"] .legal-page {
    background: var(--bg-primary);
}

[data-theme="dark"] .legal-content h1 {
    color: var(--text-primary);
}

[data-theme="dark"] .legal-content h2 {
    color: var(--text-primary);
    border-top-color: var(--border-color);
}

[data-theme="dark"] .legal-content h3 {
    color: var(--text-secondary);
}

[data-theme="dark"] .legal-content p,
[data-theme="dark"] .legal-content li {
    color: var(--text-muted);
}

[data-theme="dark"] .legal-notice {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.4);
}

[data-theme="dark"] .legal-notice p {
    color: var(--text-secondary);
}

[data-theme="dark"] .legal-back {
    border-top-color: var(--border-color);
}

/* Dark Mode - Mobile Navigation */
@media (max-width: 768px) {
    [data-theme="dark"] .nav-links {
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border-color);
    }
}

/* Smooth theme transition for all elements */
.navbar,
.feature-card,
.group-card,
.comparison-table,
.footer,
.legal-page,
.legal-content,
.theme-toggle {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* ========================================
   Hero Benefits List
   ======================================== */
.hero-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    color: var(--gray-200);
}

.hero-benefits li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
}

.hero-trust {
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-top: 1rem;
}

/* ========================================
   Problems Section
   ======================================== */
.problems {
    background: var(--bg-primary);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--danger);
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.problem-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.problem-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.problems-cta {
    text-align: center;
    margin-top: 3rem;
}

.problems-cta p {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

/* ========================================
   Solution Section
   ======================================== */
.solution {
    background: var(--bg-secondary);
}

.solution-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.solution-card {
    display: flex;
    gap: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.solution-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.solution-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.solution-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.solution-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.solution-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin-top: 1rem;
}

.solution-benefits li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.solution-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 600;
}

/* ========================================
   Comparison Section Updates
   ======================================== */
.comparison-cta {
    text-align: center;
    margin-top: 3rem;
}

.comparison-col.highlight {
    background: var(--primary);
}

/* ========================================
   Target Groups Section Updates
   ======================================== */
.target-info {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border-color);
}

.target-info p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin: 0;
}

/* ========================================
   Features Section Updates
   ======================================== */
.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing {
    background: var(--bg-primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.pricing-grid.three-cols {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.375rem 1rem;
    border-radius: var(--radius);
    text-transform: uppercase;
}

.pricing-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.pricing-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.pricing-price .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-price .price-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.pricing-features {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.pricing-features ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.pricing-features .check {
    color: var(--success);
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.pricing-note {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.pricing-note p {
    color: var(--text-secondary);
    margin: 0;
}

.pricing-drivers {
    font-size: 1rem;
    font-weight: 600;
    color: var(--success);
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
}

.pricing-extra {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.pricing-example {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
}

.pricing-example p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.features-includes {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* Pricing Add-ons */
.pricing-addons {
    margin-top: 4rem;
    text-align: center;
}

.pricing-addons h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.addons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.addon-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: var(--transition);
}

.addon-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.addon-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.addon-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
}

.addon-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Dark mode for new pricing elements */
[data-theme="dark"] .pricing-example {
    background: var(--bg-tertiary);
}

[data-theme="dark"] .addon-item {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .addon-item:hover {
    border-color: var(--primary);
}

[data-theme="dark"] .addon-name {
    color: var(--text-primary);
}

[data-theme="dark"] .pricing-addons h3 {
    color: var(--text-primary);
}

/* ========================================
   Trust Section
   ======================================== */
.trust {
    background: var(--bg-secondary);
    padding: 4rem 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.trust-item {
    text-align: center;
    padding: 1.5rem;
}

.trust-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.trust-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.trust-item p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

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

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.faq-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
}

.faq-cta p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* ========================================
   CTA Section Updates
   ======================================== */
.cta-options {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.cta-option {
    flex: 1;
    max-width: 350px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.cta-option h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.cta-option p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.cta-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-divider span {
    font-size: 1rem;
    opacity: 0.7;
    font-weight: 500;
}

.cta-trust {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: 2rem !important;
}

/* ========================================
   Dark Mode - New Sections
   ======================================== */
[data-theme="dark"] .problems {
    background: var(--bg-primary);
}

[data-theme="dark"] .problem-card {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .problem-card:hover {
    border-color: var(--danger);
}

[data-theme="dark"] .problem-card h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .solution {
    background: var(--bg-secondary);
}

[data-theme="dark"] .solution-card {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .solution-card:hover {
    border-color: var(--primary);
}

[data-theme="dark"] .solution-content h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .pricing {
    background: var(--bg-primary);
}

[data-theme="dark"] .pricing-card {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .pricing-card.featured {
    border-color: var(--primary);
}

[data-theme="dark"] .pricing-header {
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .pricing-header h3,
[data-theme="dark"] .pricing-price .price,
[data-theme="dark"] .pricing-price .currency,
[data-theme="dark"] .pricing-price .price-text {
    color: var(--text-primary);
}

[data-theme="dark"] .pricing-note {
    background: var(--bg-secondary);
}

[data-theme="dark"] .trust {
    background: var(--bg-secondary);
}

[data-theme="dark"] .trust-item h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .faq {
    background: var(--bg-primary);
}

[data-theme="dark"] .faq-item {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .faq-item:hover {
    border-color: var(--primary);
}

[data-theme="dark"] .faq-item h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .btn-outline {
    color: var(--primary-light);
    border-color: var(--primary-light);
}

[data-theme="dark"] .btn-outline:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

[data-theme="dark"] .target-info {
    background: var(--bg-card);
    border-color: var(--border-color);
}

/* ========================================
   Responsive - New Sections
   ======================================== */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid.three-cols {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .addons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-benefits {
        align-items: flex-start;
    }

    .problems-grid {
        grid-template-columns: 1fr;
    }

    .solution-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .solution-benefits {
        justify-content: center;
    }

    .pricing-grid,
    .pricing-grid.three-cols {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .addons-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .cta-options {
        flex-direction: column;
        align-items: center;
    }

    .cta-option {
        max-width: 100%;
    }

    .cta-divider {
        padding: 1rem 0;
    }
}

@media (max-width: 480px) {
    .solution-number {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .solution-content h3 {
        font-size: 1.25rem;
    }

    .pricing-price .price {
        font-size: 2.5rem;
    }
}
