/* ============================================================
   DragonFlow CRM — Marketing Website v3
   Light · Elegant · Trending · Smooth
   ============================================================ */

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

:root {
    /* Light, attractive palette — aligned with DragonFlow frontend brand */
    --bg: #fbfcf9;
    --bg-soft: #eef8f2;
    --surface: #ffffff;
    --surface-alt: #eef3ef;
    --ink: #10263a;
    --ink-soft: #1c3843;
    --muted: #617872;
    --muted-light: #90a5a1;
    --line: #dfe9e5;
    --line-soft: #eef3ef;

    /* Primary — brand teal */
    --primary: #0b766d;
    --primary-dark: #07564f;
    --primary-light: #2e9d91;
    --primary-soft: #9dd7c7;

    /* Accents */
    --violet: #123b4b;
    --pink: #c8f169;
    --rose: #f43f5e;
    --amber: #f59e0b;
    --emerald: #10b981;
    --cyan: #06b6d4;
    --sky: #0ea5e9;

    --white: #fff;
    --success: #0b766d;
    --danger: #ef4444;

    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --t: .45s cubic-bezier(.16, 1, .3, 1);
    --t-fast: .25s cubic-bezier(.4, 0, .2, 1);
    --t-spring: .6s cubic-bezier(.34, 1.56, .64, 1);
    --maxw: 1200px;

    --shadow-xs: 0 1px 2px rgba(11, 118, 109, .05);
    --shadow-sm: 0 2px 8px rgba(11, 118, 109, .06);
    --shadow: 0 8px 24px rgba(11, 118, 109, .08);
    --shadow-md: 0 12px 32px rgba(11, 118, 109, .1);
    --shadow-lg: 0 24px 64px rgba(11, 118, 109, .12);
    --shadow-xl: 0 32px 80px rgba(11, 118, 109, .15);
    --glow: 0 0 32px rgba(11, 118, 109, .25);

    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Bricolage Grotesque', 'Plus Jakarta Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%
}

body {
    font-family: var(--font-sans);
    color: var(--ink-soft);
    line-height: 1.65;
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--t-fast)
}

a:hover {
    color: var(--primary-dark)
}

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

ul {
    list-style: none
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none
}

/* ─── Layout ─── */
.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px
}

.section {
    padding: 120px 0;
    position: relative
}

.section-tight {
    padding: 80px 0
}

.center {
    text-align: center
}

/* ─── Eyebrow / badge ─── */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 100px;
    background: linear-gradient(135deg, rgba(11, 118, 109, .1), rgba(16, 38, 58, .06));
    color: var(--primary-dark);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(11, 118, 109, .12)
}

.eyebrow.gradient {
    background: linear-gradient(135deg, var(--primary), var(--violet));
    color: #fff;
    border: none
}

/* ─── Headings ─── */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -.03em
}

.h-xl {
    font-size: clamp(2.5rem, 6vw, 4rem)
}

.h-lg {
    font-size: clamp(2rem, 4.5vw, 3rem)
}

.h-md {
    font-size: clamp(1.4rem, 3vw, 1.9rem)
}

.lead {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--muted);
    line-height: 1.7
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--violet), var(--pink));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease infinite
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }
}

.section-head {
    max-width: 720px;
    margin: 0 auto 64px;
    text-align: center
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all var(--t);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    letter-spacing: -.01em
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 16px rgba(11, 118, 109, .35)
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 28px rgba(11, 118, 109, .45);
    color: #fff
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent);
    transition: left .6s ease
}

.btn-primary:hover::before {
    left: 100%
}

.btn-light {
    background: var(--surface);
    color: var(--primary-dark);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm)
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    color: var(--primary-dark)
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary)
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px)
}

.btn-ghost {
    background: rgba(255, 255, 255, .1);
    color: var(--ink);
    border: 1px solid var(--line);
    backdrop-filter: blur(10px)
}

.btn-ghost:hover {
    background: var(--surface);
    transform: translateY(-2px)
}

.btn-lg {
    padding: 18px 44px;
    font-size: 1.1rem
}

.btn-sm {
    padding: 10px 22px;
    font-size: .92rem
}

.btn-block {
    display: flex;
    width: 100%
}

