/* ============================================================
   MapleHearth, LLC — Marketing Website Styles
   ============================================================ */

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

:root {
    /* MapleHearth Brand */
    --maple:        #D4722A;
    --maple-light:  #E89254;
    --maple-dark:   #B05C1A;
    --forest:       #1E4D2B;
    --forest-light: #2D6B3D;
    --cream:        #FFF9F4;
    --cream-dark:   #F5E6D3;
    --warm-white:   #FFFCFA;

    /* ArcAI Palette */
    --arcai-dark:   #0A0F1E;
    --arcai-navy:   #0F172A;
    --arcai-mid:    #1E2D4A;
    --arcai-blue:   #3B82F6;
    --arcai-purple: #8B5CF6;
    --arcai-cyan:   #06B6D4;
    --arcai-grad:   linear-gradient(135deg, #3B82F6 0%, #8B5CF6 50%, #06B6D4 100%);
    --arcai-glow:   rgba(59, 130, 246, 0.3);

    /* Marina Palette */
    --marina-dark:  #071828;
    --marina-deep:  #0C2340;
    --marina-mid:   #1A3A5C;
    --marina-teal:  #0891B2;
    --marina-sky:   #38BDF8;
    --marina-foam:  #E0F2FE;
    --marina-grad:  linear-gradient(135deg, #0891B2 0%, #0284C7 50%, #38BDF8 100%);
    --marina-glow:  rgba(8, 145, 178, 0.3);

    /* Neutrals */
    --gray-50:  #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --white:    #FFFFFF;

    /* Typography */
    --font-body:    'DM Sans', system-ui, sans-serif;
    --font-display: 'DM Sans', system-ui, sans-serif;
    --font-mono:    'Source Code Pro', 'Fira Code', monospace;

    /* Spacing */
    --section-py: 96px;
    --container-max: 1240px;
    --container-px: 24px;

    /* Radius */
    --radius-sm:  6px;
    --radius-md:  8px;
    --radius-lg:  12px;
    --radius-xl:  16px;
    --radius-pill: 999px;

    /* Shadows */
    --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md:  0 4px 16px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.08);
    --shadow-lg:  0 10px 40px rgba(0,0,0,0.14), 0 4px 12px rgba(0,0,0,0.10);
    --shadow-xl:  0 25px 80px rgba(0,0,0,0.20), 0 8px 20px rgba(0,0,0,0.12);

    /* Transitions */
    --ease:       cubic-bezier(0.22, 1, 0.36, 1);
    --ease-fast:  cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: #080808;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    color-scheme: dark;
}

/* ---- Utility ---- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ---- Animations ---- */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.9s var(--ease) forwards 0.2s;
}
.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    animation: fadeInUp 0.9s var(--ease) forwards 0.4s;
}
@keyframes fadeInUp {
    to { opacity: 1; transform: translate(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for sibling reveals */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }

/* ---- Gradient Text ---- */
.gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.gradient-text.maple {
    background-image: linear-gradient(135deg, var(--maple) 0%, var(--maple-light) 50%, var(--forest-light) 100%);
}
.gradient-text.arcai-grad {
    background-image: var(--arcai-grad);
}
.gradient-text.marina-grad {
    background-image: var(--marina-grad);
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s var(--ease);
    white-space: nowrap;
    line-height: 1;
    letter-spacing: -0.01em;
}
.btn-ghost-nav {
    color: rgba(255,255,255,0.70);
    border: 1px solid rgba(255,255,255,0.18);
    background: transparent;
}
.btn-ghost-nav:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.35); }

.btn-nav-primary {
    background: var(--white);
    color: #080808;
    font-weight: 600;
}
.btn-nav-primary:hover {
    background: rgba(255,255,255,0.85);
}

.btn-hero-primary {
    background: var(--white);
    color: #080808;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 600;
}
.btn-hero-primary:hover { background: rgba(255,255,255,0.88); }

.btn-hero-outline {
    background: transparent;
    color: rgba(255,255,255,0.80);
    border: 1px solid rgba(255,255,255,0.20);
    padding: 12px 22px;
    font-size: 14px;
}
.btn-hero-outline:hover { border-color: rgba(255,255,255,0.50); color: var(--white); background: rgba(255,255,255,0.05); }

/* ArcAI Buttons */
.btn-arcai-primary {
    background: var(--white);
    color: #080808;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
}
.btn-arcai-primary:hover { background: rgba(255,255,255,0.88); }

.btn-arcai-ghost {
    background: transparent;
    color: rgba(255,255,255,0.75);
    border: 1px solid rgba(255,255,255,0.20);
    padding: 10px 20px;
    font-size: 14px;
}
.btn-arcai-ghost:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.40); color: var(--white); }

.btn-arcai-outline-pricing {
    background: transparent;
    color: rgba(255,255,255,0.80);
    border: 1px solid rgba(255,255,255,0.20);
    width: 100%;
    justify-content: center;
    padding: 10px 20px;
}
.btn-arcai-outline-pricing:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.40); color: var(--white); }

