/**
 * PROKTECH Industrial Design System
 * NVIDIA Inception Edition — v2.0
 * Neue Sektionen: Hero, Problem, Products, Pillars, Timeline, Trust
 */

/* ============================================
   GOOGLE FONTS IMPORT
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================
   GLOBAL RESET OVERRIDES
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-family-primary);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ============================================
   HEADER — Industrial Override
   ============================================ */
header {
    background: rgba(11, 14, 20, 0.95) !important;
    border-bottom: 1px solid var(--border-dim) !important;
    backdrop-filter: var(--backdrop-blur) !important;
}

header.is-scrolled {
    border-bottom-color: var(--border-active) !important;
}

.nav-links a {
    color: var(--text-muted) !important;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--primary-green) !important;
}

/* ============================================
   LANGUAGE TOGGLE — Segmented Control
   ============================================ */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.lang-toggle {
    display: flex !important;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(118, 185, 0, 0.35) !important;
    border-radius: 999px;
    padding: 3px;
    box-shadow: 0 0 0 1px rgba(118, 185, 0, 0.1);
}

.lang-btn {
    all: unset;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-family: var(--font-family-primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    padding: 5px 13px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
    white-space: nowrap;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

.lang-btn.active {
    background: var(--primary-green) !important;
    color: #0b0e14 !important;
    box-shadow: 0 0 12px rgba(118, 185, 0, 0.5);
}

.lang-btn:hover:not(.active) {
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.07);
}

/* ============================================
   SNM PRODUCT CARD — Clickable
   ============================================ */
.product-card--link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.product-card--link:hover {
    border-color: var(--border-active) !important;
    box-shadow: var(--shadow-green) !important;
    transform: translateY(-4px);
}

.snm-card-cta {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: 0.3px;
    padding: 10px 20px;
    border: 1px solid var(--border-active);
    border-radius: var(--radius-pill);
    background: var(--primary-green-subtle);
    transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.product-card--link:hover .snm-card-cta {
    background: rgba(118, 185, 0, 0.15);
    box-shadow: var(--glow-sm);
}

/* ============================================
   HERO — Sovereign Intelligence
   ============================================ */
.hero-industrial {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-primary);
    padding: 120px 20px 80px;
}

.hero-industrial .tech-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(118, 185, 0, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(118, 185, 0, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}

.hero-industrial .scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-green), transparent);
    animation: scanMove 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes scanMove {
    0%, 100% { top: 0%; opacity: 0.7; }
    50% { top: 100%; opacity: 0.3; }
}

.hero-industrial-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-green-subtle);
    border: 1px solid rgba(118, 185, 0, 0.3);
    color: var(--primary-green);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    background: var(--primary-green);
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-headline {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--text-primary);
    margin: 0 0 24px 0;
}

.hero-headline .accent {
    color: var(--primary-green);
    display: block;
}

.hero-subline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 680px;
    margin: 0 0 48px 0;
    font-weight: 400;
}

.hero-subline strong {
    color: var(--text-secondary);
    font-weight: 600;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 64px;
}

.btn-primary-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-green);
    color: #0b0e14;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: all var(--transition-fast);
    border: 2px solid var(--primary-green);
}

.btn-primary-hero:hover {
    background: var(--primary-green-light);
    border-color: var(--primary-green-light);
    box-shadow: var(--glow-md);
    transform: translateY(-2px);
}

.btn-secondary-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-secondary);
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: all var(--transition-fast);
    border: 2px solid var(--border-dim);
}

.btn-secondary-hero:hover {
    color: var(--primary-green);
    border-color: var(--primary-green);
    background: var(--primary-green-subtle);
}

.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-green);
    letter-spacing: -0.5px;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.78rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
}

/* ============================================
   TRUST STRIP — Metrics Bar
   ============================================ */
.trust-strip {
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-dim);
    border-bottom: 1px solid var(--border-dim);
    padding: 28px 20px;
}

.trust-strip-inner {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 32px;
    border-right: 1px solid var(--border-dim);
}

.trust-item:last-child {
    border-right: none;
}

.trust-icon {
    font-size: 1.2rem;
    opacity: 0.8;
}

.trust-item-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trust-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1;
}

.trust-label {
    font-size: 0.72rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ============================================
   SECTION COMMON STYLES
   ============================================ */
.section-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-green-subtle);
    border: 1px solid rgba(118, 185, 0, 0.25);
    color: var(--primary-green);
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-headline {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.8px;
    color: var(--text-primary);
    margin: 0 0 20px 0;
    line-height: 1.15;
}

.section-subline {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 640px;
}

