:root {
    --primary: #007bff;
    --primary-hover: #0056b3;
    --secondary: #6c757d;
    --dark: #0f172a;
    --darker: #020617;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--darker);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Nav */
nav {
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo-img {
    height: 90px;
    margin: -10px 0;
    width: auto;
    display: block;
    object-fit: contain;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.3);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.nav-btn {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 24px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.4);
}

/* Header */
header {
    padding: 240px 0 120px;
    background: radial-gradient(circle at 20% 30%, rgba(0, 123, 255, 0.1), transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(138, 43, 226, 0.1), transparent 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.hero-text h1 {
    font-size: 72px;
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text h1 span {
    background: linear-gradient(135deg, var(--primary) 0%, #8a2be2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

@media (max-width: 900px) {
    .hero-text p {
        margin: 0 auto 40px;
    }
}

.hero-actions {
    display: flex;
    gap: 20px;
}

@media (max-width: 900px) {
    .hero-actions {
        justify-content: center;
    }
}

.btn {
    text-decoration: none;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn.primary {
    background: var(--primary);
    color: #fff;
}

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

.btn.secondary {
    background: var(--glass);
    color: #fff;
    border: 1px solid var(--glass-border);
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-image .glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 32px;
    backdrop-filter: blur(30px);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.7);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px) rotateY(-5deg); }
    50% { transform: translateY(-20px) rotateY(2deg); }
    100% { transform: translateY(0px) rotateY(-5deg); }
}

.hero-image img {
    width: 100%;
    border-radius: 22px;
    display: block;
    filter: saturate(1.2);
}

/* Features */
.features {
    padding: 120px 0;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.05), transparent 70%);
    pointer-events: none;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--glass-border);
    padding: 50px 40px;
    border-radius: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.feature-card:hover {
    border-color: rgba(0, 123, 255, 0.5);
    background: rgba(0, 123, 255, 0.08);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card .icon {
    font-size: 40px;
    margin-bottom: 30px;
    display: inline-block;
}

.feature-card h3 {
    font-size: 26px;
    margin-bottom: 18px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 140px 0;
}

.glass-form-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--glass-border);
    padding: 80px;
    border-radius: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    backdrop-filter: blur(40px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

@media (max-width: 900px) {
    .glass-form-container {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        gap: 40px;
    }
}

.contact-text h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 24px;
}

.contact-text p {
    color: var(--text-muted);
    font-size: 18px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.4);
}

.full-width {
    width: 100%;
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

footer p {
    color: var(--text-muted);
    font-size: 14px;
}

footer a {
    color: var(--primary);
    text-decoration: none;
}


/* Trust Banner & Marquee */
.trust-metrics {
    background: var(--dark);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 60px;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    background: rgba(0, 123, 255, 0.05);
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 123, 255, 0.1);
    white-space: nowrap;
    display: flex;
}

.marquee {
    display: inline-block;
    animation: marquee 20s linear infinite;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
    letter-spacing: 1px;
}

.marquee .dot {
    margin: 0 30px;
    color: var(--text-muted);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
    margin-top: 60px;
}

.stat-box h3 {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #007bff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.stat-box p {
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Live Scan Demo */
.live-scan {
    padding: 120px 0;
    background: var(--darker);
}

.scanner-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 40px;
}

@media (max-width: 900px) {
    .scanner-container {
        grid-template-columns: 1fr;
    }
}

.scanner-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.scan-target {
    width: 100%;
    display: block;
    filter: grayscale(0.5) contrast(1.2);
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #007bff;
    box-shadow: 0 0 20px 5px rgba(0, 123, 255, 0.6);
    animation: scanLine 3s linear infinite;
    z-index: 10;
}

@keyframes scanLine {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.bounding-box {
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    border: 2px solid #ff4444;
    box-shadow: 0 0 15px rgba(255, 68, 68, 0.4) inset;
    animation: blink 2s infinite;
    z-index: 5;
    border-radius: 10px;
}

.box-label {
    position: absolute;
    top: -30px;
    left: -2px;
    background: #ff4444;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 4px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.scan-logs {
    background: #000;
    padding: 20px;
    border-radius: 15px;
    font-family: monospace;
    font-size: 14px;
    line-height: 2;
    border: 1px solid #333;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.log-item {
    color: #00ff00;
    opacity: 0;
    animation: logFade 5s infinite;
}

.log-item span {
    color: #fff;
}

.log-item.warning { color: #ffaa00; }
.log-item.danger { color: #ff4444; }

.log-item:nth-child(1) { animation-delay: 0s; }
.log-item:nth-child(2) { animation-delay: 1s; }
.log-item:nth-child(3) { animation-delay: 2s; }
.log-item:nth-child(4) { animation-delay: 3s; }
.log-item:nth-child(5) { animation-delay: 4s; }

@keyframes logFade {
    0% { opacity: 0; transform: translateY(10px); }
    10%, 90% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; }
}

/* Technical Pipeline */
.pipeline {
    padding: 120px 0;
    background: var(--dark);
    border-top: 1px solid var(--glass-border);
}

.pipeline-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

@media (max-width: 900px) {
    .pipeline-grid {
        flex-direction: column;
        gap: 40px;
    }
    .pipeline-arrow {
        transform: rotate(90deg);
    }
}

.pipeline-step {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 40px 30px;
    border-radius: 20px;
    flex: 1;
    text-align: center;
    position: relative;
    backdrop-filter: blur(10px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
}

.pipeline-step h3 {
    font-size: 20px;
    margin-bottom: 15px;
    margin-top: 10px;
}

.pipeline-step p {
    color: var(--text-muted);
    font-size: 15px;
}

.pipeline-arrow {
    font-size: 30px;
    color: var(--primary);
    opacity: 0.5;
}

/* Use Cases */
.use-cases {
    padding: 120px 0;
    background: var(--darker);
    border-top: 1px solid var(--glass-border);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.uc-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    border: 1px solid var(--glass-border);
    padding: 40px 30px;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.uc-card:hover {
    background: rgba(0, 123, 255, 0.05);
    border-color: rgba(0, 123, 255, 0.3);
    transform: translateY(-5px);
}

.uc-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.uc-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.uc-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}
