/* ============================================
   ELDA Landing Page - Luma-Inspired Design
   Warm, welcoming, and accessible
   ============================================ */

/* ===== CSS Variables ===== */
:root {
    /* Colors from main app */
    --bg-primary: #FAF9F7;
    --bg-accent: rgba(242, 236, 231, 0.3);
    --bg-secondary: #F2ECE7;
    --gradient-primary: linear-gradient(135deg, #F6C36A 0%, #FF8A65 100%);

    --text-primary: #5C5550;
    --text-secondary: #7E8A90;
    --text-white: #FFFFFF;

    --accent-gold: #F6C36A;
    --accent-coral: #FF8A65;

    /* Shadows */
    --shadow-subtle: 0 4px 20px rgba(92, 85, 80, 0.06);
    --shadow-medium: 0 8px 32px rgba(246, 195, 106, 0.15);
    --shadow-strong: 0 12px 48px rgba(246, 195, 106, 0.25);

    /* Border Radius */
    --radius-small: 12px;
    --radius-medium: 16px;
    --radius-large: 20px;

    /* Spacing */
    --section-padding: 80px 20px;
    --container-max-width: 1200px;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* ===== Navigation Bar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(250, 249, 247, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-subtle);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-menu a:hover {
    color: var(--accent-coral);
}

.nav-waitlist {
    padding: 8px 16px;
    background: rgba(246, 195, 106, 0.15);
    border-radius: var(--radius-small);
    font-weight: 600;
    color: var(--accent-gold) !important;
    border: 1.5px solid var(--accent-gold);
}

.nav-waitlist:hover {
    background: var(--accent-gold);
    color: white !important;
    transform: translateY(-1px);
}

.nav-cta {
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-medium);
    font-weight: 600;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-medium);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 80px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.hero-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-avatar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    border-radius: 50%;
    width: 400px;
    height: 400px;
    box-shadow: var(--shadow-strong);
    animation: float 3s ease-in-out infinite;
}

.hero-avatar {
    width: 100%;
    height: 100%;
}

/* Ear wiggle animations */
.hero-avatar #leftEar {
    transform-origin: 60px 50px;
    animation: wiggle-left 3.5s ease-in-out infinite;
}

.hero-avatar #rightEar {
    transform-origin: 140px 50px;
    animation: wiggle-right 3.5s ease-in-out infinite;
}

/* Eye blink animation */
.hero-avatar #leftEye {
    transform-origin: 75px 85px;
    animation: blink 4s ease-in-out infinite;
}

.hero-avatar #rightEye {
    transform-origin: 125px 85px;
    animation: blink 4s ease-in-out infinite;
}

@keyframes wiggle-left {
    0%, 100% {
        transform: rotate(-15deg);
    }
    50% {
        transform: rotate(-22deg);
    }
}

@keyframes wiggle-right {
    0%, 100% {
        transform: rotate(15deg);
    }
    50% {
        transform: rotate(22deg);
    }
}

@keyframes blink {
    0%, 48%, 52%, 100% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(0.1);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-medium);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-medium);
    border: none;
    cursor: pointer;
}

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

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: white;
    color: var(--accent-coral);
    text-decoration: none;
    border-radius: var(--radius-medium);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-subtle);
    border: 2px solid var(--accent-coral);
}

.btn-secondary:hover {
    background: var(--accent-coral);
    color: white;
    transform: translateY(-3px);
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.2rem;
}

.btn-icon {
    width: 24px;
    height: 24px;
}

/* ===== Section Base Styles ===== */
section {
    padding: var(--section-padding);
}

.section-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

/* ===== Why ELDA Section ===== */
.why-elda {
    background: white;
}

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

.feature-card {
    padding: 32px;
    background: var(--bg-primary);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
}

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

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

/* ===== How to Use Section ===== */
.how-to-use {
    background: var(--bg-secondary);
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
}

.step {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

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

.step-content h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

.tips-box {
    background: white;
    padding: 40px;
    border-radius: var(--radius-large);
    border-left: 5px solid var(--accent-gold);
    box-shadow: var(--shadow-subtle);
}

.tips-box h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.tips-icon {
    width: 28px;
    height: 28px;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.tips-box ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tips-box li {
    padding-left: 32px;
    position: relative;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.tips-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-coral);
    font-weight: bold;
    font-size: 1.3rem;
}

/* ===== Testimonials Section ===== */
.testimonials {
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.testimonial-card {
    padding: 40px;
    background: var(--bg-primary);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-medium);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-stars svg {
    width: 20px;
    height: 20px;
    color: var(--accent-gold);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 24px;
    font-style: italic;
}

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

.testimonial-author strong {
    color: var(--text-primary);
    font-size: 1.1rem;
}

.testimonial-author span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===== Product Presentation Section ===== */
.product-presentation {
    background: var(--bg-secondary);
}

.video-container {
    max-width: 900px;
    margin: 0 auto 60px;
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.video-placeholder {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #F6C36A 0%, #FF8A65 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    gap: 20px;
}

.play-icon {
    width: 80px;
    height: 80px;
    stroke: white;
    opacity: 0.9;
}

.video-placeholder p {
    font-size: 1.5rem;
    font-weight: 600;
}

.cta-box {
    text-align: center;
    padding: 60px 40px;
    background: white;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-subtle);
}

.cta-box h3 {
    font-size: 2rem;
    margin-bottom: 32px;
    color: var(--text-primary);
}

/* ===== About Section ===== */
.about {
    background: white;
}

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

.about-lead {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.about-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.8;
}

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

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

.value-card {
    padding: 40px;
    background: white;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-subtle);
    text-align: center;
    transition: var(--transition-smooth);
}

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

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--accent-coral);
}

.value-icon svg {
    width: 100%;
    height: 100%;
}

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

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

/* ===== FAQ Section ===== */
.faq {
    background: white;
}

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

.faq-item {
    margin-bottom: 16px;
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: var(--bg-primary);
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: left;
}

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

.faq-icon {
    font-size: 1.5rem;
    color: var(--accent-coral);
    transition: var(--transition-smooth);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

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

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

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--text-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 20px 20px;
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 12px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
}

.footer-column h4 {
    color: white;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

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

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-column a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    padding-top: 32px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.footer-heart {
    width: 16px;
    height: 16px;
    color: var(--accent-coral);
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.1); }
    20%, 40% { transform: scale(1); }
}

/* ===== Modal (for Impressum/Privacy) ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    padding: 20px;
}

.modal:target {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 60px;
    border-radius: var(--radius-large);
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-content h2 {
    margin-bottom: 24px;
    color: var(--text-primary);
}

.modal-content h3 {
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.modal-content p {
    margin-bottom: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Responsive Design ===== */
@media (max-width: 968px) {
    .nav-menu {
        display: none;
    }

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

    .hero-avatar-container {
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 3rem;
    }

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

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

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

    .section-title {
        font-size: 2rem;
    }

    .steps-container {
        gap: 32px;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .btn-large {
        padding: 16px 32px;
        font-size: 1rem;
    }

    .feature-card,
    .testimonial-card,
    .value-card {
        padding: 24px;
    }

    .modal-content {
        padding: 32px;
    }
}