/* ============================================
   PROBLEM SECTION — Silver Tsunami
   ============================================ */
.problem-section {
    padding: 100px 20px;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.problem-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(118, 185, 0, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 60px;
}

.problem-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.problem-stat-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.problem-stat-card:hover {
    border-color: rgba(118, 185, 0, 0.3);
    transform: translateY(-4px);
}

.problem-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.problem-stat-card:hover::before {
    opacity: 1;
}

.problem-stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.problem-stat-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.problem-solution {
    padding: 32px;
    background: var(--bg-tertiary);
    border: 1px solid rgba(118, 185, 0, 0.2);
    border-radius: var(--radius-xl);
    position: relative;
}

.problem-solution-label {
    font-size: 0.72rem;
    color: var(--primary-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 16px;
}

.problem-solution h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.problem-solution p {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 0.95rem;
    margin: 0 0 24px 0;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.solution-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.solution-feature::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-green);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================
   PRODUCTS SECTION — Foundation vs Intelligence
   ============================================ */
.products-section {
    padding: 100px 20px;
    background: var(--bg-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 60px;
}

.product-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.product-card:hover {
    border-color: rgba(118, 185, 0, 0.35);
    transform: translateY(-6px);
    box-shadow: var(--shadow-green);
}

.product-card.featured {
    border-color: rgba(118, 185, 0, 0.3);
}

.product-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.product-card-tag.foundation {
    background: rgba(118, 185, 0, 0.1);
    color: var(--primary-green);
    border: 1px solid rgba(118, 185, 0, 0.25);
}

.product-card-tag.ai {
    background: rgba(118, 185, 0, 0.15);
    color: var(--primary-green-light);
    border: 1px solid rgba(168, 212, 0, 0.3);
}

.product-logo-area {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.product-logo-area img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.product-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    letter-spacing: -0.4px;
}

.product-tagline {
    font-size: 0.88rem;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.product-card p {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 0.95rem;
    margin-bottom: 28px;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
}

.product-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.product-feature-icon {
    color: var(--primary-green);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.product-metrics {
    display: flex;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-dim);
    flex-wrap: wrap;
}

.product-metric {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-metric-value {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-green);
}

.product-metric-label {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.product-card-glow {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(118, 185, 0, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* ============================================
   THREE PILLARS — Business Model
   ============================================ */
.pillars-section {
    padding: 100px 20px;
    background: var(--bg-secondary);
    position: relative;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.pillar-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.pillar-card:hover {
    border-color: rgba(118, 185, 0, 0.35);
    transform: translateY(-6px);
    box-shadow: var(--shadow-green);
}

.pillar-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(118, 185, 0, 0.12);
    line-height: 1;
    margin-bottom: 16px;
    font-variant-numeric: tabular-nums;
    letter-spacing: -2px;
}

.pillar-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: block;
}

.pillar-market {
    font-size: 0.72rem;
    color: var(--primary-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
}

.pillar-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px 0;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.pillar-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.92rem;
    margin: 0 0 24px 0;
}

.pillar-highlight {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--primary-green-subtle);
    border: 1px solid rgba(118, 185, 0, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: var(--primary-green);
    font-weight: 600;
}

/* ============================================
   TIMELINE — Roadmap
   ============================================ */
.roadmap-section {
    background: var(--bg-primary);
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.roadmap-section::before {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(118, 185, 0, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--border-dim);
    top: 0;
    bottom: 0;
    left: 20px;
}

.timeline-item {
    padding: 20px 0 20px 58px;
    position: relative;
}

.timeline-dot {
    position: absolute;
    width: 18px;
    height: 18px;
    background: var(--border-dim);
    border: 2px solid var(--bg-primary);
    border-radius: 50%;
    left: 12px;
    top: 26px;
    z-index: 1;
    transition: all var(--transition-fast);
}

.timeline-item.highlight .timeline-dot {
    background: var(--primary-green);
    border-color: var(--bg-primary);
    box-shadow: var(--glow-sm);
}

.timeline-item:hover .timeline-dot {
    background: var(--primary-green);
    box-shadow: var(--glow-sm);
}

.timeline-date {
    font-size: 0.72rem;
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.timeline-content {
    background: var(--bg-tertiary);
    padding: 28px 28px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-dim);
    transition: border-color var(--transition-fast);
}

.timeline-item:hover .timeline-content {
    border-color: rgba(118, 185, 0, 0.25);
}

.timeline-item.highlight .timeline-content {
    border-color: rgba(118, 185, 0, 0.3);
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, rgba(118, 185, 0, 0.03) 100%);
}

.timeline-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.2px;
}

.timeline-content p {
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.timeline-tag {
    display: inline-block;
    background: var(--primary-green-subtle);
    color: var(--primary-green);
    padding: 3px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border: 1px solid rgba(118, 185, 0, 0.2);
}

@media (min-width: 768px) {
    .timeline::after {
        left: 50%;
        margin-left: -1px;
    }
    .timeline-item {
        width: 50%;
        padding: 20px 44px;
    }
    .timeline-item:nth-child(odd) {
        left: 0;
        text-align: right;
    }
    .timeline-item:nth-child(even) {
        left: 50%;
    }
    .timeline-item:nth-child(odd) .timeline-dot {
        left: auto;
        right: -10px;
    }
    .timeline-item:nth-child(even) .timeline-dot {
        left: -10px;
    }
    .timeline-item:nth-child(odd) .timeline-tag {
        float: right;
    }
    .timeline-item:nth-child(odd) .solution-feature {
        flex-direction: row-reverse;
    }
}

/* ============================================
   DEMO SECTION OVERRIDE
   ============================================ */
.demo-section,
section#demo {
    background: var(--bg-secondary) !important;
    border-top: 1px solid var(--border-dim);
    border-bottom: 1px solid var(--border-dim);
}

/* ============================================
   SIGNUP SECTION OVERRIDE
   ============================================ */
.trial-signup-section,
section#signup {
    background: var(--bg-primary) !important;
}

/* ============================================
   ABOUT SECTION OVERRIDE
   ============================================ */
.about-section,
section#about {
    background: var(--bg-secondary) !important;
}

/* ============================================
   CONTACT SECTION OVERRIDE
   ============================================ */
section#contact {
    background: var(--bg-primary) !important;
}

/* ============================================
   FOOTER OVERRIDE
   ============================================ */
footer {
    background: #070a0f !important;
    border-top: 1px solid var(--border-dim) !important;
}

.footer-bottom {
    border-top: 1px solid var(--border-dim) !important;
}

/* ============================================
   NVIDIA BADGE — Special Component
   ============================================ */
.nvidia-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(118, 185, 0, 0.06);
    border: 1px solid rgba(118, 185, 0, 0.25);
    border-radius: var(--radius-md);
    padding: 12px 20px;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

.nvidia-badge strong {
    color: var(--primary-green);
}

/* ============================================
   CIS PIPELINE — Technical Visualization
   ============================================ */
.cis-pipeline {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
}

.cis-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(11, 14, 20, 0.8);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.cis-step:hover {
    border-color: rgba(118, 185, 0, 0.3);
    color: var(--text-secondary);
}

.cis-step-num {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-green);
    font-variant-numeric: tabular-nums;
    min-width: 20px;
}

/* ============================================
   SECTION DIVIDER
   ============================================ */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-dim), transparent);
    margin: 0;
}