/* Marina Buttons */
.btn-marina-primary {
    background: var(--white);
    color: #080808;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
}
.btn-marina-primary:hover { background: rgba(255,255,255,0.88); }

.btn-marina-ghost {
    background: transparent;
    color: rgba(255,255,255,0.75);
    border: 1px solid rgba(255,255,255,0.20);
    padding: 10px 20px;
    font-size: 14px;
}
.btn-marina-ghost:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.40); color: var(--white); }

.btn-marina-outline-pricing {
    background: transparent;
    color: rgba(255,255,255,0.80);
    border: 1px solid rgba(255,255,255,0.20);
    width: 100%;
    justify-content: center;
    padding: 10px 20px;
}
.btn-marina-outline-pricing:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.40); color: var(--white); }

.btn-white-large {
    background: var(--white);
    color: #080808;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
}
.btn-white-large:hover { background: rgba(255,255,255,0.88); }

.btn-ghost-white-large {
    background: transparent;
    color: rgba(255,255,255,0.80);
    border: 1px solid rgba(255,255,255,0.22);
    padding: 12px 28px;
    font-size: 15px;
}
.btn-ghost-white-large:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.45); color: var(--white); }

.btn-form-submit {
    background: var(--white);
    color: #080808;
    width: 100%;
    justify-content: center;
    padding: 13px 24px;
    font-size: 15px;
    font-weight: 600;
}
.btn-form-submit:hover { background: rgba(255,255,255,0.88); }

/* ---- Section Headers ---- */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
}
.arcai-tag  { background: rgba(59,130,246,0.12); color: var(--arcai-blue); }
.marina-tag { background: rgba(8,145,178,0.12); color: var(--marina-teal); }
.maple-tag  { background: rgba(212,114,42,0.12); color: var(--maple); }

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 64px;
}
.section-header h3 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 500;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.04em;
}
.section-header p {
    font-size: 18px;
    color: rgba(255,255,255,0.50);
    line-height: 1.7;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(8,8,8,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: box-shadow 0.3s var(--ease), background 0.3s;
}
.navbar.scrolled {
    box-shadow: 0 4px 32px rgba(0,0,0,0.40);
    background: rgba(8,8,8,0.98);
}
.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
    height: 68px;
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.logo-leaf {
    font-size: 26px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(212,114,42,0.25));
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-main {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.03em;
}
.logo-sub {
    font-size: 10px;
    font-weight: 600;
    color: var(--maple);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}
.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.60);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.07); }
.nav-link.nav-active {
    color: var(--maple);
    background: rgba(212, 114, 42, 0.12);
    font-weight: 600;
}
.nav-ctas { display: flex; align-items: center; gap: 10px; }
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    margin-left: auto;
}
.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255,255,255,0.70);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 12px 24px 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(8,8,8,0.98);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,0.70);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mobile-menu .btn { margin-top: 12px; width: 100%; justify-content: center; }

/* ============================================================
   COMPANY HERO
   ============================================================ */
.hero-section-wrap {
    position: relative;
    background: #080808;
    overflow: hidden;
}
.hero-bg-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(212,114,42,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212,114,42,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
    pointer-events: none;
}
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}
.company-hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 100px 24px 80px;
    z-index: 2;
}
.hero-content, .hero-visual { position: relative; }
.hero-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--maple);
    background: rgba(212,114,42,0.10);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 24px;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 5.5vw, 68px);
    font-weight: 500;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.05em;
}
.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.55);
    line-height: 1.75;
    max-width: 520px;
    margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    padding: 24px 28px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.10);
    width: fit-content;
}
.hero-stat { text-align: center; padding: 0 24px; }
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { padding-right: 0; }
.stat-number {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    color: var(--maple);
    line-height: 1;
    margin-bottom: 4px;
}
.stat-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.38);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.10);
}
.hero-visual { position: relative; }
.hero-product-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.hero-product-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    border: 1px solid rgba(255,255,255,0.10);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
    cursor: pointer;
}
.hero-product-card:hover { transform: translateY(-4px); border-color: rgba(212,114,42,0.30); background: rgba(255,255,255,0.08); }
.hero-card-glow {
    position: absolute;
    top: -30px; right: -30px;
    width: 120px; height: 120px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
}
.arcai-glow  { background: var(--arcai-blue); }
.marina-glow { background: var(--marina-teal); }
.hero-card-icon { font-size: 36px; margin-bottom: 12px; }
.hero-card-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}
.hero-card-desc { font-size: 14px; color: rgba(255,255,255,0.50); margin-bottom: 14px; }
.hero-card-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-card-tags span {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.55);
}
.arcai-card-hero .hero-card-tags span { background: rgba(59,130,246,0.10); color: var(--arcai-blue); }
.marina-card-hero .hero-card-tags span { background: rgba(8,145,178,0.10); color: var(--marina-teal); }
.hero-floating-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}
.floating-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.70);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    width: fit-content;
    animation: floatBadge 3s ease-in-out infinite;
}
.badge-1 { animation-delay: 0s; }
.badge-2 { animation-delay: 0.6s; }
.badge-3 { animation-delay: 1.2s; }
@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
    background: rgba(255,255,255,0.03);
    border-top: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 16px 24px;
    overflow: hidden;
}
.trust-bar-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
.trust-bar-inner > span {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.35);
    white-space: nowrap;
    flex-shrink: 0;
}
.trust-industries {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.trust-industries span {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    white-space: nowrap;
}

/* ============================================================
   SHARED PRODUCT SECTION STYLES
   ============================================================ */
.product-section { overflow: hidden; }

.product-hero {
    position: relative;
    padding: 80px 0 80px;
    overflow: hidden;
}
.product-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:0.6;transform:scale(1.4);} }

