:root {
    /* Fonts */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-xs: 0.75rem;
    --font-sm: 0.8125rem;
    --font-base: 0.875rem;
    --font-md: 0.9375rem;
    --font-lg: 1rem;
    --font-xl: 1.125rem;
    --font-2xl: 1.25rem;
    --font-3xl: 1.5rem;
    --font-4xl: 2rem;

    /* Brand Colors - aligned with PlanB app */
    --primary: #000000;
    --primary-hover: #171717;
    --primary-color: #e8945a;
    --secondary: #f9fafb;

    /* Status Colors */
    --danger: #ef4444;
    --success: #10b981;
    --warning: #ff9800;
    --info: #2196f3;

    /* Text Colors */
    --text-dark: #0a0a0a;
    --text-light: #737373;
    --text-muted: #999999;
    --text-white: #ffffff;

    /* Background Colors */
    --bg-body: #fafafa;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-lighter: #f5f5f5;
    --bg-lightest: #f0f0f0;
    --bg-orange-light: #fff3e0;

    /* Accent Colors */
    --purple: #8b5abf;
    --indigo: #6a67ce;
    --blue: #4c9fd6;
    --teal: #5b85e8;
    --violet: #9867b9;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 12px;
    --space-lg: 16px;
    --space-xl: 20px;
    --space-2xl: 24px;
    --space-3xl: 32px;
    --space-4xl: 40px;

    /* Border Radius - matching PlanB app */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --radius-full: 50%;

    /* Shadows - enhanced to match PlanB app */
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.3);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s ease;

    /* Borders */
    --border-color: #e9ecef;
    --border-dark: #d4d4d4;
    --border-darker: #a3a3a3;
    --border-light: #f0f0f0;

    /* App specific */
    --app-orange: #e8945a;
    --app-orange-dark: #d4712a;
    --app-green: #5a9e5a;
    --app-red: #d46a6a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-family);
    background: var(--bg-body);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: var(--font-base);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, 0.35); }

/* ========================================
   ANIMATIONS - from PlanB app
   ======================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3); }
    50% { box-shadow: 0 4px 20px rgba(40, 167, 69, 0.5); }
}

/* ========================================
   NAVIGATION
   ======================================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: var(--space-lg) var(--space-3xl);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: var(--font-3xl);
    font-weight: 600;
    text-decoration: none;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.logo span {
    background: linear-gradient(135deg, var(--app-orange), var(--app-orange-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: var(--space-2xl);
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-size: var(--font-base);
    font-weight: 500;
    transition: color var(--transition-fast);
}

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

.nav-cta {
    background: var(--primary);
    color: var(--text-white);
    padding: var(--space-sm) var(--space-xl);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-base);
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-cta:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Coming Soon Buttons */
.nav-cta-soon {
    background: var(--text-light);
    cursor: default;
}

.nav-cta-soon:hover {
    background: var(--text-light);
    transform: none;
}

.btn-soon {
    background: var(--text-light);
    cursor: default;
}

.btn-soon:hover {
    background: var(--text-light);
    transform: none;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px var(--space-3xl) var(--space-4xl);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-2xl);
    font-size: var(--font-sm);
    font-weight: 500;
    margin-bottom: var(--space-2xl);
    box-shadow: var(--shadow);
    animation: fadeIn 0.8s ease-out backwards;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: var(--radius-full);
}

.hero h1 {
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: var(--space-2xl);
    color: var(--text-dark);
    letter-spacing: -1px;
    animation: fadeIn 0.8s ease-out 0.1s backwards;
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--app-orange), var(--app-orange-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: var(--font-xl);
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: var(--space-3xl);
    max-width: 480px;
    animation: fadeIn 0.8s ease-out 0.2s backwards;
}

.hero-btns {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
    margin-bottom: var(--space-3xl);
    animation: fadeIn 0.8s ease-out 0.3s backwards;
}

/* Primary Button - styled like PlanB app */
.btn-primary {
    background: var(--primary);
    color: var(--text-white);
    padding: var(--space-md) var(--space-2xl);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-md);
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3),
                0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35),
                0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateY(2px);
}

.btn-secondary {
    color: var(--text-dark);
    padding: var(--space-md) var(--space-lg);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--font-md);
    transition: color var(--transition-fast);
}

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

.hero-trust {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-sm);
    color: var(--text-muted);
    animation: fadeIn 0.8s ease-out 0.4s backwards;
}

.hero-trust svg {
    color: var(--success);
}

