/* ================================================================
   ATMOSLY HOMEPAGE V2 — Revamped Styles
   Uses the same design tokens as atmosly-landing.css
   ================================================================ */

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark Theme Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --bg-glass: rgba(26, 26, 46, 0.7);
    --bg-card: rgba(22, 33, 62, 0.8);

    /* AI Brand Colors */
    --accent-primary: #10b981;
    --accent-secondary: #0066ff;
    --accent-tertiary: #ff0066;
    --gradient-ai: linear-gradient(135deg, #10b981 0%, #0066ff 100%);
    --gradient-danger: linear-gradient(135deg, #ff0066 0%, #ff6b35 100%);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b8c5d1;
    --text-muted: #6b7280;
    --text-accent: #10b981;

    /* Borders and Shadows */
    --border-primary: rgba(255, 255, 255, 0.1);
    --border-secondary: rgba(16, 185, 129, 0.2);
    --shadow-soft: 0 4px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.3);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Monaco', 'Menlo', monospace;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.v2-gradient-text {
    background: var(--gradient-ai);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.v2-btn-primary {
    background: var(--gradient-ai);
    color: var(--bg-primary);
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-soft);
    font-family: var(--font-primary);
    text-decoration: none;
}
.v2-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}
.v2-btn-primary.large {
    padding: 20px 40px;
    font-size: 18px;
    border-radius: 14px;
}
.v2-btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-primary);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
}
.v2-btn-secondary:hover {
    border-color: var(--accent-primary);
    background: rgba(16, 185, 129, 0.05);
}
.v2-btn-secondary.large {
    padding: 20px 40px;
    font-size: 18px;
    border-radius: 14px;
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.v2-hero {
    position: relative;
    padding: 130px 0 60px;
    overflow: hidden;
}
.v2-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(16, 185, 129, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(0, 102, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}
.v2-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.v2-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 100px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-primary);
    margin-bottom: 24px;
}
.v2-badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-primary);
    animation: v2-pulse 2s ease-in-out infinite;
}
@keyframes v2-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}
.v2-hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.v2-hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 540px;
}
.v2-hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.v2-trust-signals {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--text-muted);
}
.v2-trust-signals span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.v2-trust-signals i {
    color: var(--accent-primary);
    font-size: 12px;
}