.product-logo-lockup {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}
.product-logo-icon { font-size: 44px; }
.product-logo-name {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}
.product-hero-title {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 500;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.04em;
}
.product-hero-subtitle {
    font-size: 17px;
    line-height: 1.75;
    color: rgba(255,255,255,0.78);
    margin-bottom: 32px;
    max-width: 520px;
}
.product-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.product-proof-bar {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}
.proof-item {
    font-size: 13px;
    color: rgba(255,255,255,0.70);
    padding: 0 16px;
}
.proof-item strong { color: var(--white); font-weight: 700; }
.proof-item:first-child { padding-left: 0; }
.proof-dot, .marina-proof-dot {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.30);
}

/* ============================================================
   ARCAI SECTION
   ============================================================ */
.arcai-section { background: #0A0F1E; }

.arcai-hero { background: transparent; }
.arcai-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(59,130,246,0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 20%, rgba(139,92,246,0.10) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 60% 80%, rgba(6,182,212,0.08) 0%, transparent 60%);
    pointer-events: none;
}

/* Stars/particles in arcai bg */
.arcai-section::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 20% 15%, rgba(255,255,255,0.15) 0%, transparent 100%),
        radial-gradient(1px 1px at 60% 45%, rgba(255,255,255,0.10) 0%, transparent 100%),
        radial-gradient(1px 1px at 80% 25%, rgba(255,255,255,0.12) 0%, transparent 100%),
        radial-gradient(1px 1px at 40% 70%, rgba(255,255,255,0.08) 0%, transparent 100%);
    pointer-events: none;
}

