/* Geluidsanalyse App – landing page */

:root {
    --brown-dark: #3d2b1f;
    --brown-mid: #5c4033;
    --brown-badge: #6b4a38;
    --cream: #f4f1ea;
    --cream-card: #f9f7f2;
    --orange: #c68a47;
    --orange-light: #d9a066;
    --white: #ffffff;
    --text-dark: #2a2018;
    --text-muted: #5a4a3a;
    --shadow: 0 8px 32px rgba(61, 43, 31, 0.12);
    --radius: 16px;
    --radius-lg: 24px;
    --font: "Montserrat", system-ui, -apple-system, sans-serif;
    --container: min(1140px, 92vw);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--orange);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: var(--container);
    margin-inline: auto;
}

/* Section titles */
.section-title {
    margin: 0 0 3rem;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}

.section-title::before,
.section-title::after {
    content: "";
    flex: 1;
    max-width: 120px;
    height: 2px;
    background: var(--orange);
}

.section-title--dark {
    color: var(--text-dark);
}

.section {
    padding: 4.5rem 0;
}

.section--cream {
    background: var(--cream);
}

/* Hero */
.hero {
    position: relative;
    min-height: min(85vh, 680px);
    max-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
}

.hero__bg {
    position: absolute;
    inset: 0;
    background:
        url("../images/02_hero_section.png") center 15% / cover no-repeat,
        var(--brown-dark);
    z-index: 0;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(35, 24, 18, 0.88) 0%,
        rgba(45, 32, 24, 0.72) 45%,
        rgba(30, 22, 18, 0.35) 100%
    );
    z-index: 1;
}