/* Hero Visual — Architecture Diagram */
.v2-platform-diagram {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
}
.v2-diagram-layer {
    width: 100%;
    padding: 20px 24px;
    border-radius: 16px;
    text-align: center;
}
.v2-layer-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    color: var(--text-muted);
}
.v2-layer-devtools {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-primary);
}
.v2-layer-atmosly {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(0, 102, 255, 0.08) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.1);
}
.v2-layer-atmosly .v2-layer-label {
    color: var(--accent-primary);
    font-size: 14px;
}
.v2-layer-infra {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-primary);
}
.v2-layer-icons, .v2-layer-features {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}
.v2-tool-chip {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-primary);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}
.v2-feature-chip {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--accent-primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}
.v2-feature-chip i {
    font-size: 11px;
}
.v2-infra-chip {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid;
}
.v2-infra-chip.v2-aws { color: #ff9900; border-color: rgba(255, 153, 0, 0.3); background: rgba(255, 153, 0, 0.08); }
.v2-infra-chip.v2-gcp { color: #4285f4; border-color: rgba(66, 133, 244, 0.3); background: rgba(66, 133, 244, 0.08); }
.v2-infra-chip.v2-azure { color: #0078d4; border-color: rgba(0, 120, 212, 0.3); background: rgba(0, 120, 212, 0.08); }
.v2-infra-chip.v2-onprem { color: #a78bfa; border-color: rgba(167, 139, 250, 0.3); background: rgba(167, 139, 250, 0.08); }

.v2-diagram-arrow {
    padding: 8px 0;
    color: var(--text-muted);
    font-size: 18px;
}

/* Hero layout helpers */
.v2-hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.v2-hero-visual {
    display: flex;
    align-items: center;
}

/* Pillar demo container */
.v2-pillar-demo {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

/* Testimonial author info */
.v2-author-info {
    margin-bottom: 8px;
}

/* Security score container */
.v2-security-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

/* Product Screenshot Placeholder */
.v2-product-screenshot {
    width: 100%;
}
.v2-screenshot-window {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}
.v2-screenshot-window img {
    width: 100%;
    display: block;
}
.v2-screenshot-placeholder {
    display: flex;
    min-height: 280px;
}
.v2-ph-sidebar {
    width: 140px;
    background: rgba(0, 0, 0, 0.3);
    border-right: 1px solid var(--border-primary);
    padding: 12px 0;
    flex-shrink: 0;
}
.v2-ph-nav-item {
    padding: 8px 14px;
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: default;
    transition: all 0.2s;
}
.v2-ph-nav-item i {
    width: 16px;
    text-align: center;
    font-size: 11px;
}
.v2-ph-nav-item.active {
    color: var(--accent-primary);
    background: rgba(16, 185, 129, 0.08);
    border-left: 2px solid var(--accent-primary);
}
.v2-ph-main {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.v2-ph-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.v2-ph-breadcrumb {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}
.v2-ph-status {
    font-size: 11px;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}
.v2-ph-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.v2-ph-card {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-primary);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}
.v2-ph-card-label {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 2px;
}
.v2-ph-card-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}
.v2-ph-workloads {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.v2-ph-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    font-size: 12px;
}
.v2-ph-svc-name {
    font-family: var(--font-mono);
    color: var(--text-secondary);
}
.v2-ph-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}
.v2-ph-badge.green {
    color: var(--accent-primary);
    background: rgba(16, 185, 129, 0.1);
}

/* Logo Strip */
.v2-logo-img {
    height: 44px;
    width: auto;
    border-radius: 10px;
    transition: all 0.3s;
}
.v2-logo-img:hover {
    transform: scale(1.05);
}
/* Logos with transparent backgrounds need a white container */
.v2-logo-img.v2-logo-transparent {
    background: #ffffff;
    padding: 6px 16px;
    height: 44px;
    object-fit: contain;
}
.v2-logo-text {
    font-size: 18px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.01em;
    transition: color 0.3s;
}
.v2-logo-text:hover {
    color: rgba(255, 255, 255, 0.5);
}
.v2-logo-strip {
    margin-top: 44px;
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-primary);
}
.v2-logo-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}
.v2-logos {
    display: flex;
    gap: 48px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.v2-logo-item {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.02em;
    transition: color 0.3s;
}
.v2-logo-item:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* ================================================================
   SECTION HEADER (shared)
   ================================================================ */
.v2-section-header {
    text-align: center;
    margin-bottom: 44px;
}
.v2-section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.v2-section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
}
.v2-section-eyebrow {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    margin-bottom: 16px;
}

/* ================================================================
   DEVELOPER JOURNEY — Before vs After
   ================================================================ */
.v2-journey {
    padding: 80px 0 60px;
}
.v2-journey-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: stretch;
}

/* Journey Sides */
.v2-journey-side {
    padding: 32px;
    border-radius: 20px;
    border: 1px solid var(--border-primary);
    display: flex;
    flex-direction: column;
}
.v2-journey-before {
    background: linear-gradient(135deg, rgba(255, 77, 79, 0.04) 0%, rgba(255, 107, 53, 0.03) 100%);
    border-color: rgba(255, 77, 79, 0.15);
}
.v2-journey-after {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.04) 0%, rgba(0, 102, 255, 0.03) 100%);
    border-color: rgba(16, 185, 129, 0.2);
}
.v2-journey-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 28px;
    color: var(--text-muted);
}
.v2-label-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.v2-dot-red {
    background: #ff4d4f;
    box-shadow: 0 0 8px rgba(255, 77, 79, 0.4);
}
.v2-dot-green {
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

/* Timeline */
.v2-timeline {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 32px;
}
.v2-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: var(--border-primary);
}
.v2-journey-before .v2-timeline::before {
    background: linear-gradient(180deg, rgba(255, 77, 79, 0.2) 0%, rgba(255, 77, 79, 0.5) 100%);
}
.v2-journey-after .v2-timeline::before {
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.5) 100%);
}