/* ========================================
   APP PREVIEW - styled like PlanB welcome screen
   ======================================== */
.app-frame {
    background: white;
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: fadeInScale 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s backwards;
}

.app-header {
    padding: var(--space-2xl);
    text-align: center;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-white);
}

.app-logo {
    font-size: var(--font-3xl);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--text-dark);
}

.app-logo span {
    background: linear-gradient(135deg, var(--app-orange), var(--app-orange-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-subtitle {
    font-size: var(--font-base);
    color: var(--text-light);
    margin-bottom: var(--space-md);
}

/* Testversion Badge - matching PlanB app */
.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-orange-light);
    border: 1px solid #ffcc80;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.8rem;
    color: #e65100;
    font-weight: 500;
}

.app-body {
    padding: var(--space-xl);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

/* 7-item grid layout (3-3-1) */
.app-grid-7 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.app-grid-7 .app-tile:nth-child(7) {
    grid-column: 1;
}

/* App Tiles - styled like PlanB feature items */
.app-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    user-select: none;
    position: relative;
    overflow: hidden;
}

.app-tile:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.app-tile:hover .tile-icon-img {
    transform: scale(1.1);
}

.nav-logo-img {
    height: 36px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.footer-logo-img {
    height: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.app-logo-img {
    height: 48px;
    margin-bottom: var(--space-md);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.tile-icon-img {
    width: 3rem;
    height: 3rem;
    margin: 0 auto var(--space-sm);
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.footer-icon-img {
    width: 20px;
    height: 20px;
}

.tile-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-md);
    background: linear-gradient(135deg, var(--app-orange), var(--app-orange-dark));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
}

.tile-icon.green {
    background: linear-gradient(135deg, #7CB77C, var(--app-green));
}

.tile-icon.red {
    background: linear-gradient(135deg, #E88A8A, var(--app-red));
}

.tile-label {
    font-size: var(--font-base);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-xs);
    transition: color 0.3s ease;
}

/* Keyboard Shortcut Style - from PlanB app */
.tile-key {
    display: inline-block;
    background: linear-gradient(180deg, #f7f7f7 0%, #e3e3e3 100%);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    padding: 2px 6px;
    font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-light);
    min-width: 20px;
    text-align: center;
}

.app-tile:hover .tile-key {
    background: linear-gradient(180deg, #fff 0%, #f0f0f0 100%);
    color: var(--text-dark);
    transform: translateY(-1px);
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.app-footer {
    padding: var(--space-lg);
    text-align: center;
    border-top: 1px solid #e5e5e5;
    background: var(--bg-white);
    font-size: var(--font-sm);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
    padding: 80px var(--space-3xl);
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.section-tag {
    color: var(--primary-color);
    font-size: var(--font-sm);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

.section-header h2 {
    font-size: var(--font-4xl);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-light);
    font-size: var(--font-lg);
}

.features-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
}

/* Feature Cards - styled like PlanB feature items */
.feature-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--bg-orange-light), #ffe0b2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-xl);
    color: var(--app-orange-dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--app-orange), var(--app-orange-dark));
    color: var(--text-white);
}

.feature-card h3 {
    font-size: var(--font-xl);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-dark);
}

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

/* ========================================
   STORY SECTION
   ======================================== */
.story {
    padding: 80px var(--space-3xl);
    background: var(--bg-body);
}

.story-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-text h2 {
    font-size: var(--font-4xl);
    font-weight: 700;
    margin-bottom: var(--space-2xl);
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.story-text h2 span {
    background: linear-gradient(135deg, var(--app-orange), var(--app-orange-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-text p {
    color: var(--text-light);
    font-size: var(--font-lg);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.story-signature {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-top: var(--space-3xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--border-color);
}

.signature-icon {
    font-size: var(--font-4xl);
}

.signature-icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.signature-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.signature-text strong {
    font-size: var(--font-lg);
    color: var(--text-dark);
}

.signature-text span {
    font-size: var(--font-sm);
    color: var(--text-muted);
}

.story-stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

/* Stat Cards - styled like PlanB cards */
.stat-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: var(--radius-xl);
    padding: var(--space-2xl) var(--space-3xl);
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-card .stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-card .stat-label {
    font-size: var(--font-base);
    color: var(--text-light);
}

/* ========================================
   PRIVACY SECTION
   ======================================== */
.privacy {
    padding: 80px var(--space-3xl);
    background: var(--bg-body);
}

.privacy-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.privacy-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-circle {
    width: 280px;
    height: 280px;
    border-radius: var(--radius-full);
    background: white;
    border: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.privacy-circle:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.privacy-circle::before {
    content: '';
    position: absolute;
    inset: -20px;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-full);
    animation: pulse 3s ease-in-out infinite;
}

.privacy-icon-img {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.privacy-icon {
    width: 80px;
    height: 80px;
    color: var(--text-dark);
}

.privacy h2 {
    font-size: var(--font-4xl);
    font-weight: 700;
    margin-bottom: var(--space-xl);
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.privacy h2 span {
    color: var(--success);
}

.privacy-desc {
    color: var(--text-light);
    font-size: var(--font-lg);
    line-height: 1.7;
    margin-bottom: var(--space-3xl);
}

.privacy-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.privacy-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-weight: 500;
    font-size: var(--font-md);
    color: var(--text-dark);
    transition: transform 0.2s ease;
}

.privacy-item:hover {
    transform: translateX(4px);
}

.privacy-check {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: var(--text-white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-xs);
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing {
    padding: 80px var(--space-3xl);
    background: var(--bg-white);
}

/* Pricing Card - styled like PlanB welcome container */
.pricing-card {
    max-width: 480px;
    margin: 0 auto;
    background: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    padding: var(--space-4xl);
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: fadeInScale 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--app-orange), var(--app-orange-dark));
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.pricing-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--text-white);
    font-size: var(--font-xs);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: var(--space-xs) var(--space-lg);
    border-radius: var(--radius-2xl);
    margin-bottom: var(--space-2xl);
}

.pricing-title {
    font-size: var(--font-2xl);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--text-dark);
}

.pricing-subtitle {
    color: var(--text-light);
    font-size: var(--font-base);
    margin-bottom: var(--space-2xl);
}

.pricing-value {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: var(--space-sm);
    color: var(--text-dark);
}

.pricing-value span {
    font-size: var(--font-2xl);
    color: var(--text-light);
    vertical-align: top;
}

.pricing-period {
    color: var(--text-muted);
    font-size: var(--font-base);
    margin-bottom: var(--space-3xl);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: var(--space-3xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--font-md);
    color: var(--text-dark);
}

.pricing-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
}

.pricing-cta {
    width: 100%;
    padding: 18px 56px;
    border-radius: var(--radius-md);
    font-size: 1.2rem;
    font-weight: 700;
    justify-content: center;
}

.pricing-trial {
    margin-top: var(--space-lg);
    font-size: var(--font-sm);
    color: var(--text-muted);
}

/* Urgency Pricing Styles */
.pricing-card-highlight {
    border: 2px solid var(--app-orange);
    box-shadow: 0 20px 60px rgba(255, 149, 0, 0.2);
}

.pricing-card-highlight::before {
    height: 6px;
    background: linear-gradient(135deg, #ff6b35, var(--app-orange), #ff6b35);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.pricing-badge-urgent {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    color: white;
    font-size: var(--font-sm);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: var(--space-sm) var(--space-xl);
    border-radius: var(--radius-2xl);
    margin-bottom: var(--space-xl);
    animation: pulse-badge 2s ease-in-out infinite;
}

.pricing-badge-urgent svg {
    width: 16px;
    height: 16px;
}

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

.pricing-price-container {
    margin-bottom: var(--space-sm);
}

.pricing-original {
    font-size: var(--font-xl);
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: var(--space-xs);
}

.pricing-original span {
    font-size: var(--font-md);
}

.pricing-value-sale {
    color: #e55a2b;
    position: relative;
}

.pricing-save {
    display: inline-block;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    font-size: var(--font-sm);
    font-weight: 700;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-md);
    margin-top: var(--space-sm);
}

.pricing-urgency {
    margin-top: var(--space-lg);
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 149, 0, 0.1));
    border-radius: var(--radius-md);
    font-size: var(--font-sm);
    color: #c44d20;
    font-weight: 500;
    border-left: 3px solid #ff6b35;
}

.pricing-platforms {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.platform-badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: var(--bg-light);
    border-radius: var(--radius-full);
    font-size: var(--font-sm);
    font-weight: 500;
    color: var(--text-dark);
}

.platform-badge svg {
    opacity: 0.7;
}

/* ========================================
   FEEDBACK CTA
   ======================================== */
.feedback-cta {
    padding: 48px var(--space-3xl);
    background: linear-gradient(135deg, var(--bg-orange-light) 0%, var(--bg-light) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.feedback-cta-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
}

.feedback-cta-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feedback-cta-icon svg {
    stroke: var(--primary-color);
}

.feedback-cta-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.feedback-cta-text {
    flex: 1;
}

.feedback-cta-text h3 {
    font-size: var(--font-xl);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-xs);
}

.feedback-cta-text p {
    color: var(--text-light);
    font-size: var(--font-base);
    margin: 0;
}

.feedback-cta .btn-secondary {
    flex-shrink: 0;
}

@media (max-width: 700px) {
    .feedback-cta-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    padding: var(--space-3xl);
    border-top: 1px solid var(--border-color);
    background: var(--bg-body);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: var(--space-2xl);
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: var(--font-base);
    transition: color var(--transition-fast);
}

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

.footer-copy {
    color: var(--text-muted);
    font-size: var(--font-sm);
}

/* ========================================
   LEGAL PAGES (Impressum, Datenschutz)
   ======================================== */
.legal-page {
    padding: 120px var(--space-3xl) 80px;
    background: var(--bg-white);
    min-height: calc(100vh - 200px);
}

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

.legal-content h1 {
    font-size: var(--font-4xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-3xl);
    letter-spacing: -0.5px;
}

.legal-content h2 {
    font-size: var(--font-2xl);
    font-weight: 600;
    color: var(--text-dark);
    margin-top: var(--space-3xl);
    margin-bottom: var(--space-lg);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-color);
}

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

.legal-content h3 {
    font-size: var(--font-xl);
    font-weight: 600;
    color: var(--text-dark);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.legal-content p {
    color: var(--text-light);
    font-size: var(--font-base);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.legal-content ul {
    color: var(--text-light);
    font-size: var(--font-base);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    padding-left: var(--space-2xl);
}

.legal-content li {
    margin-bottom: var(--space-sm);
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.legal-content a:hover {
    color: var(--app-orange-dark);
    text-decoration: underline;
}

.legal-content strong {
    color: var(--text-dark);
}

/* ========================================
   FEATURE HIGHLIGHTS
   ======================================== */
.feature-highlights {
    padding: 40px var(--space-2xl) 60px;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-3xl);
}

.highlight-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.highlight-card-reverse {
    direction: rtl;
}

.highlight-card-reverse > * {
    direction: ltr;
}

.highlight-content h2 {
    font-size: var(--font-2xl);
    font-weight: 700;
    color: var(--text-dark);
    margin: var(--space-md) 0 var(--space-lg);
}

.highlight-content p {
    color: var(--text-light);
    font-size: var(--font-base);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.highlight-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlight-list li {
    position: relative;
    padding-left: var(--space-xl);
    margin-bottom: var(--space-md);
    color: var(--text-light);
    font-size: var(--font-base);
}

.highlight-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.highlight-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Feedback Demo */
.feedback-demo {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.feedback-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.feedback-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.feedback-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-color);
}

.feedback-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.feedback-grade {
    font-weight: 700;
    font-size: var(--font-lg);
    color: var(--text-dark);
}

.keyboard-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    color: var(--text-light);
    font-size: var(--font-sm);
}

.key {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--font-lg);
    color: var(--text-dark);
    box-shadow: 0 2px 0 var(--border-color);
    transition: all var(--transition-fast);
}

.key-sm {
    width: 32px;
    height: 32px;
    font-size: var(--font-sm);
}

.key:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 0 var(--border-color);
}

