:root {
    --elaro-blue: #007AFF;
    --elaro-black: #000000;
    --elaro-white: #FFFFFF;
    
    /* Font variables */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Satoshi', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* --- Final, Final Gradient & Footer Perfection --- */

/* This gradient is now purely for visual effect, fading the page out gently. */
body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400; /* Regular for body text */
    color: var(--elaro-black);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* NEW GRADIENT: A very subtle fade from white to a light blue tint. */
    background: linear-gradient(
        to bottom,
        var(--elaro-white) 90%,
        #e6f2ff 100% /* A very light, static blue tint */
    );
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.site-header {
    padding: 20px 0;
    background-color: var(--elaro-white);
}

.wordmark {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600; /* Medium/Semibold for brand name */
    color: var(--elaro-blue);
    margin: 0;
}

/* Main element for multi-section layout */
main {
    flex-grow: 1;
    display: block;
}

/* Feature Section Styles */
.feature-section {
    width: 100%;
    padding: 80px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

/* Fade-in from right (sections 1 and 3) */
.feature-section.fade-in-right {
    transform: translateX(20px);
}

/* Fade-in from left (sections 2 and 4) */
.feature-section.fade-in-left {
    transform: translateX(-20px);
}

/* Visible state - triggered by Intersection Observer */
.feature-section.visible {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.section-container {
    text-align: center;
}

.section-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.section-headline {
    font-family: var(--font-heading);
    font-size: 3.5vw;
    max-font-size: 56px;
    font-weight: 600;
    margin: 0;
    line-height: 1.1;
}

.section-text {
    font-family: var(--font-heading);
    font-size: 3.5vw;
    max-font-size: 56px;
    font-weight: 600;
    color: var(--elaro-blue);
    margin: 0;
    line-height: 1.1;
}

.section-image-wrapper {
    margin-top: 40px;
    position: relative;
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    overflow: hidden;
}

.section-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.feature-section-finale {
    padding-bottom: 150px;
}

.feature-section-finale .cta-button {
    margin-top: 40px;
}

/* Reducing the CTA button's top margin. */
.cta-button {
    display: inline-block;
    margin-top: 30px; /* Reduced from 40px */
    padding: 15px 35px;
    background-color: var(--elaro-blue);
    color: var(--elaro-white);
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700; /* Bold for emphasis */
    text-decoration: none;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
}

/* The footer now has its own solid background again, guaranteeing crisp text. */
.site-footer {
    background: linear-gradient(to bottom, transparent, var(--elaro-blue) 50%); /* Replace background-color */
    color: var(--elaro-white);
    padding: 40px 0;
    position: relative;
    z-index: 10;
}

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

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.copyright p {
    margin: 0;
    font-size: 14px;
    color: var(--elaro-white);
    opacity: 0.9;
}

.wordmark-footer {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600; /* Medium/Semibold for brand name */
    margin: 0;
    color: var(--elaro-white);
}

.footer-links a {
    font-family: var(--font-body);
    color: var(--elaro-white);
    text-decoration: none;
    margin-left: 30px;
    font-size: 16px;
    font-weight: 500; /* Medium for navigation */
    /* POLISH: Add transition for smooth color change */
    transition: color 0.3s ease;
}

.footer-links a:hover {
    /* POLISH: Change color on hover */
    color: rgba(255, 255, 255, 0.7);
}

.wordmark-link {
    text-decoration: none;
}

/* Coming Soon Page Styles */
.coming-soon-container {
    text-align: center;
}

/* Legal Content Styles */
.legal-container {
    font-family: var(--font-body);
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    line-height: 1.6;
    color: #333;
}

.legal-container h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600; /* Medium/Semibold */
    color: var(--elaro-blue);
    margin-bottom: 20px;
    text-align: center;
}

.legal-container h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600; /* Medium/Semibold */
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-container h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-container p {
    font-family: var(--font-body);
    font-weight: 400; /* Regular */
    margin-bottom: 15px;
    font-size: 1rem;
}

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

.legal-container li {
    margin-bottom: 8px;
}

.legal-container hr {
    border: none;
    border-top: 2px solid #e0e0e0;
    margin: 30px 0;
}

.legal-container a {
    color: var(--elaro-blue);
    text-decoration: none;
}

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

.legal-container strong {
    font-weight: 600;
}
.coming-soon-container h1 {
    font-family: var(--font-heading);
    font-size: 5vw;
    max-font-size: 50px;
    font-weight: 600; /* Medium/Semibold */
    margin: 0;
    line-height: 1.3;
}
.brand-blue {
    font-family: var(--font-heading);
    color: var(--elaro-blue);
    font-weight: 600;
}
.coming-soon-container p {
    font-family: var(--font-body);
    font-size: 2.5vw;
    max-font-size: 22px;
    font-weight: 400; /* Regular */
    margin-top: 15px;
    line-height: 1.6;
    color: #333;
}


/* Content Page Styles */
.content-page-wrapper {
    font-family: var(--font-body);
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 102, 204, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 102, 204, 0.03) 0%, transparent 50%);
}

