/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --midnight: #002c3d;
    --mist: #f7f8f6;
    --harbor: #03506f;
    --scarlet: #d81f29;
    --garnet: #a42322;
    --honey: #faaf43;
    --jade: #2f885a;
    --seafoam: #7abdc4;
    --glacier: #bad8dc;
    --heading-font: "greycliff-cf", "Greycliff CF", "Source Sans 3", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "open-sans", sans-serif;
    color: var(--midnight);
    background: var(--mist);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
}

/* === Hero Section === */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center right;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.5) 40%,
            rgba(0, 0, 0, 0.15) 70%,
            rgba(0, 0, 0, 0.05) 100%
    );
    z-index: 1;
}

/* === Navbar === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 50px;
    background-color: transparent;
    transition: background-color 0.3s ease, padding 0.3s ease;
    box-sizing: border-box;
}

.navbar.scrolled {
    background-color: var(--midnight);
    padding-top: 15px;
    padding-bottom: 15px;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 0.8;
}

.nav-buttons {
    display: flex;
    gap: 12px;
}

.btn-demo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--scarlet);
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 999px;
    letter-spacing: 0.04em;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.btn-demo:hover {
    background: #de2832;
    transform: scale(1.03);
}

.btn-login {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 10px 22px;
    border: 2px solid #fff;
    border-radius: 999px;
    letter-spacing: 0.04em;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.btn-login:hover {
    background: #fff;
    color: var(--midnight);
    transform: scale(1.03);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 20;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* === Hero Content === */
.hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 50px 0 100px;
    max-width: 60%;
}

.hero-content h1 {
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-light {
    display: block;
    font-size: 4.6rem;
    font-weight: 400;
}

.hero-bold {
    display: block;
    font-size: 5.2rem;
    font-weight: 700;
}

.hero-sub {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 35px;
    opacity: 0.9;
}

.btn-learn-more {
    display: inline-block;
    background: var(--scarlet);
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    padding: 20px 50px;
    border-radius: 40px;
    letter-spacing: 0.04em;
    width: fit-content;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: background 0.2s, transform 0.2s;
}

.btn-learn-more:hover {
    background: #de2832;
    transform: scale(1.03);
}

/* === Responsive === */
@media (max-width: 1000px) {
    .hamburger {
        display: flex;
    }

    .nav-right {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--midnight);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 30px;
        gap: 30px;
        transition: right 0.3s ease;
    }

    .nav-right.open {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .nav-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-demo,
    .btn-login {
        text-align: center;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}

@media (max-width: 800px) {
    .navbar {
        padding: 20px 30px;
    }

    .navbar.scrolled {
        padding: 12px 30px;
    }

    .hero-content {
        padding: 0 30px;
    }

    .hero-light {
        font-size: 2.2rem;
    }

    .hero-bold {
        font-size: 2.6rem;
    }

    .btn-learn-more {
        font-size: 1.1rem;
        padding: 14px 32px;
        white-space: nowrap;
    }
}

@media (max-width: 600px) {
    .navbar {
        padding: 15px 20px;
    }

    .navbar.scrolled {
        padding: 10px 20px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-light {
        font-size: 1.8rem;
    }

    .hero-bold {
        font-size: 2.1rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .hero-overlay {
        background: rgba(0, 0, 0, 0.5);
    }
}

/* =========================================
   Section 1 — Less Chaos. More Clarity.
   ========================================= */
.section-one {
    background: var(--mist);
    padding: 120px 30px 130px 60px;
}

.section-one-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* --- Left Column --- */
.s1-left {
    flex: 0 1 45%;
    min-width: 0;
}

.s1-heading {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--midnight);
    line-height: 1.15;
    margin-bottom: 30px;
}

.s1-subtext {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--midnight);
    opacity: 0.85;
    margin-bottom: 20px;
}

.s1-goal {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--midnight);
    font-weight: 600;
    margin-bottom: 45px;
}

/* Review Card */
.s1-review-wrapper {
    overflow: hidden;
    margin-bottom: 45px;
    display: flex;
}

.s1-review-card {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: #fff;
    border-radius: 16px;
    padding: 32px 36px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transform: translateX(0);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.s1-review-card.slide-out {
    transform: translateX(-110%);
    opacity: 0;
}

.s1-review-card.slide-in-start {
    transform: translateX(-110%);
    opacity: 0;
    transition: none;
}

.s1-review-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    margin-top: 2px;
}

.s1-review-text {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.s1-review-quote {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--midnight);
    margin-bottom: 14px;
    font-style: italic;
    flex: 1;
}

.s1-review-quote::before {
    content: "\201C";
    font-weight: 700;
}

.s1-review-quote::after {
    content: "\201D";
    font-weight: 700;
}

.s1-review-author {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--midnight);
}

