/* ============================================
   TERP landing page
   Brand: TERP (a Semicolans product)
   Logo wordmark uses the Segoe UI splash font
   ============================================ */

/* ---- DESIGN TOKENS ---- */
:root {
    --navy:        #0A2540;
    --navy-deep:   #061a30;
    --navy-soft:   #1B3A5C;
    --amber:       #E8A726;
    --amber-soft:  #F4C76A;
    --amber-deep:  #B5811E;
    --cream:       #FAF6EE;
    --cream-warm:  #F5EFE1;
    --paper:       #FFFFFF;
    --ink:         #1A1A1A;
    --ink-soft:    #2D2D2D;
    --muted:       #5C5C5C;
    --muted-light: #8E8E8E;
    --line:        #E5DFD0;
    --line-strong: #C9C0AC;
    --success:     #1F7A5A;
    --danger:      #C73E3E;

    --display: 'Space Grotesk', system-ui, sans-serif;
    --body:    'Inter', system-ui, sans-serif;
    --mono:    'JetBrains Mono', 'Courier New', monospace;
    /* Logo/brand wordmark — matches the TERP Lite splash (Segoe UI) */
    --brand:   "Segoe UI", "Segoe UI Variable Display", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

    --container: 1240px;
    --pad: clamp(20px, 4vw, 48px);

    --shadow-sm: 0 1px 3px rgba(10,37,64,0.08), 0 1px 2px rgba(10,37,64,0.04);
    --shadow-md: 0 4px 20px rgba(10,37,64,0.08), 0 2px 6px rgba(10,37,64,0.05);
    --shadow-lg: 0 20px 60px rgba(10,37,64,0.12), 0 8px 20px rgba(10,37,64,0.06);
    --shadow-amber: 0 12px 30px rgba(232,167,38,0.25);

    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 16px;
    --r-xl: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-soft);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
input, textarea, select { font: inherit; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--pad);
    padding-right: var(--pad);
}

.amber { color: var(--amber); font-family: var(--mono); font-weight: 700; }

.section-label {
    display: inline-block;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--amber-deep);
    padding: 6px 0;
    margin-bottom: 16px;
    position: relative;
}
.section-label-light { color: var(--amber-soft); }

.section-title {
    font-family: var(--display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 600;
    line-height: 1.15;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin: 0 0 20px;
}

.section-lead {
    font-size: clamp(16px, 1.4vw, 18px);
    color: var(--muted);
    max-width: 640px;
    margin: 0;
}

.section-head {
    text-align: center;
    margin: 0 auto 60px;
    max-width: 780px;
}
.section-head .section-lead { margin: 0 auto; }

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    font-family: var(--display);
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--r-md);
    border: 2px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}
.btn-primary {
    background: var(--amber);
    color: var(--navy);
    border-color: var(--amber);
    box-shadow: var(--shadow-amber);
}
.btn-primary:hover {
    background: var(--amber-soft);
    border-color: var(--amber-soft);
    transform: translateY(-2px);
}
.btn-ghost {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn-ghost:hover {
    background: var(--navy);
    color: var(--paper);
}
.btn-lg { padding: 18px 32px; font-size: 17px; }
.btn-block { width: 100%; justify-content: center; }
.btn-arrow { transition: transform 0.2s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }
.dl-icon {
    font-family: var(--mono);
    font-weight: 700;
    font-size: 18px;
}
.size-tag {
    font-family: var(--mono);
    font-size: 12px;
    background: rgba(10,37,64,0.12);
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 8px;
}

/* ============================================
   NAV
   ============================================ */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 246, 238, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 16px var(--pad);
    display: flex;
    align-items: center;
    gap: 32px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    font-family: var(--display);
    font-weight: 700;
    color: var(--navy);
}
.brand-logo {
    height: 30px;
    width: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}