.v2-timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    position: relative;
}
.v2-timeline-marker {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 13px;
    position: relative;
    z-index: 1;
    margin-left: -32px;
}
.v2-marker-fast {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 2px solid rgba(16, 185, 129, 0.3);
}
.v2-marker-blocked {
    background: rgba(255, 193, 7, 0.12);
    color: #fbbf24;
    border: 2px solid rgba(255, 193, 7, 0.25);
}
.v2-marker-danger {
    background: rgba(255, 77, 79, 0.15);
    color: #ff4d4f;
    border: 2px solid rgba(255, 77, 79, 0.3);
}
.v2-marker-success {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 2px solid rgba(16, 185, 129, 0.3);
}
.v2-timeline-content {
    flex: 1;
    min-width: 0;
}
.v2-timeline-time {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.v2-timeline-event {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 4px;
}
.v2-timeline-duration {
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    padding: 2px 10px;
    border-radius: 100px;
}
.v2-duration-fast {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}
.v2-duration-blocked {
    background: rgba(255, 193, 7, 0.1);
    color: #fbbf24;
    border: 1px solid rgba(255, 193, 7, 0.2);
}
.v2-duration-danger {
    background: rgba(255, 77, 79, 0.1);
    color: #ff4d4f;
    border: 1px solid rgba(255, 77, 79, 0.2);
}

/* Journey Summary Stats */
.v2-journey-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border-primary);
}
.v2-summary-stat {
    text-align: center;
}
.v2-stat-num {
    display: block;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 2px;
}
.v2-stat-desc {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.3;
}
.v2-summary-bad .v2-stat-num {
    color: #ff4d4f;
}
.v2-summary-good .v2-stat-num {
    color: #10b981;
}

/* VS Divider */
.v2-journey-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    gap: 0;
}
.v2-divider-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(180deg, transparent 0%, var(--border-primary) 30%, var(--border-primary) 70%, transparent 100%);
}
.v2-divider-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--border-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
    margin: 12px 0;
}

/* (bridge section removed — merged into pillar overview) */

/* ================================================================
   THREE PILLARS
   ================================================================ */
/* ================================================================
   PILLAR OVERVIEW GRID
   ================================================================ */
.v2-pillar-overview {
    padding: 70px 0 40px;
    border-bottom: 1px solid var(--border-primary);
}
.v2-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.v2-overview-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 28px 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}
.v2-overview-card:hover {
    border-color: var(--border-secondary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.08);
}
.v2-ov-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.v2-ov-icon i {
    font-size: 18px;
    color: var(--accent-primary);
}
.v2-overview-card h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.v2-overview-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ================================================================
   MID-PAGE CTA
   ================================================================ */
.v2-mid-cta {
    padding: 48px 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, rgba(0, 102, 255, 0.06) 100%);
    border-top: 1px solid var(--border-primary);
    border-bottom: 1px solid var(--border-primary);
}
.v2-mid-cta-content {
    text-align: center;
}
.v2-mid-cta-content h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}
.v2-mid-cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.v2-mid-cta-note {
    font-size: 13px;
    color: var(--text-muted);
}

/* ================================================================
   FOUR PILLARS (deep dives)
   ================================================================ */
.v2-pillars {
    padding: 70px 0;
}
.v2-pillar {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 70px;
}
.v2-pillar:last-child {
    margin-bottom: 0;
}
.v2-pillar-reversed {
    direction: rtl;
}
.v2-pillar-reversed > * {
    direction: ltr;
}
.v2-pillar-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    margin-bottom: 8px;
}
.v2-pillar-info h2 {
    font-size: 1.8rem;
    margin-bottom: 6px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}
.v2-pillar-info h3 {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-weight: 500;
}
.v2-pillar-info > p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}
.v2-pillar-list {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}
.v2-pillar-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.5;
}
.v2-pillar-list li i {
    color: var(--accent-primary);
    margin-top: 4px;
    flex-shrink: 0;
}
.v2-pillar-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: gap 0.3s;
}
.v2-pillar-link:hover {
    gap: 12px;
}

