:root {
    --primary-color: #007AFF;
    --secondary-color: #5AC8FA;
    --success-color: #34C759;
    --warning-color: #FF9500;
    --danger-color: #FF3B30;
    --dark-color: #1C1C1E;
    --light-color: #F2F2F7;
    --text-primary: #000000;
    --text-secondary: #6C6C70;
    --border-radius: 12px;
    --transition: all 0.3s ease;
    
    /* Light mode colors (default) */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F2F2F7;
    --bg-card: #FFFFFF;
    --bg-navbar: rgba(255, 255, 255, 0.95);
    --bg-footer: #1C1C1E;
    --shadow: rgba(0, 0, 0, 0.1);
    --border-color: rgba(0, 0, 0, 0.1);
}

/* Dark mode colors */
[data-theme="dark"] {
    --text-primary: #FFFFFF;
    --text-secondary: #8E8E93;
    --bg-primary: #000000;
    --bg-secondary: #1C1C1E;
    --bg-card: #1C1C1E;
    --bg-navbar: rgba(28, 28, 30, 0.95);
    --bg-footer: #1C1C1E;
    --shadow: rgba(0, 0, 0, 0.3);
    --border-color: rgba(255, 255, 255, 0.1);
    --light-color: #2C2C2E;
    --dark-color: #FFFFFF;  /* Override dark text color to white in dark mode */
}

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

html {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('watch-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 0.15;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.6) inset,
        0 -1px 0 rgba(0, 0, 0, 0.05) inset;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 1000;
    padding: 15px 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0;
    box-sizing: border-box;
}

/* Liquid Glass shimmer effect wrapper */
.navbar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

/* Liquid Glass shimmer effect */
.navbar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.5s;
    animation: shimmer 3s ease-in-out infinite;
    z-index: -1;
    border-radius: 40px;
}

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

/* Dark mode liquid glass */
[data-theme="dark"] .navbar {
    background: rgba(28, 28, 30, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 1px 0 rgba(255, 255, 255, 0.1) inset,
        0 -1px 0 rgba(0, 0, 0, 0.2) inset;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.nav-brand:hover {
    transform: translateX(5px);
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.nav-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 15px;
    align-items: center;
    margin-left: 40px;
    position: relative;
    z-index: 2;
}

/* Settings Dropdown */
.settings-dropdown {
    position: relative;
    margin-left: auto;
    margin-right: 8px;
}

.settings-toggle {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.settings-toggle:hover {
    background: var(--secondary-bg);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.settings-icon {
    width: 20px;
    height: 20px;
}

.settings-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.settings-dropdown.active .settings-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.settings-section {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.settings-section:last-child {
    border-bottom: none;
}

.settings-label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.theme-select-compact {
    display: flex;
    gap: 6px;
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 6px;
}

.theme-option-compact {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.theme-option-compact:hover {
    background: var(--secondary-bg);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.theme-option-compact.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.4);
}

/* Old theme toggle styles for compatibility */
.theme-toggle.compact {
    display: flex;
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 4px;
    width: 100%;
    position: relative;
    cursor: pointer;
}

.theme-icon-light,
.theme-icon-dark {
    flex: 1;
    padding: 6px 0;
    text-align: center;
    z-index: 1;
    transition: all 0.3s ease;
    border-radius: 16px;
}

.language-select-compact {
    display: flex;
    gap: 6px;
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 6px;
}

.lang-option-compact {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.lang-option-compact:hover {
    background: var(--secondary-bg);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.lang-option-compact.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.4);
}

/* Language Dropdown - Hidden since we use settings now */
.language-dropdown {
    display: none;
}

.language-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.language-dropdown-toggle:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
}

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

.current-lang-code {
    font-weight: 600;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.language-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.language-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-navbar);
    backdrop-filter: blur(10px);
    min-width: 160px;
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow);
    padding: 8px;
    z-index: 1000;
    border: 1px solid var(--border-color);
}

.language-dropdown.active .language-dropdown-menu {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-primary);
    font-size: 14px;
    text-align: left;
}

.lang-option:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.lang-option.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

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

.lang-name {
    font-weight: 500;
}

/* Old Language Switcher - Hidden for backwards compatibility */
.language-switcher {
    display: none;
}

.lang-btn {
    display: none;
}

/* Theme Switcher */
.theme-switcher {
    margin-left: 15px;
    position: relative;
}

.theme-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 20px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
}

.theme-toggle:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.theme-toggle:hover .theme-icon {
    transform: rotate(20deg);
}

.theme-icon {
    display: inline-block;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.theme-label {
    font-size: 14px;
    display: none;
}

@media (min-width: 768px) {
    .theme-label {
        display: inline;
    }
}

/* Theme Tooltip */
.theme-tooltip {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-navbar);
    color: var(--text-primary);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    box-shadow: 0 2px 8px var(--shadow);
    animation: slideUp 0.3s ease;
    pointer-events: none;
}

.theme-tooltip.fade-out {
    animation: fadeOut 0.3s ease;
    opacity: 0;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 15px;
    padding: 6px 14px;
    border-radius: 18px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 122, 255, 0.08) 0%, 
        rgba(90, 200, 250, 0.08) 100%);
    border-radius: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link:active {
    transform: scale(0.98) translateY(0);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.active .dropdown-arrow,
.nav-dropdown.hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    min-width: 220px;
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 1px 0 rgba(255, 255, 255, 0.5) inset;
    padding: 10px;
    z-index: 1001;
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark mode dropdown */
[data-theme="dark"] .nav-dropdown-menu {
    background: rgba(28, 28, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

/* Create invisible bridge to maintain hover state */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
    background: transparent;
}

/* Show dropdown on hover (desktop) or when active (click) */
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.hover .nav-dropdown-menu,
.nav-dropdown.active .nav-dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li {
    list-style: none;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 16px;
    margin: 4px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    font-size: 14px;
    border-radius: 12px;
    background: transparent;
}

.nav-dropdown-menu a:hover {
    background: rgba(0, 122, 255, 0.1);
    color: var(--primary-color);
    transform: translateX(2px);
}

.nav-dropdown-menu a.active {
    color: var(--primary-color);
    background: rgba(0, 122, 255, 0.15);
    font-weight: 600;
}

/* Mobile dropdown styles */
@media (max-width: 1024px) {
    /* Disable hover on mobile, only use click */
    .nav-dropdown:hover .nav-dropdown-menu {
        display: none;
    }
    
    .nav-dropdown.active .nav-dropdown-menu {
        display: block;
        opacity: 1;
        transform: translateX(-50%) translateY(0);
        position: absolute;
        margin-top: 10px;
    }
    
    .nav-dropdown-menu a {
        padding-left: 40px;
        font-size: 14px;
    }
}

.download-btn {
    background: var(--primary-color);
    color: white !important;
    padding: 8px 20px;
    border-radius: 20px;
}

.download-btn:hover {
    background: #0051D5;
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 3px;
}

/* Beta Notice */
.beta-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
    border-radius: 0;
    padding: 15px 20px;
    box-shadow: 0 -4px 20px rgba(255, 165, 0, 0.3);
    animation: slideUp 0.5s ease-out;
    width: 100%;
}

.beta-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    max-width: 1200px;
    margin: 0 auto;
}

