/* Maat Journal Landing Page - Light Mode */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

:root {
    /* Elegant black & off-white theme */
    --background-dark: #f7f6f2;
    --background-card: #f1f0ec;
    --background-elevated: #e9e7e2;
    --text-primary: #0f0f10;
    --text-secondary: #2f2f32;
    --text-tertiary: #55575c;
    --border-color: #d9d7d0;
    --primary-color: #0f0f10;
    --secondary-color: #2a2a2f;
    --accent-color: #0f0f10;
    --success-color: #0f0f10;
    --warning-color: #2a2a2f;
    --error-color: #b23b3b;
    --gradient-primary: linear-gradient(135deg, #111015 0%, #1b1b20 100%);
    --gradient-accent: linear-gradient(135deg, #1b1b20 0%, #111015 100%);
    --shadow-light: 0 2px 6px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 6px 14px rgba(0, 0, 0, 0.08);
    --shadow-heavy: 0 12px 28px rgba(0, 0, 0, 0.12);
    --border-radius: 14px;
    --border-radius-large: 22px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 0, 0, 0.04) 0%, transparent 32%),
        radial-gradient(circle at 80% 0%, rgba(0, 0, 0, 0.03) 0%, transparent 30%),
        #f7f6f2;
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
}

.score-funnel-button {
    width: 100%;
    max-width: 420px;
    min-height: 58px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 12px;
    background: var(--primary-color);
    color: #17140e;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.score-funnel-button:hover {
    background: #f1d58d;
    transform: translateY(-2px);
}

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

.inline-link {
    color: var(--primary-color);
    text-decoration: underline;
}

.inline-link:hover {
    color: var(--secondary-color);
}

/* Notification Bar */
.notification-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--background-elevated);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-light);
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

.notification-bar.show {
    transform: translateY(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.notification-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notification-text {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-secondary);
}

.notification-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    background: var(--background-card);
    color: var(--text-primary);
}

/* Adjust hero section to account for notification bar */
.hero {
    padding-top: 100px;
}