.brand-name {
    font-family: var(--brand);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1;
}
.brand-semi {
    font-family: var(--mono);
    font-size: 28px;
    font-weight: 700;
    color: var(--amber);
    line-height: 0.6;
    position: relative;
    top: 1px;
}
.nav-links {
    display: flex;
    gap: 28px;
    margin-left: auto;
}
.nav-links a {
    font-family: var(--display);
    font-weight: 500;
    font-size: 14px;
    color: var(--ink-soft);
    transition: color 0.15s ease;
    position: relative;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 2px;
    background: var(--amber);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
    background: var(--navy);
    color: var(--paper);
    padding: 10px 18px;
    border-radius: var(--r-md);
    font-family: var(--display);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover {
    background: var(--navy-deep);
    transform: translateY(-1px);
}
.nav-cta .arrow { color: var(--amber); }
.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}
.nav-toggle span {
    width: 22px; height: 2px;
    background: var(--navy);
    transition: transform 0.2s, opacity 0.2s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(50px, 8vh, 90px) 0 0;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(232,167,38,0.10) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 50%, rgba(10,37,64,0.05) 0%, transparent 50%),
        var(--cream);
}
.hero-bg-mark {
    position: absolute;
    right: -10%;
    top: 20%;
    font-family: var(--mono);
    font-size: clamp(400px, 60vw, 900px);
    color: rgba(232, 167, 38, 0.05);
    font-weight: 700;
    line-height: 0.6;
    user-select: none;
    pointer-events: none;
    z-index: 0;
}
.hero-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--pad) 60px;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 8px 16px;
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    box-shadow: var(--shadow-sm);
    margin-bottom: 28px;
}
.hero-eyebrow .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(31, 122, 90, 0.15);
    animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(31,122,90,0.15); }
    50% { box-shadow: 0 0 0 8px rgba(31,122,90,0.03); }
}
.hero-title {
    font-family: var(--display);
    font-size: clamp(40px, 6.5vw, 76px);
    font-weight: 600;
    line-height: 0.98;
    color: var(--navy);
    letter-spacing: -0.035em;
    margin: 0 0 28px;
}
.hero-semi {
    color: var(--amber);
    font-family: var(--mono);
    font-weight: 700;
    display: inline-block;
    transform: translateY(-0.04em);
}
.hero-title-soft {
    color: var(--navy-soft);
    font-weight: 400;
    font-style: italic;
}
.hero-sub {
    font-size: clamp(16px, 1.5vw, 19px);
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 36px;
    max-width: 580px;
}
.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.trust-item {
    font-family: var(--display);
    font-size: 14px;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.trust-item strong {
    color: var(--success);
    font-size: 16px;
}

.hero-visual {
    position: relative;
}
.hero-visual img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(10, 37, 64, 0.18));
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-meta-wrap {
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 1;
}
.hero-meta {
    max-width: var(--container);
    margin: 0 auto;
    padding: 28px var(--pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(16px, 3vw, 32px);
    flex-wrap: wrap;
}
.meta-item {
    display: flex;
    flex-direction: column;
}
.meta-item strong {
    font-family: var(--display);
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 600;
    color: var(--navy);
    line-height: 1;
}
.meta-item span {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted);
    margin-top: 6px;
}
.meta-divider {
    width: 1px; height: 32px;
    background: var(--line-strong);
}

/* ============================================
   INTRO
   ============================================ */
.intro {
    padding: clamp(60px, 10vh, 110px) 0;
    background: var(--paper);
}
.intro-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}
.intro-text p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
    margin: 0 0 16px;
}
.intro-text p strong { color: var(--navy); font-weight: 600; }
.intro-callout {
    background: var(--cream-warm);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    padding: 32px;
    position: relative;
}
.callout-tag {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--amber-deep);
    margin-bottom: 20px;
}
.callout-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.callout-list li {
    font-family: var(--display);
    font-weight: 500;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 12px;
}
.callout-list li span {
    color: var(--amber);
    font-family: var(--mono);
    font-weight: 700;
}

/* ============================================
   MODULES
   ============================================ */
.modules {
    padding: clamp(70px, 12vh, 130px) 0;
    background: var(--cream);
}
.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.module-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}
.module-card.in-view {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.module-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-top: 3px solid transparent;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    transition: border-color 0.3s ease;
    pointer-events: none;
}
.module-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.module-card:hover::after { border-top-color: var(--amber); }

.module-num {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 700;
    color: var(--muted-light);
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}
.module-icon {
    width: 48px;
    height: 48px;
    background: var(--cream-warm);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    margin-bottom: 20px;
    transition: background 0.3s, color 0.3s;
}
.module-card:hover .module-icon {
    background: var(--navy);
    color: var(--amber);
}
.module-icon svg { width: 24px; height: 24px; }
.module-card h3 {
    font-family: var(--display);
    font-size: 22px;
    font-weight: 600;
    color: var(--navy);
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}
.module-card > p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 20px;
}
.module-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}
.module-list li {
    font-family: var(--mono);
    font-size: 11px;
    background: var(--cream-warm);
    color: var(--navy);
    padding: 5px 10px;
    border-radius: 100px;
    font-weight: 500;
}
.module-card-cross {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
    color: var(--paper);
    border-color: var(--navy);
}
.module-card-cross h3 { color: var(--paper); }
.module-card-cross > p { color: rgba(255,255,255,0.75); }
.module-card-cross .module-icon { background: rgba(232,167,38,0.18); color: var(--amber); }
.module-card-cross:hover .module-icon { background: var(--amber); color: var(--navy); }
.module-card-cross .module-num { color: rgba(255,255,255,0.4); }
.module-card-cross .module-list { border-top-color: rgba(255,255,255,0.12); }
.module-card-cross .module-list li {
    background: rgba(232,167,38,0.15);
    color: var(--amber-soft);
}