/* Schedule a Demo Button */
.btn-schedule-demo {
    display: inline-block;
    background: var(--scarlet);
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 999px;
    letter-spacing: 0.04em;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 5px 10px rgba(154, 160, 185, .4);
}

.btn-schedule-demo:hover {
    background: #de2832;
    transform: scale(1.03);
}

/* --- Right Column: Circle Diagram --- */
.s1-right {
    flex: 0 1 55%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.s1-circle-diagram {
    position: relative;
    width: 580px;
    height: 580px;
    max-width: 100%;
    aspect-ratio: 1;
    margin: 0 auto;
}

.s1-center-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: auto;
    pointer-events: none;
    z-index: 1;
}

.s1-arrows-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Person icons positioned radially */
.s1-person {
    --angle: 0deg;
    --radius: 250px;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    z-index: 2;
    overflow: visible;
    transform:
            translate(-50%, -50%)
            rotate(var(--angle))
            translateY(calc(-1 * var(--radius)))
            rotate(calc(-1 * var(--angle)));
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.4s ease;
}

.s1-person img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: filter 0.4s ease, transform 0.4s ease;
}

/* Active / glow state */
.s1-person.active img {
    filter: drop-shadow(0 0 10px rgba(122, 189, 196, 0.8))
    drop-shadow(0 0 20px rgba(122, 189, 196, 0.4));
    transform: scale(1.18);
}

.s1-person:hover img {
    transform: scale(1.1);
}

.s1-person.active:hover img {
    transform: scale(1.18);
}

/* --- Section 1 Responsive --- */
@media (max-width: 1100px) {
    .s1-circle-diagram {
        width: 470px;
        height: 470px;
    }

    .s1-person {
        --radius: 200px;
        width: 85px;
        height: 85px;
    }

    .s1-center-icon {
        width: 65px;
    }

}

@media (max-width: 900px) {
    .section-one {
        padding: 60px 30px;
    }

    .section-one-inner {
        flex-direction: column;
        gap: 50px;
    }

    .s1-left {
        flex: none;
        width: 100%;
    }

    .s1-right {
        flex: none;
        width: 100%;
    }

    .s1-heading {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .section-one {
        padding: 45px 20px;
    }

    .s1-heading {
        font-size: 1.8rem;
    }

    .s1-circle-diagram {
        width: 360px;
        height: 360px;
    }

    .s1-person {
        --radius: 150px;
        width: 68px;
        height: 68px;
    }

    .s1-center-icon {
        width: 50px;
    }

    .s1-review-card {
        padding: 18px 20px;
        gap: 14px;
    }

    .s1-review-avatar {
        width: 44px;
        height: 44px;
    }

    .btn-schedule-demo {
        font-size: 0.9rem;
        padding: 14px 32px;
    }
}

/* =========================================
   Section 2 — Why StoneSpot?
   ========================================= */
.section-two {
    background: var(--midnight);
    padding: 80px 60px 90px;
}

.s2-heading {
    text-align: center;
    color: #fff;
    font-size: 3.5rem;
    font-weight: 500;
    margin-bottom: 60px;
}

.s2-columns {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    grid-template-rows: auto auto 1fr auto;
}

.s2-col {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 4;
    justify-items: start;
    text-align: left;
    padding: 0 30px;
}

.s2-icon {
    height: 80px;
    width: auto;
    margin-bottom: 20px;
    justify-self: center;
}

.s2-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
    grid-row: span 4;
}