/* ─── Navbar ─── */
.nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 40px);
    max-width: 1150px;
    height: 72px;
    padding: 0 28px;
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, .6);
    box-shadow: 0 4px 24px rgba(11, 118, 109, .08);
    transition: all var(--t);
    display: flex;
    align-items: center;
    justify-content: space-between
}

.nav.scrolled {
    box-shadow: 0 8px 32px rgba(11, 118, 109, .15)
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ink)
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: var(--glow);
    transition: transform var(--t-spring)
}

.logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block
}

.logo-full {
    width: 226px;
    height: auto;
    display: block
}

.logo:hover .logo-mark {
    transform: rotate(-12deg) scale(1.1)
}

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

.nav-links a {
    color: var(--ink-soft);
    font-weight: 500;
    font-size: .95rem;
    position: relative;
    transition: color var(--t-fast)
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--violet));
    border-radius: 2px;
    transition: width var(--t)
}

.nav-links a:hover {
    color: var(--primary)
}

.nav-links a:hover::after {
    width: 100%
}

.nav-cta {
    display: flex;
    gap: 10px;
    align-items: center
}

.nav-toggle {
    display: none;
    font-size: 1.4rem;
    color: var(--ink);
    cursor: pointer
}

/* ─── Hero ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 160px;
    padding-bottom: 60px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 40% at 80% 10%, rgba(11, 118, 109, .12), transparent),
        radial-gradient(ellipse 50% 40% at 15% 90%, rgba(16, 38, 58, .1), transparent),
        radial-gradient(ellipse 40% 30% at 50% 50%, rgba(200, 241, 105, .05), transparent),
        var(--bg)
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(11, 118, 109, .06) 1px, transparent 0);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000, transparent);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000, transparent)
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 60px;
    align-items: center
}

.hero-badge {
    animation: fadeUp .7s ease both
}

.hero h1 {
    margin-bottom: 24px;
    animation: fadeUp .9s ease both
}

.hero h1 .gradient-text {
    display: inline-block
}

.hero .lead {
    color: var(--muted);
    max-width: 540px;
    animation: fadeUp 1.1s ease both
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 36px;
    animation: fadeUp 1.3s ease both
}

.hero-stats {
    display: flex;
    gap: 36px;
    margin-top: 56px;
    animation: fadeUp 1.5s ease both;
    flex-wrap: wrap
}

.stat-item {
    position: relative
}

.stat-num {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1
}

.stat-lbl {
    font-size: .85rem;
    color: var(--muted);
    margin-top: 4px
}

/* Hero visual — floating glass cards */
.hero-visual {
    animation: fadeIn 1.4s ease both;
    position: relative;
    perspective: 1200px
}

.mock {
    background: rgba(255, 255, 255, .7);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: var(--radius-lg);
    padding: 24px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: var(--shadow-lg);
    transform: rotateY(-6deg) rotateX(4deg);
    transition: transform var(--t-spring)
}

.hero-visual:hover .mock {
    transform: rotateY(0) rotateX(0)
}

.mock-bar {
    display: flex;
    gap: 7px;
    margin-bottom: 18px
}

.mock-bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%
}

.mock-bar i:nth-child(1) {
    background: #ff5f57
}

.mock-bar i:nth-child(2) {
    background: #febc2e
}

.mock-bar i:nth-child(3) {
    background: #28c840
}

.mock-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px
}

.mock-card {
    background: var(--surface);
    border-radius: 12px;
    padding: 18px;
    border: 1px solid var(--line-soft)
}

.mock-card .lbl {
    font-size: .7rem;
    color: var(--muted-light);
    text-transform: uppercase;
    letter-spacing: .05em
}

.mock-card .val {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ink);
    margin-top: 6px;
    font-family: var(--font-display)
}

.mock-card .trend {
    font-size: .78rem;
    color: var(--success);
    margin-top: 4px
}

.mock-chart {
    background: var(--surface);
    border-radius: 12px;
    padding: 18px;
    height: 140px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    border: 1px solid var(--line-soft)
}

.mock-chart i {
    flex: 1;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, var(--primary-light), var(--primary));
    opacity: .8;
    animation: barGrow 1.2s ease both;
    transform-origin: bottom
}

.mock-chart i:nth-child(1) {
    height: 40%;
    animation-delay: .1s
}

.mock-chart i:nth-child(2) {
    height: 65%;
    animation-delay: .2s
}

.mock-chart i:nth-child(3) {
    height: 50%;
    animation-delay: .3s
}