/* ============================================
   FEATURES
   ============================================ */
.features {
    padding: clamp(70px, 12vh, 130px) 0;
    background: var(--paper);
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.feature {
    padding: 32px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    transition: background 0.3s;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
}
.feature.in-view {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, background 0.3s;
}
.feature:hover { background: var(--cream); }
.feature-num {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--amber);
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.feature-num::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
    max-width: 40px;
}
.feature h4 {
    font-family: var(--display);
    font-size: 19px;
    font-weight: 600;
    color: var(--navy);
    margin: 0 0 10px;
}
.feature p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   SCREENS WITH TABS
   ============================================ */
.screens {
    padding: clamp(70px, 12vh, 130px) 0;
    background: var(--cream);
}
.screen-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.screen-tab {
    background: var(--paper);
    color: var(--navy);
    border: 1px solid var(--line);
    padding: 10px 20px;
    border-radius: 100px;
    font-family: var(--display);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}
.screen-tab:hover {
    border-color: var(--amber);
    color: var(--amber-deep);
}
.screen-tab.active {
    background: var(--navy);
    color: var(--paper);
    border-color: var(--navy);
}

.screen-frame {
    background: var(--paper);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
    max-width: 1100px;
    margin: 0 auto;
}
.screen-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.2s;
}
.screen-caption {
    text-align: center;
    color: var(--muted);
    font-size: 15px;
    max-width: 700px;
    margin: 24px auto 0;
    line-height: 1.6;
}

/* ============================================
   DOWNLOAD
   ============================================ */
