:root {
    /* Brand Colors */
    --clr-navy: #3D4A6B;
    --clr-navy-dark: #2B344D;
    --clr-white: #F8F9FC;
    --clr-magenta: #990000;
    --clr-magenta-hover: #CC0000;
    --clr-gray: #E5E7EF;
    --clr-text-main: #1C2234;
    --clr-text-muted: #5e6b8c;

    /* Layout */
    --container-max: 1200px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--clr-text-main);
    background-color: var(--clr-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--clr-navy);
}

.highlight {
    color: var(--clr-magenta);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    line-height: 1;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn.lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--clr-magenta);
    color: white;
    box-shadow: 0 4px 14px rgba(153, 0, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--clr-magenta-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(153, 0, 0, 0.4);
}

.btn-ghost {
    background-color: transparent;
    color: var(--clr-navy);
    border: 2px solid var(--clr-gray);
}

.btn-ghost:hover {
    background-color: var(--clr-white);
    border-color: var(--clr-navy);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-fast);
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 0.75rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--clr-navy);
}

.logo-icon {
    color: var(--clr-magenta);
}

.logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--clr-navy);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-links a.btn {
    color: white;
}

.nav-links a.btn:hover {
    color: white;
}

.nav-links a:hover {
    color: var(--clr-magenta);
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.menu-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--clr-navy);
    cursor: pointer;
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}


/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 6rem;
    padding-bottom: 8rem;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 80% 20%, rgba(153, 0, 0, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(61, 74, 107, 0.05) 0%, transparent 40%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

@media (min-width: 992px) {
    .hero-container {
        grid-template-columns: 1.2fr 1fr;
    }
}

.badge-wrapper {
    margin-bottom: 1.5rem;
}

.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background-color: rgba(61, 74, 107, 0.08);
    color: var(--clr-navy);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 20px;
}

.bg-dark .badge {
    background-color: rgba(153, 0, 0, 0.2);
    color: #FF9999;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--clr-gray);
}

.stat-badge {
    display: flex;
    flex-direction: column;
}

.stat-number {
    display: flex;
    align-items: baseline;
    gap: 0.1rem;
}

.stat-val,
.stat-suffix {
    font-size: 2rem;
    font-weight: 800;
    color: var(--clr-navy);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--clr-text-muted);
    font-weight: 500;
    margin-top: 0.25rem;
}

/* Hero Visual Animation */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.iv-animation-wrapper {
    position: relative;
    width: 300px;
    height: 450px;
}

.glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(153, 0, 0, 0.15) 0%, transparent 70%);
    z-index: 0;
}

.iv-bag {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 20px 40px rgba(61, 74, 107, 0.1));
}

.liquid {
    transform-origin: center bottom;
}

.wave {
    animation: wave-anim 4s infinite linear;
}

@keyframes wave-anim {
    0% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(0.95);
    }

    100% {
        transform: scaleY(1);
    }
}

.drop {
    opacity: 0;
}

.drop-1 {
    animation: drip 3s infinite 0s;
}

.drop-2 {
    animation: drip 3s infinite 1s;
}

.drop-3 {
    animation: drip 3s infinite 2s;
}

@keyframes drip {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    40% {
        transform: translateY(80px);
        opacity: 1;
    }

    50% {
        transform: translateY(100px);
        opacity: 0;
    }

    100% {
        transform: translateY(100px);
        opacity: 0;
    }
}

.floating-ui {
    position: absolute;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--clr-gray);
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.floating-ui.flow-rate {
    top: 20%;
    right: -20px;
    animation-delay: 0s;
}

.floating-ui.time-left {
    bottom: 30%;
    left: -40px;
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.ui-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--clr-text-muted);
    margin-bottom: 0.25rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot.green {
    background-color: #10B981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.dot.blue {
    background-color: #3B82F6;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

.ui-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--clr-navy);
}

.ui-unit {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--clr-text-muted);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--clr-text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

.bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Layout Utilities */
.section {
    padding: 8rem 0;
}

.text-center {
    text-align: center;
}

.bg-dark {
    background-color: var(--clr-navy-dark);
    color: white;
}

.text-white {
    color: white;
}