/* Demo Windows */
.v2-demo-window {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    width: 100%;
}
.v2-window-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-primary);
}
.v2-window-controls {
    display: flex;
    gap: 8px;
}
.v2-control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.v2-control.red { background: #ff5f57; }
.v2-control.yellow { background: #febc2e; }
.v2-control.green { background: #28c840; }
.v2-window-title {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}
.v2-demo-content {
    padding: 24px;
}

/* Cluster Management Demo */
.v2-cluster-demo {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.v2-cluster-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.v2-cluster-item {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-primary);
    border-radius: 10px;
    padding: 14px 16px;
    transition: border-color 0.3s;
}
.v2-cluster-item:hover {
    border-color: var(--border-secondary);
}
.v2-cluster-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.v2-cluster-provider {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.v2-cluster-provider.v2-aws {
    background: rgba(255, 153, 0, 0.12);
    color: #ff9900;
    border: 1px solid rgba(255, 153, 0, 0.25);
}
.v2-cluster-provider.v2-gcp {
    background: rgba(66, 133, 244, 0.12);
    color: #4285f4;
    border: 1px solid rgba(66, 133, 244, 0.25);
}
.v2-cluster-provider.v2-private {
    background: rgba(167, 139, 250, 0.12);
    color: #a78bfa;
    border: 1px solid rgba(167, 139, 250, 0.25);
}
.v2-cluster-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: var(--font-mono);
}
.v2-cluster-status {
    margin-left: auto;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}
.v2-cluster-status.healthy {
    color: var(--accent-primary);
}
.v2-cluster-status.healthy i {
    font-size: 7px;
}
.v2-cluster-stats {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
    padding-left: 2px;
}
/* Workload summary table */
.v2-cluster-workloads {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-primary);
    border-radius: 10px;
    overflow: hidden;
}
.v2-cluster-wl-header {
    padding: 8px 14px;
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid var(--border-primary);
}
.v2-cluster-wl-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}
.v2-cluster-wl-title i {
    color: var(--accent-primary);
    font-size: 11px;
}
.v2-cluster-wl-list {
    padding: 6px;
}
.v2-cluster-wl-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 12px;
    transition: background 0.2s;
}
.v2-cluster-wl-row:hover {
    background: rgba(255, 255, 255, 0.03);
}
.v2-cluster-wl-icon {
    width: 16px;
    text-align: center;
    color: var(--text-muted);
    font-size: 10px;
}
.v2-cluster-wl-name {
    font-family: var(--font-mono);
    color: var(--text-secondary);
    flex: 1;
}
.v2-cluster-wl-type {
    font-size: 10px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    padding: 2px 8px;
    border-radius: 4px;
}
.v2-cluster-wl-pods {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}
.v2-cluster-wl-pods.green {
    color: var(--accent-primary);
    background: rgba(16, 185, 129, 0.1);
}

.v2-cluster-terminal {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-primary);
    border-radius: 10px;
    overflow: hidden;
}
.v2-terminal-header {
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-primary);
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
pre.v2-terminal-body,
div.v2-terminal-body {
    padding: 14px;
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
    white-space: pre;
    overflow-x: auto;
}
.v2-terminal-body code {
    font-family: var(--font-mono);
    font-size: 12px;
}
.v2-terminal-output {
    color: var(--text-muted) !important;
}

/* Clone Demo v2 — Side-by-side with flow steps */
.v2-clone-v2 {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: stretch;
}
.v2-clone-env {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    padding: 14px;
}
.v2-clone-source {
    border-color: rgba(16, 185, 129, 0.2);
}
.v2-clone-target {
    border-color: rgba(0, 102, 255, 0.2);
}
.v2-clone-env-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.v2-clone-env-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.v2-clone-env-badge.source {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(16, 185, 129, 0.2);
}
.v2-clone-env-badge.target {
    background: rgba(0, 102, 255, 0.1);
    color: var(--accent-secondary);
    border: 1px solid rgba(0, 102, 255, 0.2);
}
.v2-clone-env-badge i {
    font-size: 10px;
}
.v2-clone-env-status {
    font-size: 11px;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    gap: 5px;
}
.v2-clone-svc-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}
.v2-clone-svc {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    padding: 5px 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    font-family: var(--font-mono);
}
.v2-clone-svc i {
    font-size: 10px;
    color: var(--text-muted);
    width: 14px;
    text-align: center;
}
.v2-clone-svc span:first-of-type {
    flex: 1;
}
.v2-clone-svc-tag {
    font-size: 10px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 4px;
}
.v2-clone-svc-tag.green {
    color: var(--accent-primary);
    background: rgba(16, 185, 129, 0.1);
}
.v2-clone-svc-tag.blue {
    color: var(--accent-secondary);
    background: rgba(0, 102, 255, 0.1);
}
.v2-clone-env-meta {
    display: flex;
    gap: 12px;
    font-size: 10px;
    color: var(--text-muted);
    padding-top: 8px;
    border-top: 1px solid var(--border-primary);
}

