/* ============================================
   TB Tech Holdings Ltd. — Sovereign Style
   Cayman Islands · Global Technology Holdings
   ============================================ */

/* ============================================
   Design Tokens
   ============================================ */
:root {
    /* Palette — Sovereign Ivory */
    --bg-base: #FAF8F5;
    --bg-elevated: #FFFFFF;
    --bg-tint: #F2EEE5;
    --bg-deep: #0A2540;
    --bg-deeper: #061A2E;

    /* Ink (text) */
    --ink-primary: #0A2540;
    --ink-secondary: #3A4A5C;
    --ink-tertiary: #6B7785;
    --ink-muted: #9BA3AC;
    --ink-on-deep: #E8E4DC;
    --ink-on-deep-muted: #9AA5B1;

    /* Accents — Refined Gold */
    --gold: #C9A961;
    --gold-deep: #B08E48;
    --gold-soft: #E6D7B0;
    --gold-line: rgba(201, 169, 97, 0.35);

    /* Lines & Borders */
    --border: #E5DCC8;
    --border-soft: #EDE6D6;
    --border-deep: rgba(232, 228, 220, 0.12);
    --line-soft: rgba(10, 37, 64, 0.08);
    --line-medium: rgba(10, 37, 64, 0.15);

    /* Shadow */
    --shadow-1: 0 1px 2px rgba(10, 37, 64, 0.04), 0 2px 8px rgba(10, 37, 64, 0.04);
    --shadow-2: 0 4px 16px rgba(10, 37, 64, 0.06), 0 12px 32px rgba(10, 37, 64, 0.05);
    --shadow-3: 0 16px 48px rgba(10, 37, 64, 0.08), 0 32px 64px rgba(10, 37, 64, 0.05);

    /* Typography */
    --serif: 'Cormorant Garamond', 'Noto Serif SC', Georgia, serif;
    --sans: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 64px;
    --space-2xl: 96px;
    --space-3xl: 144px;

    /* Layout */
    --container-max: 1240px;
    --radius-sm: 2px;
    --radius-md: 4px;

    /* Motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--sans);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-primary);
    background: var(--bg-base);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'kern' 1, 'liga' 1;
}

/* Subtle paper grain on base background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.04 0 0 0 0 0.05 0 0 0 0 0.08 0 0 0 0.025 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.55;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s var(--ease);
}

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

ul {
    list-style: none;
}

::selection {
    background: var(--gold-soft);
    color: var(--ink-primary);
}

/* ============================================
   Container
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ============================================
   Section Spacing
   ============================================ */
.section {
    padding: var(--space-3xl) 0;
    position: relative;
    z-index: 1;
}

.section + .section {
    border-top: 1px solid var(--border-soft);
}

/* ============================================
   Typography — Headers
   ============================================ */
.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: var(--space-md);
}

.eyebrow-num {
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 500;
    color: var(--gold-deep);
    letter-spacing: 0.05em;
}

.eyebrow-text {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--ink-tertiary);
}

.section-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.015em;
    color: var(--ink-primary);
    margin-bottom: var(--space-md);
}

.section-title em {
    font-style: italic;
    color: var(--gold-deep);
    font-weight: 400;
}

.section-subtitle {
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink-secondary);
    max-width: 680px;
    margin-bottom: var(--space-xl);
}

.subsection-title {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--ink-tertiary);
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: var(--space-lg);
}

.subsection-title.centered {
    justify-content: center;
}

.subsection-title .subsection-mark {
    display: inline-block;
    width: 32px;
    height: 1px;
    background: var(--gold);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-radius: var(--radius-sm);
    transition: all 0.3s var(--ease);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--ink-primary);
    color: var(--ink-on-deep);
    border: 1px solid var(--ink-primary);
}

.btn-primary:hover {
    background: var(--bg-deeper);
    border-color: var(--bg-deeper);
    transform: translateY(-1px);
    box-shadow: var(--shadow-2);
}

