/* ==============================================
   AK Automations — Stylesheet
   ============================================== */

/* ----------------------------------------------
   1. Variables
   ---------------------------------------------- */
:root {
    /* Violet brand palette */
    --violet:       #7C3AED;
    --violet-dark:  #6D28D9;
    --violet-soft:  #A78BFA;
    --violet-dim:   rgba(124, 58, 237, 0.08);
    --violet-bdr:   rgba(124, 58, 237, 0.22);
    --violet-glow:  rgba(124, 58, 237, 0.28);

    /* Dark surfaces */
    --dark:         #07070D;
    --dark-2:       #0D0C18;
    --dark-surface: rgba(255,255,255,0.035);

    /* Light surfaces */
    --off-white:    #F7F6FC;
    --white:        #FFFFFF;

    /* Grays (light sections) */
    --g900: #11101E;
    --g700: #2E2B42;
    --g600: #4A4761;
    --g500: #6B6880;
    --g400: #9896A8;
    --g300: #C6C4D2;
    --g200: #E3E2EE;
    --g100: #F1F0F8;
    --g50:  #F7F6FC;

    /* Semantic */
    --green: #10B981;
    --amber: #F59E0B;

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Radii */
    --r-xs:   4px;
    --r-sm:   6px;
    --r-md:   10px;
    --r-lg:   16px;
    --r-xl:   20px;
    --r-2xl:  26px;
    --r-full: 9999px;

    /* Shadows */
    --s-sm:  0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
    --s-md:  0 4px 14px rgba(0,0,0,0.09), 0 2px 6px rgba(0,0,0,0.05);
    --s-lg:  0 10px 40px rgba(0,0,0,0.11), 0 4px 14px rgba(0,0,0,0.07);
    --s-xl:  0 20px 60px rgba(0,0,0,0.14), 0 8px 24px rgba(0,0,0,0.08);

    /* Layout */
    --nav-h:    72px;
    --max-w:    1200px;
    --sec-py:   100px;
}

/* ----------------------------------------------
   2. Reset
   ---------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font);
    color: var(--g900);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
input { font-family: inherit; font-size: inherit; }

/* ----------------------------------------------
   3. Layout
   ---------------------------------------------- */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 28px;
}
.section    { padding: var(--sec-py) 0; }
.section--muted { background: var(--off-white); }

/* ----------------------------------------------
   4. Typography helpers
   ---------------------------------------------- */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--violet-dim);
    color: var(--violet);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: var(--r-full);
    margin-bottom: 18px;
}
.tag--light {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.85);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}
.section-title {
    font-size: clamp(26px, 3.8vw, 42px);
    font-weight: 800;
    line-height: 1.18;
    color: var(--g900);
    letter-spacing: -0.025em;
    margin-bottom: 18px;
}
.section-title--left { text-align: left; }
.section-desc {
    font-size: 17px;
    color: var(--g500);
    line-height: 1.75;
}
.section-desc--left { text-align: left; }

.text-gradient {
    background: linear-gradient(120deg, var(--violet-soft) 0%, var(--violet) 50%, #C084FC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ----------------------------------------------
   5. Buttons
   ---------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    border-radius: var(--r-md);
    border: 1.5px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.btn--primary {
    background: var(--violet);
    color: var(--white);
    border-color: var(--violet);
    box-shadow: 0 1px 3px rgba(124,58,237,0.25), 0 4px 14px rgba(124,58,237,0.18);
}
.btn--primary:hover {
    background: var(--violet-dark);
    border-color: var(--violet-dark);
    box-shadow: 0 2px 6px rgba(124,58,237,0.38), 0 8px 24px rgba(124,58,237,0.22);
    transform: translateY(-1px);
}
.btn--outline {
    background: transparent;
    color: var(--violet);
    border-color: var(--violet);
}
.btn--outline:hover {
    background: var(--violet-dim);
    transform: translateY(-1px);
}
.btn--white {
    background: var(--white);
    color: var(--violet);
    border-color: var(--white);
}
.btn--white:hover {
    background: var(--g100);
    transform: translateY(-1px);
}
.btn--ghost {
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border-color: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.btn--ghost:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.32);
    transform: translateY(-1px);
}
.btn--nav {
    background: transparent;
    color: rgba(255,255,255,0.82);
    border-color: rgba(255,255,255,0.28);
    font-size: 14px;
    padding: 9px 20px;
}
.btn--nav:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.48);
    color: var(--white);
}
.nav.nav--scrolled .btn--nav {
    color: var(--violet);
    border-color: var(--violet);
}
.nav.nav--scrolled .btn--nav:hover {
    background: var(--violet-dim);
}
.btn--lg { padding: 15px 30px; font-size: 16px; border-radius: var(--r-lg); }
.btn--sm { padding: 9px 18px; font-size: 13.5px; border-radius: var(--r-sm); }
/* Mobile-only nav CTA — hidden on desktop */
.btn--nav-cta { display: none; }