.sticky-cta {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 1200;
    display: flex;
    flex-direction: row;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

/* Language switcher */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    background: var(--background-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.lang-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid var(--border-color);
    background: var(--background-card);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 38px 10px 12px;
    border-radius: 12px;
    cursor: pointer;
    line-height: 1;
    min-height: 40px;
}

.lang-switcher {
    position: relative;
}

.lang-switcher::after {
    content: "▾";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
    pointer-events: none;
    font-size: 0.9rem;
}

.lang-select:hover {
    background: rgba(0, 0, 0, 0.06);
}

.lang-select:focus-visible {
    outline: 2px solid rgba(15, 15, 16, 0.5);
    outline-offset: 2px;
}

.sticky-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--background-elevated);
    color: var(--text-primary);
    border-radius: var(--border-radius);
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--border-color);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.sticky-button.secondary {
    background: var(--background-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.sticky-button:hover {
    box-shadow: var(--shadow-light);
    transform: translateY(-1px);
    background: rgba(0, 0, 0, 0.06);
}

.sticky-button i {
    font-size: 1rem;
}

.trust-bar {
    background: linear-gradient(135deg, #f8f8f6 0%, #efeeea 100%);
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
}

.trust-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.platform-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 14px;
    background: var(--background-elevated);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 600;
    box-shadow: var(--shadow-light);
}

.platform-badge i {
    color: var(--primary-color);
}

.rating-block {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.star-row i,
.review-stars i {
    color: var(--primary-color);
}

.rating-text {
    color: var(--text-secondary);
    font-weight: 600;
}

.review-grid {
    margin-top: 2rem;
    overflow: hidden;
    position: relative;
}

.review-track {
    display: flex;
    gap: 1rem;
    animation: scroll-reviews 65s linear infinite;
    animation-play-state: running;
}

.review-grid:hover .review-track {
    animation-play-state: paused;
}

.review-card {
    background: var(--background-elevated);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.1rem 1.2rem;
    box-shadow: var(--shadow-light);
    display: grid;
    gap: 0.6rem;
    min-height: 100%;
    min-width: 320px;
    max-width: 360px;
    flex: 0 0 auto;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    box-shadow: var(--shadow-light);
}

.review-card p {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.5;
}

.reviewer {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .rating-block {
        width: 100%;
        justify-content: flex-start;
    }
    
    .sticky-cta {
        top: auto;
        right: 12px;
        bottom: 12px;
        justify-content: center;
    }
    
    .sticky-button {
        padding: 12px 14px;
    }
}

@keyframes scroll-reviews {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Responsive design for notification bar */
@media (max-width: 768px) {
    .notification-content {
        padding: 10px 16px;
        gap: 12px;
    }
    
    .notification-text {
        font-size: 0.85rem;
    }
    
    .notification-icon {
        font-size: 1.1rem;
    }
    
    .hero {
        padding-top: 100px;
    }
}

@media (max-width: 480px) {
    .notification-content {
        padding: 8px 12px;
        gap: 8px;
    }
    
    .notification-text {
        font-size: 0.8rem;
    }
    
    .notification-icon {
        font-size: 1rem;
    }
    
    .hero {
        padding-top: 90px;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f8f6 0%, #efeeea 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 0, 0, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(0, 0, 0, 0.04) 0%, transparent 50%);
    z-index: -1;
}

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

/* Logo Styles */
.logo-container {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    height: 120px;
    width: auto;
    border-radius: 0;
}



.hero-text h1 {
    font-size: 4.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-align: center;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 400;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-helper {
    margin-top: 18px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Hero Features */
.hero-features {
    display: flex;
    gap: 16px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(15, 15, 16, 0.06);
    border: 1px solid rgba(15, 15, 16, 0.14);
    border-radius: 25px;
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    border-color: var(--primary-color);
    background: rgba(15, 15, 16, 0.12);
    transform: translateY(-1px);
}

.feature-tag i {
    color: var(--text-secondary);
    font-size: 16px;
}

/* App Buttons */
.app-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.app-button {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    background: var(--background-elevated);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-primary) !important;
    font-weight: 600;
    font-size: 16px;
    box-shadow: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.app-button:hover {
    box-shadow: var(--shadow-light);
    transform: translateY(-1px);
    background: rgba(0, 0, 0, 0.06);
}

.app-button i {
    font-size: 1.5rem;
    margin-right: 12px;
    color: var(--text-primary) !important;
}

.app-button .button-text,
.app-button .download-text,
.app-button .store-text {
    color: var(--text-primary);
}

.button-text {
    display: flex;
    flex-direction: column;
}

.download-text {
    font-size: 12px;
    color: #FFFFFF;
    font-weight: 400;
}

.store-text {
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
}

/* Gallery Styles */
.hero-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-container {
    position: relative;
    width: 100%;
    max-width: 320px;
}

.gallery-slides {
    position: relative;
    width: 100%;
    height: 600px;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    pointer-events: none;
}

.gallery-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    z-index: 2;
}

.gallery-slide.prev {
    transform: translateX(-100%);
    z-index: 1;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    z-index: 10;
    position: relative;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

/* Phone Mockup */
.phone-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-screen {
    width: 280px;
    height: 560px;
    background: transparent;
    border-radius: 22px;
    padding: 0;
    position: relative;
    overflow: hidden;
    box-shadow: none;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 25px;
    display: block;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-arrow i {
    color: var(--text-primary);
    font-size: 14px;
}

.scroll-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 400;
}



.app-preview {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    padding: 10px 0;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.status-icons {
    display: flex;
    gap: 4px;
}

.status-icons i {
    font-size: 0.75rem;
}

.app-content {
    flex: 1;
    padding: 10px 0;
}

.journal-entry {
    background: var(--background-elevated);
    border-radius: var(--border-radius);
    padding: 16px;
    margin-bottom: 12px;
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.entry-header h3 {
    font-size: 0.875rem;
    font-weight: 600;
}

.mood {
    font-size: 1rem;
}

.journal-entry p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Features Section */
.features {
    padding: 6rem 0;
    text-align: center;
    background: var(--background-dark);
}

.features h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 0;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 40px;
}

.feature-card {
    background: var(--background-card);
    border: 1px solid rgba(15, 15, 16, 0.08);
    border-radius: 16px;
    padding: 2.6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-heavy);
    transform: translateY(-4px);
}

.feature-icon {
    width: 90px;
    height: 90px;
    background: rgba(15, 15, 16, 0.06);
    border: 2px solid rgba(15, 15, 16, 0.12);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.2rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(15, 15, 16, 0.12);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.feature-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

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

.feature-card ul, .feature-card ol {
    text-align: left;
    margin-left: 20px;
}

.feature-card li {
    text-align: left;
    margin-bottom: 8px;
}

/* Benefits Section */
.benefits {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f8f6 0%, #efeeea 100%);
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.benefits-text h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.9rem;
    border-radius: 16px;
    background: var(--background-elevated);
    border: 1px solid rgba(15, 15, 16, 0.08);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

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

.benefit-icon {
    width: 70px;
    height: 70px;
    background: rgba(15, 15, 16, 0.06);
    border: 1px solid rgba(15, 15, 16, 0.12);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--text-secondary);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    background: rgba(15, 15, 16, 0.12);
    border-color: var(--primary-color);
    transform: scale(1.05);
}



.benefit-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.benefit-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

.stats-card {
    background: var(--background-elevated);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-medium);
}

.stat-item {
    margin-bottom: 2.5rem;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

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

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #F9FAFB;
}

.benefits-link {
    margin-top: 2rem;
    text-align: center;
}

.learn-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border: 1.5px solid var(--primary-color);
    border-radius: var(--border-radius);
    background: var(--background-card);
}

.learn-more-link:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    box-shadow: var(--shadow-light);
}

.learn-more-link i {
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.learn-more-link:hover i {
    color: var(--secondary-color);
}

/* Screenshots Section */
.screenshots {
    padding: 100px 0;
    text-align: center;
}

.screenshots h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.screenshot-card {
    text-align: center;
}

.screenshot-mockup {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-large);
    padding: 30px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-medium);
}

.screenshot-mockup:hover {
    box-shadow: var(--shadow-heavy);
}

.screenshot-content {
    width: 240px;
    height: 480px;
    background: var(--background-elevated);
    border-radius: 20px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.screen-header {
    background: var(--background-card);
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.screen-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.record-button {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.ai-avatar {
    font-size: 1.5rem;
}

.journal-entries {
    padding: 16px;
}

.entry-preview {
    background: var(--background-card);
    border-radius: var(--border-radius);
    padding: 12px;
    margin-bottom: 8px;
    text-align: left;
}

.entry-preview .time {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 4px;
}

.entry-preview p {
    font-size: 0.875rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.ai-chat {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-message, .user-message {
    padding: 12px 16px;
    border-radius: var(--border-radius);
    max-width: 80%;
}

.ai-message {
    background: var(--background-card);
    align-self: flex-start;
}

.user-message {
    background: var(--primary-color);
    align-self: flex-end;
    color: white;
}

.stats-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mood-chart {
    display: flex;
    align-items: end;
    gap: 8px;
    height: 120px;
    padding: 20px 0;
}

.mood-bar {
    flex: 1;
    background: var(--gradient-primary);
    border-radius: 4px;
    min-height: 20px;
}

.stats-summary {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.screenshot-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.screenshot-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: var(--background-dark);
}

.faq-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.faq h2 {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-medium);
    transform: translateY(-1px);
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--background-card);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--background-elevated);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
    letter-spacing: -0.01em;
}

.faq-question i {
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 2rem 2rem;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--background-dark);
}

.about-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-content h2 {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.about-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}

.about-feature {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.about-feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(15, 15, 16, 0.06);
    border: 2px solid rgba(15, 15, 16, 0.12);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.about-feature-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.about-feature-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

.about-usage {
    text-align: center;
}

.about-usage + .about-usage {
    margin-top: 4rem;
}

.about-usage h3 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.usage-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.usage-item {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem;
    text-align: center;
    transition: all 0.3s ease;
}

.usage-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
}

.usage-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

@media (min-width: 720px) {
    .usage-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.75rem;
    }
}

@media (min-width: 1040px) {
    .usage-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.75rem;
    }
}

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

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: var(--background-card);
    text-align: center;
    border-top: 1px solid var(--border-color);
}

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

.cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

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

/* Footer */
.footer {
    background: var(--background-elevated);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}

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

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

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

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

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

.footer-section ul li a:hover {
    color: var(--primary-color);
}

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

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        gap: 60px;
        padding: 0 30px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        padding: 0 30px;
    }
    
    .benefits-content {
        gap: 4rem;
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 20px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 3rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2.5rem;
        line-height: 1.6;
    }

    .hero-features {
        gap: 12px;
        margin-bottom: 2.5rem;
    }

    .feature-tag {
        padding: 12px 18px;
        font-size: 14px;
        min-height: 44px; /* Touch-friendly */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .app-buttons {
        justify-content: center;
        gap: 16px;
    }

    .app-button {
        min-height: 48px; /* Better touch target */
        padding: 16px 24px;
        font-size: 16px; /* Prevents zoom on iOS */
        flex: 1;
        max-width: 160px;
    }

    .phone-screen {
        width: 240px;
        height: 480px;
    }
    
    .features {
        padding: 4rem 0;
    }
    
    .features h2 {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 20px;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }

    .benefits {
        padding: 4rem 0;
    }
    
    .benefits-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 20px;
    }
    
    .benefits-text h2 {
        font-size: 2.5rem;
        margin-bottom: 2.5rem;
    }
    
    .benefit-item {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .faq {
        padding: 4rem 0;
    }

    .faq h2 {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }

    .faq-content {
        padding: 0 20px;
    }

    .faq-question {
        padding: 1.5rem;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }

    .faq-answer p {
        padding: 0 1.5rem 1.5rem;
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        margin: 0 20px 40px 20px;
    }
    
    .footer-bottom {
        margin: 0 20px;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .scroll-arrow {
        width: 32px;
        height: 32px;
    }

    .scroll-text {
        font-size: 0.625rem;
    }
    
    .cta {
        padding: 4rem 0;
    }
    
    .cta-content h2 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
    
    .cta-content {
        padding: 0 20px;
    }
    
    .about {
        padding: 4rem 0;
    }
    
    .about-content {
        padding: 0 20px;
    }
    
    .about-content h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .about-subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }
    
    .about-feature {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .about-feature-icon {
        align-self: center;
    }
    
    .about-usage h3 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .usage-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

    .app-buttons {
        flex-direction: column;
        align-items: center;
    }

    .app-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .phone-screen {
        width: 200px;
        height: 400px;
    }

    .screenshot-mockup {
        padding: 20px;
    }

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

    .faq {
        padding: 40px 0;
    }

    .faq h2 {
        font-size: 1.75rem;
        margin-bottom: 30px;
    }

    .faq-content {
        padding: 0 16px;
    }

    .faq-question {
        padding: 16px;
    }

    .faq-question h3 {
        font-size: 0.9rem;
        line-height: 1.4;
        padding-right: 16px;
    }

    .faq-answer p {
        padding: 0 16px 16px;
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .scroll-indicator {
        bottom: 10px;
    }

    .scroll-arrow {
        width: 28px;
        height: 28px;
    }

    .scroll-arrow i {
        font-size: 0.75rem;
    }

    .scroll-text {
        font-size: 0.5rem;
    }
    
    /* Scroll to top button mobile adjustments */
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}





/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-card);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(15, 15, 16, 0.6);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 18px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: var(--shadow-medium);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    box-shadow: var(--shadow-heavy);
}

.scroll-to-top i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
}