.btn-link {
    background: transparent;
    color: var(--ink-primary);
    padding: 14px 0;
    font-weight: 500;
    border-bottom: 1px solid var(--ink-primary);
    border-radius: 0;
}

.btn-link:hover {
    color: var(--gold-deep);
    border-color: var(--gold-deep);
}

.btn-full {
    width: 100%;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 248, 245, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: all 0.4s var(--ease);
}

.navbar.scrolled {
    background: rgba(250, 248, 245, 0.95);
    border-bottom-color: var(--border);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 18px var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink-primary);
    flex-shrink: 0;
}

.logo-mark {
    color: var(--ink-primary);
    transition: color 0.3s var(--ease);
}

.nav-logo:hover .logo-mark {
    color: var(--gold-deep);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-title {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.logo-sub {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--ink-tertiary);
    margin-top: 4px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--ink-secondary);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s var(--ease);
}

.nav-link:hover {
    color: var(--ink-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--ink-primary);
    color: var(--ink-on-deep);
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--ink-primary);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--bg-deeper);
    border-color: var(--bg-deeper);
}

/* Language Switcher */
.lang-switcher {
    position: relative;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--ink-secondary);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s var(--ease);
}

.lang-current:hover {
    border-color: var(--ink-primary);
    color: var(--ink-primary);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-2);
    border-radius: var(--radius-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.25s var(--ease);
    overflow: hidden;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-secondary);
    border-bottom: 1px solid var(--border-soft);
    transition: all 0.2s var(--ease);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: var(--bg-tint);
    color: var(--ink-primary);
}

.lang-option.active {
    color: var(--gold-deep);
    background: var(--bg-tint);
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 110;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--ink-primary);
    transition: all 0.3s var(--ease);
}

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

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

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

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 180px 0 120px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.04 0 0 0 0 0.05 0 0 0 0 0.08 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-line {
    position: absolute;
    background: var(--gold-line);
}

.hero-line-h {
    top: 28%;
    left: 0;
    right: 0;
    height: 1px;
}

.hero-line-v {
    top: 0;
    bottom: 0;
    right: 12%;
    width: 1px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
    width: 100%;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: var(--space-lg);
}

.eyebrow-line {
    display: inline-block;
    width: 48px;
    height: 1px;
    background: var(--gold);
}

.hero-eyebrow span:last-child {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--ink-tertiary);
}

.hero-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(48px, 8vw, 112px);
    line-height: 1;
    letter-spacing: -0.025em;
    color: var(--ink-primary);
    margin-bottom: var(--space-lg);
    max-width: 1100px;
}

.hero-title-1 {
    display: block;
}

.hero-title-2 {
    display: block;
    font-style: italic;
    color: var(--ink-tertiary);
    font-weight: 300;
    padding-left: 1.5em;
}

.hero-title-3 {
    display: block;
    font-style: italic;
    color: var(--gold-deep);
    font-weight: 500;
    padding-left: 1.5em;
}

.hero-desc {
    font-size: 18px;
    line-height: 1.65;
    color: var(--ink-secondary);
    max-width: 720px;
    margin-bottom: var(--space-xl);
}

.hero-desc span {
    display: block;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
}

.hero-metrics {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--line-soft);
}

.metric {
    flex: 1;
    max-width: 220px;
}

.metric-num {
    font-family: var(--serif);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 400;
    line-height: 1;
    color: var(--ink-primary);
    letter-spacing: -0.02em;
}

.metric-num .metric-suffix {
    color: var(--gold);
    font-weight: 300;
}

.metric-label {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-tertiary);
}

.metric-divider {
    width: 1px;
    height: 48px;
    background: var(--line-medium);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--ink-tertiary);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scroll-pulse 2s var(--ease) infinite;
}