/* ============================================
   CTA SECTION — Bottom CTA Block
   ============================================ */
.cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, #0f1318 100%);
    text-align: center;
    border-top: 1px solid var(--border-dim);
    border-bottom: 1px solid var(--border-dim);
}

.cta-section h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
}

.cta-section p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin: 0 0 40px 0;
}

/* ============================================
   BUTTON OVERRIDES (existing styles compat)
   ============================================ */
.cta-button {
    background: var(--primary-green) !important;
    color: #0b0e14 !important;
    border-color: var(--primary-green) !important;
    font-weight: 700 !important;
}

.cta-button:hover {
    background: var(--primary-green-light) !important;
    border-color: var(--primary-green-light) !important;
    box-shadow: var(--glow-md) !important;
}

/* ============================================
   RESPONSIVE — Tablet (max 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .pillar-card:last-child {
        grid-column: span 2;
    }

    .products-grid {
        gap: 20px;
    }

    .problem-grid {
        gap: 48px;
    }
}

/* ============================================
   RESPONSIVE — Mobile (max 768px)
   ============================================ */
@media (max-width: 768px) {

    /* Prevent horizontal overflow globally */
    body { overflow-x: hidden; }
    .section-container { padding: 0 16px; }

    /* ---- HERO ---- */
    .hero-industrial {
        padding: 100px 16px 60px;
        min-height: auto;
    }

    .hero-badge {
        font-size: 0.68rem;
        padding: 5px 12px;
        margin-bottom: 20px;
    }

    .hero-headline {
        font-size: clamp(1.75rem, 7.5vw, 2.4rem);
        letter-spacing: -0.5px;
        margin-bottom: 16px;
    }

    .hero-subline {
        font-size: 0.95rem;
        margin-bottom: 32px;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 40px;
    }

    .btn-primary-hero,
    .btn-secondary-hero {
        width: 100%;
        justify-content: center;
        padding: 13px 24px;
        font-size: 0.9rem;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px 16px;
    }

    .hero-stat-value {
        font-size: 1.5rem;
    }

    /* ---- TRUST STRIP ---- */
    .trust-strip {
        padding: 16px 0;
    }

    .trust-strip-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        overflow-x: unset;
    }

    .trust-item {
        padding: 14px 16px;
        border-right: none;
        border-bottom: 1px solid var(--border-dim);
    }

    .trust-item:nth-child(odd) {
        border-right: 1px solid var(--border-dim);
    }

    .trust-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .trust-value { font-size: 0.95rem; }
    .trust-label { font-size: 0.68rem; }

    /* ---- SECTION COMMON ---- */
    .section-tag {
        font-size: 0.68rem;
        padding: 4px 12px;
    }

    .section-headline {
        font-size: clamp(1.5rem, 6vw, 2rem);
        letter-spacing: -0.3px;
    }

    .section-subline {
        font-size: 0.92rem;
    }

    /* ---- PROBLEM SECTION ---- */
    .problem-section {
        padding: 60px 16px;
    }

    .problem-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 40px;
    }

    .problem-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .problem-stat-card {
        padding: 20px 16px;
    }

    .problem-stat-number {
        font-size: 2rem;
    }

    .problem-solution {
        padding: 24px 20px;
    }

    /* ---- PRODUCTS SECTION ---- */
    .products-section {
        padding: 60px 16px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 40px;
    }

    .product-card {
        padding: 28px 20px;
    }

    .product-metrics {
        flex-wrap: wrap;
        gap: 16px;
    }

    .product-logo-area img {
        height: 40px;
    }

    .cis-pipeline {
        gap: 6px;
    }

    .cis-step {
        font-size: 0.78rem;
        padding: 8px 12px;
    }

    /* ---- PILLARS SECTION ---- */
    .pillars-section {
        padding: 60px 16px;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 40px;
    }

    .pillar-card:last-child {
        grid-column: span 1;
    }

    .pillar-card {
        padding: 28px 20px;
    }

    .pillar-number {
        font-size: 2.5rem;
    }

    /* ---- ROADMAP / TIMELINE ---- */
    .roadmap-section {
        padding: 60px 16px;
    }

    /* Force single-column timeline on mobile */
    .timeline {
        margin-top: 40px;
    }

    .timeline::after {
        left: 16px !important;
        margin-left: 0 !important;
    }

    .timeline-item {
        width: 100% !important;
        left: 0 !important;
        padding: 16px 0 16px 44px !important;
        text-align: left !important;
    }

    .timeline-dot {
        left: 8px !important;
        right: auto !important;
    }

    .timeline-tag {
        float: none !important;
    }

    .timeline-content {
        padding: 20px 18px;
    }

    .timeline-content h3 {
        font-size: 1.05rem;
    }

    /* ---- DEMO SECTION ---- */
    .demo-actions {
        flex-direction: column;
        gap: 10px;
    }

    .demo-actions .cta-button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* ---- RAGTUPUS SECTION ---- */
    .ragtupus-section .section-container,
    .ragtupus-section .container {
        padding: 0 16px;
    }

    /* ---- CTA SECTION ---- */
    .cta-section {
        padding: 60px 16px;
    }

    .cta-section h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .cta-section .hero-cta-group {
        justify-content: center;
    }

    /* ---- NVIDIA BADGE ---- */
    .nvidia-badge {
        font-size: 0.78rem;
        padding: 10px 16px;
    }

    /* ---- FOOTER ---- */
    .footer-content {
        grid-template-columns: 1fr 1fr !important;
        gap: 32px 20px;
    }
}

/* ============================================
   RESPONSIVE — Small Mobile (max 480px)
   ============================================ */
@media (max-width: 480px) {

    .hero-industrial {
        padding: 88px 14px 48px;
    }

    .hero-headline {
        font-size: clamp(1.55rem, 8vw, 2rem);
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .hero-stat-value {
        font-size: 1.3rem;
    }

    /* Trust strip: 2-col stays but smaller */
    .trust-value { font-size: 0.88rem; }

    .problem-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .problem-stat-number {
        font-size: 1.8rem;
    }

    .section-headline {
        font-size: clamp(1.35rem, 7vw, 1.75rem);
    }

    .product-card {
        padding: 22px 16px;
    }

    .pillar-card {
        padding: 22px 16px;
    }

    .timeline-content {
        padding: 16px 14px;
    }

    /* Footer: full single column */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }

    .btn-primary-hero,
    .btn-secondary-hero {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
}
