/* =============================================
   EnergyX 369 — Enterprise AI Operating System
   Premium Modern Theme
   ============================================= */

/* ---- ROOT VARIABLES ---- */
:root {
    /* Core Colors */
    --color-bg: #FFFFFF;
    --color-bg-alt: #F0F7FF;
    --color-bg-card: #FFFFFF;
    --color-surface: #E8F0FE;

    --color-dark: #0B1426;
    --color-dark-surface: #0F1A2E;
    --color-dark-border: #1A2A44;

    --color-primary: #0B1A33;
    --color-text: #1A2A3F;
    --color-text-muted: #5A7A9F;
    --color-text-faint: #8AAACF;

    --color-border: #DCE6F2;
    --color-border-strong: #B8CCE5;

    /* Blue Gradient Palette */
    --color-blue: #2563EB;
    --color-blue-light: #3B82F6;
    --color-blue-dark: #1D4ED8;
    --color-blue-soft: #DBEAFE;
    --color-blue-glow: rgba(37, 99, 235, 0.15);
    --color-blue-gradient: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);

    /* Accents */
    --color-accent: #2563EB;
    --color-accent-hover: #1D4ED8;

    /* Typography */
    --font-heading: 'Inter', system-ui, sans-serif;
    --font-body: 'Manrope', system-ui, sans-serif;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(37, 99, 235, 0.06);
    --shadow-md: 0 4px 14px rgba(37, 99, 235, 0.08);
    --shadow-lg: 0 8px 28px rgba(37, 99, 235, 0.12);
    --shadow-xl: 0 16px 48px rgba(37, 99, 235, 0.15);
}

/* ---- RESET & BASE ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ---- UTILITY ---- */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.section-padding {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem auto;
}

.section-bg {
    background-color: var(--color-bg);
}

.section-surface {
    background-color: var(--color-bg-alt);
}

.section-bordered {
    border-top: 1px solid var(--color-border);
}

/* ---- TYPOGRAPHY ---- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-primary);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.0625rem;
    margin: 0;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-blue);
    margin-bottom: 0.75rem;
    padding: 0.3rem 1rem;
    border: 1px solid var(--color-blue);
    border-radius: var(--radius-full);
    background: var(--color-blue-soft);
}

.eyebrow-invert {
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(37, 99, 235, 0.2);
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: 1.5px solid transparent;
    white-space: nowrap;
    gap: 0.5rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 0.9375rem;
}

.btn-primary {
    background: var(--color-blue-gradient);
    color: #FFF;
    box-shadow: 0 4px 14px var(--color-blue-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background-color: var(--color-bg);
    color: var(--color-blue);
    border-color: var(--color-border-strong);
}

.btn-secondary:hover {
    background: var(--color-blue-soft);
    border-color: var(--color-blue);
    transform: translateY(-2px);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-border-strong);
}

.btn-outline-light:hover {
    border-color: var(--color-blue);
    background: var(--color-blue-soft);
    color: var(--color-blue);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ---- HEADER ---- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 68px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-blue-gradient);
    flex-shrink: 0;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 800;
    background: var(--color-blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-sub {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-muted);
    -webkit-text-fill-color: var(--color-text-muted);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
}

.nav-toggle .hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-toggle .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--color-primary);
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-blue-gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-blue);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.nav-cta {
    color: #FFF !important;
    background: var(--color-blue-gradient);
    padding: 0.6rem 1.25rem !important;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px var(--color-blue-glow);
}

.nav-links a.nav-cta::after {
    display: none;
}

.nav-links a.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

/* ============================================= */
/* SIDEBAR - Mobile Navigation */
/* ============================================= */

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    max-width: 85%;
    height: 100%;
    background: var(--color-bg);
    z-index: 1000;
    padding: 1.5rem;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
}

.sidebar.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid var(--color-blue-soft);
    margin-bottom: 1.5rem;
}

.sidebar-logo {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 800;
    background: var(--color-blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-logo .logo-sub {
    -webkit-text-fill-color: var(--color-text-muted);
}

.sidebar-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--color-text);
    transition: transform 0.2s ease;
}