.mock-chart i:nth-child(4) {
    height: 80%;
    animation-delay: .4s
}

.mock-chart i:nth-child(5) {
    height: 60%;
    animation-delay: .5s
}

.mock-chart i:nth-child(6) {
    height: 95%;
    animation-delay: .6s
}

.mock-chart i:nth-child(7) {
    height: 75%;
    animation-delay: .7s
}

@keyframes barGrow {
    from {
        transform: scaleY(0)
    }

    to {
        transform: scaleY(1)
    }
}

/* Floating decoration shapes */
.float-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    z-index: -1
}

.shape-1 {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-light), var(--violet));
    top: -30px;
    right: -20px;
    animation: floaty 5s ease-in-out infinite
}

.shape-2 {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--pink), var(--rose));
    bottom: -20px;
    left: -15px;
    animation: floaty 7s ease-in-out infinite reverse
}

/* ─── Marquee ─── */
.marquee {
    padding: 40px 0;
    overflow: hidden;
    background: var(--surface);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft)
}

.marquee-track {
    display: flex;
    gap: 50px;
    animation: scroll 28s linear infinite;
    width: max-content
}

.marquee-item {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--muted-light);
    white-space: nowrap;
    transition: color var(--t-fast);
    display: flex;
    align-items: center;
    gap: 6px
}

.marquee-item:hover {
    color: var(--primary)
}

@keyframes scroll {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

/* ─── Bento grid ─── */
.bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(170px, auto);
    gap: 20px
}

.bento-item {
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: all var(--t);
    position: relative;
    overflow: hidden
}

.bento-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--violet));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t)
}

.bento-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light)
}

.bento-item:hover::before {
    transform: scaleX(1)
}

.bento-item.large {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(135deg, #f5f3ff, #ede9fe, #faf5ff)
}

.bento-item.wide {
    grid-column: span 2
}

.bento-item.tall {
    grid-row: span 2
}

.bento-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(11, 118, 109, .12), rgba(16, 38, 58, .08));
    color: var(--primary);
    transition: transform var(--t-spring)
}

.bento-item:hover .bento-icon {
    transform: scale(1.1) rotate(-6deg)
}

.bento-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px
}

.bento-item p {
    color: var(--muted);
    font-size: .95rem
}

.bento-tag {
    display: inline-block;
    margin-top: 14px;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: .76rem;
    font-weight: 600;
    background: rgba(11, 118, 109, .1);
    color: var(--primary-dark)
}

.bento-preview {
    margin-top: 22px;
    background: var(--surface);
    border-radius: 14px;
    padding: 18px;
    border: 1px solid var(--line-soft)
}

.bento-preview-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid var(--line-soft)
}

.bento-preview-row:last-child {
    border: none
}

.bento-preview-row .nm {
    font-size: .85rem;
    color: var(--muted)
}

.bento-preview-row .val {
    font-size: .85rem;
    font-weight: 700;
    color: var(--ink)
}

.bento-preview-row .val.green {
    color: var(--success)
}

.bento-preview-row .val.amber {
    color: var(--amber)
}

/* ─── Process / Steps ─── */
.process {
    background: linear-gradient(180deg, var(--bg-soft), var(--bg));
    position: relative;
    overflow: hidden
}

.process::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(11, 118, 109, .08), transparent)
}

.process .container {
    position: relative;
    z-index: 2
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px
}

.step {
    position: relative;
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line-soft);
    transition: all var(--t)
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light)
}

.step-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px
}

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

.step p {
    color: var(--muted);
    font-size: .92rem
}

.step-icon {
    position: absolute;
    top: 28px;
    right: 28px;
    font-size: 1.8rem;
    opacity: .15
}

/* ─── Pricing ─── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px
}

.price-card {
    background: var(--surface);
    border: 2px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--t);
    position: relative
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md)
}

.price-card.popular {
    border-color: var(--primary);
    box-shadow: var(--glow)
}

.price-card.popular:hover {
    transform: translateY(-12px)
}

.popular-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--violet));
    color: #fff;
    padding: 5px 20px;
    border-radius: 100px;
    font-size: .78rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(11, 118, 109, .35)
}

.plan-name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px
}

.plan-desc {
    color: var(--muted);
    font-size: .9rem;
    min-height: 38px;
    margin-bottom: 22px
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 26px
}

.plan-price .amt {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--ink)
}

.plan-price .per {
    color: var(--muted);
    font-size: 1rem
}

.plan-feats {
    margin-bottom: 28px
}

.plan-feats li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    color: var(--ink-soft);
    border-bottom: 1px solid var(--line-soft);
    font-size: .92rem
}

.plan-feats li:last-child {
    border: none
}

.plan-feats li::before {
    content: '✓';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(16, 185, 129, .12);
    color: var(--success);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: .78rem;
    flex-shrink: 0
}

.price-card .btn {
    width: 100%
}

/* ─── FAQ ─── */
.faq-list {
    max-width: 740px;
    margin: 0 auto
}