.hero__inner {
    position: relative;
    z-index: 2;
    width: var(--container);
    margin-inline: auto;
    padding: 4rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero__title {
    margin: 0 0 0.75rem;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.1;
}

.hero__subtitle {
    margin: 0 0 1.25rem;
    font-size: clamp(1.1rem, 2.5vw, 1.45rem);
    font-weight: 600;
    color: var(--orange-light);
}

.hero__text {
    margin: 0 0 2rem;
    max-width: 32rem;
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    padding: 0.9rem 1.75rem;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 999px;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn--primary {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(198, 138, 71, 0.45);
}

.btn--primary:hover {
    background: var(--orange-light);
    transform: translateY(-2px);
    text-decoration: none;
}

/* Phone mockups */
.hero__phone {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 220px;
    padding: 10px;
    background: #1a1a1a;
    border-radius: 32px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.phone-mockup--record {
    width: 260px;
}

.phone-mockup--light {
    background: #e8e4df;
    width: 100%;
    max-width: 200px;
}

.phone-mockup--dark {
    background: #111;
    width: 100%;
    max-width: 200px;
}

.phone-mockup__screen {
    border-radius: 24px;
    overflow: hidden;
    min-height: 360px;
}

.phone-mockup--light .phone-mockup__screen,
.phone-mockup--dark .phone-mockup--record .phone-mockup__screen {
    min-height: auto;
}

.phone-mockup--record .phone-mockup__screen {
    background: #1c1816;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-mockup--light .phone-mockup__screen {
    background: var(--white);
    padding: 1rem 0.85rem;
    min-height: 280px;
}

.phone-mockup--dark .phone-mockup__screen {
    background: #1c1816;
    padding: 1rem 0.75rem;
    min-height: 280px;
}

/* Recording UI */
.record-ui {
    text-align: center;
    padding: 2rem 1rem;
    width: 100%;
}

.record-ui__wave {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    height: 80px;
    margin-bottom: 2rem;
}

.record-ui__wave span {
    width: 6px;
    background: var(--orange);
    border-radius: 3px;
    animation: wave 1.2s ease-in-out infinite;
}

.record-ui__wave span:nth-child(1) { height: 30%; animation-delay: 0s; }
.record-ui__wave span:nth-child(2) { height: 55%; animation-delay: 0.1s; }
.record-ui__wave span:nth-child(3) { height: 80%; animation-delay: 0.2s; }
.record-ui__wave span:nth-child(4) { height: 100%; animation-delay: 0.15s; }
.record-ui__wave span:nth-child(5) { height: 70%; animation-delay: 0.25s; }
.record-ui__wave span:nth-child(6) { height: 45%; animation-delay: 0.05s; }
.record-ui__wave span:nth-child(7) { height: 90%; animation-delay: 0.3s; }
.record-ui__wave span:nth-child(8) { height: 60%; animation-delay: 0.12s; }
.record-ui__wave span:nth-child(9) { height: 75%; animation-delay: 0.22s; }
.record-ui__wave span:nth-child(10) { height: 40%; animation-delay: 0.18s; }

@keyframes wave {
    0%, 100% { transform: scaleY(0.6); opacity: 0.7; }
    50% { transform: scaleY(1); opacity: 1; }
}

.record-ui__wave--sm {
    height: 50px;
    margin-bottom: 1rem;
}

.record-ui__mic {
    width: 88px;
    height: 88px;
    margin: 0 auto 1rem;
    border: none;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    box-shadow: 0 0 0 8px rgba(198, 138, 71, 0.25);
}

.record-ui__mic svg {
    width: 36px;
    height: 36px;
}

.record-ui__mic--sm {
    width: 64px;
    height: 64px;
}

.record-ui__mic--sm svg {
    width: 28px;
    height: 28px;
}

.record-ui__label,
.record-ui__timer {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
}

.record-ui__timer {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 0.25rem;
}

.record-ui__hint {
    margin: 0.5rem 0 0;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

/* App screens in steps */
.app-screen__heading {
    margin: 0 0 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-dark);
}

.app-screen__heading--sm {
    font-size: 0.65rem;
}

.app-screen__meta {
    margin: 0 0 0.5rem;
    font-size: 0.55rem;
    text-align: center;
    color: var(--text-muted);
}

.app-options {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.app-options li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.65rem;
    font-size: 0.65rem;
    font-weight: 600;
    background: var(--cream-card);
    border-radius: 10px;
    border: 1px solid #e5dfd6;
}

.app-options__icon {
    font-size: 0.85rem;
}

.gauge {
    position: relative;
    width: 100px;
    height: 56px;
    margin: 0 auto 0.75rem;
    overflow: hidden;
}

.gauge__arc {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 50px;
    border: 8px solid #e5dfd6;
    border-bottom: none;
    border-radius: 100px 100px 0 0;
}

.gauge__arc::after {
    content: "";
    position: absolute;
    inset: -8px;
    border: 8px solid var(--orange);
    border-bottom: none;
    border-radius: 100px 100px 0 0;
    clip-path: polygon(0 100%, 0 0, 72% 0, 72% 100%);
}

.gauge__value {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--orange);
}

.app-screen__sub {
    margin: 0 0 0.5rem;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text-dark);
}

.app-results {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.55rem;
    color: var(--text-muted);
}

.app-results li {
    padding: 0.35rem 0;
    border-bottom: 1px solid #eee8e0;
}

.app-results li:last-child {
    border-bottom: none;
}

/* Upload card step 3 */
.upload-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: var(--shadow);
    max-width: 200px;
    margin-inline: auto;
}

.upload-card__cloud svg {
    width: 56px;
    height: 42px;
    color: var(--brown-mid);
    margin-bottom: 0.75rem;
}

.upload-card__chart {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    height: 40px;
    margin-bottom: 1rem;
}

.upload-card__chart span {
    width: 8px;
    background: var(--orange);
    border-radius: 2px;
}

.upload-card__chart span:nth-child(1) { height: 40%; }
.upload-card__chart span:nth-child(2) { height: 70%; }
.upload-card__chart span:nth-child(3) { height: 100%; }
.upload-card__chart span:nth-child(4) { height: 55%; }
.upload-card__chart span:nth-child(5) { height: 80%; }

.upload-card__secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--brown-mid);
}