.section-header {
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--clr-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.bg-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* Problem Section */
.cards-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.problem-card {
    background: white;
    border: 1px solid var(--clr-gray);
    box-shadow: 0 4px 12px rgba(61, 74, 107, 0.03);
    padding: 2rem;
    border-radius: 16px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.problem-card:hover {
    transform: translateY(-5px);
    border-color: var(--clr-magenta);
    background: rgba(153, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(153, 0, 0, 0.1);
    color: var(--clr-magenta);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-stat {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--clr-navy);
}

.card-desc {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

.quote-callout {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
    text-align: center;
    background: white;border: 1px solid var(--clr-gray);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--clr-magenta);
    width: 40px;
    height: 40px;
    background: white;
    padding: 5px;
    border-radius: 50%;
}

.quote-callout blockquote {
    font-size: 1.5rem;
    font-weight: 500;
    font-style: italic;
    color: var(--clr-navy);
}

/* Context Section */
.context-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .context-container {
        grid-template-columns: 1fr 1fr;
    }
}

.chart-container {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(61, 74, 107, 0.08);
    border: 1px solid var(--clr-gray);
}

.chart-title {
    margin-bottom: 2rem;
    font-size: 1.25rem;
}

.bar-chart {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.bar-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bar-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--clr-text-muted);
}

.bar-label.highlight {
    color: var(--clr-magenta);
}

.bar-visual {
    width: 100%;
    height: 12px;
    background: var(--clr-gray);
    border-radius: 6px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 6px;
    transform-origin: left;
    animation: loadBar 1.5s ease-out forwards;
}

.bar-fill.blue {
    background-color: var(--clr-navy);
}

.bar-fill.magenta {
    background-color: var(--clr-magenta);
}

@keyframes loadBar {
    0% {
        transform: scaleX(0);
    }

    100% {
        transform: scaleX(1);
    }
}

.bar-value {
    font-weight: 700;
    color: var(--clr-navy);
    text-align: right;
    font-size: 0.875rem;
}

.context-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.context-content p {
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.context-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.stat-item .lucide {
    color: var(--clr-magenta);
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.stat-item h4 {
    display: inline;
    font-size: 2.5rem;
    color: var(--clr-navy);
    line-height: 1;
}

.stat-item span {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clr-navy);
}

.stat-item p {
    margin: 0;
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

/* Solution Section */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.solution-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--clr-gray);
    transition: all var(--transition-fast);
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(61, 74, 107, 0.1);
}

.solution-card .card-icon {
    width: 64px;
    height: 64px;
    background: var(--clr-white);
    color: var(--clr-navy);
    margin-bottom: 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.solution-card p {
    color: var(--clr-text-muted);
}

.pinch-valve-callout {
    background: var(--clr-magenta);
    color: white;
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    flex-direction: column-reverse;
    gap: 2rem;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(153, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .pinch-valve-callout {
        flex-direction: row;
        justify-content: space-between;
    }
}

.callout-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.callout-content h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.callout-content p {
    font-size: 1.125rem;
    opacity: 0.9;
}

.callout-visual {
    background: var(--clr-gray);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.callout-icon {
    width: 64px;
    height: 64px;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* How It Works Section */
.timeline-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    position: relative;
    padding-top: 2rem;
}

@media (min-width: 768px) {
    .timeline-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem 1.5rem;
    }
}

@media (min-width: 1200px) {
    .timeline-container {
        grid-template-columns: repeat(6, 1fr);
    }

    .timeline-container::before {
        content: '';
        position: absolute;
        top: 60px;
        left: 50px;
        right: 50px;
        height: 2px;
        background-image: linear-gradient(to right, rgba(153, 0, 0, 0.5) 50%, transparent 50%);
        background-size: 15px 100%;
        z-index: 0;
        animation: march 20s linear infinite;
    }
}

@keyframes march {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 500px 0;
    }
}

.timeline-step {
    position: relative;
    z-index: 1;
    background: white;
    border: 1px solid var(--clr-gray);
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(61, 74, 107, 0.04);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.timeline-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(61, 74, 107, 0.08);
    border-color: var(--clr-magenta);
}

.step-num {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--clr-magenta);
    margin-bottom: 1rem;
}

.step-icon {
    width: 56px;
    height: 56px;
    background: rgba(153, 0, 0, 0.06);
    border: 2px solid var(--clr-magenta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-magenta);
    margin-bottom: 1.5rem;
    transition: transform var(--transition-fast);
}

.timeline-step:hover .step-icon {
    transform: scale(1.05);
}

.timeline-step h4 {
    color: var(--clr-navy);
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.timeline-step p {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

/* Architecture Section */
.arch-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    margin-top: 4rem;
    padding: 3rem;
    background: white;
    border-radius: 24px;
    border: 1px solid var(--clr-gray);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

@media (min-width: 992px) {
    .arch-diagram {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }
}

.arch-node {
    flex: 1.5;
    text-align: center;
    max-width: 340px;
    padding: 1.5rem;
    background: var(--clr-white);
    border-radius: 16px;
    border: 1px solid var(--clr-gray);
    z-index: 2;
}

.arch-node .node-icon {
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 10px 20px rgba(61, 74, 107, 0.1);
}

.arch-node .node-icon .lucide {
    width: 28px;
    height: 28px;
}

.arch-node h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.arch-node p {
    color: var(--clr-text-muted);
    font-size: 0.85rem;
}

.arch-connection {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
    flex: 1;
    min-width: 150px;
}

.arch-connection .lucide {
    color: var(--clr-magenta);
}

.signal-line {
    width: 2px;
    height: 100px;
    background: var(--clr-gray);
    position: relative;
    overflow: hidden;
}

@media (min-width: 992px) {
    .signal-line {
        width: 100%;
        height: 2px;
    }
}

.signal-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, transparent, var(--clr-magenta), transparent);
    animation: signalMove 1.5s linear infinite;
}

@media (min-width: 992px) {
    .signal-pulse {
        width: 50%;
        height: 100%;
        background: linear-gradient(to right, transparent, var(--clr-magenta), transparent);
    }
}

@keyframes signalMove {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(200%);
    }
}