/* Page Header */
.page-header {
    background: var(--background-elevated);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    margin-bottom: 40px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 40px;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    color: var(--primary-color);
}

.back-link i {
    font-size: 0.875rem;
}

.header-logo {
    height: 40px;
    width: auto;
    border-radius: 0;
}

/* Content Pages */
.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-wrapper h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 40px;
}

.privacy-section, .imprint-section {
    margin-bottom: 40px;
}

.privacy-section h2, .imprint-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.privacy-section h3, .imprint-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.privacy-section p, .imprint-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.privacy-section ul, .imprint-section ul {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    padding-left: 20px;
    text-align: left;
}

.privacy-section li, .imprint-section li {
    margin-bottom: 8px;
    text-align: left;
}



/* Company Details */
.company-details, .contact-details, .product-details {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    margin-bottom: 20px;
}

.detail-item {
    margin-bottom: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

.detail-item a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.detail-item a:hover {
    color: #F9FAFB;
}

/* Legal Notice */
.legal-notice {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
}

.legal-notice p {
    margin-bottom: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.legal-notice p:last-child {
    margin-bottom: 0;
}

/* Contact Info */
.contact-info {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
}

.contact-info p {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info a:hover {
    color: var(--secondary-color);
}

/* Warning Card */
.warning-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.02) 100%);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: var(--border-radius);
    padding: 24px;
    margin: 24px 0;
    position: relative;
}

