/* ═══════════════════════════════════════════════════
   ServiceRig — Gen 3 Field Service Platform
   Wide Open Dark Brand System · SR-ARC-012 Compliant
   ═══════════════════════════════════════════════════ */

/* ── CSS Custom Properties ── */
:root {
    /* Navy Depth Scale — matched to LandingPage.html */
    --navy-950: #060e1a;
    --navy-900: #0a1628;
    --navy-850: #0d1b30;
    --navy-800: #122240;
    --navy-700: #1a3055;
    --navy-600: #2A3D62;

    /* Rig Blue — matched to LandingPage.html */
    --rig-100: #bae6fd;
    --rig-200: #7dd3fc;
    --rig-300: #38bdf8;
    --rig-400: #1a6fb5;
    --rig-500: #1a6fb5;
    --rig-600: #155d99;
    --rig-700: #104d80;

    /* Primary Accent (Flame Orange) */
    --primary: #e8720c;
    --primary-glow: rgba(232,114,12,0.25);

    /* Flame Orange */
    --flame-300: #FDBA74;
    --flame-400: #FB923C;
    --flame-500: #F97316;
    --flame-600: #EA580C;

    /* Semantic */
    --green-400: #34D399;
    --green-500: #10B981;
    --amber-500: #F59E0B;
    --red-500: #EF4444;
    --purple-400: #A78BFA;

    /* Slate */
    --slate-300: #CBD5E1;
    --slate-400: #94A3B8;
    --slate-500: #64748B;
    --slate-600: #475569;

    /* Fonts */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--navy-950);
    color: #FFFFFF;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.font-mono {
    font-family: var(--font-mono);
}

.text-gradient {
    background: linear-gradient(135deg, var(--flame-400), var(--flame-500), var(--rig-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shimmer-text {
    --shimmer: 50%;
    background: linear-gradient(90deg, #fff 0%, var(--flame-400) var(--shimmer), #fff 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer-move 4s ease-in-out infinite;
}

/* ── Navigation ── */
.nav-dark {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 40px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.nav-dark.scrolled {
    background-color: rgba(8, 12, 24, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: rgba(30, 45, 74, 0.4);
}

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

.nav-dark .nav-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--navy-700);
    background: var(--navy-800);
    object-fit: contain;
    padding: 2px;
}

.nav-dark .nav-logo span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 17px;
    color: #FFFFFF;
}

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

.nav-dark .nav-links a {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--slate-400);
    transition: color 0.2s;
}

.nav-dark .nav-links a:hover {
    color: #FFFFFF;
}

.nav-dark .nav-links a.active {
    color: var(--rig-400);
    font-weight: 600;
}

/* Mobile hamburger */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--slate-400);
    padding: 8px;
}

.nav-mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(8, 12, 24, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--navy-700);
    padding: 16px 24px;
    z-index: 999;
    flex-direction: column;
    gap: 12px;
}

.nav-mobile-menu.open {
    display: flex;
}

.nav-mobile-menu a {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--slate-300);
    padding: 8px 0;
    display: block;
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--rig-500), var(--rig-600));
    padding: 8px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(30, 136, 229, 0.3);
    transition: opacity 0.2s, transform 0.2s;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-flame {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--flame-500), var(--flame-600));
    padding: 14px 32px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(249, 115, 22, 0.28);
    transition: all 0.25s ease;
}

.btn-flame:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--slate-300);
    background-color: var(--navy-800);
    border: 1px solid var(--navy-700);
    padding: 14px 28px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-secondary:hover {
    border-color: var(--navy-600);
    color: #FFFFFF;
    transform: translateY(-1px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--slate-300);
    background: var(--navy-700);
    border: 1px solid var(--navy-600);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-ghost:hover {
    background: var(--navy-600);
    color: #FFFFFF;
}

/* ── Cards ── */
.card-dark {
    background-color: var(--navy-800);
    border: 1px solid var(--navy-700);
    border-radius: 14px;
    padding: 32px 28px;
    transition: all 0.3s ease;
}

.card-dark:hover {
    border-color: var(--navy-600);
}

.card-dark.featured {
    border: 2px solid rgba(249, 115, 22, 0.22);
    position: relative;
    overflow: hidden;
}

.card-dark.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--flame-400), var(--flame-600));
}