/* ----------------------------------------------
   6. Navigation
   ---------------------------------------------- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    height: var(--nav-h);
    transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s, border-color 0.3s;
    border-bottom: 1px solid transparent;
}
.nav.nav--scrolled {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--g200);
    box-shadow: var(--s-sm);
}
.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo__img {
    height: 44px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    transition: filter 0.3s;
}
.nav.nav--scrolled .logo__img { filter: none; }
.logo__img--footer            { filter: brightness(0) invert(1); height: 38px; }

.logo__svg {
    height: 44px;
    width: auto;
    display: block;
    color: white;
    transition: color 0.3s;
}
.nav.nav--scrolled .logo__svg  { color: #7C3AED; }
.logo__svg--footer             { color: white; height: 38px; }

/* Nav links */
.nav__menu {
    display: flex;
    align-items: center;
    gap: 36px;
}
.nav__links {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav__link {
    font-size: 14.5px;
    font-weight: 500;
    color: rgba(255,255,255,0.72);
}
.nav__link:hover { color: var(--white); }
.nav.nav--scrolled .nav__link       { color: var(--g700); }
.nav.nav--scrolled .nav__link:hover { color: var(--violet); }
.nav__link--active { color: var(--white) !important; }
.nav.nav--scrolled .nav__link--active { color: var(--violet) !important; }

/* Hamburger */
.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: var(--r-sm);
}
.nav__hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}
.nav.nav--scrolled .nav__hamburger span { background: var(--g700); }
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------
   7. Hero
   ---------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--nav-h);
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}
.hero__glow--a {
    width: 700px; height: 600px;
    background: rgba(124,58,237,0.26);
    top: -140px; left: -80px;
}
.hero__glow--b {
    width: 480px; height: 420px;
    background: rgba(192,132,252,0.14);
    bottom: -60px; right: 60px;
}
.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.024) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.024) 1px, transparent 1px);
    background-size: 64px 64px;
}
.hero__container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
    padding-top: 56px;
    padding-bottom: 80px;
}

.hero__headline {
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 900;
    line-height: 1.08;
    color: var(--white);
    letter-spacing: -0.035em;
    margin-bottom: 24px;
}
.hero__sub {
    font-size: 17px;
    color: rgba(255,255,255,0.58);
    line-height: 1.8;
    max-width: 500px;
    margin-bottom: 42px;
}
.hero__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}
.hero__trust {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(255,255,255,0.55);
}
.trust-sep {
    color: rgba(255,255,255,0.2);
    font-size: 14px;
}

/* Dashboard card */
.dash-card {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: var(--r-2xl);
    padding: 24px;
    box-shadow: var(--s-xl), 0 0 0 1px rgba(255,255,255,0.03) inset;
    animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }

.dash-card__head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin-bottom: 4px;
    font-size: 13px;
    color: rgba(255,255,255,0.58);
    font-weight: 500;
}
.dash-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.dash-dot--live {
    background: var(--green);
    box-shadow: 0 0 6px var(--green);
    animation: blink 2s ease-in-out infinite;
}
.dash-live-badge {
    margin-left: auto;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--green);
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.22);
    padding: 2px 8px;
    border-radius: var(--r-full);
}

.dash-flows { display: flex; flex-direction: column; }
.dash-rule  { height: 1px; background: rgba(255,255,255,0.05); }