@keyframes scroll-pulse {
    0%, 100% { transform: scaleY(0.6); opacity: 0.4; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* ============================================
   Section: About
   ============================================ */
.section-about {
    background: var(--bg-base);
}

.about-feature {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-xl);
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--gold);
    border-bottom: 1px solid var(--border-soft);
    margin-bottom: var(--space-3xl);
    align-items: start;
}

.about-feature-mark {
    color: var(--gold);
    flex-shrink: 0;
}

.about-feature-body {
    max-width: 760px;
}

.about-feature-label {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--gold-deep);
    margin-bottom: 12px;
}

.about-feature-title {
    font-family: var(--serif);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 500;
    line-height: 1.15;
    color: var(--ink-primary);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.about-feature-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--ink-tertiary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-md);
}

.meta-divider {
    color: var(--gold);
}

.about-feature-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-secondary);
    margin-bottom: var(--space-lg);
}

.about-feature-stats {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--line-soft);
}

.about-stat {
    flex: 1;
    max-width: 200px;
}

.about-stat-num {
    font-family: var(--serif);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 400;
    line-height: 1;
    color: var(--ink-primary);
    letter-spacing: -0.01em;
}

.about-stat-num .stat-suffix {
    color: var(--gold);
}

.about-stat-label {
    margin-top: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-tertiary);
}

.about-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--line-medium);
}

/* Advantages */
.advantages-section {
    margin-bottom: var(--space-3xl);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.advantage-item {
    background: var(--bg-base);
    padding: var(--space-xl) var(--space-lg);
    transition: background 0.3s var(--ease);
}

.advantage-item:hover {
    background: var(--bg-elevated);
}

.advantage-num {
    font-family: var(--serif);
    font-size: 28px;
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
    margin-bottom: var(--space-md);
    line-height: 1;
}

.advantage-title {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--ink-primary);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.005em;
}

.advantage-desc {
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink-secondary);
}

/* Credentials */
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.credential-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    padding: var(--space-lg) var(--space-md);
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    transition: all 0.3s var(--ease);
    position: relative;
}

.credential-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 32px;
    height: 1px;
    background: var(--gold);
}

.credential-item:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-1);
}

.credential-mark {
    width: 8px;
    height: 8px;
    border: 1px solid var(--gold);
    transform: rotate(45deg);
    flex-shrink: 0;
    margin-top: 8px;
}

.credential-title {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 500;
    color: var(--ink-primary);
    margin-bottom: 6px;
    line-height: 1.3;
}

.credential-desc {
    font-size: 13px;
    color: var(--ink-tertiary);
    line-height: 1.5;
}

/* ============================================
   Section: Solutions
   ============================================ */
.section-solutions {
    background: var(--bg-tint);
}

.pain-points {
    margin-bottom: var(--space-3xl);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.pain-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    padding: var(--space-lg);
    transition: all 0.3s var(--ease);
    position: relative;
}

.pain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s var(--ease);
}

.pain-card:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.pain-card:hover::before {
    width: 100%;
}

.pain-num {
    font-family: var(--serif);
    font-size: 36px;
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
    margin-bottom: var(--space-md);
    line-height: 1;
}

.pain-card h4 {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    color: var(--ink-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.25;
}

.pain-card p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--ink-secondary);
}

/* Lifecycle */
.lifecycle-section {
    margin-bottom: 0;
}

.lifecycle-flow {
    display: grid;
    grid-template-columns: 1fr 16px 1fr 16px 1fr 16px 1fr;
    align-items: stretch;
    gap: 0;
}

.lifecycle-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    padding: var(--space-lg) var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    transition: all 0.3s var(--ease);
}

.lifecycle-item:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-1);
}

.lifecycle-step {
    font-family: var(--serif);
    font-size: 13px;
    font-style: italic;
    font-weight: 500;
    color: var(--gold-deep);
    letter-spacing: 0.1em;
}

.lifecycle-content h4 {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 500;
    color: var(--ink-primary);
    margin-bottom: 8px;
    line-height: 1.2;
}