.beta-badge {
    background: rgba(255, 255, 255, 0.3);
    padding: 4px 8px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.beta-text {
    flex: 1;
}

.beta-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.beta-close:hover {
    opacity: 1;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Dark mode for beta notice */
[data-theme="dark"] .beta-notice {
    background: linear-gradient(135deg, #CC7000 0%, #B35F00 100%);
    box-shadow: 0 4px 20px rgba(204, 112, 0, 0.3);
}

@media (max-width: 768px) {
    .beta-notice {
        padding: 12px 15px;
    }
    
    .beta-content {
        font-size: 12px;
        gap: 8px;
    }
    
    .beta-badge {
        font-size: 10px;
        padding: 3px 6px;
    }
    
    .beta-close {
        font-size: 20px;
    }
}

/* Hero Section */
.hero {
    padding: 100px 20px 20px;
    background: linear-gradient(135deg, #0D9488 0%, #3B82F6 100%);
    color: white;
    min-height: auto;
    display: flex;
    border-radius: 40px;
    margin: 70px 20px 0 20px;
    align-items: center;
    overflow: visible;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    overflow: hidden;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;  /* Increased gap for proper spacing between badges */
    margin-bottom: 30px;
    align-items: center;
    padding: 10px 0;  /* Added padding for clear space around badges */
}

.hero-secondary {
    margin-top: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
}

.app-store-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.app-store-link:hover {
    transform: scale(1.05);
}

.app-store-link img {
    height: 54px;  /* Increased size for better visibility */
    display: block;
    /* Clear space is handled by parent container padding and gap */
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background: var(--bg-card);
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 16px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    opacity: 0.9;
}

/* Special style for Live stat */
.stat:last-child .stat-number {
    color: #34C759; /* Green for "Live" */
    font-weight: 900;
}

/* Device Mockup with Original Apple Bezel */
.hero-image {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: visible;
    padding-bottom: 0;
    margin-bottom: 0;
}

.devices-container {
    display: flex;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 0;
}

.device-mockup {
    position: relative;
    /* Removed drop-shadow to prevent visible edges */
}

.iphone-mockup {
    width: 380px;
    height: 775px;
}

.iphone-hand-mockup {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0;
    position: relative;
}

.hand-mockup-image {
    width: 100%;
    height: auto;
    display: block;
    /* Removed drop-shadow to prevent visible edges on transparent background */
}

.watch-mockup {
    width: 220px;
    height: 275px;
    margin-top: 320px;
    margin-left: -60px;
    position: relative;
    background: transparent;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device-bezel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.device-screenshot {
    position: absolute;
    /* Optimized for iPhone 16 Pro bezel */
    top: 2.8%;
    left: 4.2%;
    width: 91.6%;
    height: 94.4%;
    border-radius: 48px;
    object-fit: cover;
    object-position: top center;
    z-index: 1;
}

.watch-bezel {
    width: auto;
    height: 180%;
    object-fit: contain;
    display: block;
    pointer-events: none;
    background: transparent;
    position: relative;
    transform: scale(1.0);
    transform-origin: center;
}

.watch-screenshot {
    position: absolute;
    top: 17%;
    left: 17%;
    width: 66%;
    height: 66%;
    border-radius: 35px;
    z-index: 1;
    object-fit: cover;
    object-position: center;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.5s both;
}

/* iPad Styles */
.ipad-mockup {
    width: 420px;
    height: 580px;
    left: 30px;
    top: 90px;
    z-index: 0;
    opacity: 1;
    transform: rotate(-3deg);
}

.ipad-bezel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.ipad-screenshot {
    position: absolute;
    top: 3.8%;
    left: 5.2%;
    width: 89.6%;
    height: 92.4%;
    border-radius: 26px;
    object-fit: cover;
    object-position: top center;
    z-index: 1;
}

/* Apple Watch Styles - OLD REMOVED */

.watch-bezel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.watch-screenshot {
    position: absolute;
    top: 16.5%;
    left: 12%;
    width: 76%;
    height: 67%;
    border-radius: 40%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

/* Google Pixel Styles */
.pixel-mockup {
    width: 380px;
    height: 775px;
    right: -100px;
    top: 120px;
    z-index: 0;
    opacity: 0.95;
    transform: rotate(4deg);
}

.pixel-bezel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    /* Placeholder styling - remove when real bezel is added */
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 45px;
    box-shadow: inset 0 0 0 2px #333;
}

.pixel-screenshot {
    position: absolute;
    top: 2.5%;
    left: 4%;
    width: 92%;
    height: 95%;
    border-radius: 40px;
    object-fit: cover;
    object-position: top center;
    z-index: 1;
    /* Placeholder background - remove when real screenshot is added */
    background: linear-gradient(180deg, #4285f4 0%, #34a853 33%, #fbbc04 66%, #ea4335 100%);
}

/* Google Pixel Watch Styles */
.pixel-watch-mockup {
    width: 150px;
    height: 185px;
    right: 60px;
    top: 50px;
    z-index: 3;
    animation: floatPixelWatch 5s ease-in-out infinite;
}

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

.pixel-watch-bezel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    /* Placeholder styling - remove when real bezel is added */
    background: radial-gradient(circle, #2d2d2d 45%, #1a1a1a 100%);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pixel-watch-screenshot {
    position: absolute;
    top: 15%;
    left: 15%;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    /* Placeholder background - remove when real screenshot is added */
    background: linear-gradient(45deg, #4285f4, #34a853);
}



/* Features Section */
.features {
    padding: 60px 20px;
    background: linear-gradient(135deg, #C3E9FF 0%, #E4C5FF 100%);
    border-radius: 40px;
    margin: 0 20px 40px 20px;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 35px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.feature-card {
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

/* Verschiedene Farben für Feature-Karten */
.features-grid .feature-card:nth-child(1) {
    background: linear-gradient(135deg, #FFF0F5 0%, #FFE4EC 100%) !important;
}

.features-grid .feature-card:nth-child(2) {
    background: linear-gradient(135deg, #F0F8FF 0%, #E4F2FF 100%) !important;
}

.features-grid .feature-card:nth-child(3) {
    background: linear-gradient(135deg, #FFFAF0 0%, #FFEED4 100%) !important;
}

.features-grid .feature-card:nth-child(4) {
    background: linear-gradient(135deg, #F5FFF0 0%, #E8FFD4 100%) !important;
}

.features-grid .feature-card:nth-child(5) {
    background: linear-gradient(135deg, #F8F0FF 0%, #ECD4FF 100%) !important;
}

.features-grid .feature-card:nth-child(6) {
    background: linear-gradient(135deg, #FFF5F0 0%, #FFE4D4 100%) !important;
}

.features-grid .feature-card:nth-child(7) {
    background: linear-gradient(135deg, #F0FFF8 0%, #D4FFE8 100%) !important;
}

.features-grid .feature-card:nth-child(8) {
    background: linear-gradient(135deg, #FFF0F8 0%, #FFD4E8 100%) !important;
}

.features-grid .feature-card:nth-child(9) {
    background: linear-gradient(135deg, #F0F5FF 0%, #D4E4FF 100%) !important;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Hide Show All Features button on desktop */
.show-all-features-mobile {
    display: none !important;
}

.feature-card.coming-soon .badge-soon {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--warning-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-card.premium-feature .badge-premium {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}


/* Parks Section */
.parks {
    padding: 60px 20px;
    background: linear-gradient(135deg, #FFE4B5 0%, #FFCCE5 100%);
    border-radius: 40px;
    margin: 0 20px 40px 20px;
    position: relative;
    overflow: hidden;
}

.parks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.park-item {
    padding: 20px;
    background: var(--light-color);
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 500;
    transition: var(--transition);
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.park-item:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.park-item.expandable {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
}

.park-item.expandable:hover {
    transform: scale(1.08);
    box-shadow: 0 5px 15px rgba(0, 122, 255, 0.3);
}

.all-parks-list {
    margin-top: 40px;
    padding: 40px 20px;
    background: var(--bg-secondary);
    border-radius: 20px;
    box-shadow: 0 2px 10px var(--shadow);
}

.all-parks-list h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-primary);
}

/* Park Search Styles */
.park-search-container {
    max-width: 600px;
    margin: 0 auto 40px;
}

.park-search-container.main-search {
    margin: 30px auto 40px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.search-icon {
    color: var(--text-secondary);
    margin-right: 12px;
    flex-shrink: 0;
}

.park-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 16px;
    color: var(--text-primary);
}

.park-search-input::placeholder {
    color: var(--text-secondary);
}

.clear-search-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.clear-search-btn:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

.search-results-info {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: var(--text-secondary);
}

#resultCount {
    font-weight: 600;
    color: var(--primary-color);
}

/* Highlight matching parks */
.park-item.hidden {
    display: none !important;
}

.park-item.highlight {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.parks-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.parks-grid-full .park-item {
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    cursor: default;
    border: 1px solid var(--border-color);
}

.parks-grid-full .park-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
    border-color: var(--primary-color);
    color: var(--primary-color);
}


.all-parks-list .btn {
    display: block;
    margin: 30px auto 0;
    max-width: 200px;
}

.all-parks-list .btn-secondary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    font-weight: 600;
    padding: 12px 30px;
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
}

.all-parks-list .btn-secondary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Premium Section */
.premium {
    padding: 60px 20px;
    background: linear-gradient(135deg, #B8E6FF 0%, #C8F7C8 100%);
    border-radius: 40px;
    margin: 0 20px 40px 20px;
    position: relative;
    overflow: visible;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 35px;
    overflow: visible;
    width: 100%;
}

.pricing-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-start;
}

.pricing-card.featured {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: var(--success-color);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.badge-best-deal {
    position: absolute;
    top: -15px;
    right: 30px;
    background: #ff6b6b;
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.price span {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 400;
}

.price-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 30px;
}

.price-option {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    padding: 8px 12px;
    background: rgba(0, 122, 255, 0.05);
    border-radius: 8px;
    text-align: center;
}

.price-option span {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 400;
    margin-left: 4px;
}

.price-divider {
    position: relative;
    text-align: center;
    color: var(--text-secondary);
    font-size: 12px;
    font-style: italic;
    margin: 2px 0;
}

.price-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border-color);
}

.price-divider::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border-color);
}

.auto-renewal-note {
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.features-list {
    list-style: none;
    margin-bottom: 25px;
    flex-grow: 1;
}

.features-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.features-list li.crossed-out {
    text-decoration: line-through;
    opacity: 0.5;
    color: var(--text-secondary);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    text-align: center;
    display: block;
    width: 100%;
}

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

/* Center text in pricing card buttons */
.pricing-card .btn-outline {
    text-align: center;
    display: block;
    width: 100%;
    padding: 15px 20px;
}

/* Download Section */
.download {
    padding: 60px 20px;
    background: linear-gradient(135deg, #14B8A6 0%, #2563EB 100%);
    color: white;
    text-align: center;
    border-radius: 40px;
    margin: 0 20px 40px 20px;
    position: relative;
    overflow: hidden;
}

.download-content h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.download-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.download-buttons {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.app-store-btn {
    display: inline-block;
}

.app-store-btn img {
    height: 70px;
    transition: var(--transition);
}

.app-store-btn:hover img {
    transform: scale(1.1);
}

/* Store badges for devices page */
.store-badge {
    display: inline-block;
    transition: transform 0.3s ease;
}

.store-badge:hover {
    transform: scale(1.05);
}

.store-badge img {
    height: 54px;
    display: block;
}

.app-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    opacity: 0.9;
}

/* About Section on Homepage */
.about-hero-home {
    padding: 50px 0 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
    margin: 60px 20px 0 20px;
    border-radius: 40px 40px 0 0;
    scroll-margin-top: 100px;
}

.about-hero-home::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s linear infinite;
}

.about-hero-home .about-intro {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

.about-hero-home .about-avatar img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 4px solid rgba(255, 255, 255, 0.95);
    transition: transform 0.3s ease;
}

.about-hero-home .about-avatar img:hover {
    transform: scale(1.05);
}

.about-hero-home .about-header {
    flex: 1;
}

.about-hero-home .about-header h2 {
    font-size: 42px;
    color: white;
    margin-bottom: 8px;
    font-weight: 700;
}

.about-hero-home .about-header h3 {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 12px;
    font-weight: 400;
}

.about-hero-home .about-tagline {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
}


.about-content-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #A7D8C4 0%, #A8C9E8 100%);
    margin: 0 20px 60px 20px;
    border-radius: 0 0 40px 40px;
    position: relative;
}

/* Section Spacer */
.section-spacer {
    height: 60px;
}

@media (max-width: 768px) {
    .section-spacer {
        height: 40px;
    }
}

/* Footer */
.footer {
    background: var(--bg-footer);
    color: white;
    padding: 50px 20px 20px;
    margin: 0 20px;
    border-radius: 40px 40px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

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

.social-links a {
    font-size: 24px;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Data Credits Section */
.data-credits {
    text-align: center;
    padding: 30px 20px;
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.05) 0%, rgba(147, 51, 234, 0.05) 100%);
    border-radius: 12px;
}

.data-credits p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 12px;
    font-weight: 500;
}

.credits-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.credits-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 8px 16px;
    background: rgba(138, 43, 226, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.credits-links a:hover {
    background: rgba(138, 43, 226, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.2);
    border-color: var(--primary-color);
}

.credits-separator {
    color: var(--text-secondary);
    font-size: 14px;
    font-style: italic;
}

/* Dark Mode für Data Credits */
[data-theme="dark"] .data-credits {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
}

[data-theme="dark"] .credits-links a {
    background: rgba(138, 43, 226, 0.15);
}

[data-theme="dark"] .credits-links a:hover {
    background: rgba(138, 43, 226, 0.25);
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.3);
}

@media (max-width: 768px) {
    .data-credits {
        padding: 20px 15px;
        margin-top: 30px;
    }
    
    .credits-links {
        flex-direction: column;
        gap: 8px;
    }
    
    .credits-links a {
        width: 100%;
        max-width: 250px;
    }
    
    .credits-separator {
        margin: 5px 0;
    }
}

/* Changelog Page Styles */
.changelog-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #0D9488 0%, #3B82F6 100%);
    color: white;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.page-subtitle {
    font-size: 20px;
    text-align: center;
    opacity: 0.9;
}

.changelog-content {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.changelog-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.changelog-entry {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px var(--shadow);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.changelog-entry:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--shadow);
}

.version-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.version-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.version-date {
    font-size: 16px;
    color: var(--text-secondary);
}

.version-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: auto;
}

.version-badge.current {
    background: var(--success-color);
    color: white;
}

.version-badge.major {
    background: var(--warning-color);
    color: white;
}

.version-content h3 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.version-content h4 {
    font-size: 16px;
    margin-top: 15px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.version-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.version-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.version-content ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.version-content ul li:before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--primary-color);
}

.coming-soon-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 40px;
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.coming-soon-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-primary);
}

.planned-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.planned-item {
    padding: 25px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.planned-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.planned-item ul {
    list-style: none;
    padding: 0;
}

.planned-item ul li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-secondary);
}

.planned-item ul li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.newsletter-section {
    max-width: 600px;
    margin: 60px auto;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    text-align: center;
    color: white;
}

.newsletter-section h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.newsletter-section p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.95;
}

.newsletter-info {
    padding: 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

/* Legal Pages Styles */
.legal-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.legal-content {
    padding: 80px 0;
    background: var(--bg-secondary);
    min-height: 50vh;
}

.legal-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px var(--shadow);
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.legal-section h2 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.legal-section h3 {
    color: var(--text-primary);
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 15px;
}

.legal-section p {
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.legal-section strong {
    color: var(--text-primary);
}

.legal-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.legal-section ul li {
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-card {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    margin: 20px 0;
    transition: background-color 0.3s ease;
}

.contact-card p {
    margin-bottom: 10px;
    color: var(--text-primary);
}

.contact-card strong {
    color: var(--text-primary);
}

/* Dark mode specific overrides for legal pages */
[data-theme="dark"] .legal-section {
    background: var(--bg-card);
    box-shadow: 0 2px 10px var(--shadow);
}

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

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

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

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

.warning-box {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.5);
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
}

[data-theme="dark"] .warning-box {
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.4);
}

.warning-box p {
    margin: 0;
    color: var(--warning-color);
    font-weight: 600;
}

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

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

/* Mobile viewport fix */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    body {
        margin: 0;
        padding: 0;
    }
    
    /* Ensure all containers respect viewport */
    .container, 
    .hero, 
    .features, 
    .parks, 
    .premium, 
    .download, 
    .footer {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Prevent scrolling in feature and premium sections */
    .features, .premium {
        overflow: visible; /* Changed from hidden to prevent separate scrolling */
        width: 100%;
    }
    
    .features-grid {
        overflow: hidden;
        width: 100%;
    }
    
    .pricing-cards {
        overflow: visible; /* Keep visible for badges */
        width: 100%;
    }
    
    .feature-card, .pricing-card {
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Fix badge positioning on mobile */
    .badge, .badge-best-deal {
        top: 8px !important; /* Position badges inside card */
        right: 8px !important;
        padding: 4px 8px !important;
        font-size: 10px !important;
        white-space: nowrap; /* Prevent text wrapping */
        overflow: visible; /* Ensure text is not cut off */
        z-index: 100 !important; /* Ensure badges are above other content */
        position: absolute !important;
        transform: none !important; /* Remove transform */
    }
    
    .pricing-card {
        overflow: visible; /* Allow badges to extend outside card if needed */
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        position: fixed !important;
        top: 20px;
        left: 20px !important;
        right: 20px !important;
        width: calc(100% - 40px) !important;
        max-width: calc(100% - 40px) !important;
        transform: none !important;
        border-radius: 30px;
        padding: 12px 20px;
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(25px) saturate(200%);
        -webkit-backdrop-filter: blur(25px) saturate(200%);
        z-index: 1000 !important;
        box-sizing: border-box;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    .navbar .container {
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .navbar::after {
        border-radius: 30px;
    }
    
    .navbar::before {
        border-radius: 30px;
    }

    .nav-menu {
        position: fixed !important;
        left: 15px !important;
        right: 15px !important;
        top: 75px !important;
        width: auto !important;
        max-width: none !important;
        flex-direction: column !important;
        background: rgba(255, 255, 255, 0.5) !important;
        backdrop-filter: blur(25px) saturate(200%) !important;
        -webkit-backdrop-filter: blur(25px) saturate(200%) !important;
        text-align: center !important;
        transition: all 0.3s ease !important;
        padding: 20px 15px !important;
        z-index: 999 !important;
        margin: 0 !important;
        margin-left: 0 !important;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-20px);
        box-sizing: border-box !important;
        list-style: none !important;
        border-radius: 24px !important;
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.12),
            0 1px 0 rgba(255, 255, 255, 0.5) inset !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        display: none !important;
        gap: 10px !important;
        align-items: stretch !important;
    }

    .nav-menu.active {
        display: flex !important;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
    
    /* Dark mode mobile menu */
    [data-theme="dark"] .nav-menu {
        background: rgba(28, 28, 30, 0.6);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.4),
            0 1px 0 rgba(255, 255, 255, 0.08) inset;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 20px 0;
        min-height: auto;
        overflow: visible; /* Allow content to be visible */
        border-radius: 30px;
        margin: 0 20px 0 20px !important;
        width: calc(100% - 40px);
        position: relative;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-bottom: 0;
    }
    
    .hero-image {
        margin: 20px 0 0 0;
        padding: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        min-height: 400px;
        position: relative;
    }
    
    .hero-stats {
        justify-content: center;
        margin-top: 20px;
        gap: 25px;
    }
    
    .stat-number {
        font-size: 32px !important;
    }
    
    .stat-label {
        font-size: 12px !important;
    }
    
    .app-store-btn img {
        height: 50px;
    }
    
    .download-buttons {
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .hero-title {
        font-size: 28px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: manual;
        -webkit-hyphens: manual;
        -moz-hyphens: manual;
        line-height: 1.15;
        letter-spacing: -0.3px;
    }
    
    .devices-container {
        display: flex;
        flex-direction: row;
        gap: 0;
        align-items: flex-end;
        position: relative;
        overflow: visible;
        justify-content: center;
        padding: 0;
        width: 100%;
        max-width: 100vw;
        margin-bottom: -30px; /* Push hand down to bottom on mobile */
    }
    
    .iphone-mockup {
        width: 240px;
        height: 490px;
        margin: 0;
        position: relative;
        flex-shrink: 0;
    }
    
    .iphone-hand-mockup {
        width: 100%;
        max-width: 350px;
        height: auto;
        margin-top: auto; /* Pushes to bottom with flexbox */
        margin-bottom: 0;
        transform: none;
        position: relative;
    }
    
    .hand-mockup-image {
        width: 100%;
        height: auto;
        display: block;
        /* Removed drop-shadow to prevent visible edges */
    }
    
    .watch-mockup {
        width: 120px;
        height: 150px;
        position: relative;
        margin: 0 0 20px -20px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: transparent;
        filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
        overflow: visible;
        pointer-events: none;
        z-index: 10;
        flex-shrink: 0;
    }
    
    .watch-mockup .watch-bezel {
        width: auto;
        height: 200%;
        max-width: 200%;
        object-fit: contain;
        display: block;
        pointer-events: none;
        background: transparent;
        position: relative;
        transform: scale(0.7);
    }
    
    .pixel-mockup {
        width: 280px;
        height: 570px;
        right: -60px;
        top: 90px;
    }
    
    .pixel-watch-mockup {
        width: 110px;
        height: 135px;
        right: 20px;
        top: 40px;
    }
    
    .device-screenshot {
        top: 2.3%;
        left: 3.4%;
        width: 93.2%;
        height: 95.5%;
        border-radius: 42px;
    }
    
    .watch-screenshot {
        border-radius: 25%;
    }

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

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

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        overflow: hidden;
        padding: 0;
        position: relative;
    }
    
    .feature-card {
        padding: 12px 10px;
        min-height: 110px !important;
        max-height: 110px !important;
        height: 110px !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
    }
    
    /* Show the "All Features" button on mobile */
    .show-all-features-mobile {
        display: flex !important;
        background: linear-gradient(135deg, #0D9488 0%, #3B82F6 100%) !important;
        cursor: pointer;
    }
    
    .show-all-features-mobile .feature-icon {
        color: white;
    }
    
    .show-all-features-mobile h3 {
        color: white !important;
    }
    
    .show-all-features-mobile .feature-description {
        display: none !important; /* Hide description for this button */
    }
    
    /* Remove the expand arrow for the show-all button */
    .show-all-features-mobile::after {
        display: none !important;
    }
    
    /* Kompakte Feature-Karten auf Mobile */
    .feature-card .feature-description {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
        opacity: 0;
        padding-top: 0;
        margin: 0;
    }
    
    .feature-card.expanded {
        max-height: none !important;
        height: auto !important;
        min-height: 110px !important;
    }
    
    .feature-card.expanded .feature-description {
        max-height: 200px;
        opacity: 1;
        padding-top: 10px;
    }
    
    /* Remove individual expand arrows on mobile when using show-all button */
    .feature-card::after {
        display: none;
    }
    
    /* Show descriptions when grid is expanded */
    .features-grid.descriptions-expanded .feature-card .feature-description {
        max-height: 200px !important;
        opacity: 1 !important;
        padding-top: 10px !important;
    }
    
    .features-grid.descriptions-expanded .feature-card {
        max-height: none !important;
        height: auto !important;
        min-height: 110px !important;
        padding: 15px 10px !important;
    }
    
    .feature-icon {
        font-size: 28px;
        margin-bottom: 6px;
    }
    
    .feature-card h3 {
        font-size: 14px;
        margin-bottom: 0;
        line-height: 1.2;
        text-align: center;
    }
    
    /* Längere Titel bekommen kleinere Schrift */
    .feature-card h3 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    /* Spezifische Anpassungen für lange Titel über nth-child */
    .feature-card:nth-child(5) h3,  /* Apple Watch & Wear OS */
    .feature-card:nth-child(4) h3,  /* iPad & Tablet Support */
    .feature-card:nth-child(8) h3 { /* Wartezeit-Statistiken */
        font-size: 12px !important;
        line-height: 1.1;
    }
    
    .feature-card p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .feature-card.coming-soon .badge-soon,
    .feature-card.premium-feature .badge-premium {
        padding: 2px 6px;
        font-size: 9px;
        top: 8px;
        right: 8px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-cards {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; /* Two columns for first two cards */
        grid-template-rows: auto auto !important; /* Two rows */
        gap: 5px !important; /* Smaller gap for mobile */
        padding: 10px 0 0 !important; /* Less top padding since badges are inside */
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important; /* Allow badges to show */
        position: relative !important;
        margin-top: 10px !important; /* Less margin since badges are inside */
    }
    
    /* Third card (Lifetime) takes full width */
    .pricing-cards .pricing-card:nth-child(3),
    .pricing-cards .lifetime-card {
        grid-column: 1 / -1 !important; /* Span full width */
        min-height: auto !important; /* Allow it to be more compact */
        height: auto !important;
        padding: 15px 20px !important; /* More horizontal padding for full width */
    }
    
    /* Compact list for lifetime card */
    .pricing-cards .lifetime-card .features-list,
    .pricing-cards .features-list.compact {
        margin-bottom: 15px !important;
    }
    
    .pricing-cards .lifetime-card .features-list li,
    .pricing-cards .features-list.compact li {
        padding: 5px 0 !important;
        font-size: 13px !important;
    }
    
    .pricing-card {
        margin-top: 10px; /* Less margin since we have padding on container */
        position: relative;
        max-width: 100%;
        padding: 20px 15px; /* Reduced padding for mobile */
        min-height: 450px; /* Ensure same height for all cards */
        display: flex;
        flex-direction: column;
        overflow: visible !important; /* Allow badges to show */
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.95) 0%, 
            rgba(255, 255, 255, 0.85) 100%) !important;
        backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.06),
            inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
    }
    
    /* Expandable card features - hidden by default on mobile */
    @media (max-width: 768px) {
        .expandable-card .expandable-feature {
            max-height: 0;
            overflow: hidden;
            opacity: 0;
            transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
            padding: 0 !important;
            margin: 0 !important;
        }
        
        .expandable-card.expanded .expandable-feature {
            max-height: 50px;
            opacity: 1;
            padding: 8px 0 !important;
        }
        
        .expand-indicator {
            text-align: center;
            color: var(--primary-color);
            font-size: 13px;
            cursor: pointer;
            padding: 6px 0;
            margin: -12px 0 15px 0;
            font-weight: 600;
            transition: color 0.3s ease;
            user-select: none;
        }
        
        .expand-indicator:hover {
            color: #0056b3;
        }
        
        .expand-indicator span {
            display: inline-block;
            transition: transform 0.3s ease;
        }
    }
    
    /* Free card - subtle blue tint */
    .pricing-card:nth-child(1) {
        background: linear-gradient(135deg, 
            rgba(219, 234, 254, 0.95) 0%, 
            rgba(255, 255, 255, 0.9) 100%) !important;
    }
    
    /* Premium Abo card - subtle green tint for "popular" */
    .pricing-card.featured {
        background: linear-gradient(135deg, 
            rgba(220, 252, 231, 0.95) 0%, 
            rgba(255, 255, 255, 0.9) 100%) !important;
        border: 1px solid rgba(34, 197, 94, 0.2) !important;
    }
    
    /* Lifetime card - subtle purple/gold tint for "best deal" */
    .pricing-cards .lifetime-card {
        background: linear-gradient(135deg, 
            rgba(254, 240, 138, 0.95) 0%, 
            rgba(254, 226, 226, 0.9) 100%) !important;
        border: 1px solid rgba(251, 191, 36, 0.2) !important;
    }
    
    /* Dark mode pricing cards */
    [data-theme="dark"] .pricing-card {
        background: linear-gradient(135deg, 
            rgba(30, 30, 32, 0.95) 0%, 
            rgba(40, 40, 42, 0.9) 100%) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    }
    
    /* Free card - dark mode */
    [data-theme="dark"] .pricing-card:nth-child(1) {
        background: linear-gradient(135deg, 
            rgba(30, 45, 60, 0.95) 0%, 
            rgba(25, 35, 50, 0.9) 100%) !important;
    }
    
    /* Premium Abo card - dark mode */
    [data-theme="dark"] .pricing-card.featured {
        background: linear-gradient(135deg, 
            rgba(25, 50, 30, 0.95) 0%, 
            rgba(20, 40, 25, 0.9) 100%) !important;
    }
    
    /* Lifetime card - dark mode */
    [data-theme="dark"] .pricing-cards .lifetime-card {
        background: linear-gradient(135deg, 
            rgba(60, 50, 25, 0.95) 0%, 
            rgba(45, 40, 20, 0.9) 100%) !important;
    }
    
    .pricing-card h3 {
        font-size: 20px; /* Smaller title */
        margin-bottom: 15px;
    }
    
    .pricing-card .price {
        font-size: 28px; /* Smaller price */
        margin-bottom: 15px;
    }
    
    .pricing-card .price span {
        font-size: 14px;
    }
    
    .pricing-card .price-options {
        gap: 6px;
        margin-bottom: 20px;
    }
    
    .pricing-card .price-option {
        font-size: 16px;
        padding: 6px 10px;
    }
    
    .pricing-card .price-option span {
        font-size: 11px;
    }
    
    .pricing-card .features-list li {
        padding: 8px 0;
        font-size: 14px;
    }
    
    .pricing-card .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .pricing-card .auto-renewal-note {
        font-size: 11px;
    }

    .footer {
        padding: 40px 20px 20px;
        margin: 0 20px;
        border-radius: 30px 30px 0 0;
    }

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

    .social-links {
        justify-content: center;
    }

    .page-title {
        font-size: 32px;
        word-break: break-word;
        hyphens: auto;
        padding: 0 20px;
    }

    .page-subtitle {
        font-size: 16px;
    }

    .legal-hero {
        padding: 100px 0 40px;
    }

    .language-dropdown {
        margin-left: 0;
        border-left: none;
        padding-left: 0;
        margin-top: 20px;
    }
    
    .language-dropdown-menu {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 16px 16px 0 0;
        max-width: none;
        padding: 20px;
    }
    
    /* Mobile Park Search */
    .park-search-container {
        padding: 0 10px;
    }
    
    /* Mobile About Section */
    .about-hero-home {
        padding: 50px 0 40px;
        margin: 80px 15px 0 15px;
        border-radius: 30px 30px 0 0;
    }
    
    .about-hero-home .about-intro {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .about-hero-home .about-avatar img {
        width: 150px;
        height: 150px;
    }
    
    .about-hero-home .about-header h2 {
        font-size: 32px;
    }
    
    .about-hero-home .about-header h3 {
        font-size: 19px;
    }
    
    .about-content-section {
        padding: 40px 0;
        margin: 0 15px 80px 15px;
        border-radius: 0 0 30px 30px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .value-card {
        padding: 20px 15px;
        text-align: center;
        min-height: 140px !important;
        max-height: 140px !important;
        height: 140px !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        position: relative;
        overflow: hidden;
        border: none !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Verschiedene Farben für jede Karte */
    .value-card:nth-child(1) {
        background: linear-gradient(135deg, #FFE5E5 0%, #FFD4E1 100%) !important;
    }
    
    .value-card:nth-child(2) {
        background: linear-gradient(135deg, #E5F3FF 0%, #D4E8FF 100%) !important;
    }
    
    .value-card:nth-child(3) {
        background: linear-gradient(135deg, #FFF4E5 0%, #FFE8D4 100%) !important;
    }
    
    .value-card:nth-child(4) {
        background: linear-gradient(135deg, #E5FFE5 0%, #D4FFD4 100%) !important;
    }
    
    .value-card.expandable-value {
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .value-card.expandable-value.expanded {
        max-height: none !important;
        height: auto !important;
        min-height: 140px !important;
    }
    
    .value-card .value-icon {
        font-size: 36px;
        margin-bottom: 10px;
    }
    
    .value-card h4 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .value-card .value-description {
        font-size: 13px;
        line-height: 1.4;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
        padding: 0;
    }
    
    .value-card.expanded .value-description {
        max-height: 200px;
        opacity: 1;
        padding-top: 5px;
    }
    
    .value-card.expandable-value::after {
        content: '▼';
        position: absolute;
        bottom: 10px;
        right: 10px;
        font-size: 10px;
        color: var(--text-secondary);
        transition: transform 0.3s ease;
        opacity: 0.6;
    }
    
    .value-card.expanded::after {
        transform: rotate(180deg);
    }
    
    .contact-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-buttons .btn {
        width: 100%;
    }
    
    .search-input-wrapper {
        padding: 10px 15px;
    }
    
    .park-search-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Reduce section padding on mobile */
    .features {
        padding: 60px 5px;
        margin: 0 5px 0 5px !important;
        width: calc(100% - 10px);
        border-radius: 30px;
    }
    
    .parks {
        padding: 60px 20px;
        margin: 0 20px 0 20px !important;
        width: calc(100% - 40px);
        border-radius: 30px;
    }
    
    .premium {
        padding: 60px 5px 60px 5px !important; /* Normal padding since badges are inside cards */
        margin: 0 5px 0 5px !important;
        width: calc(100% - 10px) !important;
        border-radius: 30px;
        overflow-x: hidden !important;
        overflow-y: visible !important;
        max-width: 100% !important;
        -webkit-overflow-scrolling: touch !important;
        transform: translateZ(0);
        position: relative !important;
    }
    
    .download {
        padding: 60px 20px;
        margin: 0 20px 0 20px !important;
        width: calc(100% - 40px);
        border-radius: 30px;
    }
}

/* For very small screens (under 480px), keep two columns for pricing */
@media (max-width: 480px) {
    .premium {
        overflow-x: hidden !important;
        overflow-y: visible !important;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr 1fr !important; /* Two columns for first two cards */
        grid-template-rows: auto auto !important; /* Two rows */
        gap: 4px !important; /* Minimal gap for mobile */
        padding: 10px 0 0 !important; /* Less top padding since badges are inside */
        overflow: visible !important; /* Allow badges to show */
        width: 100% !important;
        max-width: 100% !important;
        display: grid !important;
    }
    
    /* Third card (Lifetime) takes full width on very small screens too */
    .pricing-cards .pricing-card:nth-child(3) {
        grid-column: 1 / -1 !important; /* Span full width */
        min-height: auto !important; /* Allow it to be more compact */
        height: auto !important;
    }
    
    .pricing-card {
        padding: 16px 8px; /* Minimal padding for smaller screens */
        min-height: 420px !important; /* Ensure same height on very small screens */
        max-width: 100% !important;
        overflow: hidden !important;
    }
    
    /* Container innerhalb Premium muss auch overflow hidden haben */
    .premium .container {
        overflow-x: hidden !important;
        overflow-y: visible !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    .premium * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .features-grid {
        gap: 6px !important;
    }
    
    .feature-card {
        padding: 10px 8px !important;
        min-height: auto !important;
    }
    
    /* Hero adjustments for small screens */
    .hero {
        padding: 85px 15px 30px !important;
        min-height: auto;
    }
    
    .hero-content {
        padding: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-text {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .hero-title {
        font-size: 22px !important;
        line-height: 1.2 !important;
        margin-bottom: 15px;
        letter-spacing: -0.3px;
        padding: 0;
        width: 100%;
        display: block;
        white-space: normal !important;
        word-break: normal;
        overflow-wrap: normal;
        hyphens: none;
    }
    
    .hero-subtitle {
        font-size: 14px !important;
        line-height: 1.4 !important;
        padding: 0;
        width: 100%;
        display: block;
    }
}

/* Extra small devices (iPhone SE, etc.) */
@media (max-width: 375px) {
    .hero-title {
        font-size: 20px !important;
        padding: 0 5px;
    }
    
    .hero-subtitle {
        font-size: 13px !important;
        padding: 0 5px;
    }
    
    .stat-number {
        font-size: 28px !important;
    }
    
    .hero-stats {
        gap: 20px !important;
    }
}

/* Authentication Styles */
.user-auth {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.user-auth.compact {
    position: relative;
    margin-right: 0;
}

.auth-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.auth-dropdown-toggle:hover {
    background: var(--secondary-bg);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.user-icon {
    width: 18px;
    height: 18px;
}

.dropdown-arrow-small {
    width: 10px;
    height: 6px;
    opacity: 0.6;
}

.auth-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 8px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.user-auth.compact.active .auth-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.auth-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-weight: 500;
}

.auth-option:hover {
    background: var(--secondary-bg);
    transform: translateX(4px);
}

.auth-option svg {
    width: 16px;
    height: 16px;
    opacity: 0.8;
}

/* Old styles for backwards compatibility */
.auth-link {
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    font-size: 14px;
}

.auth-link:hover {
    background-color: var(--bg-secondary);
}

.register-btn {
    background-color: var(--primary-color);
    color: white !important;
}

.register-btn:hover {
    background-color: #0051D5;
    transform: translateY(-1px);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.user-account-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    padding: 5px 10px;
    border-radius: 8px;
    transition: var(--transition);
}

.user-account-link:hover {
    background-color: var(--bg-secondary);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.user-avatar img,
.user-avatar span {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-avatar span {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.user-avatar img {
    display: none;
}

.user-avatar img[src]:not([src=""]) {
    display: block;
}

.user-avatar img[src]:not([src=""]) + span {
    display: none;
}

.user-name {
    font-weight: 500;
    font-size: 14px;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* About Page Styles */
.about-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.about-intro {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.about-avatar {
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    font-weight: bold;
    color: white;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border: 5px solid rgba(255, 255, 255, 0.95);
}

.avatar-image {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border: 5px solid rgba(255, 255, 255, 0.95);
    transition: transform 0.3s ease;
}

.avatar-image:hover {
    transform: scale(1.05);
}

.about-header h1 {
    font-size: 48px;
    color: white;
    margin-bottom: 10px;
    font-weight: 700;
}

.about-header h2 {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
    font-weight: 400;
}

.about-tagline {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
}

.about-content {
    padding: 80px 0;
    background: #f5f5f7;
    position: relative;
}

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

.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(255, 255, 255, 0.9) 50%, 
        rgba(255, 255, 255, 0.8) 100%);
    pointer-events: none;
    z-index: 0;
}

.about-content > * {
    position: relative;
    z-index: 1;
}

.about-story {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.about-story h3 {
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.about-story p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 25px;
    opacity: 0.9;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}

/* Verschiedene Farben für jede Statistik-Karte */
.stat-card:nth-child(1) {
    background: linear-gradient(135deg, #FFE5F1 0%, #FFD4E8 100%) !important;
}

.stat-card:nth-child(2) {
    background: linear-gradient(135deg, #E8F4FF 0%, #D4E8FF 100%) !important;
}

.stat-card:nth-child(3) {
    background: linear-gradient(135deg, #FFF8E5 0%, #FFE8D4 100%) !important;
}

.stat-card:nth-child(4) {
    background: linear-gradient(135deg, #F0FFE5 0%, #E0FFD4 100%) !important;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Override stat styles for about page */
.stat-card .stat-number {
    color: var(--primary-color);
    text-shadow: none;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-card .stat-label {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Stat styles already defined above - removed duplicates */

.about-values {
    margin-bottom: 80px;
}

.about-values h3 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-primary);
}

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

@media (max-width: 1200px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-content-section .values-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .about-content-section .value-card {
        min-width: 0;
    }
    
    /* Mobile Hero angepasst für Hand-Bild */
    .hero {
        padding-bottom: 40px !important;
    }
    
    .hero-image {
        margin-top: -230px !important;
    }
    
    /* Parks Grid - 2 Spalten auf Mobile */
    .parks-grid,
    .parks-grid-full {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .park-item,
    .parks-grid-full .park-item {
        padding: 15px 10px !important;
        font-size: 14px !important;
        min-height: 50px !important;
    }
}

.value-card {
    padding: 30px;
    background: var(--card-bg);
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

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

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.value-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.value-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.about-journey {
    margin-bottom: 80px;
}

.about-journey h3 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-primary);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--border-color);
}

.timeline-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 4px solid var(--bg-color);
    z-index: 1;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-date {
    flex: 1;
    padding: 0 40px;
    text-align: right;
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.timeline-item:nth-child(odd) .timeline-date {
    text-align: left;
    justify-content: flex-start;
}

.timeline-content {
    flex: 1;
    padding: 20px 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

/* Verschiedene Farben für Timeline Items */
.timeline-item:nth-child(1) .timeline-content {
    background: linear-gradient(135deg, #FFF0F5 0%, #FFE4F1 100%) !important;
}

.timeline-item:nth-child(2) .timeline-content {
    background: linear-gradient(135deg, #F0F8FF 0%, #E4F2FF 100%) !important;
}

.timeline-item:nth-child(3) .timeline-content {
    background: linear-gradient(135deg, #FFFAF0 0%, #FFEED4 100%) !important;
}

.timeline-item:nth-child(4) .timeline-content {
    background: linear-gradient(135deg, #F5FFF0 0%, #E8FFD4 100%) !important;
}

.timeline-content h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

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

.about-contact {
    text-align: center;
    padding: 60px 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    background: linear-gradient(135deg, #F0F5FF 0%, #E8F0FF 100%) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-contact h3 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-contact p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-buttons .btn {
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-buttons .btn-primary {
    background: var(--primary-color);
    color: white;
}

.contact-buttons .btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

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

.contact-buttons .btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Dark mode adjustments for about page */
[data-theme="dark"] .about-hero {
    background: linear-gradient(135deg, #4a00e0 0%, #8e2de2 100%);
}

[data-theme="dark"] .avatar-placeholder {
    background: linear-gradient(135deg, #8e2de2 0%, #4a00e0 100%);
}

/* Dark Mode für Statistik-Karten */
[data-theme="dark"] .stat-card:nth-child(1) {
    background: linear-gradient(135deg, rgba(60, 20, 35, 0.95) 0%, rgba(50, 15, 30, 0.95) 100%) !important;
}

[data-theme="dark"] .stat-card:nth-child(2) {
    background: linear-gradient(135deg, rgba(20, 35, 60, 0.95) 0%, rgba(15, 30, 50, 0.95) 100%) !important;
}

[data-theme="dark"] .stat-card:nth-child(3) {
    background: linear-gradient(135deg, rgba(60, 45, 20, 0.95) 0%, rgba(50, 35, 15, 0.95) 100%) !important;
}

[data-theme="dark"] .stat-card:nth-child(4) {
    background: linear-gradient(135deg, rgba(20, 45, 20, 0.95) 0%, rgba(15, 35, 15, 0.95) 100%) !important;
}

/* Dark Mode für Value-Karten */
[data-theme="dark"] .value-card:nth-child(1) {
    background: linear-gradient(135deg, rgba(60, 20, 35, 0.95) 0%, rgba(50, 15, 30, 0.95) 100%) !important;
}

[data-theme="dark"] .value-card:nth-child(2) {
    background: linear-gradient(135deg, rgba(20, 35, 60, 0.95) 0%, rgba(15, 30, 50, 0.95) 100%) !important;
}

[data-theme="dark"] .value-card:nth-child(3) {
    background: linear-gradient(135deg, rgba(60, 45, 20, 0.95) 0%, rgba(50, 35, 15, 0.95) 100%) !important;
}

[data-theme="dark"] .value-card:nth-child(4) {
    background: linear-gradient(135deg, rgba(20, 45, 20, 0.95) 0%, rgba(15, 35, 15, 0.95) 100%) !important;
}

/* Dark Mode für Timeline-Items */
[data-theme="dark"] .timeline-item:nth-child(1) .timeline-content {
    background: linear-gradient(135deg, rgba(60, 20, 35, 0.95) 0%, rgba(50, 15, 30, 0.95) 100%) !important;
}

[data-theme="dark"] .timeline-item:nth-child(2) .timeline-content {
    background: linear-gradient(135deg, rgba(20, 35, 60, 0.95) 0%, rgba(15, 30, 50, 0.95) 100%) !important;
}

[data-theme="dark"] .timeline-item:nth-child(3) .timeline-content {
    background: linear-gradient(135deg, rgba(60, 45, 20, 0.95) 0%, rgba(50, 35, 15, 0.95) 100%) !important;
}

[data-theme="dark"] .timeline-item:nth-child(4) .timeline-content {
    background: linear-gradient(135deg, rgba(20, 45, 20, 0.95) 0%, rgba(15, 35, 15, 0.95) 100%) !important;
}

/* Dark Mode für Kontakt-Sektion */
[data-theme="dark"] .about-contact {
    background: linear-gradient(135deg, rgba(20, 25, 40, 0.95) 0%, rgba(15, 20, 35, 0.95) 100%) !important;
    backdrop-filter: blur(10px);
}

/* Dark Mode für Feature-Karten */
[data-theme="dark"] .features-grid .feature-card:nth-child(1) {
    background: linear-gradient(135deg, rgba(50, 15, 30, 0.95) 0%, rgba(40, 10, 25, 0.95) 100%) !important;
}

[data-theme="dark"] .features-grid .feature-card:nth-child(2) {
    background: linear-gradient(135deg, rgba(15, 30, 50, 0.95) 0%, rgba(10, 25, 40, 0.95) 100%) !important;
}

[data-theme="dark"] .features-grid .feature-card:nth-child(3) {
    background: linear-gradient(135deg, rgba(50, 35, 15, 0.95) 0%, rgba(40, 25, 10, 0.95) 100%) !important;
}

[data-theme="dark"] .features-grid .feature-card:nth-child(4) {
    background: linear-gradient(135deg, rgba(25, 50, 15, 0.95) 0%, rgba(20, 40, 10, 0.95) 100%) !important;
}

[data-theme="dark"] .features-grid .feature-card:nth-child(5) {
    background: linear-gradient(135deg, rgba(35, 15, 50, 0.95) 0%, rgba(25, 10, 40, 0.95) 100%) !important;
}

[data-theme="dark"] .features-grid .feature-card:nth-child(6) {
    background: linear-gradient(135deg, rgba(50, 30, 15, 0.95) 0%, rgba(40, 20, 10, 0.95) 100%) !important;
}

[data-theme="dark"] .features-grid .feature-card:nth-child(7) {
    background: linear-gradient(135deg, rgba(15, 50, 35, 0.95) 0%, rgba(10, 40, 25, 0.95) 100%) !important;
}

[data-theme="dark"] .features-grid .feature-card:nth-child(8) {
    background: linear-gradient(135deg, rgba(50, 15, 35, 0.95) 0%, rgba(40, 10, 25, 0.95) 100%) !important;
}

[data-theme="dark"] .features-grid .feature-card:nth-child(9) {
    background: linear-gradient(135deg, rgba(15, 25, 50, 0.95) 0%, rgba(10, 20, 40, 0.95) 100%) !important;
}

[data-theme="dark"] .stat-card .stat-number {
    color: var(--primary-color);
}

[data-theme="dark"] .stat-card .stat-label {
    color: var(--text-primary);
    opacity: 0.9;
}

body.dark-mode .about-content::before {
    background: linear-gradient(to bottom, 
        rgba(18, 18, 18, 0.8) 0%, 
        rgba(18, 18, 18, 0.9) 50%, 
        rgba(18, 18, 18, 0.8) 100%);
}

/* Responsive About Page */
@media (max-width: 768px) {
    .about-intro {
        flex-direction: column;
        text-align: center;
    }
    
    .about-header h1 {
        font-size: 36px;
    }
    
    .about-header h2 {
        font-size: 20px;
    }
    
    .avatar-placeholder,
    .avatar-image {
        width: 200px;
        height: 200px;
        font-size: 56px;
    }
    
    .avatar-image:hover {
        transform: none;
    }
    
    /* Mobile Timeline - Saubere Struktur */
    .timeline {
        position: relative;
        padding-left: 35px;
        max-width: 100%;
    }
    
    .timeline::before {
        content: '';
        position: absolute;
        left: 12px;
        top: 10px;
        bottom: 10px;
        width: 2px;
        background: linear-gradient(to bottom, #007AFF 0%, #5AC8FA 50%, #34C759 100%);
        border-radius: 1px;
    }
    
    .timeline-item {
        display: block !important;
        padding-left: 0;
        margin-bottom: 25px;
        position: relative;
        opacity: 0;
        transform: translateX(15px);
        transition: all 0.4s ease;
    }
    
    .timeline-item.in-view {
        opacity: 1;
        transform: translateX(0);
    }
    
    .timeline-item::before {
        content: '';
        position: absolute;
        left: -23px;
        top: 6px;
        width: 10px;
        height: 10px;
        background: #fff;
        border: 2px solid #007AFF;
        border-radius: 50%;
        z-index: 3;
    }
    
    .timeline-date {
        display: inline-block !important;
        padding: 2px 8px !important;
        margin: 0 0 8px 0 !important;
        font-size: 12px !important;
        font-weight: 600;
        color: #007AFF;
        text-align: left !important;
        background: rgba(0, 122, 255, 0.1);
        border-radius: 5px;
        width: fit-content;
    }
    
    .timeline-content {
        padding: 10px 12px !important;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 10px;
        border: 1px solid rgba(0, 0, 0, 0.08);
        position: relative;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    }
    
    .timeline-content h4 {
        font-size: 15px;
        margin: 0 0 4px 0;
        color: var(--text-primary);
        font-weight: 600;
        line-height: 1.2;
    }
    
    .timeline-content p {
        font-size: 13px;
        line-height: 1.4;
        color: var(--text-secondary);
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
}

@media (max-width: 1024px) {
    .user-auth,
    .user-menu {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        padding: 10px 0;
        border-top: 1px solid var(--border-color);
    }
    
    .user-account-link {
        width: 100%;
        justify-content: center;
    }
}