.glow-card {
    background-color: var(--navy-800);
    border: 1px solid var(--navy-700);
    border-radius: 14px;
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.glow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--rig-400), transparent);
    opacity: 0.3;
}

.glow-card:hover {
    border-color: rgba(30, 136, 229, 0.25);
    box-shadow: 0 0 30px rgba(30, 136, 229, 0.08);
    transform: translateY(-2px);
}

.glow-card.flame::before {
    background: linear-gradient(90deg, transparent, var(--flame-400), transparent);
}

.glow-card.flame:hover {
    border-color: rgba(249, 115, 22, 0.25);
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.08);
}

.glow-card.green::before {
    background: linear-gradient(90deg, transparent, var(--green-500), transparent);
}

.glow-card.green:hover {
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.08);
}

/* ── Badges ── */
.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 8px;
    border-radius: 100px;
    border: 1px solid var(--navy-700);
    background-color: rgba(22, 32, 53, 0.5);
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--slate-400);
}

.badge-status .badge-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    color: var(--flame-400);
    background-color: rgba(249, 115, 22, 0.15);
    padding: 2px 8px;
    border-radius: 100px;
}

/* ── Inputs ── */
.input-dark {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    background-color: var(--navy-900);
    border: 1px solid var(--navy-700);
    font-family: var(--font-body);
    font-size: 14px;
    color: #FFFFFF;
    outline: none;
    transition: border-color 0.2s;
}

.input-dark:focus {
    border-color: var(--rig-500);
}

.input-dark::placeholder {
    color: var(--slate-500);
}

select.input-dark {
    appearance: auto;
    color: var(--slate-500);
}

select.input-dark:valid {
    color: #FFFFFF;
}

.input-label {
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    color: var(--slate-400);
    margin-bottom: 4px;
}

/* ═══════════════════════════════════════════════════
   HERO — TheBoard.png with Enhanced Effects
   ═══════════════════════════════════════════════════ */

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 40px 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 136, 229, 0.07), transparent 55%);
    pointer-events: none;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(40px, 6vw, 72px);
    color: #fff;
    line-height: 1.04;
    margin: 0 0 8px;
    max-width: 850px;
    letter-spacing: -0.04em;
    position: relative;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--slate-400);
    line-height: 1.7;
    max-width: 560px;
    margin: 20px auto 40px;
    position: relative;
}

/* ── Hero Board Wrapper — The Main Event ── */
.hero-board-container {
    position: relative;
    max-width: 900px;
    width: 100%;
    margin-top: 48px;
}

.hero-board-glow-blue {
    position: absolute;
    top: -20%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 136, 229, 0.14), transparent 60%);
    pointer-events: none;
    z-index: 0;
    filter: blur(80px);
    animation: glow-breathe 6s ease-in-out infinite;
}

.hero-board-glow-orange {
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.18), transparent 55%);
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
    animation: glow-breathe 6s ease-in-out infinite 3s;
}

.hero-board-wrapper {
    position: relative;
    z-index: 1;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(30, 45, 74, 0.6);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 120px rgba(30, 136, 229, 0.06),
        0 0 200px rgba(249, 115, 22, 0.03);
    transform: perspective(1400px) rotateX(5deg) rotateY(-3deg) rotateZ(0.5deg);
    transform-origin: center center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-board-wrapper:hover {
    transform: perspective(1400px) rotateX(2deg) rotateY(-1deg) rotateZ(0.2deg);
}

.hero-board-wrapper img {
    display: block;
    width: 100%;
    height: auto;
}

/* Bottom-left fade overlay */
.hero-board-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 55%;
    background: linear-gradient(
        to top,
        var(--navy-950) 0%,
        rgba(8, 12, 24, 0.92) 20%,
        rgba(8, 12, 24, 0.5) 50%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 2;
    border-radius: 0 0 16px 16px;
}

/* Diagonal fade from bottom-left corner */
.hero-board-fade-corner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70%;
    height: 70%;
    background: radial-gradient(
        ellipse at 0% 100%,
        rgba(8, 12, 24, 0.95) 0%,
        rgba(8, 12, 24, 0.6) 30%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 3;
}

/* Orange glow at bottom-left of board */
.hero-board-accent-orange {
    position: absolute;
    bottom: -5%;
    left: 5%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.35), transparent 70%);
    pointer-events: none;
    z-index: 4;
    filter: blur(40px);
    animation: glow-pulse-slow 4s ease-in-out infinite;
}