.arcai-badge { background: rgba(59,130,246,0.15); color: var(--arcai-cyan); }
.badge-dot { background: var(--arcai-cyan); }
.arcai-name { color: var(--white); }
.arcai-name { background: var(--arcai-grad); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Code / terminal blocks */
.chat-demo-window,
.chat-bubble,
.chat-demo-title,
pre, code {
    font-family: var(--font-mono);
}

/* ArcAI Chat Demo */
.chat-demo-window {
    background: rgba(15,23,42,0.95);
    border: 1px solid rgba(59,130,246,0.25);
    border-radius: var(--radius-lg);
    box-shadow: 0 0 0 1px rgba(59,130,246,0.10), 0 20px 60px rgba(0,0,0,0.5), 0 0 80px rgba(59,130,246,0.10);
    overflow: hidden;
    backdrop-filter: blur(20px);
}
.chat-demo-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(59,130,246,0.08);
    border-bottom: 1px solid rgba(59,130,246,0.15);
}
.chat-demo-dots { display: flex; gap: 6px; }
.chat-demo-dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
}
.chat-demo-dots span:nth-child(1) { background: #FF5F57; }
.chat-demo-dots span:nth-child(2) { background: #FEBC2E; }
.chat-demo-dots span:nth-child(3) { background: #28C840; }
.chat-demo-title { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.80); flex: 1; text-align: center; margin-right: 52px; }
.chat-demo-status { display: flex; align-items: center; gap: 6px; font-size: 11px; color: rgba(255,255,255,0.50); }
.status-dot-green { width: 6px; height: 6px; border-radius: 50%; background: #22C55E; animation: pulse 2s infinite; }
.chat-demo-body { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.chat-msg { display: flex; align-items: flex-start; gap: 10px; }
.user-msg { justify-content: flex-end; }
.ai-msg { justify-content: flex-start; }
.chat-bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 13.5px;
    line-height: 1.55;
}
.user-msg .chat-bubble {
    background: rgba(59,130,246,0.25);
    color: rgba(255,255,255,0.90);
    border-bottom-right-radius: 4px;
}
.ai-bubble {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.85);
    border-bottom-left-radius: 4px;
}
.ai-bubble strong { color: var(--white); }
.ai-avatar-sm {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--arcai-grad);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 4px;
}
.chat-citation {
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(59,130,246,0.12);
    border: 1px solid rgba(59,130,246,0.20);
    border-radius: 8px;
    font-size: 11.5px;
    color: rgba(255,255,255,0.60);
}
.cite-icon { margin-right: 6px; }
.cite-conf { color: #22C55E; font-weight: 600; }
.chat-typing {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 0 4px 38px;
}
.chat-typing span {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(59,130,246,0.50);
    animation: typingDot 1.4s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot { 0%,80%,100%{transform:scale(1);opacity:0.5;} 40%{transform:scale(1.3);opacity:1;} }

/* ArcAI Pain Section */
.pain-section { padding: var(--section-py) 0; }
.arcai-pain { background: rgba(15,23,42,0.95); }
.pain-header { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.pain-header h3 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 500;
    color: var(--white);
    margin-bottom: 14px;
    letter-spacing: -0.04em;
}
.pain-header p { font-size: 17px; color: rgba(255,255,255,0.55); }
.pain-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
}
.pain-stat {
    padding: 40px 32px;
    background: rgba(10,15,30,0.8);
    text-align: center;
}
.pain-number {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 12px;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.arcai-number { background-image: var(--arcai-grad); }
.marina-number { background-image: var(--marina-grad); }
.pain-desc { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* ArcAI Features Bento */
.arcai-features { background: rgba(10,15,30,0.97); padding: var(--section-py) 0; }
.arcai-features .section-header h3,
.arcai-features .section-header p { color: var(--white); }
.arcai-features .section-header p { color: rgba(255,255,255,0.55); }

.features-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.bento-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
    position: relative;
    overflow: hidden;
}
.bento-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.bento-card:hover { 
    transform: translateY(-4px); 
    border-color: rgba(59,130,246,0.25); 
    background: rgba(59,130,246,0.05);
}
.bento-card:hover::before { opacity: 1; }
.bento-large { grid-column: span 2; }
.bento-icon { font-size: 32px; margin-bottom: 16px; }
.bento-card h4 {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}
.bento-card p { font-size: 14.5px; color: rgba(255,255,255,0.55); line-height: 1.65; margin-bottom: 16px; }
.bento-feature-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.bento-feature-pills span {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--arcai-cyan);
    background: rgba(6,182,212,0.12);
    border: 1px solid rgba(6,182,212,0.20);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
}

/* ArcAI How It Works */
.how-section { padding: var(--section-py) 0; }
.arcai-how { background: rgba(10,15,30,0.95); }
.arcai-how .section-header h3 { color: var(--white); }
.arcai-how .section-header p { color: rgba(255,255,255,0.55); }
.steps-row {
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: center;
}
.step-card {
    flex: 1;
    max-width: 320px;
    text-align: center;
    padding: 40px 32px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    transition: transform 0.3s var(--ease), border-color 0.3s;
}
.step-card:hover { transform: translateY(-4px); border-color: rgba(59,130,246,0.30); }
.step-num {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.10em;
    margin-bottom: 16px;
}
.arcai-step-num { color: var(--arcai-blue); }
.step-icon-lg { font-size: 40px; margin-bottom: 16px; }
.step-card h4 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}
.step-card p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.65; }
.step-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 20px;
    flex-shrink: 0;
}
.arcai-connector .connector-arrow { color: rgba(59,130,246,0.60); font-size: 24px; }
.connector-line { display: none; }

/* Industries */
.industries-section { padding: var(--section-py) 0; }
.arcai-industries { background: rgba(8,12,24,0.99); }
.arcai-industries .section-header h3 { color: var(--white); }
.arcai-industries .section-header p { color: rgba(255,255,255,0.55); }
.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.industry-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.03);
    transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.arcai-industry { background: rgba(255,255,255,0.03); }
.arcai-industry:hover { transform: translateY(-4px); border-color: rgba(59,130,246,0.25); background: rgba(59,130,246,0.05); }
.industry-icon { font-size: 32px; margin-bottom: 14px; }
.industry-card h4 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.industry-card p { font-size: 13.5px; color: rgba(255,255,255,0.50); line-height: 1.6; margin-bottom: 12px; }
.industry-use-case { font-size: 11.5px; color: rgba(59,130,246,0.80); font-weight: 600; }

