/* ─── RESET & ROOT ─────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #040D12;
    --secondary-color: #183D3D;
    --tertiary-color: rgba(92, 131, 116, 0.5);
    --accent-color: #93B1A6;
    --white-color: #FFFFFF;
    --action-color: #00C49A;
    --font-exo2: 'Exo 2', sans-serif;
    --font-merriweather: 'Merriweather Sans', sans-serif;
    --font-poppins: 'Poppins', sans-serif;
    --font-hansans: "Black Han Sans", sans-serif;
    --font-raleway: 'Raleway', sans-serif;
    --bg:           #040D12;
    --bg-raised:    #071519;
    --surface:      #0d2424;
    --surface-2:    #132e2e;
    --border:       rgba(147,177,166,0.12);
    --border-hover: rgba(147,177,166,0.28);
    --accent:       #93B1A6;
    --accent-dim:   rgba(147,177,166,0.18);
    --accent-glow:  rgba(147,177,166,0.08);
    --green:        #56c896;
    --green-dim:    rgba(86,200,150,0.15);
    --text-1:       #edf2f0;
    --text-2:       #8faaa0;
    --text-3:       #5a7a70;
    --radius-sm:    10px;
    --radius-md:    16px;
    --radius-lg:    24px;
    --radius-xl:    32px;
    --transition:   0.25s cubic-bezier(0.4,0,0.2,1);
    --font-head:    'Outfit', sans-serif;
    --font-body:    'DM Sans', sans-serif;
}

html, body {
    height: 100%;
    overflow: hidden;
    background-color: var(--primary-color);
    color: var(--white-color);
}

::selection {
    background: var(--secondary-color);
    color: var(--accent-color);
}

/* ─── NOISE GRAIN OVERLAY ──────────────────────────── */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

/* ─── SCROLLABLE WRAPPER ───────────────────────────── */
.scrollable-content {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    z-index: 50;
}

::-webkit-scrollbar {
    width: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--surface-2);
    border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* ─── FLOATING ICONS ───────────────────────────────── */
.icon-square {
    position: fixed;
    width: 68px;
    height: 68px;
    z-index: 10;
    rotate: 50deg;
    opacity: 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem;
}

.icon-square img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    -webkit-user-drag: none;
    user-select: none;
}