@media (min-width: 992px) {
    @keyframes signalMove {
        0% {
            transform: translateX(-100%);
        }

        100% {
            transform: translateX(200%);
        }
    }
}

.tech-chip {
    background: var(--clr-white);
    border: 1px solid var(--clr-gray);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--clr-navy);
    white-space: nowrap;
}


/* Features Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bento-card {
    background: white;
    border: 1px solid var(--clr-gray);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--clr-magenta), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.bento-card:hover {
    transform: translateY(-5px);
    background: rgba(153, 0, 0, 0.03);
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-card .lucide {
    width: 32px;
    height: 32px;
    color: var(--clr-magenta);
    margin-bottom: 2rem;
}

.bento-card h4 {
    color: var(--clr-navy);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.bento-card p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

.new-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(153, 0, 0, 0.2);
    color: var(--clr-magenta);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Compare Table */
.table-container {
    overflow-x: auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(61, 74, 107, 0.05);
    border: 1px solid var(--clr-gray);
}

.compare-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    text-align: center;
}

.compare-table th {
    padding: 1.5rem 1rem;
    font-size: 1.125rem;
    color: var(--clr-navy);
    border-bottom: 2px solid var(--clr-gray);
    background: rgba(248, 249, 252, 0.5);
}

.compare-table td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid var(--clr-gray);
    color: var(--clr-text-main);
    font-weight: 500;
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.feature-col {
    text-align: left;
    font-weight: 600;
    width: 25%;
}

.highlight-col {
    background: rgba(153, 0, 0, 0.03);
    position: relative;
}

.compare-table th.highlight-col {
    color: var(--clr-magenta);
}

.compare-table th.highlight-col::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--clr-magenta);
}

.icon-bad {
    color: #EF4444;
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

.icon-warn {
    color: #F59E0B;
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

.icon-good {
    color: #10B981;
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

.status-bad {
    color: #EF4444;
}

.status-good {
    color: #10B981;
}

/* Prototype Section */
.prototype-section {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
}

.prototype-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.prototype-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(43, 52, 77, 0.9) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 4rem;
}

@media (max-width: 768px) {
    .prototype-overlay {
        padding: 2rem;
    }
}

.overlay-content h3 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.overlay-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
}

/* Footer */
.footer {
    padding-top: 6rem;
    padding-bottom: 2rem;
}

.cta-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
    padding: 0 var(--spacing-sm);
}

.cta-box h2 {
    color: var(--clr-navy);
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.cta-box p {
    color: var(--clr-text-muted);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 550px;
    margin: 0 auto;
}

@media (min-width: 600px) {
    .contact-form {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-form .form-full {
        grid-column: span 2;
    }
}

.form-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--clr-gray);
    background: rgba(153, 0, 0, 0.03);
    color: var(--clr-text-main);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color var(--transition-fast);
}

.form-input:focus {
    border-color: var(--clr-magenta);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
    border-top: 1px solid var(--clr-gray);
    padding-top: 2rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-brand p {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-links p {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

/* Utilities */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Split Footer Redesign */
.footer-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

@media (min-width: 992px) {
    .footer-split {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
    }
}

.footer-info {
    text-align: left;
}

.footer-tag {
    font-size: 0.875rem;
    color: var(--clr-magenta);
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    display: block;
    font-weight: 600;
}

.footer-info h2 {
    font-size: clamp(2.2rem, 5vw, 3rem);
    color: var(--clr-navy);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.footer-info p {
    color: var(--clr-text-muted);
    font-size: 1.05rem;
    margin-bottom: 3rem;
    max-width: 480px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.info-item h4 {
    color: var(--clr-navy);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.info-item p, .info-item a {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
}

.footer-form-card {
    background: #F7F8FA;
    padding: 3.5rem;
    border-radius: 24px;
    text-align: left;
}

@media (max-width: 768px) {
    .footer-form-card {
        padding: 2rem;
    }
}

.footer-form-card h3 {
    color: var(--clr-navy);
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.footer-form-card .form-desc {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

.line-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-input-line {
    width: 100%;
    padding: 0.75rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--clr-gray);
    font-size: 1rem;
    color: var(--clr-text-main);
    font-family: inherit;
    outline: none;
    transition: border-color var(--transition-fast);
}

.form-input-line:focus {
    border-color: var(--clr-magenta);
}

.btn-pill {
    background: #1C2234;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
    align-self: flex-start;
    margin-top: 1.5rem;
}

.btn-pill:hover {
    background: var(--clr-magenta);
    transform: translateY(-2px);
}