.sidebar-close:hover {
    transform: rotate(90deg);
}

.sidebar-close svg {
    width: 24px;
    height: 24px;
}

.sidebar-nav {
    flex: 1;
    display: flex;
    align-items: center;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.sidebar-nav ul li {
    margin-bottom: 0.25rem;
}

.sidebar-link {
    display: block;
    padding: 0.875rem 1rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    text-align: center;
}

.sidebar-link:hover {
    background: var(--color-blue-soft);
    color: var(--color-blue);
    transform: translateX(4px);
}

.sidebar-cta {
    display: block !important;
    width: 100%;
    text-align: center;
    margin-top: 0.75rem;
    padding: 0.875rem !important;
    background: var(--color-blue-gradient) !important;
    color: #FFF !important;
    border-radius: var(--radius-md) !important;
    border: none !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px var(--color-blue-glow);
}

.sidebar-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.sidebar-footer p {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* ---- HERO ---- */
.hero {
    padding-top: 132px;
    padding-bottom: 4rem;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 700px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    color: var(--color-primary);
    text-wrap: balance;
}

.accent-highlight {
    background: var(--color-blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 1.75rem;
    max-width: 640px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 0.875rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-quote {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--color-border);
    font-style: italic;
    color: var(--color-text-faint);
    font-size: 0.9375rem;
    max-width: 560px;
    position: relative;
}

.hero-quote::before {
    content: '"';
    font-size: 3rem;
    color: var(--color-blue);
    opacity: 0.2;
    position: absolute;
    top: -0.5rem;
    left: -1.5rem;
}

/* ---- HERO VISUAL ---- */
.hero-visual {
    background: var(--color-dark-surface);
    border: 1px solid var(--color-dark-border);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    text-align: left;
    overflow: hidden;
    position: relative;
}

.hero-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-visual-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-dark-border);
    padding-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.hero-visual-icon {
    font-size: 1.125rem;
    animation: pulse-dot 2s ease-in-out infinite;
}

.hero-visual-title {
    color: #FFF;
    font-size: 0.875rem;
}

.hero-visual-status {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #4ADE80;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ADE80;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-chat {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    z-index: 1;
}

.chat-row {
    display: flex;
    flex-direction: column;
    max-width: 88%;
}

.chat-row-user {
    align-items: flex-end;
    align-self: flex-end;
}

.chat-row-ai {
    align-items: flex-start;
    align-self: flex-start;
}

.chat-label {
    font-size: 0.6875rem;
    color: #9298A2;
    margin-top: 0.4rem;
    padding: 0 0.25rem;
}

.chat-bubble {
    padding: 0.9rem 1.1rem;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    line-height: 1.55;
    word-wrap: break-word;
}

.chat-user {
    background: var(--color-blue-gradient);
    color: #FFFFFF;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.chat-ai {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #E7E8EA;
    border-bottom-left-radius: 4px;
}

.chat-ai strong {
    color: #93C5FD;
}

/* ============================================= */
/* ANIMASI TITIK 3 - LOADING & TYPING */
/* ============================================= */

/* --- Loading Dots (untuk "sedang memproses...") --- */
.dot-loading {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dot-loading span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #60A5FA;
    border-radius: 50%;
    animation: dotBounce 1.4s ease-in-out infinite both;
}

.dot-loading span:nth-child(1) { animation-delay: 0s; }
.dot-loading span:nth-child(2) { animation-delay: 0.2s; }
.dot-loading span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotBounce {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.4;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* --- Processing Text (untuk teks + titik) --- */
.processing-text {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.processing-text .dots {
    display: inline-flex;
    gap: 2px;
}

.processing-text .dots span {
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #60A5FA;
    border-radius: 50%;
    animation: dotPulse 1.4s ease-in-out infinite both;
}

.processing-text .dots span:nth-child(1) { animation-delay: 0s; }
.processing-text .dots span:nth-child(2) { animation-delay: 0.2s; }
.processing-text .dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
    0%, 80%, 100% {
        transform: scale(0.5);
        opacity: 0.3;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* --- Typing Indicator (untuk "Rani sedang mengetik...") --- */
.typing-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.25rem 0;
}

.typing-indicator span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #93C5FD;
    border-radius: 50%;
    animation: typingBounce 1.4s ease-in-out infinite both;
}

.typing-indicator span:nth-child(1) { animation-delay: 0s; }
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.3;
    }
    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

/* --- Typing Text (teks + titik) --- */
.typing-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #9298A2;
    font-size: 0.75rem;
}

.typing-text .dots {
    display: inline-flex;
    gap: 3px;
}

.typing-text .dots span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #93C5FD;
    border-radius: 50%;
    animation: typingDot 1.4s ease-in-out infinite both;
}

