:root {
    /* Base Palette - Light Theme */
    --bg-page: #F8FAFC;
    /* Slate 50 */
    --bg-card: #FFFFFF;
    --bg-card-hover: #F1F5F9;
    /* Slate 100 */

    /* Brand Colors */
    --primary: #4F46E5;
    /* Indigo 600 */
    --primary-dark: #4338CA;
    /* Indigo 700 */
    --primary-light: #818CF8;
    /* Indigo 400 */
    --secondary: #0EA5E9;
    /* Sky 500 */
    --accent: #F59E0B;
    /* Amber 500 */

    /* Text Colors */
    --text-main: #0F172A;
    /* Slate 900 */
    --text-body: #475569;
    /* Slate 600 */
    --text-muted: #94A3B8;
    /* Slate 400 */
    --text-on-primary: #FFFFFF;

    /* Borders & Shadows */
    --border-subtle: #E2E8F0;
    /* Slate 200 */
    --border-focus: #4F46E5;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-color-primary: 79 70 229;
    /* RGB of Indigo 600 for colored shadows */

    /* Fonts */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.text-highlight {
    color: var(--primary);
    -webkit-text-fill-color: currentColor;
    position: relative;
    z-index: 1;
}

.text-highlight-accent {
    color: var(--accent);
    -webkit-text-fill-color: currentColor;
    position: relative;
    z-index: 1;
}

/* Add a subtle marker effect for the accent highlight */
.text-highlight-accent::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: -2px;
    right: -2px;
    height: 8px;
    background: rgba(245, 158, 11, 0.2);
    z-index: -1;
    border-radius: 4px;
    transform: rotate(-1deg);
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    padding: 1rem 0;
    transition: background 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-main);
    text-decoration: none;
}

.logo svg {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-body);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 99px;
    /* Pill shape */
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    line-height: 1;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    color: var(--text-main);
}

.btn-sm:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: var(--primary);
    color: var(--text-on-primary);
    box-shadow: 0 4px 14px 0 rgba(var(--shadow-color-primary), 0.39);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px 0 rgba(var(--shadow-color-primary), 0.23);
}

.btn-large {
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
}

/* Hero */
.hero {
    padding: 10rem 0 6rem;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Subtle background glowing orb */
.hero::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    top: -200px;
    right: -200px;
    z-index: -1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

/* Gradient text effect for key phrase if desired, or keep solid for 'modern clean' */
.glitch-text {
    /* Disabled glitch, clean gradients instead */
    background: linear-gradient(135deg, var(--text-main) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.35rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1rem;
    display: inline-block;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-body);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.pill {
    background: #F1F5F9;
    padding: 0.35rem 0.85rem;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-body);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pill::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
}

/* Hero Visual - Abstract CSS Composition */
/* Hero Visual - 3D Box Animation */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    height: 400px;
}

.scanner-stage {
    width: 300px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
}

.cube-container {
    width: 150px;
    height: 150px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform-style: preserve-3d;
    animation: floatingBox 6s ease-in-out infinite;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-20deg) rotateY(-30deg);
}

.face {
    position: absolute;
    width: 150px;
    height: 150px;
    background: #F1F5F9;
    border: 2px solid #CBD5E1;
    opacity: 0.9;
}

/* 3D Cube Faces */
.face.front {
    transform: rotateY(0deg) translateZ(75px);
}

.face.back {
    transform: rotateY(180deg) translateZ(75px);
}

.face.right {
    transform: rotateY(90deg) translateZ(75px);
}

.face.left {
    transform: rotateY(-90deg) translateZ(75px);
}

.face.top {
    transform: rotateX(90deg) translateZ(75px);
}

.face.bottom {
    transform: rotateX(-90deg) translateZ(75px);
}

/* Label on box */
.label-sticker {
    width: 80px;
    height: 50px;
    background: #fff;
    position: absolute;
    top: 30px;
    left: 35px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.barcode-lines {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(90deg,
            #000 0px,
            #000 2px,
            transparent 2px,
            transparent 4px);
}

/* Single Red Scan Line */
.scan-line-red {
    width: 220px;
    height: 2px;
    background: #F43F5E;
    /* Rose 500 / Red style */
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateZ(200px);
    top: 0;
    box-shadow: 0 0 10px rgba(244, 63, 94, 0.8), 0 0 20px rgba(244, 63, 94, 0.4);
    animation: simpleScan 2.5s linear infinite;
    z-index: 10;
}

@keyframes simpleScan {
    0% {
        top: 10%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 90%;
        opacity: 0;
    }
}

@keyframes floatingBox {

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

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

/* Sections */
.section {
    padding: 7rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.section-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 4.5rem;
    color: var(--text-body);
    font-size: 1.15rem;
}

/* Problem Section */
.problem-section {
    background: #fff;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.card {
    background: #fff;
    border: 1px solid var(--border-subtle);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.3s ease;
}

.warning-card {
    border-left: 4px solid #F43F5E;
    /* Rose 500 */
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.feature-list .icon {
    font-size: 1.5rem;
    background: #FFF1F2;
    /* Rose 50 */
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
    color: #F43F5E;
    /* Rose 500 */
}

.feature-list .icon svg {
    width: 24px;
    height: 24px;
}

.feature-list strong {
    display: block;
    color: var(--text-main);
    margin-bottom: 0.25rem;
    font-family: var(--font-heading);
}

.stat-display {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 3rem 2rem;
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: #F43F5E;
    /* Rose 500 */
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-body);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Solution Section - Feature Cards */
.solution-section {
    background: var(--bg-page);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79, 70, 229, 0.2);
}

.feature-icon {
    margin-bottom: 1.5rem;
    background: #EEF2FF;
    /* Indigo 50 */
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-body);
    font-size: 0.95rem;
}

/* ROI Calculator */
.roi-section {
    background: #fff;
}

.roi-calculator {
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: 32px;
    padding: 3.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

.input-group {
    margin-bottom: 2rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
}

.input-group input {
    width: 100%;
    padding: 1rem;
    background: #F8FAFC;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1.1rem;
    transition: border 0.2s, box-shadow 0.2s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    background: #fff;
}

.roi-results {
    background: #F8FAFC;
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
}

.result-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.result-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.result-value {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-main);
}

.highlight .result-value {
    color: var(--primary);
}

/* Pilot Section */
.pilot-section {
    background: var(--bg-page);
    position: relative;
    overflow: hidden;
}

.pilot-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 4rem;
    border-radius: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-subtle);
}

.pilot-benefits {
    list-style: none;
    margin: 2.5rem 0 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    text-align: left;
}

.pilot-benefits li {
    padding-left: 2rem;
    position: relative;
    color: var(--text-main);
    font-weight: 500;
}

.pilot-benefits li::before {
    content: "✓";
    color: #fff;
    background: var(--primary);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 2px;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.faq-item {
    background: #FFF;
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid var(--border-subtle);
    transition: box-shadow 0.2s;
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    margin-bottom: 0.75rem;
    color: var(--text-main);
    font-size: 1.15rem;
}

.faq-item p {
    color: var(--text-body);
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 8rem 0;
    background: #fff;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.25rem;
    color: var(--text-body);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-subtle);
    background: #F8FAFC;
    color: var(--text-muted);
}

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

.footer-logo {
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-main);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .roi-calculator {
        grid-template-columns: 1fr;
        padding: 2.5rem;
        gap: 2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .hero-container,
    .grid-2,
    .pilot-benefits,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero {
        padding-top: 8rem;
        padding-bottom: 4rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        /* Add mobile menu toggle */
    }

    .roi-results {
        padding: 2rem;
    }
}