.dash-flow {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 0;
}
.dash-flow__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    background: rgba(255,255,255,0.06);
    border-radius: var(--r-sm);
    flex-shrink: 0;
    color: rgba(255,255,255,0.55);
}
.dash-flow__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.dash-flow__label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.88);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dash-flow__status {
    font-size: 11.5px;
    font-weight: 500;
}
.dash-flow__status--done  { color: var(--green); }
.dash-flow__status--wait  { color: var(--amber); }
.dash-flow__status--sched { color: var(--violet-soft); }

.dash-tick {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 20px; height: 20px;
}
.dash-tick--done  { color: var(--green); }
.dash-tick--wait  { color: var(--amber); }
.dash-tick--sched { color: var(--violet-soft); }

.dash-card__foot {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.dash-stat {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border-radius: var(--r-md);
    padding: 10px 10px;
    text-align: center;
}
.dash-stat strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 3px;
}
.dash-stat span {
    font-size: 11px;
    color: rgba(255,255,255,0.42);
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    color: rgba(255,255,255,0.22);
    letter-spacing: 0.04em;
    animation: scrollBounce 2.2s ease-in-out infinite;
}
.hero__scroll-arrow {
    width: 17px; height: 17px;
    border-right: 1.5px solid rgba(255,255,255,0.22);
    border-bottom: 1.5px solid rgba(255,255,255,0.22);
    transform: rotate(45deg);
    margin-top: -3px;
}
@keyframes scrollBounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(8px); }
}

/* ----------------------------------------------
   8. Stats Bar
   ---------------------------------------------- */
.stats-bar {
    background: var(--white);
    border-bottom: 1px solid var(--g200);
    padding: 36px 0;
}
.stats-bar__grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.stat {
    flex: 1;
    min-width: 160px;
    text-align: center;
    padding: 4px 24px;
}
.stat__num {
    display: block;
    font-size: 34px;
    font-weight: 900;
    color: var(--violet);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 6px;
}
.stat__label {
    font-size: 13px;
    color: var(--g500);
    line-height: 1.45;
}
.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--g200);
    flex-shrink: 0;
}

/* ----------------------------------------------
   9. Marquee
   ---------------------------------------------- */
.marquee-section {
    background: var(--white);
    padding: 36px 0 38px;
    border-bottom: 1px solid var(--g200);
}
.marquee-label {
    text-align: center;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--g400);
    margin-bottom: 22px;
}
.marquee-wrap {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.marquee-track {
    display: flex;
    align-items: center;
    gap: 72px;
    width: max-content;
    animation: marquee 38s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.mq-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
    opacity: 0.45;
    transition: opacity 0.25s;
}
.mq-logo:hover { opacity: 0.8; }
.mq-logo img {
    height: 20px;
    width: auto;
    display: block;
    filter: grayscale(1);
}
.mq-logo span {
    font-size: 15px;
    font-weight: 700;
    color: var(--g600);
    white-space: nowrap;
    letter-spacing: -0.015em;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ----------------------------------------------
   10. Services / Automations Grid
   ---------------------------------------------- */
.automations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}
.services-3-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 32px;
    align-items: stretch;
}
.automation-card {
    background: var(--white);
    border: 1px solid var(--g200);
    border-radius: var(--r-lg);
    padding: 28px 26px;
    position: relative;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.automation-card:hover {
    border-color: var(--violet-bdr);
    box-shadow: var(--s-md);
    transform: translateY(-4px);
}
.automation-card--feature {
    border-color: var(--violet-bdr);
    box-shadow: 0 0 0 1px var(--violet-bdr) inset, var(--s-md);
}
.automation-card--feature:hover {
    box-shadow: 0 0 0 1px var(--violet) inset, var(--s-lg);
}
.automation-card__badge {
    position: absolute;
    top: -11px;
    left: 22px;
    background: var(--violet);
    color: var(--white);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 4px 11px;
    border-radius: var(--r-full);
    white-space: nowrap;
}
.automation-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    background: var(--violet-dim);
    border-radius: var(--r-md);
    color: var(--violet);
    margin-bottom: 18px;
}
.automation-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--g900);
    margin-bottom: 10px;
    line-height: 1.3;
}
.automation-card p {
    font-size: 14px;
    color: var(--g600);
    line-height: 1.7;
}
.automation-card__list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--g200);
}
.automation-card__list li {
    font-size: 13px;
    color: var(--g700);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}
