/* Maat Journal Landing Page - Modern iOS Style Dark Theme */

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

:root {
    /* Dark Theme (Default) */
    --background-dark: #121212;
    --background-card: #1E1E1E;
    --background-elevated: #2C2C2C;
    --text-primary: #F5F5F5;
    --text-secondary: #B3B3B3;
    --text-tertiary: #9CA3AF;
    --border-color: #2E2E2E;
    --primary-color: #D8B25C;
    --secondary-color: #C1A873;
    --accent-color: #D8B25C;
    --success-color: #10B981;
    --warning-color: #D8B25C;
    --error-color: #EF4444;
    --gradient-primary: linear-gradient(135deg, #D8B25C 0%, #C1A873 100%);
    --gradient-accent: linear-gradient(135deg, #C1A873 0%, #D8B25C 100%);
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.5);
    --border-radius: 12px;
    --border-radius-large: 20px;
}

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

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

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

/* Logo Styles */
.logo-container {
    margin-bottom: 20px;
}

.hero-logo {
    height: 60px;
    width: auto;
    border-radius: var(--border-radius);
    transition: opacity 0.3s ease;
}



.hero-text h1 {
    font-size: 4rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-weight: 400;
    line-height: 1.5;
}

/* Hero Features */
.hero-features {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--background-elevated);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.feature-tag i {
    color: #D97706;
    font-size: 0.875rem;
}

/* App Buttons */
.app-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.app-button {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, #F9FAFB 0%, #E5E7EB 100%);
    border: 1px solid #D1D5DB;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: #1F2937;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    font-weight: 500;
}

.app-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    border-color: #D97706;
    background: linear-gradient(135deg, #FFFFFF 0%, #F3F4F6 100%);
}

.app-button i {
    font-size: 1.5rem;
    margin-right: 12px;
    color: #1F2937;
}

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

.download-text {
    font-size: 0.75rem;
    color: #6B7280;
    font-weight: 400;
}

.store-text {
    font-size: 1rem;
    font-weight: 600;
    color: #1F2937;
}

/* 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%);
    transition: all 0.5s ease;
    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: #6B7280;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #D97706;
    transform: scale(1.2);
}

.dot:hover {
    background: #9CA3AF;
}

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

.phone-screen {
    width: 280px;
    height: 560px;
    background: #000;
    border-radius: 35px;
    padding: 3px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.1), var(--shadow-heavy);
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
    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: linear-gradient(135deg, #F9FAFB 0%, #E5E7EB 100%);
    border: 1px solid #D1D5DB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: bounce 2s infinite;
}

.scroll-arrow i {
    color: #1F2937;
    font-size: 0.875rem;
    animation: pulse 2s infinite;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

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

.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: 100px 0;
    text-align: center;
}

.features 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;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-large);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #F9FAFB 0%, #E5E7EB 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: #1F2937;
    box-shadow: var(--shadow-medium);
}

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

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

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background: var(--background-card);
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

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

.benefit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    padding: 20px;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: var(--background-elevated);
    transform: translateX(8px);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.benefit-item:nth-child(1) .benefit-icon {
    background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
    color: white;
}

.benefit-item:nth-child(2) .benefit-icon {
    background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
    color: white;
}

.benefit-item:nth-child(3) .benefit-icon {
    background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
    color: white;
}

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

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

.stats-card {
    background: var(--background-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-large);
    padding: 40px;
    text-align: center;
}

.stat-item {
    margin-bottom: 30px;
}

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

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    color: #9CA3AF;
    font-size: 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(--accent-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    background: var(--background-card);
}

.learn-more-link:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.learn-more-link i {
    transition: transform 0.3s ease;
}

.learn-more-link:hover i {
    transform: translateX(4px);
}

/* 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;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
}

.screenshot-mockup:hover {
    transform: translateY(-8px);
    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: 100px 0;
    background: var(--background-dark);
}

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

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

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

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

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

.faq-question {
    padding: 24px;
    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.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

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

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

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

.faq-answer p {
    padding: 0 24px 24px;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: var(--background-card);
    text-align: center;
}

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

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

.cta-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.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;
    transition: color 0.3s ease;
}

.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: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

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

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

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

    .phone-screen {
        width: 240px;
        height: 480px;
    }

    .benefits-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features h2,
    .benefits-text h2,
    .screenshots h2,
    .cta-content h2 {
        font-size: 2rem;
    }

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

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

    .faq {
        padding: 60px 0;
    }

    .faq h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

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

    .faq-question {
        padding: 20px;
    }

    .faq-question h3 {
        font-size: 1rem;
        padding-right: 20px;
    }

    .faq-answer p {
        padding: 0 20px 20px;
        font-size: 0.875rem;
    }

    .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;
    }
}

@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;
    }
}

/* Animation Classes */
.hero-text {
    animation: fadeInLeft 1s ease-out;
}

.hero-image {
    animation: fadeInRight 1s ease-out;
}

.feature-card {
    animation: fadeInUp 0.8s ease-out;
}

.benefit-item {
    animation: fadeInLeft 0.8s ease-out;
}

.screenshot-card {
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: rgba(216, 178, 92, 0.8);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gradient-primary);
    color: var(--background-dark);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 18px;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    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 {
    transform: scale(1.1);
    box-shadow: var(--shadow-heavy);
}

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

/* Page Header */
.page-header {
    background: var(--background-card);
    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;
    transition: color 0.3s ease;
}

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

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

.header-logo {
    height: 40px;
    width: auto;
    border-radius: var(--border-radius);
}

/* 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;
}

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



/* 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(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #F9FAFB;
}

/* 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 */
.benefits-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

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

.benefits-content .content-wrapper h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    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;
}

.benefits-content .subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-section {
    margin-bottom: 5rem;
}

.benefits-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Ensure no more than 3 columns on desktop */
@media (min-width: 1200px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.benefit-card {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.benefit-card .benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 1.75rem;
    color: white;
}

.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(--accent-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: 3rem;
    margin: 4rem 0;
    border: 1px solid var(--border-color);
}

.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-item {
    padding: 2rem;
    background: var(--background-dark);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

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

.research-item 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: 600px;
    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;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: white;
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

.cta-button.secondary:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* Responsive Design for Benefits Page */
@media (max-width: 1024px) {
    .benefits-content {
        max-width: 100%;
        padding: 2rem 1rem;
    }
    
    .benefits-content .content-wrapper {
        max-width: 1000px;
        padding: 0 1rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 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;
    }
}