.download {
    padding: clamp(60px, 10vh, 110px) 0;
    background: var(--paper);
}
.download-card {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
    border-radius: var(--r-xl);
    overflow: hidden;
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    color: var(--paper);
}
.download-left {
    padding: clamp(40px, 5vw, 60px);
    position: relative;
    z-index: 1;
}
.download-title {
    font-family: var(--display);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 600;
    line-height: 1.1;
    color: var(--paper);
    letter-spacing: -0.02em;
    margin: 0 0 20px;
}
.download-sub {
    font-size: 17px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    margin: 0 0 32px;
    max-width: 540px;
}
.install-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
    max-width: 540px;
}
.step {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.05);
    padding: 12px 16px;
    border-radius: var(--r-md);
    border: 1px solid rgba(255,255,255,0.08);
}
.step-num {
    width: 28px;
    height: 28px;
    background: var(--amber);
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--display);
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}
.step > span:last-child {
    font-family: var(--display);
    font-size: 14px;
    color: var(--paper);
    font-weight: 500;
}
.download-meta {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    flex-wrap: wrap;
}
.download-meta > div { display: flex; flex-direction: column; }
.dl-label {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 6px;
}
.download-meta strong {
    font-family: var(--display);
    font-size: 18px;
    color: var(--paper);
}
.download-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.download .btn-primary {
    background: var(--amber);
    color: var(--navy);
    border-color: var(--amber);
}
.download .btn-ghost {
    background: transparent;
    color: var(--paper);
    border-color: rgba(255,255,255,0.3);
}
.download .btn-ghost:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.5);
    color: var(--paper);
}
.download-fine {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    margin: 0;
    line-height: 1.6;
}
.download-fine a { color: var(--amber-soft); text-decoration: underline; }
.download-right {
    background: rgba(0,0,0,0.18);
    padding: clamp(32px, 4vw, 48px);
    border-left: 1px solid rgba(255,255,255,0.08);
    position: relative;
    z-index: 1;
}
.requirements h4 {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--amber);
    margin: 0 0 24px;
    font-weight: 500;
}
.requirements ul {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.requirements li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.requirements li:last-child { border-bottom: none; padding-bottom: 0; }
.requirements li strong {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}
.requirements li span {
    font-family: var(--display);
    font-size: 14px;
    color: var(--paper);
    font-weight: 500;
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
    padding: clamp(70px, 12vh, 130px) 0;
    background: var(--cream);
}
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}
.price-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 36px 32px;
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    transform: translateY(20px);
    display: flex;
    flex-direction: column;
}
.price-card.in-view {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s;
}
.price-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.price-card-feature {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: var(--paper);
    border-color: var(--navy);
    box-shadow: var(--shadow-lg);
}
.price-card-feature.in-view {
    transform: translateY(-12px) scale(1.02);
}
.price-card-feature:hover {
    transform: translateY(-16px) scale(1.02);
}
.price-tag {
    display: inline-block;
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--amber-deep);
    margin-bottom: 16px;
}
.price-tag-feature {
    color: var(--navy);
    background: var(--amber);
    padding: 4px 12px;
    border-radius: 100px;
    font-weight: 700;
}
.price-name {
    font-family: var(--display);
    font-size: 24px;
    font-weight: 600;
    color: var(--navy);
    margin: 0 0 20px;
}
.price-card-feature .price-name { color: var(--paper); }
.price-amount {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}
.price-card-feature .price-amount { border-color: rgba(255,255,255,0.15); }
.amount {
    font-family: var(--display);
    font-size: 34px;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: -0.02em;
}
.price-card-feature .amount { color: var(--amber); }
.price-blurb {
    font-size: 14px;
    color: var(--muted);
    margin: 0 0 24px;
    line-height: 1.5;
}
.price-card-feature .price-blurb { color: rgba(255,255,255,0.7); }
.price-features {
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}
.price-features li {
    font-size: 14px;
    color: var(--ink-soft);
    padding-left: 24px;
    position: relative;
}
.price-features li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--amber);
    font-family: var(--mono);
    font-weight: 700;
    font-size: 16px;
}
.price-card-feature .price-features li { color: rgba(255,255,255,0.85); }
.price-card-feature .btn-primary {
    background: var(--amber);
    color: var(--navy);
    border-color: var(--amber);
}
.price-card-feature .btn-primary:hover {
    background: var(--paper);
    border-color: var(--paper);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: clamp(70px, 12vh, 130px) 0;
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: var(--paper);
    position: relative;
    overflow: hidden;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    position: relative;
    z-index: 1;
}
.contact-title {
    font-family: var(--display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 600;
    line-height: 1.1;
    color: var(--paper);
    letter-spacing: -0.02em;
    margin: 0 0 20px;
}
.contact-sub {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin: 0 0 40px;
    max-width: 480px;
}
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}
.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--r-md);
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
    color: var(--paper);
}
.contact-method:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(232,167,38,0.5);
    transform: translateX(4px);
}
.contact-icon {
    width: 44px; height: 44px;
    background: rgba(232,167,38,0.15);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber);
    flex-shrink: 0;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-icon-wa {
    background: rgba(37, 211, 102, 0.18);
    color: #25D366;
}
.contact-method small {
    display: block;
    font-family: var(--mono);
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.contact-method strong {
    font-family: var(--display);
    font-size: 16px;
    color: var(--paper);
    font-weight: 500;
}

.ai-callout {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(232,167,38,0.15) 0%, rgba(232,167,38,0.05) 100%);
    border: 1px solid rgba(232,167,38,0.25);
    border-radius: var(--r-md);
}
.ai-icon {
    width: 44px; height: 44px;
    background: var(--amber);
    color: var(--navy);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ai-icon svg { width: 22px; height: 22px; }
.ai-callout strong {
    font-family: var(--display);
    color: var(--paper);
    font-size: 16px;
    display: block;
    margin-bottom: 4px;
}
.ai-callout p {
    margin: 0;
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    line-height: 1.5;
}

.contact-form {
    background: var(--paper);
    border-radius: var(--r-lg);
    padding: 40px;
    color: var(--ink-soft);
}
.contact-form h3 {
    font-family: var(--display);
    font-size: 22px;
    font-weight: 600;
    color: var(--navy);
    margin: 0 0 24px;
}
.contact-form label {
    display: block;
    margin-bottom: 16px;
}
.contact-form label > span {
    display: block;
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted);
    margin-bottom: 8px;
    font-weight: 500;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    background: var(--cream);
    font-family: var(--body);
    font-size: 15px;
    color: var(--ink-soft);
    transition: border-color 0.2s, background 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--amber);
    background: var(--paper);
    box-shadow: 0 0 0 3px rgba(232, 167, 38, 0.15);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-fine {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    margin: 16px 0 0;
    font-family: var(--mono);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy-deep);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand p {
    max-width: 320px;
    font-size: 14px;
    line-height: 1.6;
    margin: 16px 0;
}
.brand-footer { margin-bottom: 8px; align-items: center; }
.brand-footer .brand-logo { height: 28px; }
.brand-name-light { color: var(--paper); }
.brand-semi-light {
    font-family: var(--mono);
    font-size: 28px;
    color: var(--amber);
    font-weight: 700;
    position: relative;
    top: 1px;
}
.footer-version code {
    font-family: var(--mono);
    background: rgba(255,255,255,0.06);
    color: var(--amber-soft);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
}
.footer-col h5 {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--amber);
    margin: 0 0 20px;
    font-weight: 500;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col li { font-size: 14px; color: rgba(255,255,255,0.65); }