.automation-card__list li::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}
.automations-note {
    text-align: center;
    font-size: 14px;
    color: var(--g500);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ----------------------------------------------
   10b. Pain Points
   ---------------------------------------------- */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.pain-card {
    background: var(--white);
    border: 1px solid var(--g200);
    border-radius: var(--r-lg);
    padding: 28px 26px;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.pain-card:hover {
    border-color: var(--violet-bdr);
    box-shadow: var(--s-md);
    transform: translateY(-4px);
}
.pain-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    background: var(--violet-dim);
    border-radius: var(--r-md);
    color: var(--violet);
    margin-bottom: 18px;
}
.pain-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--g900);
    margin-bottom: 10px;
    line-height: 1.3;
}
.pain-card p {
    font-size: 14px;
    color: var(--g600);
    line-height: 1.7;
}

/* ----------------------------------------------
   11. Services
   ---------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--g200);
    border-radius: var(--r-xl);
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.25s, transform 0.25s;
}
.service-card:hover {
    box-shadow: var(--s-lg);
    transform: translateY(-5px);
}
.service-card--featured {
    background: var(--violet);
    border-color: var(--violet);
}
.service-card--featured:hover {
    box-shadow: 0 12px 44px rgba(124,58,237,0.35), 0 4px 16px rgba(124,58,237,0.2);
}

.service-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #059669;
    color: var(--white);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 13px;
    border-radius: var(--r-full);
    white-space: nowrap;
}
.service-card__tier {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--g400);
    margin-bottom: 14px;
}
.service-card--featured .service-card__tier { color: rgba(255,255,255,0.48); }

.service-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    background: var(--violet-dim);
    border-radius: var(--r-md);
    color: var(--violet);
    margin-bottom: 14px;
}
.service-card__icon--light {
    background: rgba(255,255,255,0.15);
    color: var(--white);
}
.service-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--g900);
    margin-bottom: 10px;
    line-height: 1.3;
}
.service-card--featured .service-card__title { color: var(--white); }
.service-card__desc {
    font-size: 13.5px;
    color: var(--g600);
    line-height: 1.7;
    margin-bottom: 16px;
}
.service-card--featured .service-card__desc { color: rgba(255,255,255,0.65); }
.service-card__price {
    font-size: 19px;
    font-weight: 800;
    color: var(--violet);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.service-card__price span { font-size: 13px; font-weight: 500; color: var(--g500); }
.service-card--featured .service-card__price { color: #C4B5FD; }
.service-card--featured .service-card__price span { color: rgba(255,255,255,0.5); }
.service-card__list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 22px;
}
.service-card__list li {
    font-size: 13px;
    color: var(--g700);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}
.service-card__list li::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}
.service-card--featured .service-card__list li         { color: rgba(255,255,255,0.72); }
.service-card--featured .service-card__list li::before { color: #A7F3D0; }

/* ----------------------------------------------
   12. How It Works
   ---------------------------------------------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
}
.process-grid::before {
    content: '';
    position: absolute;
    top: 26px;
    left: calc(12.5% + 18px);
    right: calc(12.5% + 18px);
    height: 2px;
    background: var(--g200);
    z-index: 0;
}
.process-step {
    text-align: center;
    padding: 0 16px;
    position: relative;
    z-index: 1;
}
.process-step__num {
    width: 52px; height: 52px;
    background: var(--violet);
    color: var(--white);
    font-size: 16px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 8px var(--white), 0 0 0 9px var(--g200);
}
.section--muted .process-step__num {
    box-shadow: 0 0 0 8px var(--off-white), 0 0 0 9px var(--g200);
}
.process-step__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--g900);
    margin-bottom: 12px;
}
.process-step__desc {
    font-size: 14px;
    color: var(--g600);
    line-height: 1.7;
}

/* ----------------------------------------------
   13. Why AK Automations
   ---------------------------------------------- */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.why-points {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 36px;
}
.why-point {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.why-point__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    background: var(--violet-dim);
    border-radius: var(--r-md);
    color: var(--violet);
    flex-shrink: 0;
}
.why-point h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--g900);
    margin-bottom: 5px;
}
.why-point p {
    font-size: 14px;
    color: var(--g600);
    line-height: 1.7;
}