.s2-title {
    color: #fff;
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 18px;
    text-align: center;
    justify-self: center;
}

.s2-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.s2-learn-more {
    display: inline-block;
    background: var(--scarlet);
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 36px;
    align-self: end;
    border-radius: 999px;
    letter-spacing: 0.04em;
    transition: background 0.2s, transform 0.2s;
}

.s2-learn-more:hover {
    background: #de2832;
    transform: scale(1.03);
}

/* --- Section 2 Responsive --- */
@media (max-width: 1200px) {
    .s2-heading {
        font-size: 2.6rem;
    }

    .s2-columns {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto 1fr auto 40px auto auto 1fr auto;
        gap: 0 40px;
    }

    .s2-col {
        padding: 0 20px;
    }

    .s2-col:nth-child(-n+4) {
        grid-row: 1 / span 4;
    }

    .s2-col:nth-child(n+5) {
        grid-row: 6 / span 4;
    }

    .s2-divider {
        display: none;
    }
}

@media (max-width: 600px) {
    .section-two {
        padding: 50px 20px 60px;
    }

    .s2-heading {
        font-size: 2rem;
    }

    .s2-columns {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 40px;
    }

    .s2-col,
    .s2-col:nth-child(-n+4),
    .s2-col:nth-child(n+5) {
        grid-row: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    .s2-text {
        flex: 1;
    }

    .s2-learn-more {
        margin-top: auto;
        align-self: auto;
    }
}

/* =========================================
   Section 3 — What our Users are Saying
   ========================================= */
.section-three {
    background: #fff;
    padding: 80px 60px 90px;
    border-top: 1px solid #e0e0e0;
}

.s3-heading {
    text-align: center;
    color: var(--scarlet);
    font-size: 2.8rem;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 50px;
}

.s3-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
    gap: 40px;
}

.s3-arrow {
    background: none;
    border: none;
    font-size: 3.5rem;
    color: #999;
    cursor: pointer;
    padding: 10px;
    line-height: 1;
    transition: color 0.2s;
    flex-shrink: 0;
    user-select: none;
}

.s3-arrow:hover {
    color: var(--midnight);
}

.s3-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transform: translateX(0);
    opacity: 1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.s3-photo-wrapper {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--glacier);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
}

.s3-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.s3-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
}

.s3-stars span {
    color: var(--honey);
    font-size: 1.6rem;
}

.s3-quote {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--midnight);
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 14px;
}

.s3-author {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--midnight);
    opacity: 0.75;
}

.s3-read-all {
    display: block;
    text-align: center;
    margin-top: 40px;
    color: var(--scarlet);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s, transform 0.2s;
}

.s3-read-all:hover {
    color: #de2832;
    transform: scale(1.06);
}

/* Section 3 slide transitions */
.s3-slide.slide-out-left {
    transform: translateX(-120%);
    opacity: 0;
}

.s3-slide.slide-in-right-start {
    transform: translateX(120%);
    opacity: 0;
    transition: none;
}

.s3-slide.slide-out-right {
    transform: translateX(120%);
    opacity: 0;
}

.s3-slide.slide-in-left-start {
    transform: translateX(-120%);
    opacity: 0;
    transition: none;
}

/* --- Section 3 Responsive --- */
@media (max-width: 800px) {
    .section-three {
        padding: 60px 30px 70px;
    }

    .s3-heading {
        font-size: 2.2rem;
    }

    .s3-carousel {
        gap: 20px;
    }

    .s3-arrow {
        font-size: 2.5rem;
    }

    .s3-photo-wrapper {
        width: 130px;
        height: 130px;
    }

    .s3-quote {
        font-size: 1.05rem;
    }
}