.typing-text .dots span:nth-child(1) { animation-delay: 0s; }
.typing-text .dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-text .dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
    0%, 60%, 100% {
        transform: scale(0.6);
        opacity: 0.3;
    }
    30% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ---- ROI METRICS ---- */
.roi-metrics-bar {
    background: var(--color-bg-alt);
    padding: 3rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    position: relative;
}

.roi-metrics-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-blue), var(--color-blue-light), var(--color-blue));
    background-size: 200% 100%;
    animation: gradientMove 4s linear infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

.roi-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.roi-item {
    text-align: center;
    flex: 1;
    min-width: 140px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.roi-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-blue);
}

.roi-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    background: var(--color-blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.roi-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.roi-divider {
    display: none;
}

.roi-metrics-bar .container:last-child {
    text-align: center;
    margin-top: 1rem;
    opacity: 0.55;
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

/* ---- DEMO ---- */
.demo-video-card {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.demo-video-card:hover {
    border-color: var(--color-blue);
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background-color: var(--color-dark);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ---- CASE STUDIES ---- */
.uniform-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.uniform-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.uniform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-blue-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.uniform-card:hover {
    border-color: var(--color-blue);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.uniform-card:hover::before {
    opacity: 1;
}

.uniform-card-main {
    flex: 0 0 260px;
}

.uniform-card-desc {
    flex: 1;
    padding-left: 2.5rem;
    border-left: 1px solid var(--color-border);
}

.uniform-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--color-blue);
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    padding: 0.25rem 0.75rem;
    background: var(--color-blue-soft);
    border-radius: var(--radius-full);
}

.uniform-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.case-highlight {
    font-size: 1.75rem;
    font-weight: 900;
    background: var(--color-blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
    margin: 0.25rem 0 0 0;
}

.case-highlight-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.case-challenge {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.case-challenge strong {
    color: var(--color-blue);
}

.case-solution {
    font-size: 0.8125rem;
    color: var(--color-text);
}

.case-solution strong {
    color: var(--color-blue);
}

/* ---- AI AGENTS ---- */
.ai-agents-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.agent-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.agent-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-blue-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.agent-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-blue);
}

.agent-card:hover::after {
    transform: scaleX(1);
}

.agent-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.agent-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8125rem;
    color: #FFF;
    background: var(--color-blue-gradient);
    flex-shrink: 0;
}

.agent-card h3 {
    font-size: 1.0625rem;
    margin: 0;
}

.agent-skills {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.agent-skills li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.agent-skills svg {
    color: var(--color-blue);
    margin-top: 2px;
    flex-shrink: 0;
}

/* ---- PRICING ---- */
.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.625rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-text-muted);
    background: transparent;
    border: 1.5px solid var(--color-border-strong);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: var(--color-blue);
    color: var(--color-blue);
    background: var(--color-blue-soft);
}

.tab-btn.active {
    background: var(--color-blue-gradient);
    color: #FFF;
    border-color: var(--color-blue);
    box-shadow: 0 4px 14px var(--color-blue-glow);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.enterprise-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    font-size: 0.875rem;
    min-width: 700px;
    box-shadow: var(--shadow-sm);
}

.enterprise-table th,
.enterprise-table td {
    padding: 1rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
}

.enterprise-table th {
    background: var(--color-bg-alt);
    font-family: var(--font-heading);
    font-weight: 700;
}

.enterprise-table th:last-child,
.enterprise-table td:last-child {
    border-right: none;
}

.enterprise-table td.text-left {
    text-align: left;
}

.enterprise-table th.highlight-col,
.enterprise-table td.highlight-col {
    background: var(--color-blue-soft);
    border-left: 2px solid var(--color-blue);
    border-right: 2px solid var(--color-blue);
}

.enterprise-table thead th.highlight-col {
    border-top: 4px solid var(--color-blue);
    background: var(--color-blue-gradient);
    color: #FFF;
}

.enterprise-table tbody tr:last-child td.highlight-col {
    border-bottom: 2px solid var(--color-blue);
}

.plan-badge {
    display: inline-block;
    background: var(--color-blue-gradient);
    color: #FFF;
    padding: 0.35rem 0.85rem;
    font-size: 0.75rem;
    border-radius: var(--radius-full);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px var(--color-blue-glow);
}

.plan-spacer {
    height: 32px;
    margin-bottom: 1rem;
}

.plan-name {
    font-size: 1.125rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-blue);
}