/* Clone flow steps (center column) */
.v2-clone-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 4px;
}
.v2-clone-step {
    font-size: 10px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-primary);
    white-space: nowrap;
}
.v2-clone-step.done {
    border-color: rgba(16, 185, 129, 0.2);
    color: var(--accent-primary);
}
.v2-clone-step.done i {
    font-size: 9px;
}
.v2-clone-time {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-primary);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.v2-clone-time i {
    font-size: 11px;
}

/* Security Demo v2 — Two-panel (Cloud + K8s) */
.v2-sec-v2 {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.v2-sec-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.v2-sec-panel {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-primary);
    border-radius: 10px;
    padding: 14px;
}
.v2-sec-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.v2-sec-panel-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.v2-sec-panel-badge.cloud {
    background: rgba(255, 153, 0, 0.1);
    color: #ff9900;
    border: 1px solid rgba(255, 153, 0, 0.2);
}
.v2-sec-panel-badge.k8s {
    background: rgba(0, 102, 255, 0.1);
    color: var(--accent-secondary);
    border: 1px solid rgba(0, 102, 255, 0.2);
}
.v2-sec-panel-badge i {
    font-size: 10px;
}
.v2-sec-panel-tool {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
    font-family: var(--font-mono);
}
.v2-sec-scan-results {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}
.v2-sec-scan-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    padding: 5px 8px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 6px;
}
.v2-sec-scan-row i {
    font-size: 11px;
    flex-shrink: 0;
}
.v2-sec-scan-row.pass i {
    color: var(--accent-primary);
}
.v2-sec-scan-row.warn i {
    color: #f59e0b;
}
.v2-sec-score-tag {
    margin-left: auto;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    flex-shrink: 0;
}
.v2-sec-score-tag.green {
    background: rgba(16, 185, 129, 0.12);
    color: var(--accent-primary);
}
.v2-sec-score-tag.amber {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}
.v2-sec-panel-footer {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--text-muted);
    padding-top: 8px;
    border-top: 1px solid var(--border-primary);
}
/* Bottom — ISO hero + badges row */
.v2-sec-bottom {
    padding: 14px;
    background: rgba(16, 185, 129, 0.04);
    border: 1px solid rgba(16, 185, 129, 0.12);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.v2-sec-iso-hero {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(0, 102, 255, 0.06) 100%);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 10px;
}
.v2-sec-iso-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-ai);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.v2-sec-iso-icon i {
    font-size: 18px;
    color: var(--bg-primary);
}
.v2-sec-iso-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
}
.v2-sec-iso-desc {
    font-size: 11px;
    color: var(--text-muted);
}
.v2-sec-badge-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.v2-sec-mini-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(16, 185, 129, 0.08);
    border-radius: 6px;
    border: 1px solid rgba(16, 185, 129, 0.15);
}
.v2-sec-mini-badge i {
    font-size: 10px;
}

/* Optimize Demo */
.v2-optimize-demo {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.v2-ai-chat {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.v2-chat-msg {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.6;
    max-width: 95%;
}
.v2-chat-msg.user {
    background: rgba(0, 102, 255, 0.15);
    border: 1px solid rgba(0, 102, 255, 0.2);
    align-self: flex-end;
    color: var(--text-primary);
}
.v2-chat-msg.ai {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
    color: var(--text-secondary);
}
.v2-chat-msg.ai code {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent-primary);
}
.v2-ai-suggestion {
    margin-top: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 12px;
}
.v2-suggestion-header {
    font-size: 12px;
    font-weight: 600;
    color: #f59e0b;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.v2-ai-suggestion code {
    display: block;
    margin-bottom: 10px;
    color: var(--text-secondary) !important;
}
.v2-apply-btn {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border: none;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-primary);
}
.v2-cost-summary {
    display: flex;
    gap: 16px;
}
.v2-cost-item {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-primary);
    border-radius: 10px;
    padding: 14px;
    text-align: center;
}
.v2-cost-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
    display: block;
}
.v2-cost-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
}
.v2-cost-item.v2-savings {
    border-color: rgba(16, 185, 129, 0.3);
}
.v2-cost-item.v2-savings .v2-cost-value {
    color: var(--accent-primary);
}
.v2-cost-value.warning {
    color: #f59e0b;
    font-size: 16px;
}