@media (max-width: 600px) {
    .section-three {
        padding: 45px 20px 55px;
    }

    .s3-heading {
        font-size: 1.8rem;
    }

    .s3-carousel {
        gap: 12px;
    }

    .s3-arrow {
        font-size: 2rem;
    }

    .s3-photo-wrapper {
        width: 110px;
        height: 110px;
    }

    .s3-quote {
        font-size: 0.95rem;
    }
}

/* =========================================
   Section 4 — Trusted Across North America
   ========================================= */
.section-four {
    background: var(--mist);
    padding: 90px 60px 150px;
    overflow: hidden;
}

.section-four-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0;
}

.s4-left {
    flex: 0 0 38%;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.s4-heading {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--midnight);
    line-height: 1.15;
    margin-bottom: 24px;
}

.s4-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--midnight);
    opacity: 0.85;
    margin-bottom: 20px;
}

.s4-left .btn-schedule-demo {
    margin-top: 16px;
}

.s4-right {
    flex: 1 1 62%;
    min-width: 0;
    /* Bleeds the map toward the viewport edge while always keeping ~30px of breathing room.
       On wide screens it caps at the original -100px bleed; on narrower screens the
       negative margin shrinks so the map never touches (or overflows) the viewport edge. */
    margin-right: clamp(-100px, calc((1400px - 100vw) / 2 + 30px), -30px);
    margin-left: 40px;
    display: flex;
    align-items: center;
}

.s4-map {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Section 4 Responsive --- */
@media (max-width: 900px) {
    .section-four {
        padding: 60px 30px;
    }

    .section-four-inner {
        flex-direction: column;
        gap: 40px;
    }

    .s4-left {
        flex: none;
        width: 100%;
    }

    .s4-right {
        flex: none;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .s4-heading {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .section-four {
        padding: 45px 20px;
    }

    .s4-heading {
        font-size: 1.8rem;
    }

    .s4-left .btn-schedule-demo {
        font-size: 0.9rem;
        padding: 14px 32px;
    }
}

/* =========================================
   Section 5 — Explore Features
   ========================================= */
#features,
#reviews {
    scroll-margin-top: 70px;
}

.section-features {
    background: #fff;
    padding: 80px 60px 0;
}

.sf-heading {
    text-align: center;
    color: var(--midnight);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 50px;
}

/* --- Tab Bar --- */
.sf-tabs {
    display: flex;
    margin: 0 -60px;
    background: var(--harbor);
    padding: 0 10%;
}

.sf-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    padding: 14px 24px;
    transition: background-color 0.3s;
    flex: 1;
    background: transparent;
    position: relative;
}

.sf-tab::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%) scaleY(0);
    transform-origin: top center;
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 12px solid var(--seafoam);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
}

.sf-tab.active::after {
    opacity: 1;
    transform: translateX(-50%) scaleY(1);
}

.sf-tab img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.sf-tab span {
    font-family: var(--heading-font);
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    text-align: center;
}

.sf-tab:not(.active):hover {
    filter: brightness(1.15);
}

.sf-tab.active {
    background: var(--seafoam);
}

/* --- Content Background Wrapper --- */
.sf-content-bg {
    transition: background-color 0.35s ease;
    padding: 120px 60px 120px;
    margin: 0 -60px;
}


/* --- Content Area --- */
.sf-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.sf-content-left {
    flex: 0 1 45%;
    min-width: 0;
}

.sf-category-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--midnight);
    margin-bottom: 24px;
}

.sf-checklist {
    list-style: none;
    margin-bottom: 30px;
}

.sf-checklist li {
    position: relative;
    padding-left: 28px;
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--midnight);
    margin-bottom: 10px;
}

.sf-checklist li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--harbor);
    font-weight: 700;
    font-size: 1.1rem;
}