/* Blue accent glow at top-right */
.hero-board-accent-blue {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(30, 136, 229, 0.3), transparent 70%);
    pointer-events: none;
    z-index: 4;
    filter: blur(30px);
    animation: glow-pulse-slow 4s ease-in-out infinite 2s;
}

/* ═══════════════════════════════════════════════════
   COUNTER STATS SECTION
   ═══════════════════════════════════════════════════ */

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.counter-item {
    padding: 24px 16px;
}

.counter-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: rgba(30, 136, 229, 0.08);
    border: 1px solid rgba(30, 136, 229, 0.12);
}

.counter-icon.flame {
    background: rgba(249, 115, 22, 0.08);
    border-color: rgba(249, 115, 22, 0.12);
}

.counter-icon.green {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.12);
}

.counter-value {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--rig-300);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 4px;
}

.counter-value.flame {
    color: var(--flame-400);
}

.counter-value.green {
    color: var(--green-400);
}

.counter-label {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--slate-400);
    margin-top: 4px;
}

/* ═══════════════════════════════════════════════════
   COMPETITOR STRIP
   ═══════════════════════════════════════════════════ */

.trade-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.trade-pill {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    color: var(--slate-400);
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid var(--navy-700);
    background: rgba(22, 32, 53, 0.37);
    transition: all 0.2s;
}

.trade-pill:hover {
    border-color: var(--navy-600);
    color: var(--slate-300);
}

.competitor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--navy-700);
    max-width: 800px;
    width: 100%;
}

/* ═══════════════════════════════════════════════════
   FEATURE SECTIONS
   ═══════════════════════════════════════════════════ */

.section-label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
    display: block;
}

.section-label.blue { color: var(--rig-400); }
.section-label.flame { color: var(--flame-400); }
.section-label.green { color: var(--green-400); }
.section-label.purple { color: var(--purple-400); }

.section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(28px, 4vw, 42px);
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    text-align: center;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--slate-400);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.feature-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.feature-card-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.feature-card-desc {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--slate-400);
    line-height: 1.7;
    margin-bottom: 16px;
}

.feature-bullet {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--slate-400);
    line-height: 1.8;
}

.feature-bullet svg {
    flex-shrink: 0;
    margin-top: 4px;
}

/* Feature row layout (text + visual) */
.feature-row {
    display: flex;
    align-items: center;
    gap: 48px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* ═══════════════════════════════════════════════════
   BEFORE / AFTER SECTION
   ═══════════════════════════════════════════════════ */

.before-after-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--navy-700);
}

.before-col, .after-col {
    padding: 32px 28px;
}

.before-col {
    background: var(--navy-900);
    border-right: 1px solid var(--navy-700);
}

.after-col {
    background: linear-gradient(135deg, var(--navy-800) 0%, rgba(30, 136, 229, 0.03) 100%);
}

.before-col h3 {
    color: var(--slate-500);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.after-col h3 {
    color: var(--rig-300);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.ba-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.6;
}

.ba-item.before {
    color: var(--slate-500);
}

.ba-item.after {
    color: var(--slate-300);
}

/* ═══════════════════════════════════════════════════
   GBP BOOKING FORM DEMO
   ═══════════════════════════════════════════════════ */

.booking-demo-container {
    display: flex;
    align-items: center;
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.booking-demo-text {
    flex: 1;
}

.booking-demo-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* ═══════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════ */

.how-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--navy-700);
}

.how-step {
    padding: 32px 28px;
    background: var(--navy-800);
}

.how-step:not(:last-child) {
    border-right: 1px solid var(--navy-700);
}