/* Custom Feedback Demo */
.custom-feedback-demo {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-xl);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
}

.custom-feedback-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: white;
    border-radius: var(--radius-md);
    border: 2px dashed var(--border-color);
    flex: 1;
    transition: all var(--transition-fast);
}

.custom-feedback-card:hover {
    border-color: var(--primary-color);
    border-style: solid;
    transform: translateY(-2px);
}

.custom-feedback-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.custom-feedback-icon svg {
    stroke: var(--primary-color);
}

.custom-feedback-card span {
    font-size: var(--font-sm);
    font-weight: 500;
    color: var(--text-dark);
    text-align: center;
}

/* School Types */
.school-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
}

.school-type {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg);
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.school-type:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.school-type svg {
    stroke: var(--primary-color);
}

.school-type span {
    font-size: var(--font-sm);
    font-weight: 500;
    color: var(--text-dark);
}

/* ========================================
   SCREENSHOTS / CAROUSEL
   ======================================== */
.screenshots {
    padding: 70px var(--space-2xl);
    background: var(--bg-light);
}

.carousel {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.carousel-track-container {
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    background: white;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
    width: 100%;
}

.carousel-slide {
    width: 100%;
    min-width: 100%;
    flex: 0 0 100%;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.carousel-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.carousel-btn:hover svg {
    stroke: white;
}

.carousel-btn svg {
    stroke: var(--text-dark);
    transition: stroke var(--transition-fast);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-dot:hover {
    background: var(--text-light);
}

.carousel-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.carousel-disclaimer {
    text-align: center;
    color: var(--text-light);
    font-size: var(--font-sm);
    margin-top: var(--space-lg);
    font-style: italic;
}

.carousel-slide img {
    cursor: zoom-in;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: var(--space-xl);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 95%;
    max-height: 95vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: var(--space-xl);
    right: var(--space-xl);
    width: 48px;
    height: 48px;
    background: white;
    border: none;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
    color: var(--text-dark);
}

.lightbox-close:hover {
    transform: scale(1.1);
}

/* ========================================
   INSTALLATION PAGE
   ======================================== */
.installation-hero {
    padding: 120px var(--space-xl) 60px;
    text-align: center;
}

.installation-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-xl) 80px;
}

.install-tabs {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
    background: var(--bg-light);
    padding: var(--space-xs);
    border-radius: var(--radius-lg);
}

.install-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--font-md);
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s ease;
}