.warning-card .warning-icon {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.warning-card .warning-icon i {
    color: var(--warning-color);
    font-size: 1.5rem;
    margin-right: 12px;
}

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

.warning-card ol {
    margin-left: 20px;
    color: var(--text-secondary);
}

.warning-card ol li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.warning-card ol li strong {
    color: var(--text-primary);
}

.warning-card ul {
    text-align: left;
    margin-left: 20px;
}

.warning-card ul li {
    text-align: left;
    margin-bottom: 8px;
}

/* Responsive Design for Content Pages */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 0 16px;
    }
    
    .content-wrapper h1 {
        font-size: 2rem;
    }
    

    
    .header-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        margin: 0 20px;
    }
    
    .back-link {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .content-wrapper h1 {
        font-size: 1.75rem;
    }
    
    .privacy-section h2, .imprint-section h2 {
        font-size: 1.25rem;
    }
    
    .company-details, .contact-details, .product-details, .legal-notice, .contact-info {
        padding: 16px;
    }
    
    .header-content {
        margin: 0 16px;
    }
    
    .footer-content {
        margin: 0 16px 40px 16px;
    }
    
    .footer-bottom {
        margin: 0 16px;
    }
}





/* Benefits Page Styles - Complete Redesign */
.benefits-hero {
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-card) 100%);
    padding: 6rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.benefits-hero .hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefits-hero .hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.benefits-main {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.benefit-category {
    margin-bottom: 6rem;
}

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

.category-header h2 {
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.benefit-icon {
    background: rgba(15, 15, 16, 0.06);
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-content {
    flex: 1;
}

.benefit-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.benefit-stat {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.benefit-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-card .benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 1.75rem;
    color: var(--text-primary);
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.stat-highlight {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stat-highlight .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-highlight .stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

.research-section {
    background: var(--background-card);
    border-radius: 20px;
    padding: 4rem 3rem;
    margin: 6rem 0;
    border: 1px solid var(--border-color);
}

.research-header {
    text-align: center;
    margin-bottom: 3rem;
}

.research-header h2 {
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.research-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

.research-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 3rem;
}

.research-content {
    display: grid;
    gap: 2rem;
}

.research-card {
    padding: 2rem;
    background: var(--background-dark);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.research-card:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.research-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

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

.cta-section {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--background-card), var(--background-dark));
    border-radius: 20px;
    margin: 4rem 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

.cta-button.primary {
    background: var(--primary-color);
    color: var(--text-primary);
}

.cta-button.primary:hover {
    box-shadow: var(--shadow-medium);
    background: var(--secondary-color);
}

.cta-button.secondary {
    background: var(--background-card);
    color: var(--text-primary);
    border: 1.5px solid var(--primary-color);
}

.cta-button.secondary:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

/* Responsive Design for Benefits Page */
@media (max-width: 1200px) {
    .benefits-main {
        padding: 3rem 1.5rem;
    }
    
    .benefits-container {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 1.5rem;
    }
    
    .research-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
}

@media (max-width: 768px) {
    .benefits-hero {
        padding: 4rem 1rem;
    }
    
    .benefits-hero .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .benefits-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .benefits-main {
        padding: 2rem 1rem;
    }
    
    .category-header h2 {
        font-size: 2.2rem;
    }
    
    .benefits-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit-item {
        padding: 2rem;
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-icon {
        align-self: center;
    }
    
    .research-section {
        padding: 2rem 1.5rem;
    }
    
    .research-grid {
        grid-template-columns: 1fr;
    }
    
    .research-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .benefits-content .content-wrapper h1 {
        font-size: 2.5rem;
    }
    
    .benefits-section h2 {
        font-size: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .stat-highlight .stat-number {
        font-size: 2rem;
    }
    
    .research-section {
        padding: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Download Section */
.download-section {
    background: var(--background-elevated);
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
}

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

.download-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.download-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Decryption Tool Specific Styles */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.security-card {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.security-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.security-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.security-icon i {
    font-size: 32px;
    color: var(--background-dark);
}

.security-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

/* Installation Steps */
.installation-steps {
    max-width: 800px;
    margin: 40px auto 0;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 24px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--background-dark);
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

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

.step-note {
    margin-top: 12px;
    padding: 12px 16px;
    background: rgba(15, 15, 16, 0.06);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    width: 100%;
    box-sizing: border-box;
}

/* Code Blocks */
.code-block {
    background: var(--background-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin: 16px 0;
    width: 100%;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--background-elevated);
    border-bottom: 1px solid var(--border-color);
}

.code-header span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

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

.code-block pre {
    margin: 0;
    padding: 20px;
    overflow-x: auto;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-primary);
}

.code-block code {
    background: none;
    padding: 0;
    color: inherit;
}

/* Technical Details */
.tech-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.tech-card {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
}

.tech-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.tech-flow {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.flow-step {
    display: flex;
    align-items: center;
    gap: 16px;
}

.flow-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.flow-icon i {
    font-size: 20px;
    color: var(--background-dark);
}

.flow-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.flow-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.flow-arrow {
    display: flex;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 8px 0;
}

.param-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.param-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--background-elevated);
    border-radius: var(--border-radius);
}

.param-name {
    font-weight: 500;
    color: var(--text-primary);
}

.param-item code {
    background: var(--background-dark);
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--primary-color);
}

/* Download Options */
.download-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.download-card {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.download-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.download-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.download-icon i {
    font-size: 32px;
    color: var(--background-dark);
}

.download-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.download-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: var(--background-dark);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

/* Responsive Design for Decryption Tool */
@media (max-width: 768px) {
    .security-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-details {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        align-self: center;
    }
    
    .flow-step {
        flex-direction: column;
        text-align: center;
    }
    
    .param-item {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .download-options {
        grid-template-columns: 1fr;
    }
}

/* Decryption Tool Focused Styles */
.decryption-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.page-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.decryption-section {
    margin-bottom: 3rem;
}

.decryption-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.security-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    padding: 1rem;
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    line-height: 1.6;
}

.info-item strong {
    color: var(--primary-color);
}

.beginner-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-box {
    padding: 1.5rem;
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.info-box h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

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

.export-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.export-step {
    padding: 1.5rem;
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.export-step h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.export-step p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.export-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.export-option {
    padding: 1rem;
    background: var(--background-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    line-height: 1.6;
}

.export-option strong {
    color: var(--primary-color);
}

.format-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.format-option {
    padding: 1.5rem;
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.format-option h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.format-option p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.step {
    margin-bottom: 2rem;
}

.step h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.step p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.step .code-block {
    width: 100%;
    margin: 16px 0;
}

.download-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: var(--background-dark);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-link:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

.tech-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tech-item {
    padding: 1rem;
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    line-height: 1.6;
}

.tech-item strong {
    color: var(--primary-color);
}

.troubleshooting {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.trouble-item {
    padding: 1.5rem;
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.trouble-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

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

.trouble-item code {
    background: var(--background-dark);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--primary-color);
}

/* Trust Highlight and Compliance Notice */
.trust-highlight {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.02) 100%);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    position: relative;
}

.trust-highlight h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.trust-highlight p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.compliance-notice {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.compliance-notice p {
    margin: 0;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
}

/* GDPR Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.right-item {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: all 0.3s ease;
}

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

.right-item h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.right-item p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Support Page Styles */
.support-contact {
    background: var(--background-card);
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
}

.support-statement {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.support-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: var(--background-dark);
}

.support-statement h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.support-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-email {
    margin-bottom: 2rem;
}

.email-address {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-primary);
    color: var(--background-dark);
    padding: 16px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow-medium);
}

.email-address i {
    font-size: 1.2rem;
}

.support-note {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .decryption-content {
        padding: 1rem 0;
    }
    
    .download-links {
        flex-direction: column;
    }
    
    .download-link {
        justify-content: center;
    }
    
    .support-statement h1 {
        font-size: 2rem;
    }
    
    .support-description {
        font-size: 1.1rem;
    }
    
    .email-address {
        padding: 14px 28px;
        font-size: 1rem;
    }
}


/* ===== Papyrus overrides (2026-08-27): legacy pages inherit the app's light theme tokens. ===== */
:root {
    --background-dark: #f5eedd;
    --background-card: #fffcf5;
    --background-elevated: #ebe2c8;
    --text-primary: #2b2318;
    --text-secondary: #4a3f2f;
    --text-tertiary: #6b5e47;
    --border-color: #d5c9a8;
    --primary-color: #2b2318;
    --secondary-color: #6b5e47;
    --accent-color: #c8962d;
    --gradient-primary: linear-gradient(135deg, #2b2318 0%, #3a2f24 100%);
    --gradient-accent: linear-gradient(135deg, #3a2f24 0%, #2b2318 100%);
    --shadow-light: 0 2px 12px rgba(43, 35, 24, 0.07);
    --shadow-medium: 0 6px 18px rgba(43, 35, 24, 0.09);
    --shadow-heavy: 0 12px 32px rgba(43, 35, 24, 0.12);
    --border-radius: 12px;
    --border-radius-large: 16px;
}
body { font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif; background: #f5eedd; color: #2b2318; }
h1, h2 { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 700; letter-spacing: -0.02em; }
a { color: #82621d; }