/* Security Section */
.security-section { padding: var(--section-py) 0; }
.arcai-security { background: rgba(10,15,30,0.97); }
.security-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.security-text h3 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 500;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.04em;
}
.security-text p { font-size: 15px; color: rgba(255,255,255,0.55); line-height: 1.75; margin-bottom: 28px; }
.compliance-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.compliance-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(59,130,246,0.30);
    color: var(--arcai-cyan);
    background: rgba(59,130,246,0.08);
}
.marina-badge-pill {
    border-color: rgba(8,145,178,0.30);
    color: var(--marina-sky);
    background: rgba(8,145,178,0.08);
}
.security-items { display: flex; flex-direction: column; gap: 24px; }
.security-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-md);
    transition: border-color 0.3s, background 0.3s;
}
.security-item:hover { border-color: rgba(59,130,246,0.20); background: rgba(59,130,246,0.05); }
.security-item-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.arcai-icon-bg { background: rgba(59,130,246,0.15); }
.marina-icon-bg { background: rgba(8,145,178,0.15); }
.security-item-content strong { display: block; font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.security-item-content p { font-size: 13px; color: rgba(255,255,255,0.50); line-height: 1.5; margin: 0; }

/* Pricing Section */
.pricing-section { padding: var(--section-py) 0; }
.arcai-pricing { background: rgba(8,12,24,0.99); }
.arcai-pricing .section-header h3 { color: var(--white); }
.arcai-pricing .section-header p { color: rgba(255,255,255,0.55); }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}
.pricing-card {
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    transition: transform 0.3s var(--ease), border-color 0.3s;
}
.arcai-pricing-card:hover { transform: translateY(-4px); border-color: rgba(59,130,246,0.25); }
.pricing-featured {
    border-color: rgba(59,130,246,0.40) !important;
    background: rgba(59,130,246,0.08) !important;
    box-shadow: 0 0 0 1px rgba(59,130,246,0.30), 0 20px 60px rgba(59,130,246,0.15);
}
.pricing-featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--arcai-grad);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}
.pricing-tier { font-size: 12px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; color: rgba(255,255,255,0.50); margin-bottom: 12px; }
.pricing-price {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
}
.price-per { font-size: 16px; font-weight: 500; color: rgba(255,255,255,0.45); }
.pricing-min { font-size: 12px; color: rgba(255,255,255,0.40); margin-bottom: 24px; }
.pricing-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pricing-list li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: rgba(255,255,255,0.70); }
.check { font-size: 13px; font-weight: 800; flex-shrink: 0; }
.arcai-check { color: var(--arcai-blue); }
.marina-check { color: var(--marina-teal); }
.pricing-footnote {
    text-align: center;
    font-size: 14px;
    color: rgba(255,255,255,0.50);
    padding: 24px;
    background: rgba(59,130,246,0.06);
    border: 1px solid rgba(59,130,246,0.15);
    border-radius: var(--radius-md);
}
.pricing-footnote strong { color: var(--white); }