/* Stack card */
.stack-card {
    background: var(--white);
    border: 1px solid var(--g200);
    border-radius: var(--r-2xl);
    padding: 28px;
    box-shadow: var(--s-lg);
}
.stack-card__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--g400);
    margin-bottom: 18px;
}
.stack-items { display: flex; flex-direction: column; gap: 4px; }
.stack-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border-radius: var(--r-md);
    transition: background 0.2s;
}
.stack-item:hover { background: var(--g50); }
.stack-item__badge {
    width: 38px; height: 38px;
    color: var(--white);
    font-size: 11.5px;
    font-weight: 800;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.01em;
}
.stack-item__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.stack-item__name { font-size: 14px; font-weight: 600; color: var(--g900); }
.stack-item__role { font-size: 12px; color: var(--g500); }
.stack-item__dot {
    width: 7px; height: 7px;
    background: var(--green);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 5px rgba(16,185,129,0.5);
}

/* Maths card */
.math-card { margin-bottom: 0; }
.math-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 18px;
}
.math-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 14px;
    background: var(--g50);
    border-radius: var(--r-md);
}
.math-stat__value {
    font-size: 22px;
    font-weight: 800;
    color: var(--violet);
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.math-stat__label {
    font-size: 12px;
    color: var(--g500);
}
.math-card__footnote {
    font-size: 12px;
    color: var(--g500);
    line-height: 1.6;
    border-top: 1px solid var(--g200);
    padding-top: 14px;
    margin: 0;
}

/* Moments card */
.moments { display: flex; flex-direction: column; }
.moment {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.moment__track {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}
.moment__step {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--g100);
    color: var(--g600);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.moment__step--accent {
    background: var(--violet-dim);
    color: var(--violet);
}
.moment__step--green {
    background: rgba(16,185,129,0.1);
    color: var(--green);
}
.moment__line {
    width: 2px;
    flex: 1;
    min-height: 18px;
    background: var(--g200);
    margin: 4px 0;
}
.moment__content {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 2px 0 18px;
}
.moment--last .moment__content { padding-bottom: 0; }
.moment__title { font-size: 14px; font-weight: 600; color: var(--g900); line-height: 1.4; }
.moment__desc  { font-size: 12px; color: var(--g500); line-height: 1.5; }

/* ----------------------------------------------
   14. Founding Client section
   ---------------------------------------------- */
.founding-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 40px;
}
.founding-card {
    background: var(--white);
    border: 1px solid var(--g200);
    border-radius: var(--r-xl);
    padding: 30px 26px;
    transition: box-shadow 0.25s, transform 0.25s;
}
.founding-card:hover {
    box-shadow: var(--s-md);
    transform: translateY(-4px);
}
.founding-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    background: var(--violet-dim);
    border-radius: var(--r-md);
    color: var(--violet);
    margin-bottom: 18px;
}
.founding-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--g900);
    margin-bottom: 10px;
    line-height: 1.3;
}
.founding-card p {
    font-size: 14px;
    color: var(--g600);
    line-height: 1.7;
}
.founding-cta {
    text-align: center;
}