/* ================================================================
   SOCIAL PROOF
   ================================================================ */
.v2-social-proof {
    padding: 70px 0;
    border-top: 1px solid var(--border-primary);
    position: relative;
}

/* Metrics Banner — horizontal strip with icons */
.v2-metrics-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, rgba(0, 102, 255, 0.06) 100%);
    border: 1px solid var(--border-secondary);
    border-radius: 16px;
    padding: 28px 40px;
}
.v2-mb-item {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    justify-content: center;
}
.v2-mb-item > i {
    font-size: 20px;
    color: var(--accent-primary);
    opacity: 0.7;
}
.v2-mb-text {
    display: flex;
    flex-direction: column;
}
.v2-mb-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
}
.v2-mb-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}
.v2-mb-divider {
    width: 1px;
    height: 40px;
    background: var(--border-primary);
    flex-shrink: 0;
    margin: 0 8px;
}

/* Testimonials v2 — Featured + side layout */
.v2-testimonials-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

/* Featured testimonial (left, larger) */
.v2-testi-featured {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, rgba(0, 102, 255, 0.04) 100%);
    border: 1px solid var(--border-secondary);
    border-radius: 20px;
    padding: 36px;
    display: flex;
    flex-direction: column;
}

/* Side testimonials (right, stacked) */
.v2-testi-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.v2-testi-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}
.v2-testi-card:hover {
    border-color: var(--border-secondary);
}

/* Before → After stat highlight */
.v2-testi-big-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.v2-testi-big-stat.small {
    margin-bottom: 12px;
}
.v2-testi-from {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-color: rgba(255, 77, 79, 0.5);
    text-decoration-thickness: 2px;
}
.v2-testi-big-stat.small .v2-testi-from {
    font-size: 1.2rem;
}
.v2-testi-arrow {
    color: var(--accent-primary);
    font-size: 16px;
}
.v2-testi-to {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-primary);
}
.v2-testi-big-stat.small .v2-testi-to {
    font-size: 1.2rem;
}
.v2-testi-context {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 500;
}
.v2-testi-quote {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 24px 0;
    padding: 0;
    border: none;
    font-style: normal;
    flex: 1;
}
.v2-testi-card .v2-testi-quote {
    font-size: 14px;
    margin-bottom: 16px;
}

/* Author with avatar */
.v2-testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}
.v2-testi-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-ai);
    color: var(--bg-primary);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.v2-testi-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}
.v2-testi-role {
    font-size: 12px;
    color: var(--text-muted);
}
/* Testimonial "Read full story" link */
.v2-testi-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-primary);
    text-decoration: none;
    transition: gap 0.3s;
}
.v2-testi-link:hover {
    gap: 12px;
}
/* Inline contextual links within body text */
.v2-inline-link {
    color: var(--accent-primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(16, 185, 129, 0.3);
    transition: border-color 0.3s;
}
.v2-inline-link:hover {
    border-bottom-color: var(--accent-primary);
}
/* "View all case studies" link */
.v2-case-studies-link {
    text-align: center;
    margin-top: 32px;
}

/* ================================================================
   HOW IT WORKS
   ================================================================ */
.v2-how-it-works {
    padding: 70px 0;
    border-top: 1px solid var(--border-primary);
}
.v2-steps {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
}
.v2-step {
    flex: 1;
    max-width: 340px;
    text-align: center;
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    position: relative;
    transition: all 0.3s ease;
}
.v2-step:hover {
    border-color: var(--border-secondary);
    transform: translateY(-4px);
}
.v2-step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-ai);
    color: var(--bg-primary);
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2);
}
.v2-step h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}
.v2-step p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}
.v2-step-arrow {
    display: flex;
    align-items: center;
    padding: 0 12px;
    color: var(--accent-primary);
    font-size: 18px;
    opacity: 0.5;
    flex-shrink: 0;
}

/* ================================================================
   TOOL REPLACEMENT CARDS
   ================================================================ */