.plan-icon    { top: 25%; left: -100px; width: 58px; height: 58px; padding: 0.2rem; background-color: #a7c2b8; transition: all 1.3s ease; }
.book-icon    { top: 78%; left: -100px; width: 68px; height: 68px; padding: 0.2rem; background-color: #a1dcc8; rotate: -65deg; transition: all 1.1s ease-in-out; }
.brain-icon   { top: 52%; left: -100px; width: 68px; height: 68px; background-color: #597a70; rotate: -32deg; transition: all 1.6s ease; }
.pencil-icon  { top: 86%; right: -100px; background-color: #183d3e; width: 53px; height: 53px; rotate: -20deg; transition: all 1.5s ease-in-out; }
.calendar-icon { top: 24%; right: -100px; background-color: #528888; transition: all 1.3s ease-out; }
.statics-icon  { top: 54%; right: -100px; background-color: #54a6a6; width: 63px; height: 63px; rotate: 12deg; transition: all 0.9s ease-in-out; }

.icon-square.enter-plan     { left: 1.25rem; opacity: 1; }
.icon-square.enter-pencil   { right: 1rem;   opacity: 1; }
.icon-square.enter-book     { left: 2rem;    opacity: 1; }
.icon-square.enter-brain    { left: -0.6rem; opacity: 1; }
.icon-square.enter-calendar { right: -0.5rem; opacity: 1; }
.icon-square.enter-statics  { right: 2rem;   opacity: 1; }

/* ─── NAVBAR ───────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.1rem 1.5rem;
    pointer-events: none;
    transform: translateY(-100%);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar.visible {
    transform: translateY(0);
}

.nav-pill {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 10px;
    background: rgba(4, 13, 18, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(147, 177, 166, 0.18);
    border-radius: 999px;
    box-shadow: 0 2px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-brand {
    font-family: var(--font-hansans);
    font-weight: 400;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    background: linear-gradient(90deg, var(--accent-color), #c8e8d8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    padding: 5px 16px 5px 12px;
    white-space: nowrap;
    text-decoration: none;
    user-select: none;
}

.nav-divider {
    width: 1px;
    height: 16px;
    background: rgba(147, 177, 166, 0.2);
    margin: 0 4px;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-2);
    text-decoration: none;
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}

.nav-links a:hover { color: var(--text-1); background: var(--accent-glow); }

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bg);
    background: var(--accent);
    text-decoration: none;
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    margin-left: 1vw;
}
.btn-primary:hover {
    background: #b0ccc3;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(147,177,166,0.25);.
}
.btn-primary:active { transform: translateY(0) scale(0.98); }

/* ─── HAMBURGER (mobile) ───────────────────────────── */
/* Hidden on desktop — pill nav handles it */
/* hamburger */
.menu-btn {
    width: 44px;
    height: 44px;
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-btn span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 999px;
    transition:
            transform 0.3s ease,
            opacity 0.3s ease,
            width 0.3s ease;
}

/* Open state */
.menu-btn.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-btn.open span:nth-child(2) {
    opacity: 0;
}

.menu-btn.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hover effect */
.menu-btn:hover span {
    width: 28px;
}
.hamburger-menu {
    position: fixed;
    top: 5.5rem;
    /*left: 1rem;*/
    /*right: 1rem;*/
    background: var(--primary-color);
    max-width: calc(100% - 1.5rem) !important;
    min-width: calc(100% - 1.5rem) !important;
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-30px);
    transition:
            opacity 0.3s ease-in-out,
            transform 0.3s ease-in-out,
            visibility 0.3s ease-in-out;
}

.hamburger-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.hamburger-menu li a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-2);
    text-decoration: none;
    font-family: var(--font-body);
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}
.hamburger-menu li a:hover { color: var(--text-1); background: var(--accent-glow); }

/* SVG line animations */
.line { stroke: var(--accent-color); transition: all 0.3s ease; }
.line1.l1a { transform: rotate(45deg) translate(5px, 5px); }
.line2.l2a { opacity: 0; }
.line3.l3a { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── HERO ─────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(24, 61, 61, 0.35) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero > * { position: relative; z-index: 1; }

.hero-title {
    font-family: var(--font-hansans);
    font-size: clamp(3.5rem, 7.5vw, 9rem);
    font-weight: 400;
    letter-spacing: 0.06em;
    background: linear-gradient(135deg, var(--accent-color) 0%, #c9ded6 40%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    line-height: 1;
    margin-bottom: 0.15em;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.hero-sub {
    font-family: var(--font-merriweather);
    font-size: clamp(1.1rem, 2.5vw, 2rem);
    font-weight: 600;
    color: var(--white-color);
    margin-top: 1.5rem;
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.hero-body {
    font-family: var(--font-poppins);
    font-size: clamp(0.9rem, 1.3vw, 1.1rem);
    font-weight: 400;
    color: rgba(200, 210, 205, 0.65);
    max-width: 560px;
    line-height: 1.75rem;
    margin-top: 1.2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

/* ─── LIFEY PARENT + SECTION ───────────────────────── */
.lifey-parent {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 4rem 3vw;
}

.lifey-section {
    width: 100%;
    max-width: 1300px;
    background: rgba(11, 28, 28, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(147, 177, 166, 0.14);
    border-radius: 20px;
    padding: 3rem;
    min-height: min(calc(100vh - 8rem), 700px);
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr auto;
    gap: 1.5rem 3rem;
    position: relative;
    overflow: hidden;
}

.lifey-section::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 260px; height: 260px;
    background: radial-gradient(circle at top right, rgba(147, 177, 166, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.lifey-section .section-title-container {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.lifey-section .section-title-container h2 {
    font-family: var(--font-merriweather);
    font-size: clamp(2.5rem, 5.5vw, 5rem);
    font-weight: 800;
    color: var(--white-color);
    line-height: 1;
}

.lifey-section .section-title-container h3 {
    font-family: var(--font-merriweather);
    font-size: clamp(1.2rem, 2.8vw, 2.5rem);
    font-weight: 600;
    color: var(--accent-color);
    line-height: 1.2;
}

.lifey-section .section-paragraph {
    grid-column: 1;
    grid-row: 2;
    font-family: var(--font-poppins);
    font-size: clamp(0.9rem, 1.3vw, 1.1rem);
    font-weight: 400;
    color: rgba(220, 235, 228, 0.75);
    line-height: 1.85;
    align-self: center;
}

.lifey-section .preorder-d {
    grid-column: 2;
    grid-row: 3;
    align-self: end;
    justify-self: end;
}

/* ─── CTA BUTTON ───────────────────────────────────── */
.preorder-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-merriweather);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white-color);
    background: var(--secondary-color);
    border: 1px solid rgba(147, 177, 166, 0.25);
    border-radius: 10px;
    padding: 0.75rem 1.75rem;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
    white-space: nowrap;
    user-select: none;
}

.preorder-btn:hover {
    background: rgba(24, 61, 61, 0.9);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.preorder-btn svg { flex-shrink: 0; }

/* ─── FEATURES SECTION ─────────────────────────────── */
.features-section {
    min-height: 110vh;
    padding: 5vh 4rem 25vh 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.features-section .section-title-container {
    width: 100%;
    margin-bottom: 4rem;
    padding-left: 4vw;
}

.features-section .section-title-container h4 {
    font-family: var(--font-raleway);
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    font-weight: 900;
    color: var(--white-color);
    line-height: 1;
    position: relative;
    display: inline-block;
}

.features-section .section-title-container h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
}

.features-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 0;
}

/* ─── GLASS CARDS ──────────────────────────────────── */
.features-container .glass {
    position: relative;
    width: 20vw;
    height: 20vw;
    min-width: 160px;
    min-height: 160px;
    background: linear-gradient(160deg, rgba(24, 61, 61, 0.35) 0%, rgba(4, 13, 18, 0.2) 100%);
    border: 1px solid rgba(147, 177, 166, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), margin 0.4s ease;
    border-radius: 14px;
    margin: 0 -25px;
    backdrop-filter: blur(10px);
    transform: rotate(calc(var(--r) * 1deg));
    overflow: visible;
}

.features-container .glass img {
    width: 38%;
    height: 38%;
    object-fit: contain;
    margin-bottom: 1.5rem;
    -webkit-user-drag: none;
    user-select: none;
    opacity: 0.9;
}

.features-container .glass::before {
    content: attr(data-text);
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 22%;
    background: rgba(147, 177, 166, 0.06);
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-poppins);
    font-size: clamp(0.7rem, 1.25vw, 1rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: border-radius 0.3s ease;
    z-index: 1000;
}

.features-container .glass::after {
    content: attr(data-description);
    position: absolute;
    top: 97%;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    padding: 0 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgba(200, 220, 210, 0.85);
    font-size: clamp(0.62rem, 1vw, 0.82rem);
    font-family: var(--font-poppins);
    font-weight: 400;
    line-height: 1.55;
    border: 1px solid rgba(147, 177, 166, 0.12);
    border-top: none;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.34, 1.1, 0.64, 1),
    opacity 0.3s ease,
    padding 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

/* ─── FOOTER ───────────────────────────────────────── */
.footer {
    background: transparent;
    border-top: 1px solid rgba(147, 177, 166, 0.12);
    padding: 4rem 0 2.5rem 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.footer a{
    text-decoration: none;
}

.footer.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 15% 80%, rgba(24, 61, 61, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 85% 20%, rgba(24, 61, 40, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand { display: flex; flex-direction: column; gap: 1.2rem; }

.footer-logo {
    font-family: var(--font-hansans);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    background: linear-gradient(90deg, var(--accent-color), #c8e8d8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.footer-description {
    font-family: var(--font-poppins);
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(180, 200, 190, 0.55);
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: rgba(147, 177, 166, 0.07);
    border: 1px solid rgba(147, 177, 166, 0.16);
    border-radius: 50%;
    color: var(--accent-color);
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.social-link:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(147, 177, 166, 0.3);
}

.footer-column h4 {
    font-family: var(--font-merriweather);
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.4rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 24px; height: 1.5px;
    background: var(--accent-color);
    opacity: 0.6;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.7rem; }

.footer-links a {
    font-family: var(--font-poppins);
    color: rgba(170, 190, 182, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease, padding-left 0.2s ease-in-out;
    position: relative;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 4px;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.2s ease-in-out;
}

.footer-links a:hover::before {
    width: 8px;
}

/* Newsletter form layout */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.newsletter-input-row {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    min-width: 0;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(147, 177, 166, 0.25);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-family: var(--font-poppins, inherit);
    font-size: 0.85rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--accent-color, #93B1A6);
    background: rgba(255, 255, 255, 0.06);
}

.newsletter-input.error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.06);
}

.newsletter-input.success {
    border-color: #56c896;
    background: rgba(86, 200, 150, 0.06);
}

/* Button */
.newsletter-btn {
    position: relative;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    border: none;
    background: var(--accent-color, #93B1A6);
    color: #04141A;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.15s ease;
    white-space: nowrap;
}

.newsletter-btn:hover:not(:disabled) {
    background: #b0ccc3;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(147,177,166,0.25);
}

.newsletter-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.newsletter-btn .btn-spinner {
    display: none;
}

.newsletter-btn.loading .btn-label {
    visibility: hidden;
}

.newsletter-btn.loading .btn-spinner {
    display: block;
    position: absolute;
    inset: 0;
    margin: auto;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(4, 20, 26, 0.3);
    border-top-color: #04141A;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Inline status message */
.newsletter-msg {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.4;
    min-height: 1.1em;
    transition: opacity 0.2s ease;
}

.newsletter-msg:empty {
    opacity: 0;
}

.newsletter-msg.error {
    color: #ef4444;
}

.newsletter-msg.success {
    color: #56c896;
}

.newsletter-msg-mobile {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.4;
    min-height: 1.1em;
    transition: opacity 0.2s ease;
}

.newsletter-msg-mobile:empty {
    display: none;
    opacity: 0;
}

.newsletter-msg-mobile.error {
    color: #ef4444;
}

.newsletter-msg-mobile.success {
    color: #56c896;
}

/* Mobile: stack input and button if space is tight */
@media (max-width: 480px) {
    .newsletter-input-row {
        flex-direction: column;
    }
    .newsletter-btn {
        width: 100%;
    }
}
.footer-bottom {
    border-top: 1px solid rgba(147, 177, 166, 0.1);
    padding-top: 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    font-family: var(--font-poppins);
    color: rgba(147, 177, 166, 0.35);
    font-size: 0.82rem;
}

/* ─── FOOTER GRID STAGGERED ANIMATION ──────────────── */
.footer-grid > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.footer.animate-in .footer-grid > * { opacity: 1; transform: translateY(0); }
.footer.animate-in .footer-grid > *:nth-child(1) { transition-delay: 0.05s; }
.footer.animate-in .footer-grid > *:nth-child(2) { transition-delay: 0.15s; }
.footer.animate-in .footer-grid > *:nth-child(3) { transition-delay: 0.25s; }
.footer.animate-in .footer-grid > *:nth-child(4) { transition-delay: 0.35s; }

/* ─── KEYFRAMES ────────────────────────────────────── */
@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}