.lifecycle-content p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--ink-secondary);
}

.lifecycle-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lifecycle-connector::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gold);
}

.lifecycle-connector::after {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ============================================
   Section: Product
   ============================================ */
.section-product {
    background: var(--bg-base);
}

.product-vision {
    margin-bottom: var(--space-3xl);
}

.vision-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    padding: var(--space-xl) var(--space-lg);
    display: grid;
    grid-template-columns: 1fr 1px 1fr 1px 1fr;
    align-items: stretch;
    gap: 0;
}

.vision-item {
    padding: 0 var(--space-md);
    text-align: left;
}

.vision-mark {
    width: 32px;
    height: 1px;
    background: var(--gold);
    margin-bottom: var(--space-md);
}

.vision-item h4 {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    color: var(--ink-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

.vision-item p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--ink-secondary);
}

.vision-divider {
    background: var(--border);
    width: 1px;
}

/* Modules */
.modules-section {
    margin-bottom: var(--space-3xl);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: var(--border-soft);
    border: 1px solid var(--border);
}

.module-card {
    background: var(--bg-elevated);
    padding: var(--space-lg) var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    transition: background 0.3s var(--ease);
    min-height: 280px;
}

.module-card:hover {
    background: var(--bg-tint);
}

.module-num {
    font-family: var(--serif);
    font-size: 14px;
    font-style: italic;
    color: var(--gold);
    letter-spacing: 0.05em;
}

.module-card h4 {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 500;
    color: var(--ink-primary);
    line-height: 1.25;
    margin-bottom: 4px;
}

.module-tag {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gold-deep);
    margin-bottom: var(--space-xs);
}

.module-card p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--ink-secondary);
}

/* Tech Advantages */
.tech-advantages {
    margin-bottom: var(--space-3xl);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.tech-item {
    background: transparent;
    border-left: 1px solid var(--gold);
    padding: var(--space-md) var(--space-md) var(--space-md) var(--space-lg);
    transition: background 0.3s var(--ease);
}

.tech-item:hover {
    background: var(--bg-elevated);
}

.tech-num {
    font-family: var(--serif);
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 12px;
    line-height: 1;
}

.tech-item h4 {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 500;
    color: var(--ink-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.tech-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink-secondary);
}

/* Case Study */
.case-study {
    background: var(--bg-deep);
    color: var(--ink-on-deep);
    padding: var(--space-xl);
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
}

.case-study::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gold);
}

.case-header {
    border-bottom: 1px solid var(--border-deep);
    padding-bottom: var(--space-md);
    margin-bottom: var(--space-lg);
}

.case-eyebrow {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--gold);
    margin-bottom: var(--space-sm);
}

.case-title {
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--ink-on-deep);
    letter-spacing: -0.01em;
}

.case-content {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: var(--space-xl);
}

.case-meta {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.case-meta-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--gold);
    margin-bottom: 8px;
}

.case-meta-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink-on-deep-muted);
}

.case-results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.case-result {
    border-left: 1px solid var(--gold);
    padding-left: var(--space-md);
}

.case-result-num {
    font-family: var(--serif);
    font-size: 22px;
    font-style: italic;
    color: var(--gold);
    margin-bottom: 12px;
    line-height: 1;
}

.case-result h5 {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 500;
    color: var(--ink-on-deep);
    margin-bottom: 6px;
    line-height: 1.3;
}

.case-result p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--ink-on-deep-muted);
}

/* ============================================
   Section: Deployment
   ============================================ */
.section-deployment {
    background: var(--bg-tint);
}

.deployment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.deploy-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    transition: all 0.3s var(--ease);
    position: relative;
}

.deploy-card:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
}

.deploy-card-featured {
    border-color: var(--gold);
    background: var(--bg-elevated);
}

.deploy-card-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
}