/* ArcAI Product CTA */
.product-cta-section { padding: 96px 0; }
.arcai-cta-section {
    background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(59,130,246,0.15) 0%, transparent 70%),
                rgba(5,8,20,1);
}
.product-cta-inner {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}
.product-cta-inner h3 {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 500;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.04em;
}
.product-cta-inner p { font-size: 17px; color: rgba(255,255,255,0.60); margin-bottom: 36px; line-height: 1.7; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Product Bridge */
.product-bridge {
    background: #080808;
    padding: 48px 24px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.bridge-content { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.bridge-leaf { font-size: 32px; opacity: 0.8; }
.bridge-content p {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,0.40);
    letter-spacing: 0.02em;
}

/* ============================================================
   MARINA SECTION
   ============================================================ */
.marina-section { background: var(--marina-dark); }

.marina-hero { background: transparent; }
.marina-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(8,145,178,0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 85% 20%, rgba(56,189,248,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 50% 90%, rgba(2,132,199,0.07) 0%, transparent 60%);
    pointer-events: none;
}

.marina-badge { background: rgba(8,145,178,0.15); color: var(--marina-sky); }
.marina-dot { background: var(--marina-sky); }
.marina-name { background: var(--marina-grad); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Marina Map Demo */
.marina-map-demo {
    background: rgba(7,24,40,0.95);
    border: 1px solid rgba(8,145,178,0.25);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(8,145,178,0.10), 0 20px 60px rgba(0,0,0,0.5), 0 0 80px rgba(8,145,178,0.10);
}
.map-demo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: rgba(8,145,178,0.10);
    border-bottom: 1px solid rgba(8,145,178,0.15);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.80);
}
.map-legend { display: flex; gap: 14px; font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.55); align-items: center; }
.leg-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; }
.leg-dot.available { background: #22C55E; }
.leg-dot.occupied  { background: #EF4444; }
.leg-dot.maint     { background: #F59E0B; }
.dock-container { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.dock-row { display: flex; align-items: center; gap: 8px; }
.dock-label-map {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.40);
    width: 48px;
    flex-shrink: 0;
    text-align: right;
}
.slip-cell {
    width: 40px; height: 40px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(255,255,255,0.10);
    color: var(--white);
}
.slip-cell:hover { transform: scale(1.1); box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
.slip-cell.avail  { background: rgba(34,197,94,0.20); border-color: rgba(34,197,94,0.40); color: #4ADE80; }
.slip-cell.occ    { background: rgba(239,68,68,0.20); border-color: rgba(239,68,68,0.30); color: #FCA5A5; }
.slip-cell.maint  { background: rgba(245,158,11,0.20); border-color: rgba(245,158,11,0.30); color: #FCD34D; }
.map-footer-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(8,145,178,0.15);
    border-top: 1px solid rgba(8,145,178,0.15);
}
.mfs-item {
    padding: 14px 10px;
    text-align: center;
    background: rgba(7,24,40,0.90);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mfs-num { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--white); }
.mfs-label { font-size: 10px; font-weight: 500; color: rgba(255,255,255,0.45); }

/* Marina Pain */
.marina-pain { background: rgba(7,24,40,0.98); }
.marina-pain .pain-header h3 { color: var(--white); }
.marina-pain .pain-header p { color: rgba(255,255,255,0.55); }

/* Marina Modules Tabs */
.marina-modules-section { padding: var(--section-py) 0; background: rgba(8,28,48,0.99); }
.marina-modules-section .section-header h3 { color: var(--white); }
.marina-modules-section .section-header p { color: rgba(255,255,255,0.55); }

.module-tabs { display: flex; flex-direction: column; gap: 0; }
.module-tab-buttons {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 2px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 8px;
}
.module-tab-btn {
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.50);
    transition: all 0.2s var(--ease);
    background: transparent;
    white-space: nowrap;
}
.module-tab-btn:hover { color: rgba(255,255,255,0.80); background: rgba(255,255,255,0.05); }
.module-tab-btn.active { background: rgba(8,145,178,0.20); color: var(--marina-sky); border: 1px solid rgba(8,145,178,0.30); }
.module-panels { 
    border: 1px solid rgba(255,255,255,0.07); 
    border-top: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    background: rgba(255,255,255,0.03);
    overflow: hidden;
}
.module-panel { display: none; padding: 40px; }
.module-panel.active { display: block; }
.panel-header { margin-bottom: 32px; }
.panel-header h4 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}
.panel-header p { font-size: 15px; color: rgba(255,255,255,0.55); line-height: 1.7; }
.panel-features { display: flex; flex-direction: column; gap: 20px; }
.panel-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-md);
    transition: border-color 0.3s, background 0.3s;
}
.panel-feature:hover { border-color: rgba(8,145,178,0.25); background: rgba(8,145,178,0.05); }
.pf-icon {
    font-size: 22px;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8,145,178,0.12);
    border-radius: var(--radius-sm);
}
.panel-feature strong { display: block; font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.panel-feature p { font-size: 13.5px; color: rgba(255,255,255,0.55); line-height: 1.65; margin: 0; }

/* Marina Personas */
.marina-personas { padding: var(--section-py) 0; background: rgba(7,24,40,0.97); }
.marina-personas .section-header h3 { color: var(--white); }
.personas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.persona-card {
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.04);
    text-align: center;
    transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.marina-persona:hover { transform: translateY(-4px); border-color: rgba(8,145,178,0.25); background: rgba(8,145,178,0.06); }
.persona-icon { font-size: 40px; margin-bottom: 16px; }
.persona-card h4 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.persona-card p { font-size: 13.5px; color: rgba(255,255,255,0.55); line-height: 1.65; margin-bottom: 16px; }
.persona-win {
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    display: inline-block;
}
.marina-win { background: rgba(8,145,178,0.15); color: var(--marina-sky); }

/* Marina Integrations */
.marina-integrations { padding: var(--section-py) 0; background: rgba(8,24,44,0.98); }
.marina-integrations .section-header h3 { color: var(--white); }
.marina-integrations .section-header p { color: rgba(255,255,255,0.55); }
.integrations-carousel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.integration-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.70);
    transition: border-color 0.3s, background 0.3s;
}
.integration-item:hover { border-color: rgba(8,145,178,0.25); background: rgba(8,145,178,0.06); color: var(--white); }
.integration-item span { font-size: 20px; }

/* Marina Security */
.marina-security { background: rgba(5,16,30,0.99); }
.marina-security .security-inner { gap: 64px; }
.marina-security .security-item:hover { border-color: rgba(8,145,178,0.20); background: rgba(8,145,178,0.05); }

/* Marina Pricing */
.marina-pricing { background: rgba(7,20,36,0.99); }
.marina-pricing .section-header h3 { color: var(--white); }
.marina-pricing .section-header p { color: rgba(255,255,255,0.55); }
.marina-pricing-card:hover { transform: translateY(-4px); border-color: rgba(8,145,178,0.25); }
.marina-pricing-card.pricing-featured {
    border-color: rgba(8,145,178,0.40) !important;
    background: rgba(8,145,178,0.08) !important;
    box-shadow: 0 0 0 1px rgba(8,145,178,0.30), 0 20px 60px rgba(8,145,178,0.15);
}
.marina-featured-badge { background: var(--marina-grad); }

/* Business Directory Add-On Block */
.addon-block {
    margin-top: 48px;
    padding: 36px;
    background: rgba(8,145,178,0.06);
    border: 1px solid rgba(8,145,178,0.20);
    border-radius: var(--radius-lg);
}
.addon-header { text-align: center; margin-bottom: 28px; }
.addon-header h4 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}
.addon-header p { font-size: 14px; color: rgba(255,255,255,0.55); }
.addon-tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.addon-tier-card {
    text-align: center;
    padding: 24px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-md);
    transition: transform 0.3s var(--ease), border-color 0.3s;
}
.addon-tier-card:hover { transform: translateY(-3px); border-color: rgba(8,145,178,0.25); }
.addon-tier-featured { border-color: rgba(8,145,178,0.35) !important; background: rgba(8,145,178,0.10) !important; }
.addon-tier-name { font-size: 11px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; color: rgba(255,255,255,0.50); margin-bottom: 8px; }
.addon-tier-price { font-family: var(--font-display); font-size: 32px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.addon-tier-price span { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.45); }
.addon-tier-desc { font-size: 12px; color: rgba(255,255,255,0.50); line-height: 1.5; }