.faq-item {
    border-bottom: 1px solid var(--line);
    padding: 4px 0
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--ink);
    transition: color var(--t-fast)
}

.faq-q:hover {
    color: var(--primary)
}

.faq-q .icon {
    font-size: 1.4rem;
    color: var(--primary);
    transition: transform var(--t);
    flex-shrink: 0;
    margin-left: 20px
}

.faq-item.open .faq-q .icon {
    transform: rotate(45deg)
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t)
}

.faq-item.open .faq-a {
    max-height: 300px
}

.faq-a p {
    padding: 0 0 22px;
    color: var(--muted);
    font-size: .98rem;
    line-height: 1.7
}

/* ─── Contact ─── */
.contact-wrap {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 56px;
    align-items: start
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 1.7rem;
    color: var(--ink);
    margin-bottom: 12px
}

.contact-info .lead {
    margin-bottom: 32px
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(11, 118, 109, .1), rgba(16, 38, 58, .06));
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    color: var(--primary);
    flex-shrink: 0
}

.contact-detail .lbl {
    font-size: .78rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .04em
}

.contact-detail .val {
    font-weight: 600;
    color: var(--ink);
    margin-top: 2px
}

.form-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-md)
}

.form-group {
    margin-bottom: 18px
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 7px;
    font-size: .9rem
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--t-fast);
    background: var(--surface-alt)
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(11, 118, 109, .1)
}

textarea.form-control {
    min-height: 130px;
    resize: vertical
}

.form-alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-weight: 500;
    display: none;
    font-size: .92rem
}

.form-alert.success {
    display: block;
    background: rgba(16, 185, 129, .08);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, .2)
}

.form-alert.error {
    display: block;
    background: rgba(239, 68, 68, .08);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, .2)
}

/* ─── CTA band ─── */
.cta-band {
    background: linear-gradient(135deg, var(--primary), var(--violet), var(--pink));
    background-size: 200% 200%;
    border-radius: var(--radius-xl);
    padding: 72px 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(11, 118, 109, .3);
    animation: gradientShift 8s ease infinite
}

.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .2), transparent 50%)
}

.cta-band h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 2.6rem);
    margin-bottom: 14px;
    position: relative
}

.cta-band p {
    color: rgba(255, 255, 255, .9);
    font-size: 1.15rem;
    margin-bottom: 32px;
    position: relative
}

.cta-band .btn {
    position: relative;
    background: #fff;
    color: var(--primary-dark)
}

.cta-band .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg)
}

/* ─── About ─── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center
}

.about-text h2 {
    margin-bottom: 18px
}

.about-text p {
    color: var(--muted);
    margin-bottom: 14px;
    font-size: 1.05rem
}

/* ─── Story visual — elegant glass mockup ─── */
.about-visual {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 420px;
    background: linear-gradient(135deg, #ede9fe, #f5f3ff, #faf5ff);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px
}

.about-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 20%, rgba(11, 118, 109, .15), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 38, 58, .12), transparent 50%);
    pointer-events: none
}

.about-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(11, 118, 109, .05) 1px, transparent 0);
    background-size: 24px 24px;
    pointer-events: none
}

/* Story mock cards */
.story-mock {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 14px
}

.story-mock-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px
}

.story-mock-header .smh-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%
}

.story-mock-header .smh-dot:nth-child(1) {
    background: #ff5f57
}

.story-mock-header .smh-dot:nth-child(2) {
    background: #febc2e
}

.story-mock-header .smh-dot:nth-child(3) {
    background: #28c840
}

.story-mock-card {
    background: rgba(255, 255, 255, .75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: var(--radius);
    padding: 20px 22px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: transform var(--t-spring)
}

.story-mock-card:hover {
    transform: translateX(8px)
}

.story-mock-card .smc-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    flex-shrink: 0
}