.deploy-badge {
    position: absolute;
    top: -1px;
    right: var(--space-md);
    background: var(--gold);
    color: var(--ink-primary);
    padding: 6px 14px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.deploy-card-top {
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: var(--space-md);
    margin-bottom: var(--space-md);
}

.deploy-num {
    font-family: var(--serif);
    font-size: 14px;
    font-style: italic;
    color: var(--gold-deep);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.deploy-card h4 {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    color: var(--ink-primary);
    line-height: 1.2;
}

.deploy-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: var(--space-md);
    flex: 1;
}

.deploy-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--ink-secondary);
    line-height: 1.5;
}

.deploy-bullet {
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    margin-top: 9px;
    flex-shrink: 0;
}

.deploy-scenario {
    border-top: 1px solid var(--border-soft);
    padding-top: var(--space-md);
    margin-top: auto;
}

.deploy-scenario-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--gold-deep);
    margin-bottom: 8px;
}

.deploy-scenario p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--ink-tertiary);
}

/* ============================================
   Section: Business Model
   ============================================ */
.section-business {
    background: var(--bg-base);
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

.business-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    padding: var(--space-lg) var(--space-md);
    transition: all 0.3s var(--ease);
    position: relative;
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s var(--ease);
}

.business-card:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.business-card:hover::before {
    width: 100%;
}

.business-num {
    font-family: var(--serif);
    font-size: 26px;
    font-style: italic;
    color: var(--gold);
    margin-bottom: var(--space-md);
    line-height: 1;
}

.business-card h4 {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 500;
    color: var(--ink-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.25;
}

.business-card p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--ink-secondary);
}

/* Service Timeline */
.service-section {
    margin-bottom: var(--space-3xl);
}

.service-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.service-item {
    background: var(--bg-tint);
    border-top: 1px solid var(--gold);
    padding: var(--space-lg) var(--space-md);
    transition: background 0.3s var(--ease);
}

.service-item:hover {
    background: var(--bg-elevated);
}

.service-num {
    font-family: var(--serif);
    font-size: 28px;
    font-style: italic;
    color: var(--gold-deep);
    margin-bottom: var(--space-md);
    line-height: 1;
}

.service-body h4 {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 500;
    color: var(--ink-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.25;
}

.service-body p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--ink-secondary);
}

/* Roadmap */
.roadmap-section {
    margin-bottom: 0;
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.roadmap-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    padding: var(--space-xl) var(--space-lg);
    transition: all 0.3s var(--ease);
    position: relative;
}

.roadmap-item:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-2);
}

.roadmap-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 32px;
    height: 1px;
    background: var(--gold);
}

.roadmap-period {
    font-family: var(--serif);
    font-size: 24px;
    font-style: italic;
    color: var(--gold-deep);
    margin-bottom: 4px;
    line-height: 1;
}

.roadmap-years {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--ink-tertiary);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-soft);
}

.roadmap-item p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--ink-secondary);
}

/* ============================================
   Section: Contact
   ============================================ */
.section-contact {
    background: var(--bg-tint);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-left {
    padding-right: var(--space-xl);
}

.contact-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--ink-primary);
    margin-bottom: var(--space-md);
}

.contact-title em {
    font-style: italic;
    color: var(--gold-deep);
    font-weight: 400;
}

.contact-desc {
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-secondary);
    margin-bottom: var(--space-xl);
}

.contact-desc span {
    display: block;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    border-top: 1px solid var(--gold);
    padding-top: var(--space-lg);
}

.contact-info-item {
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-soft);
}

.contact-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-info-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--gold-deep);
    margin-bottom: 10px;
}

.contact-info-value {
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 500;
    color: var(--ink-primary);
    line-height: 1.45;
    letter-spacing: -0.005em;
}

/* Contact Form */
.contact-form {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    padding: var(--space-xl);
    box-shadow: var(--shadow-2);
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
}