.footer-col li a { transition: color 0.15s; }
.footer-col li a:hover { color: var(--amber-soft); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 6px;
}
.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}
.footer-copyright {
    font-weight: 500;
    color: rgba(255,255,255,0.85) !important;
}
.footer-product-tag strong {
    color: var(--paper);
    font-family: var(--display);
}
.footer-links {
    margin-top: 4px !important;
    font-size: 13px !important;
}
.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
}
.footer-links a:hover { color: var(--amber); }
.footer-links .sep { color: rgba(255,255,255,0.3); margin: 0 8px; }

/* ============================================
   AI SUPPORT WIDGET
   ============================================ */
.ai-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
}
.ai-widget-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--amber);
    color: var(--navy);
    border: none;
    box-shadow: 0 6px 20px rgba(232, 167, 38, 0.4), 0 2px 6px rgba(0,0,0,0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, width 0.3s;
    position: relative;
    overflow: hidden;
}
.ai-widget-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 28px rgba(232, 167, 38, 0.55), 0 3px 10px rgba(0,0,0,0.25);
    background: var(--amber-soft);
    width: auto;
    padding: 0 24px 0 18px;
    border-radius: 30px;
}
.ai-widget-btn svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}
.ai-icon-chat { display: block; }
.ai-icon-close { display: none; }
.ai-widget.open .ai-icon-chat { display: none; }
.ai-widget.open .ai-icon-close { display: block; }
.ai-widget.open .ai-widget-btn {
    background: var(--navy);
    color: var(--amber);
    width: 60px;
    padding: 0;
    border-radius: 50%;
}
.ai-widget-label {
    font-family: var(--display);
    font-weight: 600;
    font-size: 14px;
    margin-left: 8px;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: opacity 0.2s, max-width 0.3s;
}
.ai-widget-btn:hover .ai-widget-label {
    opacity: 1;
    max-width: 100px;
}
.ai-widget.open .ai-widget-label { display: none; }

/* Pulse ring */
.ai-widget-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(232, 167, 38, 0.7);
    animation: ai-pulse 2.5s ease-out infinite;
    pointer-events: none;
}
.ai-widget.open .ai-widget-btn::before { animation: none; }
@keyframes ai-pulse {
    0% { box-shadow: 0 0 0 0 rgba(232, 167, 38, 0.5); }
    70% { box-shadow: 0 0 0 16px rgba(232, 167, 38, 0); }
    100% { box-shadow: 0 0 0 0 rgba(232, 167, 38, 0); }
}

.ai-widget-panel {
    position: absolute;
    bottom: 76px;
    right: 0;
    width: 440px;
    max-width: calc(100vw - 32px);
    height: 680px;
    max-height: calc(100vh - 110px);
    background: var(--paper);
    border-radius: var(--r-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 8px 24px rgba(0,0,0,0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.ai-widget.open .ai-widget-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.ai-widget-header {
    background: var(--navy);
    color: var(--paper);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ai-widget-header strong {
    font-family: var(--display);
    font-size: 16px;
    display: block;
}
.ai-widget-header small {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--amber);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.ai-widget-min {
    background: rgba(255,255,255,0.1);
    border: none;
    color: var(--paper);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.ai-widget-min:hover { background: rgba(255,255,255,0.18); }
.ai-widget-min svg { width: 16px; height: 16px; }
.ai-widget-panel iframe {
    flex: 1;
    width: 100%;
    border: none;
    background: var(--cream);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        background: var(--paper);
        padding: 24px var(--pad);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
        gap: 20px;
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; margin-left: auto; }
    .nav-cta { display: none; }

    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { order: -1; max-width: 600px; margin: 0 auto; }

    .intro-grid,
    .download-card,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .download-right {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .form-row { grid-template-columns: 1fr; }
    .price-card-feature.in-view {
        transform: translateY(0);
    }
    .price-card-feature:hover {
        transform: translateY(-4px);
    }
    .install-steps { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .hero-title { font-size: clamp(36px, 11vw, 60px); }
    .hero-meta { gap: 16px; justify-content: flex-start; }
    .meta-divider { display: none; }
    .meta-item { flex: 1 0 40%; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .contact-form { padding: 24px; }
    .ai-widget-panel {
        width: calc(100vw - 32px);
        height: calc(100vh - 120px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .hero-visual img { animation: none; }
}