.how-step-number {
    font-family: var(--font-mono);
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    display: block;
    margin-bottom: 12px;
}

/* ═══════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════ */

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════ */

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

/* ═══════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════ */

.cta-section {
    position: relative;
    overflow: hidden;
    padding: 96px 24px;
    border-top: 1px solid var(--navy-700);
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 136, 229, 0.06), transparent 60%);
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */

.footer-dark {
    padding: 40px 40px 24px;
    border-top: 1px solid var(--navy-700);
    max-width: 1100px;
    margin: 0 auto;
}

.footer-dark .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-dark .footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-dark .footer-brand img {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    border: 1px solid var(--navy-700);
    background: var(--navy-800);
    object-fit: contain;
    padding: 2px;
}

.footer-dark .footer-brand .brand-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: var(--slate-400);
}

.footer-dark .footer-brand .brand-tagline {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--slate-600);
    margin-left: 8px;
}

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

.footer-dark .footer-links a {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--slate-500);
    transition: color 0.2s;
}

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

.footer-dark .footer-bottom {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--navy-700);
}

.footer-dark .footer-bottom p {
    font-size: 12px;
    color: var(--slate-600);
}

/* ═══════════════════════════════════════════════════
   BROWSER & PHONE FRAME MOCKUPS
   ═══════════════════════════════════════════════════ */

.browser-frame {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--navy-600);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 120px rgba(30, 136, 229, 0.024);
    background-color: var(--navy-900);
}

.browser-frame .frame-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-bottom: 1px solid var(--navy-700);
    background-color: var(--navy-850);
}

.browser-frame .frame-dots {
    display: flex;
    gap: 6px;
}