.plan-price .period {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

.plan-billed {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.plan-billed del {
    color: var(--color-text-faint);
}

.plan-corporate-cta {
    background: var(--color-blue-gradient) !important;
}

.plan-corporate-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3) !important;
}

/* ---- ENTERPRISE CARD ---- */
.enterprise-card {
    background: var(--color-dark);
    color: #FFF;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    overflow: hidden;
}

.enterprise-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.enterprise-card-highlighted {
    border: 1px solid var(--color-dark-border);
}

.enterprise-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.enterprise-info h3 {
    color: #FFF;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.enterprise-info p {
    color: #9CA3AF;
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.enterprise-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.enterprise-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #E5E7EB;
}

.enterprise-features svg {
    color: #60A5FA;
    flex-shrink: 0;
    margin-top: 2px;
}

.enterprise-action {
    background: var(--color-dark-surface);
    border: 1px solid var(--color-dark-border);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    min-width: 300px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.enterprise-action:hover {
    border-color: var(--color-blue);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.1);
}

.enterprise-action .price-amount {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    background: linear-gradient(135deg, #60A5FA, #93C5FD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin: 0.5rem 0;
}

.enterprise-price-label {
    font-size: 0.75rem;
    color: #9CA3AF;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.enterprise-price-sublabel {
    font-size: 0.75rem;
    color: #9CA3AF;
    display: block;
    margin-bottom: 1.5rem;
}

.enterprise-action-cta {
    background: #FFF !important;
    color: var(--color-blue) !important;
}

.enterprise-action-cta:hover {
    background: #E5E7EB !important;
    transform: translateY(-2px) !important;
}

/* ---- TOOLTIP ---- */
.tooltip-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-blue-gradient);
    color: #FFF;
    font-size: 0.625rem;
    font-weight: 800;
    margin-left: 4px;
    cursor: help;
    position: relative;
    transition: all 0.2s ease;
}

.tooltip-trigger:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px var(--color-blue-glow);
}

.tooltip-trigger::after {
    content: attr(aria-label);
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-dark);
    color: #FFF;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.6875rem;
    line-height: 1.4;
    white-space: normal;
    width: max-content;
    max-width: 280px;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    box-shadow: var(--shadow-md);
}

.tooltip-trigger:hover::after {
    opacity: 1;
    visibility: visible;
}

/* ---- CONTACT ---- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-form-card {
    background: var(--color-bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.contact-form-card:hover {
    border-color: var(--color-blue);
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.875rem;
    background: var(--color-bg);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-blue);
    box-shadow: 0 0 0 4px var(--color-blue-glow);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--color-border-strong);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-size: 16px;
}

/* ---- PRIVACY NOTICE ---- */
.privacy-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: var(--color-blue-soft);
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    margin-bottom: 1.5rem;
}

.privacy-notice svg {
    color: var(--color-blue);
    flex-shrink: 0;
    margin-top: 2px;
}