.install-tab:hover {
    color: var(--text-dark);
}

.install-tab.active {
    background: white;
    color: var(--text-dark);
    box-shadow: var(--shadow);
}

.install-panel {
    display: none;
}

.install-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.install-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.install-step {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--app-orange), var(--app-orange-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-lg);
    flex-shrink: 0;
}

.step-content h3 {
    font-size: var(--font-lg);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
    margin: 0;
}

.step-list {
    margin: var(--space-sm) 0 0 var(--space-lg);
    color: var(--text-light);
}

.step-list li {
    margin-bottom: var(--space-xs);
}

.code-block {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--text-dark);
    border-radius: var(--radius-md);
    overflow-x: auto;
}

.code-block code {
    flex: 1;
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    font-size: var(--font-sm);
    color: #22c55e;
    white-space: nowrap;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    color: white;
    font-size: var(--font-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.copy-btn.copied {
    background: #22c55e;
    border-color: #22c55e;
}

.install-info {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: linear-gradient(135deg, rgba(255, 149, 0, 0.08), rgba(255, 149, 0, 0.04));
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--app-orange);
}

.info-icon {
    flex-shrink: 0;
    color: var(--app-orange);
}

.info-content h4 {
    font-size: var(--font-md);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-dark);
}

.info-content p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.install-note {
    background: linear-gradient(135deg, var(--bg-light), white);
    padding: 60px var(--space-xl);
}