.story-mock-card .smc-icon.blue {
    background: linear-gradient(135deg, rgba(11, 118, 109, .15), rgba(11, 118, 109, .08));
    color: var(--primary)
}

.story-mock-card .smc-icon.violet {
    background: linear-gradient(135deg, rgba(16, 38, 58, .15), rgba(16, 38, 58, .08));
    color: var(--violet)
}

.story-mock-card .smc-icon.pink {
    background: linear-gradient(135deg, rgba(200, 241, 105, .15), rgba(200, 241, 105, .08));
    color: var(--pink)
}

.story-mock-card .smc-icon.emerald {
    background: linear-gradient(135deg, rgba(16, 185, 129, .15), rgba(16, 185, 129, .08));
    color: var(--emerald)
}

.story-mock-card .smc-text {
    flex: 1
}

.story-mock-card .smc-title {
    font-weight: 700;
    color: var(--ink);
    font-size: .92rem;
    margin-bottom: 2px
}

.story-mock-card .smc-sub {
    font-size: .82rem;
    color: var(--muted)
}

.story-mock-card .smc-badge {
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    flex-shrink: 0
}

.story-mock-card .smc-badge.green {
    background: rgba(16, 185, 129, .12);
    color: var(--success)
}

.story-mock-card .smc-badge.amber {
    background: rgba(245, 158, 11, .12);
    color: var(--amber)
}

.story-mock-card .smc-badge.indigo {
    background: rgba(11, 118, 109, .12);
    color: var(--primary-dark)
}

/* Story feature points */
.story-points {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px
}

.story-point {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    opacity: 0;
    transform: translateX(-24px);
    transition: all .6s cubic-bezier(.16, 1, .3, 1)
}

.story-point.in {
    opacity: 1;
    transform: translateX(0)
}

.story-point .sp-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(11, 118, 109, .12), rgba(16, 38, 58, .06));
    display: grid;
    place-items: center;
    font-size: 1rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform var(--t-spring)
}

.story-point:hover .sp-icon {
    transform: scale(1.15) rotate(-8deg)
}

.story-point .sp-text strong {
    display: block;
    color: var(--ink);
    font-size: .95rem;
    margin-bottom: 2px
}

.story-point .sp-text span {
    font-size: .88rem;
    color: var(--muted)
}

.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px
}

.value-card {
    text-align: center;
    padding: 36px 26px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line-soft);
    transition: all var(--t)
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md)
}

.value-card .bento-icon {
    margin: 0 auto 18px
}

.value-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px
}

.value-card p {
    color: var(--muted);
    font-size: .95rem
}

/* ─── Footer ─── */
.footer {
    background: var(--ink);
    color: rgba(255, 255, 255, .6);
    padding: 80px 0 32px;
    position: relative;
    overflow: hidden
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--violet), transparent)
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px
}

.footer .logo {
    color: #fff;
    margin-bottom: 16px
}

.footer-brand p {
    max-width: 320px;
    margin-bottom: 24px
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 18px;
    font-weight: 600
}

.footer-links li {
    margin-bottom: 11px
}

.footer-links a {
    color: rgba(255, 255, 255, .6)
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 28px;
    text-align: center;
    font-size: .88rem
}

.social {
    display: flex;
    gap: 12px;
    margin-top: 20px
}

.social a {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(255, 255, 255, .06);
    display: grid;
    place-items: center;
    font-size: .95rem;
    color: rgba(255, 255, 255, .6);
    transition: all var(--t)
}

.social a:hover {
    background: linear-gradient(135deg, var(--primary), var(--violet));
    color: #fff;
    transform: translateY(-3px)
}

/* ─── Page hero (about/pricing/contact) ─── */
.page-hero {
    padding: 140px 0 70px;
    position: relative;
    overflow: hidden;
    text-align: center;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(11, 118, 109, .1), transparent),
        var(--bg)
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(11, 118, 109, .05) 1px, transparent 0);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, #000, transparent);
    -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, #000, transparent)
}

.page-hero .container {
    position: relative;
    z-index: 2
}

.page-hero h1 {
    margin-bottom: 16px
}

.page-hero .lead {
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: .88rem
}

.breadcrumb a {
    color: var(--muted-light)
}

.breadcrumb a:hover {
    color: var(--primary)
}

.breadcrumb span {
    color: var(--muted-light)
}