.sf-learn-more {
    display: inline-block;
    color: var(--harbor);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: underline;
    transition: color 0.2s;
}

.sf-learn-more:hover {
    color: var(--midnight);
}

/* --- Laptop Mockup --- */
.sf-content-right {
    flex: 0 1 55%;
    min-width: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.sf-laptop {
    width: 100%;
    max-width: 560px;
}

.sf-screenshot {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Features Responsive --- */
@media (max-width: 900px) {
    .section-features {
        padding: 60px 30px 0;
    }

    .sf-heading {
        font-size: 2.4rem;
    }

    .sf-tab {
        padding: 10px 14px;
        min-width: 0;
    }

    .sf-tab img {
        width: 32px;
        height: 32px;
    }

    .sf-tab span {
        font-size: 0.75rem;
    }

    .sf-tabs {
        margin: 0 -30px;
    }

    .sf-content-bg {
        padding: 40px 30px 50px;
        margin: 0 -30px;
    }

    .sf-content {
        flex-direction: column;
        gap: 40px;
    }

    .sf-content-left {
        flex: none;
        width: 100%;
    }

    .sf-content-right {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .section-features {
        padding: 45px 20px 0;
    }

    .sf-heading {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .sf-tabs {
        margin: 0 -20px;
    }

    .sf-tab {
        padding: 8px 6px;
    }

    .sf-tab img {
        width: 26px;
        height: 26px;
    }

    .sf-tab span {
        font-size: 0.7rem;
    }

    .sf-content-bg {
        padding: 30px 20px 40px;
        margin: 0 -20px;
    }

    .sf-category-title {
        font-size: 1.4rem;
    }

    .sf-checklist li {
        font-size: 0.95rem;
    }
}

/* =========================================
   Section — Getting Started (Arc Infographic)
   ========================================= */
.section-started {
    background: var(--mist);
    padding: 80px 40px 60px;
    text-align: center;
}

.ss-heading {
    font-family: var(--heading-font);
    font-size: 3rem;
    font-weight: 700;
    color: var(--midnight);
    margin-bottom: 40px;
}

.ss-arc-wrapper {
    position: relative;
    width: 100%;
    max-width: 950px;
    height: 480px;
    margin: 0 auto;
    overflow: hidden;
}

/* Arrow indicators between arc segments */
.ss-arc-wrapper::before,
.ss-arc-wrapper::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 60px;
    clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
    z-index: 2;
}

.ss-arc-wrapper::before {
    left: calc(50% - 180px);
    top: 234px;
    background: var(--garnet);
    transform: translate(-50%, -50%) rotate(-34deg);
}

.ss-arc-wrapper::after {
    left: calc(50% + 160px);
    top: 220px;
    background: var(--scarlet);
    transform: translate(-50%, -50%) rotate(34deg);
}

/* Shared circle base */
.ss-arc-outer-ring,
.ss-arc-main-ring,
.ss-arc-center {
    position: absolute;
    border-radius: 50%;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

/* Glacier ring — 75% the width of the red band, centered at 305px radius */
.ss-arc-outer-ring {
    width: 774px;
    height: 774px;
    bottom: -387px;
    background: radial-gradient(
            circle,
            transparent 223px,
            var(--glacier) 223px
    );
}

/* Main ring — gapless gradient with mask for uniform-width gaps.
   Mask cuts two straight stripes at the gap angles (absolute 326deg and 34deg).
   The perpendicular gradient directions are 56deg and 124deg.
   50px gap ÷ ~1249px gradient length ≈ 4%, centered at 50%. */
.ss-arc-main-ring {
    width: 900px;
    height: 900px;
    bottom: -450px;
    background: conic-gradient(
            from 260deg,
            #a42322 0deg 66deg,
            #d81f29 66deg 134deg,
            #f43e44 134deg 200deg,
            transparent 200deg 360deg
    );
    -webkit-mask-image:
            linear-gradient(56deg, black 0%, black 48%, transparent 48%, transparent 52%, black 52%, black 100%),
            linear-gradient(124deg, black 0%, black 48%, transparent 48%, transparent 52%, black 52%, black 100%);
    -webkit-mask-composite: source-in;
    mask-image:
            linear-gradient(56deg, black 0%, black 48%, transparent 48%, transparent 52%, black 52%, black 100%),
            linear-gradient(124deg, black 0%, black 48%, transparent 48%, transparent 52%, black 52%, black 100%);
    mask-composite: intersect;
}

/* Center hole — mist background */
.ss-arc-center {
    width: 320px;
    height: 320px;
    bottom: -160px;
    background: var(--mist);
}

/* Step text overlays */
.ss-step {
    position: absolute;
    color: #fff;
    text-align: center;
    max-width: 180px;
    z-index: 2;
}

.ss-step h3 {
    font-family: var(--heading-font);
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    line-height: 1.3;
}

.ss-step p {
    font-size: 0.85rem;
    line-height: 1.45;
    opacity: 0.9;
}

.ss-step-left {
    left: calc(50% - 380px);
    top: 50%;
}

.ss-step-center {
    left: 50%;
    top: 14%;
    transform: translateX(-50%);
}

.ss-step-right {
    right: calc(50% - 380px);
    top: 50%;
}

.ss-tagline {
    position: absolute;
    bottom: 55px;
    left: 50%;
    transform: translate(-50%, 50%);
    max-width: 280px;
    font-family: var(--heading-font);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--scarlet);
    line-height: 1.45;
    text-align: center;
    z-index: 2;
    margin: 0;
}

/* Responsive — <1000px: arc hidden, stacked cards
   The arc is 900px wide + 40px section padding each side = 980px minimum.
   1000px gives a small buffer before clipping begins. */
@media (max-width: 1000px) {
    .ss-arc-outer-ring,
    .ss-arc-main-ring,
    .ss-arc-center {
        display: none;
    }

    .ss-arc-wrapper::before,
    .ss-arc-wrapper::after {
        display: none;
    }

    .ss-arc-wrapper {
        height: auto;
        overflow: visible;
        display: flex;
        flex-direction: column;
        gap: 16px;
        max-width: 600px;
    }

    .ss-step {
        position: relative;
        transform: none;
        max-width: 100%;
        text-align: left;
        padding: 28px 24px;
        border-radius: 12px;
    }

    .ss-step h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .ss-step p {
        font-size: 0.9rem;
        display: block;
        opacity: 1;
    }

    .ss-step-left {
        background: var(--garnet);
        left: auto;
        top: auto;
    }

    .ss-step-center {
        background: var(--scarlet);
        left: auto;
        top: auto;
    }

    .ss-step-right {
        background: #f43e44;
        right: auto;
        top: auto;
    }

    .ss-tagline {
        position: static;
        transform: none;
        max-width: 100%;
        margin-top: 16px;
        font-size: 1.05rem;
        color: var(--midnight);
    }
}

/* Responsive — <600px: tighter spacing */
@media (max-width: 600px) {
    .section-started {
        padding: 50px 20px 40px;
    }

    .ss-heading {
        font-size: 2rem;
    }

    .ss-tagline {
        font-size: 1rem;
    }
}

/* =========================================
   Section 6 — Frequently Asked Questions
   ========================================= */
.section-faq {
    background: #fff;
    padding: 80px 60px 100px;
}

.faq-heading {
    text-align: center;
    color: var(--scarlet);
    font-size: 2.8rem;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 50px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-top: 1.5px solid var(--glacier);
}

.faq-item:last-child .faq-answer,
.faq-item:last-child .faq-question {
    border-bottom: none;
}

.faq-item:last-child {
    border-bottom: 1.5px solid var(--glacier);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 22px 0;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--midnight);
    gap: 20px;
}

.faq-question:hover {
    color: var(--harbor);
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--midnight);
    opacity: 0.5;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 0;
}

.faq-item.open .faq-answer {
    max-height: 400px;
    padding: 0 0 22px;
}

.faq-answer p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--midnight);
    opacity: 0.8;
}