.v2-replaces {
    padding: 70px 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.03) 0%, rgba(0, 102, 255, 0.03) 100%);
}
.v2-replaces-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.v2-replace-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 0;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.v2-replace-card:hover {
    border-color: var(--border-secondary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.08);
}
/* Top zone — the "old" way (red-tinted) */
.v2-replace-old-zone {
    padding: 24px 24px 16px;
    background: rgba(255, 77, 79, 0.03);
    border-bottom: 1px dashed rgba(255, 77, 79, 0.15);
    position: relative;
}
.v2-replace-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 77, 79, 0.08);
    border: 1px solid rgba(255, 77, 79, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}
.v2-replace-icon i {
    font-size: 16px;
    color: rgba(255, 77, 79, 0.6);
}
.v2-replace-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.v2-strikethrough {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: line-through;
    text-decoration-color: #ff4d4f;
    text-decoration-thickness: 2px;
    line-height: 1.5;
    display: inline;
}
/* Divider arrow */
.v2-replace-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -14px auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--border-primary);
    color: var(--accent-primary);
    font-size: 13px;
    position: relative;
    z-index: 1;
}
/* Bottom zone — the "new" way (green-tinted) */
.v2-replace-new-zone {
    padding: 24px 24px;
    background: rgba(16, 185, 129, 0.03);
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.v2-replace-new {
    font-size: 15px;
    font-weight: 600;
    color: var(--accent-primary);
    line-height: 1.5;
}

/* ================================================================
   FAQ
   ================================================================ */
.v2-faq {
    padding: 70px 0;
}
.v2-faq-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}
.v2-faq-item {
    flex: 0 1 calc(50% - 8px);
    min-width: 400px;
    align-self: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
}
.v2-faq-item:hover {
    border-color: var(--border-secondary);
}
.v2-faq-question {
    padding: 20px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: all 0.3s;
}
.v2-faq-question i {
    transition: transform 0.3s;
    color: var(--accent-primary);
    flex-shrink: 0;
}
.v2-faq-item.active .v2-faq-question i {
    transform: rotate(180deg);
}
.v2-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.v2-faq-item.active .v2-faq-answer {
    max-height: 400px;
}
.v2-faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ================================================================
   CTA
   ================================================================ */
.v2-cta {
    padding: 70px 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(0, 102, 255, 0.08) 100%);
    border-top: 1px solid var(--border-primary);
}
.v2-cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.v2-cta-content h2 {
    font-size: 2.4rem;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.v2-cta-content p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}
.v2-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.v2-cta-badges {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}
.v2-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}
.v2-badge-item i {
    color: var(--accent-primary);
    font-size: 14px;
}
.v2-badge-item.v2-badge-iso {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 6px 16px;
    border-radius: 8px;
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 14px;
}

/* ================================================================
   FOOTER OVERRIDES — match v1 homepage appearance
   ================================================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-primary);
}
.footer-section h4 {
    color: var(--text-primary);
}
.footer-section ul li a {
    color: var(--text-muted);
}
.footer-section ul li a:hover {
    color: var(--accent-primary);
}
.footer-brand p {
    color: var(--text-muted);
}
.footer-bottom {
    border-top-color: var(--border-primary);
}
.footer-bottom-content p {
    color: var(--text-muted);
}
.social-link {
    color: var(--text-muted);
    transition: color 0.3s;
}
.social-link:hover {
    color: var(--accent-primary);
}

/* ================================================================
   MODAL & FORM STYLES (from footer demoModal)
   ================================================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
}
.modal.active {
    display: flex;
}
.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-soft);
    animation: v2ModalSlideIn 0.3s ease;
}
@keyframes v2ModalSlideIn {
    from { opacity: 0; transform: translateY(-50px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-header {
    padding: 24px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-header h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
}
.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.modal-close:hover {
    background: var(--bg-glass);
    color: var(--text-primary);
}
.modal-body {
    padding: 24px;
}
.demo-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 14px;
}
.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}
.form-group textarea {
    resize: vertical;
    min-height: 80px;
}
.full-width {
    width: 100%;
}
/* btn-primary used in footer demo modal form */
.btn-primary {
    background: var(--gradient-ai);
    color: var(--bg-primary);
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-primary);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}
.recaptcha-notice {
    font-size: 11px;
    color: #999;
    margin-top: 8px;
    line-height: 1.4;
}
.recaptcha-notice a {
    color: #999;
    text-decoration: underline;
}

