/* globaltonecare.com - Frutiger Aero Acoustic Wellness */

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

:root {
    --aero: #7EC8E3;
    --deep: #0A2540;
    --cloud: #F0F6FA;
    --cyan: #00B4D8;
    --amber: #F4A261;
    --whisper: #C4D1DC;
    --sage: #7BAE7F;
    --wave-ease: cubic-bezier(0.37, 0, 0.63, 1);
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--deep);
    background: var(--cloud);
    overflow-x: hidden;
    line-height: 1.7;
}

/* Waveform Spine */
.waveform-spine {
    position: fixed;
    left: 30px;
    top: 0;
    width: 60px;
    height: 100vh;
    z-index: 50;
    pointer-events: none;
}

/* Nav Pill */
.nav-pill {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 100;
    padding: 8px 20px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 40px;
}

.nav-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--deep);
}

/* Pulse Node */
.pulse-node {
    position: absolute;
    left: 56px;
    top: 50%;
    width: 8px;
    height: 8px;
    background: var(--cyan);
    border-radius: 50%;
    z-index: 60;
}

.pulse-ring {
    position: absolute;
    inset: -8px;
    border: 1px solid var(--cyan);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(2); opacity: 0; }
}

/* Sections */
.frequency {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 120px 80px 100px;
    overflow: hidden;
}

.freq-dark {
    background: var(--deep);
    color: var(--cloud);
}

.freq-gradient {
    background: linear-gradient(to bottom, var(--deep) 0%, var(--cloud) 100%);
}

.freq-light {
    background: var(--cloud);
}

/* Hero */
.hero-wave {
    position: absolute;
    width: 100%;
    height: 200px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
}

.hero-headline {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: clamp(2.8rem, 6vw, 7rem);
    letter-spacing: -0.02em;
    line-height: 1.05;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1.2s var(--wave-ease) 1s forwards;
}

.hero-body {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.7;
    margin-top: 24px;
    opacity: 0;
    animation: fadeUp 1s var(--wave-ease) 1.6s forwards;
    color: var(--whisper);
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Spectrum Bars */
.spectrum-bars {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
    height: 200px;
    margin-bottom: 60px;
    width: 100%;
    max-width: 600px;
}

.bar {
    width: 16px;
    height: var(--h, 50%);
    background: var(--aero);
    border-radius: 4px 4px 0 0;
    animation: barBounce 1.2s ease-in-out infinite alternate;
    animation-delay: var(--d, 0s);
    opacity: 0.7;
}

@keyframes barBounce {
    0% { transform: scaleY(0.4); }
    100% { transform: scaleY(1); }
}

/* Spread Layout */
.spread-layout {
    display: flex;
    gap: 64px;
    max-width: 1100px;
    width: 100%;
    align-items: center;
}

.spread-layout.reverse {
    flex-direction: row-reverse;
}

.spread-left, .spread-right {
    flex: 1;
}

.pull-quote {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: clamp(1.6rem, 3vw, 3.2rem);
    line-height: 1.2;
    color: var(--cloud);
    border-left: 3px solid var(--cyan);
    padding-left: 24px;
}

.section-heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: clamp(1.6rem, 3vw, 3.2rem);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: 0;
}

.body-text {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.7;
    color: var(--deep);
    margin-bottom: 16px;
    letter-spacing: 0.005em;
}

.freq-gradient .body-text {
    color: var(--deep);
}

/* Aero Cards */
.aero-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, transparent 50%), rgba(255,255,255,0.6);
    backdrop-filter: blur(16px) saturate(1.6);
    -webkit-backdrop-filter: blur(16px) saturate(1.6);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(10, 37, 64, 0.12);
    padding: 32px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 600ms var(--wave-ease), transform 600ms var(--wave-ease);
    transition-delay: var(--delay, 0ms);
}

.aero-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.data-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    color: var(--aero);
    display: block;
    margin-bottom: 8px;
}

.data-value {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--deep);
    display: block;
    line-height: 1;
}

.data-unit {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    color: var(--whisper);
    letter-spacing: 0.06em;
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 800ms var(--wave-ease), transform 800ms var(--wave-ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Concentric Pulse */
.concentric-pulse {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.c-ring {
    position: absolute;
    inset: 0;
    border: 1px solid var(--cyan);
    border-radius: 50%;
    animation: concentricExpand 3s ease-in-out infinite;
    animation-delay: calc(var(--n) * 0.15s);
}

@keyframes concentricExpand {
    0% { transform: scale(0.2); opacity: 0.8; }
    100% { transform: scale(1.2); opacity: 0; }
}

/* Ear SVG */
.ear-decoration {
    margin-top: 24px;
    opacity: 0.5;
}

.ear-svg {
    width: 80px;
    height: 110px;
}

.draw-path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawLine 2s ease forwards;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

/* EQ Bars */
.eq-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 60px;
    justify-content: center;
}

.eq-bar {
    width: 6px;
    height: 40px;
    background: var(--aero);
    border-radius: 3px;
    animation: eqBounce var(--speed, 0.5s) ease-in-out infinite alternate;
}

@keyframes eqBounce {
    0% { transform: scaleY(0.3); }
    100% { transform: scaleY(1); }
}

/* Final CTA */
.cta-pill {
    display: inline-block;
    margin-top: 40px;
    padding: 14px 40px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--cloud);
    text-decoration: none;
    border: 1px solid rgba(126, 200, 227, 0.3);
    border-radius: 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255,255,255,0.08);
    transition: background 400ms ease, border-color 400ms ease;
}

.cta-pill:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--cyan);
}

.final-headline {
    font-size: clamp(2rem, 4vw, 4rem);
}

/* Responsive */
@media (max-width: 768px) {
    .frequency {
        padding: 60px 24px 60px 24px;
    }

    .spread-layout,
    .spread-layout.reverse {
        flex-direction: column;
        gap: 32px;
    }

    .waveform-spine {
        display: none;
    }

    .pulse-node {
        display: none;
    }

    .nav-pill {
        top: 12px;
        right: 12px;
    }

    .concentric-pulse {
        width: 200px;
        height: 200px;
    }

    .spectrum-bars {
        height: 120px;
    }
}
