@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-dark: #010410;
    --bg-slate: #0b1120;
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.3);
    --secondary: #10b981;
    --accent: #f59e0b;
    --text-white: #e2e8f0;
    /* Softer white, less stark */
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --glass: rgba(11, 17, 32, 0.8);
    --glass-border: rgba(255, 255, 255, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    z-index: 9999;
}

h1,
h2,
h3,
.logo {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.04em;
    font-weight: 700;
}

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

/* Background & Texture */
.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background-color: #010410;
    /* High-Tech Hex + Carbon Fiber Weave */
    background-image:
        radial-gradient(circle at 50% 50%, transparent 10%, rgba(1, 4, 16, 0.98) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='30' viewBox='0 0 52 30'%3E%3Cpath d='M26 0l26 15-26 15L0 15z' fill='none' stroke='%236366f1' stroke-opacity='0.25' stroke-width='1.5'/%3E%3C/svg%3E"),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 4px),
        repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.3) 0px, rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 4px);
    background-size: 100% 100%, 52px 30px, 8px 8px, 8px 8px;
    background-position: 0 0, 0 0, 0 0, 4px 4px;
    background-blend-mode: normal, screen, normal, normal;
}

.glow-1 {
    position: absolute;
    top: -30%;
    right: -20%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, transparent 70%);
    filter: blur(160px);
    z-index: 1;
    animation: pulsate 12s ease-in-out infinite alternate;
}

.glow-2 {
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    filter: blur(160px);
    z-index: 1;
    animation: pulsate 15s ease-in-out infinite alternate-reverse;
}

@keyframes pulsate {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.3;
    }

    100% {
        transform: scale(1.1) translate(2%, 2%);
        opacity: 0.6;
    }
}

/* Energy Scan Beam */
.bg-glow::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 48%, rgba(99, 102, 241, 0.15) 50%, transparent 52%);
    background-size: 300% 300%;
    animation: shine 15s linear infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes shine {
    0% {
        background-position: 300% 0;
    }

    100% {
        background-position: -300% 0;
    }
}

/* Navigation */
.navbar {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #6366f1, #10b981);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

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

.nav-links a:hover {
    color: var(--text-white);
    text-shadow: 0 0 10px var(--primary-glow);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1.2;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    background: #000;
}

.hero-img {
    width: 100%;
    display: block;
    opacity: 0.9;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-visual:hover .hero-img {
    transform: scale(1.05);
    opacity: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    border: 1px solid rgba(99, 102, 241, 0.2);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to bottom, #e2e8f0 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
}

.cta-btn {
    background: var(--primary);
    color: white;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px -5px var(--primary-glow);
}

.cta-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 20px 35px -10px var(--primary-glow);
    filter: brightness(1.1);
}

.cta-btn-secondary {
    background: transparent;
    color: var(--text-white);
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s;
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-white);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.metric strong {
    font-size: 2.5rem;
    display: block;
    color: var(--text-white);
    font-family: 'Outfit', sans-serif;
}

.metric span {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Products Section */
.products {
    padding: 120px 0;
}

.products h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    background: linear-gradient(to right, #e2e8f0, #64748b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: var(--bg-slate);
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.3);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.product-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}

.product-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.price {
    font-size: 1.5rem;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.result {
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary);
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.features {
    list-style: none;
    margin-bottom: 2rem;
}

.features li {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features li::before {
    content: "→";
    color: var(--primary);
    font-weight: 800;
}

.pain-points {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.pain-points strong {
    color: var(--text-white);
}

.buy-btn {
    width: 100%;
    padding: 14px;
    background: var(--text-white);
    color: var(--bg-dark);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.buy-btn:hover {
    background: var(--primary);
    color: white;
}

/* Testimonials */
.social-proof {
    background: rgba(15, 23, 42, 0.5);
    padding: 120px 0;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial {
    background: var(--bg-slate);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border);
}

.stars {
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.testimonial p {
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.testimonial strong {
    display: block;
    font-size: 1rem;
}

.company {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Timeline */
.process {
    padding: 120px 0;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.timeline-item {
    position: relative;
    padding: 2rem;
    background: var(--bg-slate);
    border-radius: 24px;
    border: 1px solid var(--border);
}

.timeline-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.timeline-item h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* FAQ */
.faq-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.faq-item {
    background: var(--bg-slate);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Modal Styling Overhaul */
.modal {
    background-color: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: var(--bg-slate);
    border: 1px solid var(--border);
    border-radius: 24px;
    color: var(--text-white);
    padding: 40px;
}

.form-group label {
    color: var(--text-white);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
}

.form-group input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

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

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

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .testimonials,
    .timeline {
        grid-template-columns: 1fr 1fr;
    }
}

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

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

    .hero-metrics {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonials,
    .timeline,
    .product-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Reveal Animations */
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.form-grid {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Simulator Frame & Scanned Layout */
.product-img-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.3);
    background: #000;
    margin-bottom: 1.5rem;
    aspect-ratio: 16/9;
}

.product-img-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: scan-line 4s linear infinite;
    z-index: 2;
    box-shadow: 0 0 20px var(--primary);
}

@keyframes scan-line {
    0% {
        top: -10%;
    }

    100% {
        top: 110%;
    }
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: opacity 0.5s, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    filter: grayscale(20%) brightness(0.9);
}

.product-card:hover .product-img {
    opacity: 1;
    transform: scale(1.1);
    filter: grayscale(0%) brightness(1.1);
}

.product-card:hover .product-img-wrapper {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

/* Glassmorphism Badge Overlays */
.product-status-tag {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: 700;
    z-index: 3;
    letter-spacing: 1px;
}