.form-title {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 500;
    color: var(--ink-primary);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.form-subtitle {
    font-size: 13px;
    color: var(--ink-tertiary);
    margin-bottom: var(--space-lg);
    line-height: 1.5;
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--ink-tertiary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    background: var(--bg-base);
    color: var(--ink-primary);
    font-family: var(--sans);
    font-size: 14px;
    line-height: 1.5;
    border-radius: var(--radius-sm);
    transition: all 0.3s var(--ease);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--bg-elevated);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: var(--sans);
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    color: var(--gold-deep);
}

.form-success.show {
    display: flex;
}

.form-success svg {
    margin-bottom: var(--space-md);
}

.form-success p {
    font-family: var(--serif);
    font-size: 18px;
    color: var(--ink-primary);
    line-height: 1.5;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-deep);
    color: var(--ink-on-deep);
    padding: var(--space-3xl) 0 var(--space-lg);
    position: relative;
    z-index: 1;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gold);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--border-deep);
    margin-bottom: var(--space-lg);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--ink-on-deep);
    margin-bottom: var(--space-md);
}

.footer-logo svg {
    flex-shrink: 0;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-logo-title {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    color: var(--ink-on-deep);
}

.footer-logo-sub {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-top: 4px;
}

.footer-tagline {
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1.4;
    color: var(--ink-on-deep-muted);
    font-style: italic;
}

.footer-tagline em {
    color: var(--ink-on-deep);
    font-style: italic;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.footer-col h5 {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--gold);
    margin-bottom: var(--space-md);
}

.footer-col a {
    display: block;
    font-size: 13px;
    color: var(--ink-on-deep-muted);
    margin-bottom: 10px;
    transition: color 0.3s var(--ease);
}

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

.footer-bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-lg);
    font-size: 12px;
    color: var(--ink-on-deep-muted);
    line-height: 1.5;
}

.footer-bottom p {
    flex: 1;
}

/* ============================================
   Responsive — Tablet
   ============================================ */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 24px;
    }

    .nav-link {
        font-size: 13px;
    }

    .modules-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .vision-card {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .vision-divider {
        width: 100%;
        height: 1px;
    }

    .lifecycle-flow {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }

    .lifecycle-connector {
        display: none;
    }

    .case-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

@media (max-width: 900px) {
    .section {
        padding: var(--space-2xl) 0;
    }

    .hero {
        padding: 140px 0 80px;
        min-height: auto;
    }

    .hero-metrics {
        flex-wrap: wrap;
        gap: var(--space-md);
    }

    .metric {
        flex: 1 1 calc(50% - var(--space-md));
        max-width: none;
    }

    .metric-divider {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--bg-elevated);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: var(--space-md);
        padding: 100px var(--space-lg) var(--space-lg);
        transition: right 0.4s var(--ease);
        border-left: 1px solid var(--border);
        box-shadow: var(--shadow-3);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-cta {
        margin-top: var(--space-sm);
    }

    .nav-toggle {
        display: flex;
    }

    .about-feature {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .advantages-grid,
    .credentials-grid,
    .pain-grid,
    .business-grid,
    .service-timeline,
    .roadmap-grid,
    .deployment-grid,
    .modules-grid {
        grid-template-columns: 1fr;
    }

    .lifecycle-flow {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .contact-left {
        padding-right: 0;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

@media (max-width: 600px) {
    :root {
        --space-3xl: 80px;
        --space-2xl: 60px;
    }

    .section {
        padding: var(--space-xl) 0;
    }

    .container {
        padding: 0 var(--space-sm);
    }

    .hero-title {
        font-size: clamp(36px, 11vw, 56px);
    }

    .hero-title-2,
    .hero-title-3 {
        padding-left: 0.8em;
    }

    .section-title {
        font-size: clamp(28px, 8vw, 40px);
    }

    .hero-metrics {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }

    .metric {
        flex: none;
        width: 100%;
    }

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

    .case-study {
        padding: var(--space-lg) var(--space-md);
    }

    .case-results {
        grid-template-columns: 1fr;
    }
}