/* ─── Animations ─── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

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

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes floaty {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-20px)
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1)
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all .8s cubic-bezier(.16, 1, .3, 1)
}

.reveal-left.in {
    opacity: 1;
    transform: translateX(0)
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all .8s cubic-bezier(.16, 1, .3, 1)
}

.reveal-right.in {
    opacity: 1;
    transform: translateX(0)
}

.reveal-scale {
    opacity: 0;
    transform: scale(.92);
    transition: all .8s cubic-bezier(.16, 1, .3, 1)
}

.reveal-scale.in {
    opacity: 1;
    transform: scale(1)
}

.d1 {
    transition-delay: .1s
}

.d2 {
    transition-delay: .2s
}

.d3 {
    transition-delay: .3s
}

.d4 {
    transition-delay: .4s
}

.d5 {
    transition-delay: .5s
}

.d6 {
    transition-delay: .6s
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
    .nav {
        top: 12px;
        width: calc(100% - 24px);
        border-radius: var(--radius-lg);
        padding: 12px 20px
    }

    .nav-links {
        display: none
    }

    .nav-toggle {
        display: block
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .hero-visual {
        order: -1;
        max-width: 400px
    }

    .bento {
        grid-template-columns: repeat(2, 1fr)
    }

    .bento-item.large,
    .bento-item.wide {
        grid-column: span 2
    }

    .steps {
        grid-template-columns: repeat(2, 1fr)
    }

    .contact-wrap {
        grid-template-columns: 1fr
    }

    .about-grid {
        grid-template-columns: 1fr
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px
    }

    .price-card.popular {
        transform: scale(1)
    }

    .price-card.popular:hover {
        transform: translateY(-8px)
    }
}

@media (max-width: 600px) {
    .section {
        padding: 72px 0
    }

    .cta-band {
        padding: 56px 28px;
        border-radius: var(--radius-lg)
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .form-card {
        padding: 32px 24px
    }

    .form-row {
        grid-template-columns: 1fr
    }

    .bento {
        grid-template-columns: 1fr
    }

    .bento-item.large,
    .bento-item.wide {
        grid-column: span 1
    }

    .steps {
        grid-template-columns: 1fr
    }

    .hero-stats {
        gap: 22px
    }

    .nav-cta .btn-ghost {
        display: none
    }
}

/* ============================================================
   v3.1 — Additional sections for About, Pricing, Contact
   ============================================================ */

/* ─── Stats band ─── */
.stats-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: linear-gradient(135deg, #f5f3ff, #ede9fe, #faf5ff);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    margin: 0 auto;
    max-width: 1000px
}

.stats-band .stat-cell {
    text-align: center
}

.stats-band .stat-cell .num {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1
}

.stats-band .stat-cell .lbl {
    font-size: .9rem;
    color: var(--muted);
    margin-top: 6px
}

/* ─── Timeline ─── */
/* ─── Timeline — redesigned alternating layout ─── */
.timeline-wrap {
    max-width: 900px;
    margin: 0 auto;
    position: relative
}

.timeline-wrap::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, var(--primary), var(--violet), var(--pink), transparent);
    border-radius: 3px
}

.timeline-row {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    align-items: center;
    margin-bottom: 48px
}

.timeline-row:last-child {
    margin-bottom: 0
}

.timeline-row.left .timeline-card {
    grid-column: 1
}

.timeline-row.left .timeline-spacer {
    grid-column: 3
}

.timeline-row.right .timeline-card {
    grid-column: 3
}

.timeline-row.right .timeline-spacer {
    grid-column: 1
}

.timeline-card {
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    padding: 28px 26px;
    transition: all var(--t);
    position: relative
}

.timeline-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light)
}

.timeline-row.left .timeline-card {
    text-align: right
}

.timeline-row.left .timeline-card::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 24px;
    width: 16px;
    height: 16px;
    background: var(--surface);
    border-right: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    transform: rotate(-45deg);
    transition: border-color var(--t)
}

.timeline-row.right .timeline-card::after {
    content: '';
    position: absolute;
    left: -8px;
    top: 24px;
    width: 16px;
    height: 16px;
    background: var(--surface);
    border-left: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    transform: rotate(45deg);
    transition: border-color var(--t)
}

.timeline-card:hover::after {
    border-color: var(--primary-light)
}