.install-note-content {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-xl);
}

.install-note-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.install-note-text h3 {
    font-size: var(--font-xl);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-dark);
}

.install-note-text p {
    color: var(--text-light);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1000px) {
    .hero-content, .privacy-content, .story-content { grid-template-columns: 1fr; gap: 48px; }
    .hero h1 { font-size: 2.5rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .privacy-visual { order: -1; }
    .story-stats { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .stat-card { flex: 1; min-width: 150px; }
    .highlight-card { grid-template-columns: 1fr; }
    .highlight-card-reverse { direction: ltr; }
    .highlight-visual { order: -1; }
}

@media (max-width: 700px) {
    nav { padding: var(--space-lg); }
    .nav-links { display: none; }
    .hero, .features, .privacy, .pricing, .story, .screenshots { padding: 50px var(--space-lg); }
    .hero h1 { font-size: 2rem; }
    .features-grid { grid-template-columns: 1fr; }
    .app-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { flex-direction: column; gap: var(--space-xl); text-align: center; }
    .pricing-card { padding: var(--space-2xl); }
    .pricing-value { font-size: 3rem; }
    .carousel-btn { width: 40px; height: 40px; }
    .carousel { gap: var(--space-sm); }
    .feature-highlights { padding: 0 var(--space-lg) 60px; }
    .highlight-card { padding: var(--space-xl); }
    .school-types { grid-template-columns: repeat(2, 1fr); }

    /* Installation page mobile */
    .installation-hero { padding: 100px var(--space-lg) 40px; }
    .installation-content { padding: 0 var(--space-lg) 60px; }
    .install-step { flex-direction: column; gap: var(--space-md); }
    .code-block { flex-direction: column; align-items: stretch; }
    .copy-btn { justify-content: center; }
    .install-info { flex-direction: column; }
    .install-note { padding: 40px var(--space-lg); }
}