/* ================================================================
   BACKGROUND MESH GRADIENT — Rich dark-to-color ambient effect
   ================================================================ */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 60% at 0% 0%, rgba(16, 185, 129, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 100% 10%, rgba(59, 30, 120, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 80% 50%, rgba(0, 102, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 70% 50% at 10% 60%, rgba(59, 30, 120, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(16, 185, 129, 0.12) 0%, rgba(59, 30, 120, 0.15) 40%, transparent 60%);
}

/* Section-level accents for extra depth while scrolling */
.v2-hero {
    background: linear-gradient(180deg, rgba(59, 30, 120, 0.15) 0%, transparent 80%);
}
.v2-pillars {
    position: relative;
}
.v2-pillars::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(ellipse, rgba(16, 185, 129, 0.10) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}
.v2-pillars::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(ellipse, rgba(59, 30, 120, 0.12) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}
.v2-social-proof {
    position: relative;
    background: linear-gradient(180deg, transparent 0%, rgba(59, 30, 120, 0.08) 50%, transparent 100%);
}
.v2-cta {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.10) 0%, rgba(59, 30, 120, 0.15) 50%, rgba(0, 102, 255, 0.10) 100%);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
    .v2-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .v2-hero-title {
        font-size: 2.6rem;
    }
    .v2-pillar {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .v2-pillar-reversed {
        direction: ltr;
    }
    .v2-replaces-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .v2-overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .v2-ph-sidebar {
        width: 110px;
    }
    .v2-ph-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Journey: stack before/after vertically on tablet */
    .v2-journey-comparison {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .v2-journey-divider {
        flex-direction: row;
        padding: 20px 0;
    }
    .v2-divider-line {
        height: 2px;
        width: auto;
        flex: 1;
        background: linear-gradient(90deg, transparent 0%, var(--border-primary) 30%, var(--border-primary) 70%, transparent 100%);
    }
    .v2-divider-badge {
        margin: 0 12px;
    }
}

@media (max-width: 768px) {
    .v2-hero {
        padding: 120px 0 60px;
    }
    .v2-hero-title {
        font-size: 2rem;
    }
    .v2-hero-subtitle {
        font-size: 16px;
    }
    .v2-hero-ctas {
        flex-direction: column;
    }
    .v2-trust-signals {
        flex-direction: column;
        gap: 8px;
    }
    .v2-overview-grid {
        grid-template-columns: 1fr;
    }
    .v2-ph-sidebar {
        display: none;
    }
    .v2-ph-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .v2-sec-panels {
        grid-template-columns: 1fr;
    }
    .v2-clone-v2 {
        grid-template-columns: 1fr;
    }
    .v2-clone-flow {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding: 8px 0;
    }
    .v2-section-header h2 {
        font-size: 2rem;
    }
    .v2-journey-side {
        padding: 24px 20px;
    }
    .v2-journey-summary {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .v2-stat-num {
        font-size: 16px;
    }
    .v2-timeline-event {
        font-size: 13px;
    }
    .v2-metrics-banner {
        flex-wrap: wrap;
        gap: 20px;
        padding: 24px 20px;
    }
    .v2-mb-divider {
        display: none;
    }
    .v2-mb-item {
        flex: 0 1 calc(50% - 10px);
        justify-content: flex-start;
    }
    .v2-testimonials-v2 {
        grid-template-columns: 1fr;
    }
    .v2-steps {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .v2-step-arrow {
        transform: rotate(90deg);
        padding-top: 0;
    }
    .v2-replaces-grid {
        grid-template-columns: 1fr;
    }
    .v2-faq-grid {
        flex-direction: column;
    }
    .v2-faq-item {
        flex: 1 1 100%;
        min-width: 100%;
    }
    .v2-cta-content h2 {
        font-size: 2rem;
    }
    .v2-logos {
        gap: 24px;
    }
    .v2-security-demo {
        flex-direction: column;
        align-items: center;
    }
    .v2-cost-summary {
        flex-direction: column;
    }
    .v2-pillar-info h2 {
        font-size: 2.4rem;
    }
}