.timeline-year {
    display: inline-block;
    font-family: var(--font-display);
    font-size: .85rem;
    font-weight: 700;
    color: var(--primary-dark);
    background: linear-gradient(135deg, rgba(11, 118, 109, .1), rgba(16, 38, 58, .06));
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 12px
}

.timeline-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px
}

.timeline-card p {
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.6
}

.timeline-dot-center {
    grid-column: 2;
    justify-self: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--violet));
    border: 4px solid var(--bg);
    box-shadow: 0 0 0 3px var(--primary-light);
    position: relative;
    z-index: 2
}

.timeline-dot-center::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: var(--primary);
    opacity: .2;
    animation: pulse-ring 2.5s ease-out infinite
}

@keyframes pulse-ring {
    0% {
        transform: scale(.8);
        opacity: .4
    }

    100% {
        transform: scale(2);
        opacity: 0
    }
}

.timeline-row.left .timeline-card {
    opacity: 0;
    transform: translateX(-40px);
    transition: all .7s cubic-bezier(.16, 1, .3, 1)
}

.timeline-row.left .timeline-card.in {
    opacity: 1;
    transform: translateX(0)
}

.timeline-row.right .timeline-card {
    opacity: 0;
    transform: translateX(40px);
    transition: all .7s cubic-bezier(.16, 1, .3, 1)
}

.timeline-row.right .timeline-card.in {
    opacity: 1;
    transform: translateX(0)
}

@media (max-width: 700px) {
    .timeline-wrap::before {
        left: 20px;
        transform: none
    }

    .timeline-row {
        grid-template-columns: 44px 1fr;
        gap: 0
    }

    .timeline-row.left .timeline-card,
    .timeline-row.right .timeline-card {
        grid-column: 2;
        text-align: left
    }

    .timeline-row.left .timeline-spacer,
    .timeline-row.right .timeline-spacer {
        display: none
    }

    .timeline-dot-center {
        grid-column: 1;
        justify-self: start
    }

    .timeline-row.left .timeline-card::after,
    .timeline-row.right .timeline-card::after {
        left: -8px;
        right: auto;
        border-left: 1px solid var(--line-soft);
        border-right: none;
        transform: rotate(45deg)
    }

    .timeline-row.left .timeline-card {
        transform: translateX(-40px)
    }

    .timeline-row.left .timeline-card.in {
        transform: translateX(0)
    }
}

/* ─── Team grid ─── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px
}

.team-card {
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: all var(--t)
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md)
}

.team-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    background: linear-gradient(135deg, #ede9fe, #f5f3ff, #faf5ff);
    border: 2px solid var(--line)
}

.team-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px
}

.team-role {
    font-size: .85rem;
    color: var(--primary);
    font-weight: 600
}

/* ─── Feature comparison table ─── */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line-soft)
}

.compare-table th,
.compare-table td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid var(--line-soft)
}

.compare-table th {
    background: var(--surface-alt);
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink);
    font-size: .95rem
}

.compare-table th.feature-col,
.compare-table td.feature-col {
    text-align: left;
    font-weight: 600;
    color: var(--ink-soft);
    width: 30%
}

.compare-table th.popular-col {
    background: linear-gradient(135deg, rgba(11, 118, 109, .08), rgba(16, 38, 58, .05));
    color: var(--primary-dark)
}

.compare-table td.check::before {
    content: '✓';
    color: var(--success);
    font-weight: 700
}

.compare-table td.cross::before {
    content: '—';
    color: var(--muted-light)
}

.compare-table tbody tr:hover {
    background: var(--surface-alt)
}

.compare-table tbody tr:last-child td {
    border-bottom: none
}

/* ─── Testimonials ─── */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px
}

.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all var(--t);
    position: relative
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md)
}

.testimonial-quote {
    font-size: 1.05rem;
    color: var(--ink-soft);
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    top: -16px;
    left: -6px;
    font-size: 3rem;
    color: var(--primary-light);
    opacity: .3;
    font-family: var(--font-display)
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #ede9fe, #f5f3ff);
    flex-shrink: 0
}

.testimonial-name {
    font-weight: 700;
    color: var(--ink);
    font-size: .92rem
}

.testimonial-role {
    font-size: .82rem;
    color: var(--muted)
}

.testimonial-stars {
    color: var(--amber);
    margin-bottom: 12px;
    font-size: .9rem
}