.upload-card__secure svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Steps grid */
.steps__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.step {
    position: relative;
    text-align: center;
}

.step__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.step__num {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--orange);
    color: var(--white);
    font-weight: 800;
    font-size: 1rem;
    border-radius: 50%;
}

.step__title {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.step__desc {
    margin: 0 0 1.25rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    min-height: 2.8em;
}

.step__visual {
    min-height: 300px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.step__arrow {
    display: none;
    position: absolute;
    right: -0.75rem;
    top: 42%;
    color: var(--orange);
    font-size: 1.25rem;
    font-weight: 700;
}

@media (min-width: 900px) {
    .step:not(.step--last) .step__arrow {
        display: block;
    }
}

/* Use case cards */
.use-cases__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.use-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.use-card__image-wrap {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.use-card__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 8%;
}

.use-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 48px;
    height: 48px;
    background: var(--brown-badge);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.use-card__badge svg {
    width: 24px;
    height: 24px;
}

.use-card__body {
    padding: 1.5rem 1.25rem 1.75rem;
    background: var(--cream-card);
}

.use-card__title {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.use-card__text {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Results section */
.results-wrap {
    padding-bottom: 5rem;
}

.results {
    background: var(--brown-dark);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem 3.5rem;
    color: var(--white);
    text-align: center;
    box-shadow: var(--shadow);
}

.results__title {
    margin: 0 0 2.5rem;
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.results__flow {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem 0.25rem;
}

.results__item {
    flex: 0 1 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.results__item p {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.4;
    max-width: 130px;
}

.results__icon {
    width: 64px;
    height: 64px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.results__icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
}

.results__arrow {
    color: var(--orange-light);
    font-size: 1.1rem;
    align-self: center;
    padding-top: 1.25rem;
    flex-shrink: 0;
}

.results__trust {
    margin-top: 2.5rem;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    padding: 0.65rem 1.25rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.results__trust svg {
    stroke: var(--orange-light);
    flex-shrink: 0;
}

.results__dot {
    opacity: 0.6;
}

/* Download */
.download {
    padding-top: 0;
    padding-bottom: 4rem;
}

.download__inner {
    text-align: center;
}

.download__text {
    margin: -1.5rem auto 2rem;
    max-width: 28rem;
    color: var(--text-muted);
}

.download__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.store-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.65rem 1.35rem;
    background: var(--brown-dark);
    color: var(--white);
    border-radius: 10px;
    text-decoration: none;
    min-width: 160px;
    transition: background 0.2s, transform 0.2s;
}

.store-badge:hover {
    background: var(--brown-mid);
    transform: translateY(-2px);
    text-decoration: none;
}

.store-badge__small {
    font-size: 0.65rem;
    opacity: 0.85;
}

.store-badge__large {
    font-size: 1.15rem;
    font-weight: 700;
}

/* Footer */
.footer {
    background: var(--brown-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 1.5rem 0;
    font-size: 0.85rem;
}

.footer__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.footer p {
    margin: 0;
}

.footer a {
    color: var(--orange-light);
}

.footer a:hover {
    color: var(--white);
}

/* Responsive */
@media (max-width: 1024px) {
    .steps__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .step__arrow {
        display: none !important;
    }

    .use-cases__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-inline: auto;
    }
}

@media (max-width: 768px) {
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 3rem 0;
    }

    .hero__text {
        margin-inline: auto;
    }

    .hero__phone {
        order: -1;
    }

    .phone-mockup--record {
        width: 220px;
    }

    .phone-mockup--record .phone-mockup__screen {
        min-height: 340px;
    }

    .steps__grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin-inline: auto;
    }

    .results__flow {
        flex-direction: column;
        align-items: center;
    }

    .results__arrow {
        transform: rotate(90deg);
        padding: 0;
    }

    .results__item {
        flex: none;
    }

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

@media (max-width: 480px) {
    .section {
        padding: 3rem 0;
    }

    .section-title::before,
    .section-title::after {
        max-width: 40px;
    }
}