/* ----------------------------------------------
   14b. Testimonials (kept for future use)
   ---------------------------------------------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.testimonial {
    background: var(--white);
    border: 1px solid var(--g200);
    border-radius: var(--r-xl);
    padding: 28px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s, transform 0.25s;
}
.testimonial:hover {
    box-shadow: var(--s-md);
    transform: translateY(-4px);
}
.testimonial__stars {
    color: var(--amber);
    font-size: 15px;
    letter-spacing: 3px;
    margin-bottom: 16px;
}
.testimonial blockquote {
    font-size: 15px;
    color: var(--g700);
    line-height: 1.75;
    flex: 1;
    margin-bottom: 22px;
    font-style: italic;
}
.testimonial__author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial__avatar {
    width: 42px; height: 42px;
    background: var(--g100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--g500);
    flex-shrink: 0;
}
.testimonial__author strong { display: block; font-size: 14px; font-weight: 700; color: var(--g900); }
.testimonial__author span  { font-size: 12.5px; color: var(--g500); }

/* ----------------------------------------------
   15. Pricing
   ---------------------------------------------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
    margin-bottom: 24px;
}
.pricing-card {
    background: var(--white);
    border: 1px solid var(--g200);
    border-radius: var(--r-xl);
    padding: 28px 22px;
    text-align: center;
    position: relative;
    transition: box-shadow 0.25s, transform 0.25s;
}
.pricing-card:hover {
    box-shadow: var(--s-lg);
    transform: translateY(-5px);
}
.pricing-card--featured {
    background: var(--violet);
    border-color: var(--violet);
}
.pricing-card--featured:hover {
    box-shadow: 0 12px 44px rgba(124,58,237,0.35);
}
.pricing-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #059669;
    color: var(--white);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 13px;
    border-radius: var(--r-full);
    white-space: nowrap;
}
.pricing-card__name {
    font-size: 16px;
    font-weight: 700;
    color: var(--g900);
    margin-bottom: 18px;
}
.pricing-card--featured .pricing-card__name { color: var(--white); }
.pricing-card__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    margin-bottom: 14px;
}
.pricing-card__from, .pricing-card__unit { font-size: 13px; color: var(--g500); }
.pricing-card--featured .pricing-card__from,
.pricing-card--featured .pricing-card__unit { color: rgba(255,255,255,0.52); }
.pricing-card__price strong {
    font-size: 36px;
    font-weight: 900;
    color: var(--g900);
    letter-spacing: -0.04em;
    line-height: 1;
}
.pricing-card--featured .pricing-card__price strong { color: var(--white); }
.pricing-card p { font-size: 14px; color: var(--g600); line-height: 1.65; margin-bottom: 24px; }
.pricing-card--featured p { color: rgba(255,255,255,0.65); }
.pricing-card--featured .btn--white:hover { background: var(--g50); }
.pricing-note {
    text-align: center;
    font-size: 13px;
    color: var(--g500);
}

/* ----------------------------------------------
   15b. Investment / Pricing (replaces pricing cards)
   ---------------------------------------------- */
.invest-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}
.invest-metric {
    background: var(--white);
    border: 1px solid var(--g200);
    border-radius: var(--r-xl);
    padding: 36px 28px;
    text-align: center;
    transition: box-shadow 0.25s, transform 0.25s;
}
.invest-metric:hover {
    box-shadow: var(--s-md);
    transform: translateY(-4px);
}
.invest-metric strong {
    display: block;
    font-size: 34px;
    font-weight: 900;
    color: var(--violet);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 10px;
}
.invest-metric span {
    font-size: 14px;
    color: var(--g500);
    line-height: 1.55;
}
.invest-note {
    background: var(--white);
    border: 1px solid var(--g200);
    border-radius: var(--r-2xl);
    padding: 44px 48px;
    text-align: center;
}
.invest-note p {
    font-size: 16px;
    color: var(--g600);
    line-height: 1.85;
    max-width: 640px;
    margin: 0 auto 32px;
}
.invest-note p strong {
    color: var(--g900);
    font-weight: 700;
}

/* ----------------------------------------------
   16. FAQ
   ---------------------------------------------- */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--g200);
}
.faq-item:first-child {
    border-top: 1px solid var(--g200);
}
.faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--g900);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}
.faq-btn:hover { color: var(--violet); }
.faq-btn[aria-expanded="true"] { color: var(--violet); }
.faq-chevron {
    flex-shrink: 0;
    color: var(--g400);
    transition: transform 0.3s ease, color 0.2s;
}
.faq-btn[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
    color: var(--violet);
}
.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.38s cubic-bezier(0.16,1,0.3,1);
}
.faq-answer p {
    padding-bottom: 20px;
    font-size: 15px;
    color: var(--g600);
    line-height: 1.78;
}

/* ----------------------------------------------
   17. CTA Section
   ---------------------------------------------- */