/* Marina CTA */
.marina-cta-section {
    background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(8,145,178,0.15) 0%, transparent 70%),
                rgba(4,12,24,1);
}

/* ============================================================
   PRODUCTS SHOWCASE SECTION (Homepage)
   ============================================================ */
.products-showcase-section {
    background: #080808;
    padding: var(--section-py) 0;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.products-showcase-section .section-header h2 {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 500;
    letter-spacing: -0.04em;
}
.products-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 60px;
}
.showcase-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.09);
    transition: transform 0.3s var(--ease), border-color 0.3s;
    display: flex;
    flex-direction: column;
}
.showcase-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,255,255,0.18);
}
/* ArcAI showcase header */
.arcai-showcase-header {
    background: linear-gradient(135deg, var(--arcai-dark) 0%, #1a1f3e 100%);
    padding: 32px 36px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}
.arcai-showcase-header::after {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(59,130,246,0.25) 0%, transparent 70%);
    pointer-events: none;
}
/* Marina showcase header */
.marina-showcase-header {
    background: linear-gradient(135deg, var(--marina-dark) 0%, #0c2435 100%);
    padding: 32px 36px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}
.marina-showcase-header::after {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(8,145,178,0.25) 0%, transparent 70%);
    pointer-events: none;
}
.showcase-icon-wrap {
    font-size: 42px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.arcai-icon-wrap { background: rgba(59,130,246,0.2); }
.marina-icon-wrap { background: rgba(8,145,178,0.2); }
.showcase-header-text { position: relative; z-index: 1; }
.showcase-header-text .showcase-name {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
}
.showcase-tagline {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.55);
    margin-top: 4px;
}
/* Showcase body */
.showcase-body {
    background: rgba(255,255,255,0.04);
    padding: 32px 36px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.showcase-desc {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.60);
    margin: 0;
}
.showcase-features { display: flex; flex-direction: column; gap: 10px; }
.sf-item {
    font-size: 14px;
    color: rgba(255,255,255,0.70);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}
.sf-check {
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 1px;
}
.arcai-sf-check { color: var(--arcai-blue); }
.marina-sf-check { color: var(--marina-teal); }
/* Showcase stats */
.showcase-stats {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.ss-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}
.ss-num {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
}
.ss-label {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,0.38);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.ss-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    flex-shrink: 0;
}
/* Showcase industry pills */
.showcase-industries {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.showcase-industries span {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.50);
}
/* Showcase CTAs */
.showcase-ctas {
    display: flex;
    gap: 12px;
    margin-top: auto;
    flex-wrap: wrap;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { padding: var(--section-py) 0; background: #080808; }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.about-text .section-tag { margin-bottom: 16px; }
.about-text h3 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}
.about-text p { font-size: 15.5px; color: rgba(255,255,255,0.55); line-height: 1.8; margin-bottom: 16px; }
.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.value-card {
    padding: 24px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: var(--radius-lg);
    transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.value-card:hover { transform: translateY(-3px); border-color: rgba(212,114,42,0.25); background: rgba(212,114,42,0.05); }
.value-icon { font-size: 28px; margin-bottom: 12px; }
.value-card h5 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.value-card p { font-size: 13.5px; color: rgba(255,255,255,0.50); line-height: 1.65; margin: 0; }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section { padding: var(--section-py) 0; background: #0a0a0a; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}
.contact-info .section-tag { margin-bottom: 16px; }
.contact-info h3 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 500;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.04em;
}
.contact-info > p { font-size: 15px; color: rgba(255,255,255,0.55); line-height: 1.75; margin-bottom: 32px; }
.contact-methods { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.contact-method {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: var(--radius-md);
    transition: border-color 0.2s;
}
.contact-method:hover { border-color: var(--maple); }
.contact-method-icon { font-size: 22px; }
.contact-method-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.35); margin-bottom: 3px; }
.contact-method a { font-size: 15px; font-weight: 600; color: var(--maple); }
.contact-promise { display: flex; flex-direction: column; gap: 8px; }
.promise-item { font-size: 13.5px; color: rgba(255,255,255,0.55); font-weight: 500; }

/* Contact Form */
.contact-form {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-xl);
    padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.70); }
.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--white);
    background: rgba(255,255,255,0.06);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--maple);
    box-shadow: 0 0 0 3px rgba(212,114,42,0.12);
}
.form-success {
    display: none;
    margin-top: 16px;
    padding: 14px 20px;
    background: rgba(34,197,94,0.10);
    border: 1px solid rgba(34,197,94,0.30);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: #166534;
    text-align: center;
}
.form-success.visible { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--gray-900); padding: 64px 0 0; }
.footer-top {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand { max-width: 360px; }
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.logo-leaf-footer { font-size: 26px; }
.footer-logo-text {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}
.footer-logo-llc { font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.40); margin-left: 4px; }
.footer-brand > p { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.7; margin-bottom: 20px; }
.footer-trust-marks { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-trust-marks span { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.35); }
.footer-links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 { font-size: 12px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.30); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,0.30); transition: color 0.2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.60); }