.privacy-notice-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.privacy-notice-text {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* ---- FOOTER ---- */
.footer {
    background: var(--color-dark);
    color: #FFF;
    padding: 3rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-blue), var(--color-blue-light), var(--color-blue));
    background-size: 200% 100%;
    animation: gradientMove 4s linear infinite;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-dark-border);
    margin-bottom: 1.5rem;
    align-items: start;
}

.footer-brand,
.footer-info,
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 160px;
}

.footer-logo-text {
    color: #FFF;
    font-size: 1.25rem;
    font-weight: 800;
}

.footer-logo-text .logo-sub {
    color: #9CA3AF;
    font-weight: 600;
}

.footer-desc {
    font-size: 0.875rem;
    color: #9CA3AF;
    line-height: 1.7;
    max-width: 400px;
    margin: 0;
    display: block;
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 700;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 0.25rem 0;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.footer-contact li {
    font-size: 0.8125rem;
    color: #C9CBD1;
}

.footer-contact li a {
    color: #C9CBD1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact li a:hover {
    color: #60A5FA;
}

.footer-link-with-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.footer-link-with-arrow:hover {
    color: #60A5FA;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-bottom p {
    color: #7B7F87;
    font-size: 0.75rem;
    margin: 0;
}

.footer-built-on {
    color: #7B7F87;
    font-size: 0.75rem;
}

/* ============================================= */
/* RESPONSIVE - All Breakpoints */
/* ============================================= */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .roi-flex {
        grid-template-columns: 1fr 1fr;
        display: grid;
    }

    .roi-divider {
        display: none;
    }

    .enterprise-card {
        flex-direction: column;
        gap: 1.5rem;
    }

    .ai-agents-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .uniform-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .uniform-card-desc {
        padding-left: 0;
        border-left: none;
        padding-top: 1.25rem;
        border-top: 1px solid var(--color-border);
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand,
    .footer-info,
    .footer-contact-info {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    /* NAVBAR - Mobile */
    .nav-links {
        display: none !important;
    }

    .nav-toggle {
        display: block !important;
    }

    .nav-toggle.active .hamburger span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active .hamburger span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .hamburger span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Hero */
    .hero {
        padding-top: 92px;
        padding-bottom: 2.5rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-desc {
        font-size: 0.9375rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        min-height: 48px;
    }

    .hero-quote {
        font-size: 0.8125rem;
        margin-top: 1.5rem;
        padding-top: 1.25rem;
    }

    .hero-quote::before {
        font-size: 2rem;
        top: -0.25rem;
        left: -1rem;
    }

    .hero-visual {
        padding: 1.25rem;
        max-width: 100%;
    }

    .chat-row {
        max-width: 96%;
    }

    .chat-bubble {
        padding: 0.75rem 0.9rem;
        font-size: 0.8125rem;
    }

    /* ROI */
    .roi-metrics-bar {
        padding: 2rem 0;
    }

    .roi-flex {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .roi-item {
        padding: 1.125rem 0.75rem;
    }

    .roi-number {
        font-size: 1.375rem;
    }

    .roi-label {
        font-size: 0.625rem;
    }

    .roi-metrics-bar .container:last-child {
        font-size: 0.65rem;
    }

    /* Sections */
    .section-padding {
        padding: 2.5rem 0;
    }

    .section-header {
        margin-bottom: 1.75rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.875rem;
    }

    /* Cards */
    .uniform-card {
        padding: 1.25rem;
    }

    .uniform-card h3 {
        font-size: 1.125rem;
    }

    .uniform-card p {
        font-size: 0.8125rem;
    }

    .agent-card {
        padding: 1rem;
    }

    .agent-avatar {
        width: 40px;
        height: 40px;
        font-size: 0.75rem;
    }

    .agent-card h3 {
        font-size: 1rem;
    }

    .agent-skills li {
        font-size: 0.8125rem;
    }

    .ai-agents-grid {
        grid-template-columns: 1fr;
    }

    /* Pricing */
    .pricing-tabs {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .tab-btn {
        width: 100%;
        text-align: center;
        padding: 0.875rem;
        min-height: 52px;
        font-size: 0.875rem;
    }

    .enterprise-table {
        min-width: 100%;
    }

    .enterprise-table th,
    .enterprise-table td {
        padding: 0.625rem 0.5rem;
        font-size: 0.75rem;
    }

    .plan-name {
        font-size: 0.875rem;
    }

    .plan-price {
        font-size: 1.125rem;
    }

    .plan-badge {
        font-size: 0.625rem;
        padding: 0.25rem 0.5rem;
    }

    .enterprise-card {
        padding: 1.25rem;
        gap: 1rem;
    }

    .enterprise-info h3 {
        font-size: 1.125rem;
    }

    .enterprise-info p {
        font-size: 0.8125rem;
    }

    .enterprise-features {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .enterprise-features li {
        font-size: 0.8125rem;
    }

    .enterprise-action {
        min-width: auto;
        padding: 1.25rem;
    }

    .enterprise-price-label {
        font-size: 0.6875rem;
    }

    .price-amount {
        font-size: 1.5rem;
    }

    .enterprise-price-sublabel {
        font-size: 0.6875rem;
        margin-bottom: 1rem;
    }

    /* Contact */
    .contact-wrapper {
        gap: 1.5rem;
    }

    .contact-info h2 {
        font-size: 1.5rem;
    }

    .contact-info p {
        font-size: 0.875rem;
    }

    .contact-form-card {
        padding: 1.25rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .form-group {
        margin-bottom: 0.75rem;
    }

    .form-group label {
        font-size: 0.75rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        padding: 0.75rem 0.875rem;
        min-height: 48px;
    }

    .privacy-notice {
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .privacy-notice-title {
        font-size: 0.6875rem;
    }

    .privacy-notice-text {
        font-size: 0.6875rem;
    }

    .tooltip-trigger {
        width: 14px;
        height: 14px;
        font-size: 0.5rem;
    }

    .tooltip-trigger::after {
        max-width: 220px;
        font-size: 0.625rem;
        padding: 0.375rem 0.5rem;
    }

    /* Footer */
    .footer {
        padding: 2rem 0 1.25rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding-bottom: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .footer-desc {
        max-width: 100%;
        font-size: 0.8125rem;
    }

    .footer-contact li {
        font-size: 0.75rem;
    }

    .footer-contact li a {
        word-break: break-all;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .footer-bottom p {
        font-size: 0.6875rem;
    }

    .footer-built-on {
        font-size: 0.6875rem;
    }

    .footer-brand,
    .footer-info,
    .footer-contact-info {
        min-height: auto;
    }

    /* Scroll to Top */
    .scroll-to-top {
        position: fixed;
        bottom: 1.5rem;
        right: 1.5rem;
        width: 48px;
        height: 48px;
        background: var(--color-blue-gradient);
        color: white;
        border: none;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: var(--shadow-md);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        z-index: 1000;
        cursor: pointer;
    }

    .scroll-to-top.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .scroll-to-top:active {
        transform: scale(0.95);
    }

    .scroll-to-top svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 100%;
        max-width: 100%;
        right: -100%;
    }

    .sidebar.active {
        right: 0;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-actions .btn {
        font-size: 0.8125rem;
        padding: 0.7rem 1rem;
    }

    .section-header h2 {
        font-size: 1.25rem;
    }

    .section-header p {
        font-size: 0.8125rem;
    }

    .section-eyebrow {
        font-size: 0.5625rem;
        padding: 0.2rem 0.6rem;
    }

    .container {
        padding: 0 1rem;
    }

    .section-padding {
        padding: 2rem 0;
    }

    .uniform-card {
        padding: 1rem;
    }

    .uniform-card h3 {
        font-size: 1rem;
    }

    .agent-card {
        padding: 0.75rem;
    }

    .pricing-card {
        padding: 1.25rem;
    }

    .enterprise-card {
        padding: 1rem;
    }

    .enterprise-action {
        padding: 1rem;
    }

    .contact-form-card {
        padding: 1rem;
    }

    .footer-grid {
        gap: 1.25rem;
    }

    .footer-contact li {
        font-size: 0.6875rem;
    }

    .footer-logo-text {
        font-size: 1rem;
    }

    .footer-desc {
        font-size: 0.75rem;
    }
}