/* --- FAQ Show More (progressive reveal) --- */
.faq-list > .faq-item:nth-child(n+8) {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    border-top-color: transparent;
    pointer-events: none;
    transition:
            max-height 0.7s cubic-bezier(0.33, 1, 0.68, 1),
            opacity 0.7s cubic-bezier(0.33, 1, 0.68, 1),
            border-top-color 0.7s cubic-bezier(0.33, 1, 0.68, 1);
}

.faq-list > .faq-item.faq-revealed {
    max-height: 800px;
    opacity: 1;
    border-top-color: var(--glacier);
    pointer-events: auto;
}

.faq-show-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: 12px auto 0;
    padding: 6px 18px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--midnight);
    opacity: 0.55;
    font-family: inherit;
    transition:
            opacity 0.3s ease,
            max-height 0.45s ease,
            margin 0.45s ease,
            padding 0.45s ease,
            transform 0.3s ease;
    max-height: 100px;
    overflow: hidden;
}

.faq-show-more:hover {
    opacity: 0.9;
}

.faq-show-more:hover .faq-show-more-chevron {
    transform: translateY(3px);
}

.faq-show-more-chevron {
    color: var(--midnight);
    transition: transform 0.35s ease;
    animation: faqChevronBounce 2.2s ease-in-out infinite;
}