.content-page-wrapper h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600; /* Medium/Semibold */
    color: var(--elaro-blue);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.content-page-wrapper h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600; /* Medium/Semibold */
    color: var(--elaro-black);
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.content-page-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--elaro-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.content-page-wrapper h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--elaro-black);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.content-page-wrapper p {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400; /* Regular */
    color: #333;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.content-page-wrapper section {
    margin-bottom: 4rem;
}

.content-page-wrapper section::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--elaro-blue);
    margin: 3rem auto 0;
    border-radius: 2px;
}

.content-page-wrapper section:last-child::after {
    display: none;
}

.content-page-wrapper .step {
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    counter-increment: step-counter;
}

.content-page-wrapper .step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.1);
}

.content-page-wrapper .plan {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-page-wrapper .plan:nth-child(1) {
    background: linear-gradient(135deg, #fffbf0 0%, #ffffff 100%);
}

.content-page-wrapper .plan:nth-child(2) {
    background: linear-gradient(135deg, #f0fff4 0%, #ffffff 100%);
}

.content-page-wrapper .plan:nth-child(3) {
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
}

.content-page-wrapper .plan:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.1);
}

.content-page-wrapper section:last-child {
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 4rem;
}

.content-page-wrapper hr {
    border: none;
    height: 1px;
    background-color: #e0e0e0;
    margin: 2rem 0;
}

.content-page-wrapper strong {
    font-weight: 700;
    color: var(--elaro-black);
}

.content-page-wrapper em {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 400; /* Regular Italic for quotes */
    color: #666;
}

.content-page-wrapper .subtitle {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 400;
    color: #666;
    font-style: italic;
}

/* Mobile Media Query */
@media (max-width: 768px) {
    .feature-section {
        padding: 60px 0;
        min-height: 50vh;
    }
    
    .section-container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .section-headline {
        font-size: 1.7rem;
    }
    
    .section-text {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    
    .section-image-wrapper {
        height: 220px;
        margin-top: 30px;
    }
    
    .feature-section-finale {
        padding-bottom: 100px;
    }
    
    .cta-button {
        margin-top: 40px;
        align-self: center;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 20px;
    }
    
    .footer-links a {
        margin-left: 0;
    }
    
    /* Mobile styles for content page */
    .content-page-wrapper {
        padding: 40px 15px;
    }
    
    .content-page-wrapper h1 {
        font-size: 2rem;
    }
    
    .content-page-wrapper h2 {
        font-size: 1.5rem;
    }
    
    .content-page-wrapper h3 {
        font-size: 1.2rem;
    }
    
    .content-page-wrapper h4 {
        font-size: 1.1rem;
    }
    
    .content-page-wrapper .step,
    .content-page-wrapper .plan {
        padding: 1.5rem;
        margin-left: -15px;
        margin-right: -15px;
        border-radius: 0;
    }
}