:root {
    --bg-color: #f5f5ed;
    --primary-color: #ffa44a;
    --dropdown-border: #fd8f20;
    --text-color: #333;
    --border-color: #e0e0d6;
}
body {
    font-family: Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
}
.main-header {
    padding: 1rem 2rem;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}
.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    flex-grow: 1;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    padding: 0.5rem 0;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: var(--primary-color);
}
.login-button {
    margin-left: auto;
    background-color: var(--primary-color);
    color: #333;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}
.login-button:hover {
    background-color: var(--dropdown-border);
}
.logo {
    color: #333;
    font-family: 'Fascinate', sans-serif;
    font-size: x-large;
}

/* Other sections... */
.halftone-background { background-color: var(--bg-color); background-image: radial-gradient(rgba(51, 51, 51, 0.2) 1.5px, transparent 1.5px); background-size: 11px 11px; mask-image: linear-gradient(to bottom, black 60%, transparent 100%); }
@font-face { font-family: 'Notera'; src: url('../fonts/notera-font/Notera2PersonalUseOnlyMedium-EzB9.ttf') format('truetype'); font-weight: normal; font-style: normal; }
@font-face { font-family: 'Fascinate'; src: url('../fonts/Fascinate/Fascinate-Regular.ttf') format('truetype'); font-weight: normal; font-style: normal; }
.hero-section { text-align: center; padding: 4rem 2rem; }
.hero-content h1 { font-size: 3rem; margin-bottom: 1rem; }
.hero-content p { font-size: 1.1rem; max-width: 600px; margin: 0 auto 2rem auto; color: #555; }
.cta-button { background-color: var(--primary-color); color: white; border: none; padding: 0.8rem 1.8rem; border-radius: 8px; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: background-color 0.2s; }
.cta-button:hover { background-color: var(--dropdown-border); }
.swiggly-lines-container { margin-top: 4rem; opacity: 0.8; }
.line-svg { overflow: visible; }
.swiggly-line { stroke-dasharray: 1500; stroke-dashoffset: 1500; animation: draw-line 10s ease-in-out infinite; stroke-width: 3; fill: none; }
.line-1, .line-3 { stroke: var(--primary-color); animation-duration: 7s; }
.line-2, .line-4 { stroke: var(--text-color); animation-duration: 9s; }
@keyframes draw-line { to { stroke-dashoffset: 0; } }
.line-text { font-family: 'Notera', sans-serif; font-size: 1.8rem; fill: var(--text-color); }
.modal-overlay, .modal-content, .close-button, .modal-content h2, .modal-content p, .auth-providers, .provider-button, .provider-button img, .provider-button:hover, .feature-section, .animated-section, .animated-section.visible, .feature-section h2 {
    /* All other styles from your file */
}
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); backdrop-filter: blur(5px); display: flex; justify-content: center; align-items: center; z-index: 1000; opacity: 1; transition: opacity 0.3s ease; }
.modal-overlay.hidden { opacity: 0; pointer-events: none; }
.modal-content { background-color: #ffffff; color: #333; padding: 2rem 3rem; border-radius: 12px; text-align: center; position: relative; max-width: 450px; width: 90%; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15); }
.close-button { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 1.8rem; cursor: pointer; color: #999; transition: color 0.3s ease; }
.close-button:hover { color: #333; }
.modal-content h2 { font-family: 'Roboto', sans-serif; color: #333; font-size: 2rem; font-weight: 700; margin-top: 0; margin-bottom: 0.5rem; }
.modal-content p { color: #666; margin-bottom: 2rem; }
.auth-providers { display: flex; flex-direction: column; gap: 1rem; }
.provider-button { padding: 0.8rem 1rem; border-radius: 50px; border: 1px solid #e0e0e0; background-color: #f5f5ed; color: #333; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.2s ease; display: flex; justify-content: center; align-items: center; }
.provider-button img { height: 24px; margin-right: 12px; }
.provider-button:hover { border-color: #ccc; background-color: #e9e9e2; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.feature-section { max-width: 800px; margin: 4rem auto; padding: 2rem; text-align: center; background-color: #fff; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.animated-section { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.animated-section.visible { opacity: 1; transform: translateY(0); }
.feature-section h2 { font-size: 2rem; margin-bottom: 1rem; }

/* --- NEW RESPONSIVE STYLES FOR TWO-TIERED LAYOUT --- */
@media (max-width: 768px) {
    .main-header {
        padding: 1rem;
    }
    .navbar {
        display: grid;
        grid-template-columns: 1fr auto; /* Column 1 for logo, Column 2 for button */
        grid-template-rows: auto auto;    /* Row 1 for top bar, Row 2 for links */
        align-items: center;
        gap: 1.5rem 0; /* Add space between the two rows */
    }
    .logo {
        grid-row: 1 / 2;
        grid-column: 1 / 2;
    }
    .login-button {
        grid-row: 1 / 2;
        grid-column: 2 / 3;
        justify-self: end; /* Align to the far right */
        margin-left: 0;
        width: auto; /* Reset width */
    }
    .nav-links {
        grid-row: 2 / 3;
        grid-column: 1 / -1; /* Span the full width */
        flex-direction: row;
        flex-wrap: wrap; /* Allow links to wrap to the next line if needed */
        justify-content: center;
        gap: 0.5rem 1.5rem; /* Vertical and horizontal gap for links */
        padding: 0;
    }
    .hero-section {
        padding: 2rem 1rem;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
}