.cta-section {
    position: relative;
    background: var(--dark);
    padding: var(--sec-py) 0;
    overflow: hidden;
    text-align: center;
}
.cta-section__bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 90% at 50% 50%, rgba(124,58,237,0.28) 0%, transparent 70%);
    pointer-events: none;
}
.cta-section__inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
}
.cta-section h2 {
    font-size: clamp(26px, 4vw, 44px);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.025em;
    line-height: 1.18;
    margin-bottom: 18px;
}
.cta-section p {
    font-size: 17px;
    color: rgba(255,255,255,0.55);
    line-height: 1.75;
    margin-bottom: 36px;
}
.cta-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto 16px;
    text-align: left;
}
.cta-form__row {
    display: flex;
    gap: 12px;
}
.cta-form__select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    color: rgba(255,255,255,0.45);
}
.cta-form__select option {
    color: var(--g900);
    background: var(--white);
}
.cta-section__contact-alt {
    font-size: 13px !important;
    color: rgba(255,255,255,0.35) !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
}
.cta-section__contact-alt a {
    color: rgba(255,255,255,0.55);
    text-decoration: underline;
}
.cta-form__input {
    flex: 1;
    min-width: 0;
    padding: 15px 18px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: var(--r-md);
    color: var(--white);
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}
.cta-form__input::placeholder { color: rgba(255,255,255,0.32); }
.cta-form__input:focus {
    border-color: var(--violet);
    background: rgba(255,255,255,0.1);
}
.cta-section__disclaimer {
    font-size: 13px !important;
    color: rgba(255,255,255,0.28) !important;
    margin-bottom: 0 !important;
}

/* ----------------------------------------------
   18. Footer
   ---------------------------------------------- */
.footer {
    background: var(--dark-2);
    padding: 64px 0 0;
}
.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer__brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.42);
    line-height: 1.75;
    margin-top: 16px;
    max-width: 260px;
}
.footer__social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.footer__social-link {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.48);
    transition: background 0.2s, color 0.2s;
}
.footer__social-link:hover {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}
.footer__col h4 {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--white);
    margin-bottom: 18px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 11px; }
.footer__col li,
.footer__col li a { font-size: 14px; color: rgba(255,255,255,0.42); }
.footer__col li a:hover { color: var(--white); }
.footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.28);
}
.footer__bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer__privacy-note {
    font-size: 12px;
    color: rgba(255,255,255,0.22);
}
.footer__privacy-note a { color: rgba(255,255,255,0.38); text-decoration: underline; }
.footer__privacy-note a:hover { color: var(--white); }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { color: rgba(255,255,255,0.32); }
.footer__legal a:hover { color: var(--white); }

/* ----------------------------------------------
   19. Scroll Reveal
   ---------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.automations-grid  .reveal:nth-child(1) { transition-delay: 0.00s; }
.automations-grid  .reveal:nth-child(2) { transition-delay: 0.05s; }
.automations-grid  .reveal:nth-child(3) { transition-delay: 0.10s; }
.automations-grid  .reveal:nth-child(4) { transition-delay: 0.15s; }
.automations-grid  .reveal:nth-child(5) { transition-delay: 0.20s; }
.automations-grid  .reveal:nth-child(6) { transition-delay: 0.25s; }
.automations-grid  .reveal:nth-child(7) { transition-delay: 0.30s; }
.automations-grid  .reveal:nth-child(8) { transition-delay: 0.35s; }
.services-3-grid   .reveal:nth-child(1) { transition-delay: 0.00s; }
.services-3-grid   .reveal:nth-child(2) { transition-delay: 0.10s; }
.services-3-grid   .reveal:nth-child(3) { transition-delay: 0.20s; }
.pain-grid         .reveal:nth-child(1) { transition-delay: 0.00s; }
.pain-grid         .reveal:nth-child(2) { transition-delay: 0.07s; }
.pain-grid         .reveal:nth-child(3) { transition-delay: 0.14s; }
.pain-grid         .reveal:nth-child(4) { transition-delay: 0.21s; }
.pain-grid         .reveal:nth-child(5) { transition-delay: 0.28s; }
.pain-grid         .reveal:nth-child(6) { transition-delay: 0.35s; }
.services-grid     .reveal:nth-child(1) { transition-delay: 0.00s; }
.services-grid     .reveal:nth-child(2) { transition-delay: 0.09s; }
.services-grid     .reveal:nth-child(3) { transition-delay: 0.18s; }
.services-grid     .reveal:nth-child(4) { transition-delay: 0.27s; }
.process-grid      .reveal:nth-child(1) { transition-delay: 0.00s; }
.process-grid      .reveal:nth-child(2) { transition-delay: 0.11s; }
.process-grid      .reveal:nth-child(3) { transition-delay: 0.22s; }
.process-grid      .reveal:nth-child(4) { transition-delay: 0.33s; }
.pricing-grid      .reveal:nth-child(1) { transition-delay: 0.00s; }
.pricing-grid      .reveal:nth-child(2) { transition-delay: 0.09s; }
.pricing-grid      .reveal:nth-child(3) { transition-delay: 0.18s; }
.pricing-grid      .reveal:nth-child(4) { transition-delay: 0.27s; }
.testimonials-grid .reveal:nth-child(1) { transition-delay: 0.00s; }
.testimonials-grid .reveal:nth-child(2) { transition-delay: 0.11s; }
.testimonials-grid .reveal:nth-child(3) { transition-delay: 0.22s; }
.invest-metrics   .reveal:nth-child(1) { transition-delay: 0.00s; }
.invest-metrics   .reveal:nth-child(2) { transition-delay: 0.09s; }
.invest-metrics   .reveal:nth-child(3) { transition-delay: 0.18s; }
.founding-grid    .reveal:nth-child(1) { transition-delay: 0.00s; }
.founding-grid    .reveal:nth-child(2) { transition-delay: 0.11s; }
.founding-grid    .reveal:nth-child(3) { transition-delay: 0.22s; }

/* ----------------------------------------------
   20. Responsive
   ---------------------------------------------- */