.browser-frame .frame-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.browser-frame .frame-dots span:nth-child(1) { background: #FF5F57; }
.browser-frame .frame-dots span:nth-child(2) { background: #FFBD2E; }
.browser-frame .frame-dots span:nth-child(3) { background: #28C840; }

.browser-frame .frame-title {
    flex: 1;
    text-align: center;
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--slate-500);
}

.phone-frame {
    width: 280px;
    border-radius: 32px;
    overflow: hidden;
    border: 6px solid #1a1a1a;
    background-color: #FFFFFF;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.phone-frame .phone-notch {
    height: 24px;
    background: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 3px;
}

.phone-frame .phone-notch span {
    width: 60px;
    height: 4px;
    border-radius: 10px;
    background: #333;
}

/* Gantt mockup */
.gantt-grid { display: flex; flex: 1; }
.gantt-times { width: 36px; border-right: 1px solid var(--navy-700); }
.gantt-times .slot { height: 32px; padding: 2px 4px; border-bottom: 1px solid rgba(30,45,74,0.06); font-family: var(--font-mono); font-size: 6px; color: var(--slate-500); }
.gantt-col { flex: 1; position: relative; }
.gantt-col .col-header { height: 24px; border-bottom: 1px solid var(--navy-700); display: flex; align-items: center; justify-content: center; gap: 4px; }
.gantt-col .col-header span { font-family: var(--font-body); font-size: 7px; font-weight: 600; color: var(--slate-300); }
.gantt-col .col-header .dot { width: 5px; height: 5px; border-radius: 50%; }
.gantt-col .col-body { position: relative; height: 256px; }
.gantt-col .col-body .grid-line { height: 32px; border-bottom: 1px solid rgba(30,45,74,0.05); }
.gantt-block { position: absolute; left: 3px; right: 3px; border-radius: 4px; padding: 3px 5px; border-left-width: 2px; border-left-style: solid; }
.gantt-block span { font-family: var(--font-body); font-size: 7px; font-weight: 600; color: #fff; }

/* ═══════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════ */

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer-move {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes glow-breathe {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes glow-pulse-slow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 8px rgba(16, 185, 129, 0.5); }
    50% { box-shadow: 0 0 20px rgba(16, 185, 129, 0.8); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes live-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.8); opacity: 0; }
}

.animate-fade-in-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* ═══════════════════════════════════════════════════
   GRID & UTILITY
   ═══════════════════════════════════════════════════ */

.grid-bg {
    position: absolute;
    inset: 0;
    opacity: 0.035;
    background-image:
        linear-gradient(var(--rig-400) 1px, transparent 1px),
        linear-gradient(90deg, var(--rig-400) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.container-narrow {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.container-wide {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.text-rig { color: var(--rig-400); }
.text-flame { color: var(--flame-400); }
.text-green { color: var(--green-500); }
.text-amber { color: var(--amber-500); }
.text-slate-300 { color: var(--slate-300); }
.text-slate-400 { color: var(--slate-400); }
.text-slate-500 { color: var(--slate-500); }

.bg-navy-950 { background-color: var(--navy-950); }
.bg-navy-900 { background-color: var(--navy-900); }
.bg-navy-850 { background-color: var(--navy-850); }
.bg-navy-800 { background-color: var(--navy-800); }

/* ═══════════════════════════════════════════════════
   LEGAL CONTENT (Privacy, Terms)
   ═══════════════════════════════════════════════════ */

.legal-content h2 {
    font-size: 1.5rem;
    color: #FFFFFF;
    margin-bottom: 16px;
    margin-top: 48px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.15rem;
    color: var(--slate-300);
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-content p {
    color: var(--slate-400);
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-content ul li {
    color: var(--slate-400);
    padding: 4px 0;
    line-height: 1.6;
}

.legal-content strong {
    color: var(--slate-300);
}

.legal-content a {
    color: var(--rig-400);
    font-weight: 600;
    transition: color 0.2s;
}

.legal-content a:hover {
    color: var(--rig-300);
}

.legal-callout {
    background-color: var(--navy-850);
    border: 1px solid var(--navy-700);
    border-radius: 12px;
    padding: 24px;
    margin: 16px 0;
}

.legal-callout.warning {
    border-color: rgba(245, 158, 11, 0.3);
}

.legal-callout.danger {
    border-color: rgba(239, 68, 68, 0.3);
}

/* ═══════════════════════════════════════════════════
   STATUS PAGE
   ═══════════════════════════════════════════════════ */

.status-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.status-dot.operational {
    background-color: var(--green-500);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.status-dot.degraded {
    background-color: var(--amber-500);
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.status-dot.outage {
    background-color: var(--red-500);
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

.pulse {
    animation: pulse-glow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ═══════════════════════════════════════════════════
   TOAST NOTIFICATION
   ═══════════════════════════════════════════════════ */

.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 14px 24px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
    z-index: 10000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    background: var(--green-500);
}

.toast.error {
    background: var(--red-500);
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .feature-grid-3 {
        grid-template-columns: 1fr 1fr;
    }
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .nav-dark {
        padding: 0 20px;
    }

    .nav-dark .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: block;
    }

    .container-narrow,
    .container-wide {
        padding: 0 20px;
    }

    .hero-section {
        padding: 100px 20px 40px;
    }

    .hero-title {
        font-size: 40px !important;
    }

    .hero-board-wrapper {
        transform: perspective(1400px) rotateX(4deg) rotateY(0deg) rotateZ(0deg);
    }

    .hero-board-container {
        margin-top: 32px;
    }

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        gap: 32px;
    }

    .feature-grid-3,
    .pricing-grid,
    .how-grid {
        grid-template-columns: 1fr !important;
    }

    .how-step:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid var(--navy-700);
    }

    .feature-grid-2 {
        grid-template-columns: 1fr;
    }

    .competitor-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .testimonial-grid {
        grid-template-columns: 1fr !important;
    }

    .before-after-grid {
        grid-template-columns: 1fr;
    }

    .before-col {
        border-right: none;
        border-bottom: 1px solid var(--navy-700);
    }

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

    .booking-demo-container {
        flex-direction: column;
        gap: 32px;
    }

    .phone-frame {
        width: 240px;
    }

    .footer-dark {
        padding: 24px 20px;
    }

    .footer-dark .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-dark .footer-links {
        flex-wrap: wrap;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .nav-dark {
        padding: 0 16px;
    }

    .counter-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .counter-value {
        font-size: 28px;
    }
}