/* ─── Contact extras: map, social, office cards ─── */
.office-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 48px
}

.office-card {
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: all var(--t)
}

.office-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md)
}

.office-card .bento-icon {
    margin-bottom: 14px
}

.office-card h4 {
    font-size: 1.05rem;
    margin-bottom: 8px
}

.office-card p {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.6
}

.map-embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--line-soft);
    margin-top: 48px;
    background: var(--surface-alt);
    min-height: 320px;
    display: grid;
    place-items: center;
    position: relative
}

.map-embed::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(11, 118, 109, .12), transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(16, 38, 58, .1), transparent 40%),
        var(--surface-alt)
}

.map-embed .map-pin {
    position: relative;
    z-index: 2;
    text-align: center
}

.map-embed .map-pin .pin-icon {
    font-size: 3rem;
    animation: floaty 3s ease-in-out infinite
}

.map-embed .map-pin .pin-text {
    font-weight: 600;
    color: var(--ink);
    margin-top: 8px
}

.map-embed .map-pin .pin-sub {
    font-size: .85rem;
    color: var(--muted)
}

/* ─── Mission card ─── */
/* ─── Mission section — redesigned ─── */
.mission-section {
    position: relative;
    overflow: hidden
}

.mission-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 40% at 20% 30%, rgba(11, 118, 109, .08), transparent),
        radial-gradient(ellipse 50% 40% at 80% 70%, rgba(16, 38, 58, .06), transparent);
    pointer-events: none
}

.mission-section .container {
    position: relative;
    z-index: 2
}

.mission-hero {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px
}

.mission-hero .mission-glow-icon {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--primary), var(--violet));
    display: grid;
    place-items: center;
    font-size: 2.2rem;
    margin: 0 auto 24px;
    box-shadow: 0 12px 40px rgba(11, 118, 109, .3);
    animation: floaty 4s ease-in-out infinite
}

.mission-hero h2 {
    margin-bottom: 16px
}

.mission-hero p {
    font-size: 1.2rem;
    color: var(--ink-soft);
    line-height: 1.7
}

.mission-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto
}

.mission-pillar {
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: all var(--t);
    position: relative;
    overflow: hidden
}

.mission-pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--violet));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--t)
}

.mission-pillar:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light)
}

.mission-pillar:hover::before {
    transform: scaleX(1)
}

.mission-pillar .mp-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    transition: transform var(--t-spring)
}

.mission-pillar:hover .mp-icon {
    transform: scale(1.15) rotate(-8deg)
}

.mission-pillar .mp-icon.blue {
    background: linear-gradient(135deg, rgba(11, 118, 109, .12), rgba(11, 118, 109, .06));
    color: var(--primary)
}

.mission-pillar .mp-icon.violet {
    background: linear-gradient(135deg, rgba(16, 38, 58, .12), rgba(16, 38, 58, .06));
    color: var(--violet)
}

.mission-pillar .mp-icon.pink {
    background: linear-gradient(135deg, rgba(200, 241, 105, .12), rgba(200, 241, 105, .06));
    color: var(--pink)
}

.mission-pillar h3 {
    font-size: 1.15rem;
    margin-bottom: 10px
}

.mission-pillar p {
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.6
}

/* ─── Feature grid (for pricing page) ─── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px
}

.feature-mini {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    transition: all var(--t)
}

.feature-mini:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm)
}

.feature-mini .fm-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(11, 118, 109, .12), rgba(16, 38, 58, .06));
    display: grid;
    place-items: center;
    font-size: 1rem;
    color: var(--primary);
    flex-shrink: 0
}

.feature-mini .fm-text {
    font-size: .9rem;
    color: var(--ink-soft);
    line-height: 1.5
}

.feature-mini .fm-text strong {
    color: var(--ink);
    display: block;
    margin-bottom: 2px
}

/* ─── Responsive for new sections ─── */
@media (max-width: 900px) {
    .stats-band {
        grid-template-columns: repeat(2, 1fr);
        padding: 36px 28px
    }

    .compare-table {
        font-size: .85rem
    }

    .compare-table th,
    .compare-table td {
        padding: 12px 10px
    }
}

@media (max-width: 600px) {
    .stats-band {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        padding: 28px 20px
    }

    .compare-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap
    }

    .mission-card {
        padding: 40px 24px
    }

    .mission-pillars {
        grid-template-columns: 1fr
    }
}