@media (max-width: 1100px) {
    :root { --sec-py: 80px; }
    .why-grid { gap: 56px; }
    .hero__container { gap: 48px; }
}

@media (max-width: 860px) {
    :root { --sec-py: 64px; }
    .hero__container { grid-template-columns: 1fr; gap: 48px; padding-top: 40px; }
    .dash-card { animation: none; }
    .automations-grid { grid-template-columns: repeat(2, 1fr); }
    .services-3-grid { grid-template-columns: 1fr; gap: 28px; }
    .pain-grid { grid-template-columns: repeat(2, 1fr); }
    .invest-metrics { grid-template-columns: 1fr; gap: 14px; }
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
    .process-grid::before { display: none; }
    .why-grid { grid-template-columns: 1fr; gap: 48px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .stats-bar__grid { flex-direction: column; gap: 0; }
    .stat-divider { width: 60px; height: 1px; margin: 0 auto; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 640px) {
    :root { --sec-py: 52px; }
    .container { padding: 0 18px; }

    /* Mobile nav */
    .nav__hamburger { display: flex; }
    .nav__menu {
        position: fixed;
        inset: var(--nav-h) 0 0 0;
        background: var(--dark);
        padding: 36px 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
        overflow-y: auto;
    }
    .nav__menu.is-open { transform: translateX(0); }
    .nav__links { flex-direction: column; align-items: flex-start; gap: 20px; }
    .nav__link { font-size: 20px; color: rgba(255,255,255,0.8); }
    .btn--nav { font-size: 16px; padding: 12px 24px; }

    .pain-grid,
    .process-grid { grid-template-columns: 1fr; }

    .hero__actions { flex-direction: column; align-items: stretch; }
    .hero__actions .btn { justify-content: center; }
    .cta-form { flex-direction: column; }
    .footer__grid { grid-template-columns: 1fr; gap: 28px; }
    .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
    .section-header { margin-bottom: 44px; }
    .invest-note { padding: 28px 20px; }
    .founding-grid { grid-template-columns: 1fr; }
    .hero__scroll { display: none; }
    .cta-form__row { flex-direction: column; }
    .btn--nav-cta { display: inline-flex; font-size: 12px; padding: 8px 14px; }
}

@media (max-width: 400px) {
    :root { --sec-py: 44px; }
    .hero__headline { font-size: 34px; }
}

/* ----------------------------------------------
   21. Reduced motion
   ---------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .marquee-track,
    .dash-card,
    .hero__scroll,
    .dash-dot--live { animation: none !important; }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