/* ============================================================
   RESPONSIVE / MOBILE
   ============================================================ */
@media (max-width: 1024px) {
    :root { --section-py: 72px; }
    .company-hero { grid-template-columns: 1fr; padding-top: 100px; }
    .hero-visual { display: none; }
    .products-showcase-grid { grid-template-columns: 1fr; }
    .product-hero-inner { grid-template-columns: 1fr; }
    .product-hero-visual { display: none; }
    .features-bento { grid-template-columns: repeat(2, 1fr); }
    .bento-large { grid-column: span 2; }
    .industries-grid { grid-template-columns: repeat(2, 1fr); }
    .security-inner { grid-template-columns: 1fr; gap: 40px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .footer-top { grid-template-columns: 1fr; gap: 40px; }
    .personas-grid { grid-template-columns: repeat(2, 1fr); }
    .integrations-carousel { grid-template-columns: repeat(3, 1fr); }
    .addon-tiers { grid-template-columns: repeat(2, 1fr); }
    .steps-row { flex-direction: column; gap: 16px; }
    .step-connector { display: none; }
    .pain-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --section-py: 56px; }
    .nav-links, .nav-ctas { display: none; }
    .mobile-menu-btn { display: flex; }
    .showcase-body { padding: 24px; }
    .arcai-showcase-header, .marina-showcase-header { padding: 24px; }
    .features-bento { grid-template-columns: 1fr; }
    .bento-large { grid-column: span 1; }
    .industries-grid { grid-template-columns: 1fr; }
    .personas-grid { grid-template-columns: 1fr; }
    .integrations-carousel { grid-template-columns: repeat(2, 1fr); }
    .addon-tiers { grid-template-columns: 1fr; }
    .pain-stats-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 16px; padding: 20px; }
    .hero-stat-divider { width: 48px; height: 1px; }
    .form-row { grid-template-columns: 1fr; }
    .module-tab-buttons { gap: 6px; }
    .module-tab-btn { font-size: 12px; padding: 8px 12px; }
    .contact-form { padding: 28px 20px; }
    .footer-links-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .values-grid { grid-template-columns: 1fr; }
    .map-footer-stats { grid-template-columns: repeat(2, 1fr); }
    .module-panel { padding: 24px; }
    .panel-feature { flex-direction: column; }
}

@media (max-width: 480px) {
    .hero-ctas { flex-direction: column; }
    .product-ctas { flex-direction: column; }
    .cta-actions { flex-direction: column; align-items: center; }
    .integrations-carousel { grid-template-columns: 1fr 1fr; }
    .dock-container { padding: 12px; }
    .slip-cell { width: 32px; height: 32px; font-size: 9px; }
    .footer-links-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   DEMO VIDEO SECTION
   ============================================================ */
.demo-video-section {
    padding: 96px 0;
    background: #080808;
}

.demo-video-wrap {
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
}

.demo-tag {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.demo-video-heading {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 500;
    letter-spacing: -0.04em;
    margin: 0 0 12px;
    color: rgba(255,255,255,0.92);
}

.demo-video-sub {
    font-size: 16px;
    color: rgba(255,255,255,0.45);
    margin: 0 0 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* The 16:9 card */
.demo-video-card {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
    background: #0f0f0f;
    box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}

.demo-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Placeholder — shown when no video source is active */
.demo-video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: radial-gradient(ellipse 80% 60% at 50% 50%,
        rgba(255,255,255,0.03) 0%,
        rgba(255,255,255,0.01) 50%,
        transparent 100%);
    animation: demoPulse 4s ease-in-out infinite;
}

/* Hide placeholder once video has a source and plays */
.demo-video-card:has(.demo-video-player[src]:not([src=""])) .demo-video-placeholder {
    display: none;
}

@keyframes demoPulse {
    0%, 100% { opacity: 0.8; }
    50%       { opacity: 1; }
}

.demo-play-ring {
    opacity: 0.7;
    transition: opacity 0.2s;
}

.demo-video-placeholder:hover .demo-play-ring {
    opacity: 1;
}

.demo-ph-label {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

.demo-ph-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.2);
    margin: 0;
}

.demo-ph-sub code {
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    background: rgba(255,255,255,0.06);
    padding: 1px 5px;
    border-radius: 3px;
}

/* ============================================================
   CURSOR SPOTLIGHT
   ============================================================ */
#cursor-spotlight {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    opacity: 1;
    transition: opacity 0.6s ease;
    will-change: background;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--maple); }

/* ============================================================
   SELECTION
   ============================================================ */
::selection { background: rgba(212,114,42,0.30); color: var(--white); }