.faq-show-more.faq-show-less-state .faq-show-more-chevron {
    transform: rotate(180deg);
    animation: faqChevronBounceUp 2.2s ease-in-out infinite;
}

.faq-show-more.faq-show-less-state:hover .faq-show-more-chevron {
    transform: rotate(180deg) translateY(3px);
}

.faq-show-more-text {
    font-size: 0.78rem;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--midnight);
}

@keyframes faqChevronBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

@keyframes faqChevronBounceUp {
    0%, 100% { transform: rotate(180deg) translateY(0); }
    50% { transform: rotate(180deg) translateY(4px); }
}

.faq-show-more.faq-show-more-gone {
    opacity: 0;
    max-height: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    pointer-events: none;
}

/* --- FAQ Responsive --- */
@media (max-width: 800px) {
    .section-faq {
        padding: 60px 30px 70px;
    }

    .faq-heading {
        font-size: 2.2rem;
    }

    .faq-question {
        font-size: 1.05rem;
        padding: 18px 0;
    }
}

@media (max-width: 600px) {
    .section-faq {
        padding: 45px 20px 55px;
    }

    .faq-heading {
        font-size: 1.8rem;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 16px 0;
    }

    .faq-answer p {
        font-size: 0.95rem;
    }
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
    background: var(--midnight);
    padding: 50px 60px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    height: 45px;
    width: auto;
}

.footer-contact {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    font-weight: 400;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 35px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-buttons {
    display: flex;
    gap: 12px;
}

.btn-footer-demo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--scarlet);
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 10px 22px;
    border-radius: 999px;
    letter-spacing: 0.04em;
    transition: background 0.2s, transform 0.2s;
    cursor: pointer;
}

.btn-footer-demo:hover {
    background: #de2832;
    transform: scale(1.03);
}

.btn-footer-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 10px 22px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    letter-spacing: 0.04em;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    cursor: pointer;
}

.btn-footer-login:hover {
    background: #fff;
    color: var(--midnight);
    transform: scale(1.03);
}

/* --- Footer Responsive --- */
@media (max-width: 1000px) {
    .footer-right {
        flex-direction: column;
        align-items: flex-end;
        gap: 20px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 18px;
    }
}

@media (max-width: 700px) {
    .site-footer {
        padding: 40px 25px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .footer-right {
        align-items: flex-start;
        width: 100%;
    }

    .footer-links {
        justify-content: flex-start;
    }
}