:root {
    --bg-dark: #050507;
    --bg-panel: rgba(255, 255, 255, 0.02);
    --bg-panel-hover: rgba(255, 255, 255, 0.04);
    --border-glass: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(0, 255, 136, 0.4);
    --text-main: #f0f0f5;
    --text-muted: #8b8b9b;
    --accent-glow: #00ff88;
    --accent-glow-secondary: #00d4ff;
    --accent-safety: #ff4d4d;
    --accent-safety-sec: #ff8800;
    --accent-oem: #b500ff;
    --danger-red: #ff3366;
}

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

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

h1,
h2,
h3,
.logo,
.ultra-title {
    font-family: 'Outfit', sans-serif;
}

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

/* NAVBAR & LOGO */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 0;
    background: rgba(5, 5, 7, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    z-index: 1000;
    transition: background 0.3s;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-decoration: none;
    color: var(--text-main);
}

.logo img {
    width: 32px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.1);
}

.logo span {
    color: var(--accent-glow);
}

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

.nav-link-text {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-link-text:hover {
    color: var(--text-main);
}

.nav-btn {
    text-decoration: none;
    color: var(--bg-dark);
    background: var(--text-main);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--accent-glow);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
    transform: translateY(-2px);
}

/* HERO */
.hero {
    position: relative;
    padding: 12rem 0 8rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.15) 0%, rgba(0, 212, 255, 0.05) 40%, rgba(5, 5, 7, 0) 70%);
    z-index: -1;
    filter: blur(60px);
}

.hero-glow-accent {
    position: absolute;
    top: 40%;
    right: 0;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, rgba(5, 5, 7, 0) 60%);
    z-index: -1;
    filter: blur(80px);
}

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

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 20px;
    color: var(--accent-glow);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    font-weight: 900;
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent-glow), var(--accent-glow-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-safety {
    background: linear-gradient(90deg, var(--accent-safety), var(--accent-safety-sec));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-oem {
    background: linear-gradient(90deg, var(--accent-oem), var(--accent-glow-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1.1rem 2.2rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--text-main);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background: var(--accent-glow);
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.4);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-panel);
    border-color: var(--text-main);
    transform: translateY(-3px);
}

.floating-device {
    width: 100%;
    max-width: 550px;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.7));
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(1deg);
    }

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

/* GENERAL SECTIONS */
section {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* GRIDS & CARDS */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.glass-card,
.premium-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.premium-card:hover {
    transform: translateY(-10px);
    background: var(--bg-panel-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.4);
}

.premium-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.premium-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* PROBLEM SECTION */
.alert-text {
    color: var(--danger-red);
}

.danger-card:hover {
    border-color: rgba(255, 51, 102, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 51, 102, 0.1);
}

.icon-danger {
    font-size: 2.5rem;
    color: var(--danger-red);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(255, 51, 102, 0.4);
}

/* SAFETY SPECS */
.tech-specs-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0505 100%);
    border-top: 1px solid rgba(255, 77, 77, 0.1);
    border-bottom: 1px solid rgba(255, 77, 77, 0.1);
}

.eng-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 77, 77, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.safety-icon {
    background: linear-gradient(90deg, var(--accent-safety), var(--accent-safety-sec));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.tech-specs-section .premium-card:hover {
    border-color: rgba(255, 77, 77, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 77, 77, 0.15);
}

/* ICONS */
.icon-accent {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent-glow), var(--accent-glow-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* PERFORMANCE SECTION */
.performance-section {
    background: var(--bg-dark);
}

.perf-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.05) 0%, transparent 60%);
    z-index: 0;
}

/* HIGHLIGHT CARD (Explore all features) */
.highlight-card {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 212, 255, 0.1));
    border: 1px solid rgba(0, 255, 136, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

.highlight-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent-glow), var(--accent-glow-secondary), var(--accent-glow));
    z-index: -1;
    border-radius: 22px;
    background-size: 400%;
    animation: glow-anim 10s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.highlight-card:hover::after {
    opacity: 1;
}

.highlight-card:hover {
    transform: translateY(-10px) scale(1.02);
}

@keyframes glow-anim {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

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

.highlight-content h3 {
    color: var(--text-main);
    font-size: 1.6rem;
}

.highlight-content p {
    color: var(--text-main);
    opacity: 0.8;
}

.highlight-arrow {
    display: block;
    margin-top: 1.5rem;
    font-size: 2rem;
    color: var(--accent-glow);
    transition: transform 0.3s;
}

.highlight-card:hover .highlight-arrow {
    transform: translateX(10px);
}

/* SOFTWARE SECTION */
.software-section {
    position: relative;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #060a0f 100%);
    border-top: 1px solid var(--border-glass);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.split-text h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.split-text p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-glow-secondary);
    font-weight: 900;
    font-size: 1.2rem;
}

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

.app-ui-render {
    width: 100%;
    border-radius: 20px;
    border: 1px solid var(--border-glass);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(0, 212, 255, 0.15);
    transform: perspective(1200px) rotateY(-12deg) rotateX(5deg);
    transition: transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.app-ui-render:hover {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg) scale(1.03);
}

/* OEM SECTION */
.oem-section {
    background: var(--bg-dark);
}

.oem-glow {
    position: absolute;
    top: 50%;
    left: 0;
    width: 50vw;
    height: 50vw;
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(181, 0, 255, 0.05) 0%, transparent 60%);
    z-index: 0;
}

.oem-card:hover {
    border-color: rgba(181, 0, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(181, 0, 255, 0.15);
}

/* CTA SECTION */
.cta-section {
    background: url('data:image/svg+xml;utf8,<svg width="30" height="30" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.03)"/></svg>');
    padding: 10rem 0;
}

.glass-panel {
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 6rem 3rem;
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    position: relative;
    overflow: hidden;
}

.cta-pulse {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
    z-index: -1;
}

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

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

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

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

.ultra-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.glass-panel p {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.lead-form {
    max-width: 550px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

input,
select {
    width: 100%;
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

input:focus,
select:focus {
    border-color: var(--accent-glow);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.1);
}

.cta-submit {
    margin-top: 1rem;
    padding: 1.4rem;
    font-size: 1.2rem;
    width: 100%;
}

/* FOOTER */
.site-footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 4rem 2rem;
    border-top: 1px solid var(--border-glass);
    color: var(--text-muted);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    text-decoration: none;
}

.footer-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.footer-logo span {
    color: var(--accent-glow);
}

.footer-model {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

/* RESPONSIVE */

/* ─── Fluid heading sizes using clamp() like the main website ─── */
h1 {
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    font-weight: 900;
}

.ultra-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

/* ─── Tablet: 1000px ─── */
@media (max-width: 1000px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-container,
    .split-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .split-layout {
        gap: 3rem;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .app-ui-render {
        transform: none;
        max-width: 480px;
        margin: 0 auto;
        display: block;
    }

    .app-ui-render:hover {
        transform: translateY(-5px);
    }

    .floating-device {
        max-width: 380px;
        margin: 0 auto;
        display: block;
    }

    .footer-flex {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .split-text h2 {
        font-size: 2.5rem;
    }

    section {
        padding: 5rem 0;
    }
}

/* ─── Small Tablet / Large Phone: 768px ─── */
@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero {
        padding: 9rem 0 5rem;
    }

    .hero-container {
        gap: 2.5rem;
    }

    .hero-text p {
        font-size: 1.05rem;
        max-width: 100%;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .split-text h2 {
        font-size: 2rem;
    }

    .glass-panel {
        padding: 3rem 1.5rem;
        border-radius: 20px;
    }

    .glass-panel .ultra-title {
        font-size: 2rem;
    }

    .feature-list li {
        font-size: 1rem;
    }

    .floating-device {
        max-width: 300px;
    }

    .app-ui-render {
        max-width: 100%;
    }

    .btn {
        padding: 0.9rem 1.6rem;
        font-size: 0.9rem;
    }

    /* Navbar: show a compact CTA, hide text links */
    .nav-links {
        gap: 1rem;
    }

    .nav-link-text {
        display: none;
    }

    /* Keep the CTA button visible in the nav */
    .nav-btn {
        display: inline-block;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* ─── Phone: 480px ─── */
@media (max-width: 480px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .input-group {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .glass-panel {
        padding: 2.5rem 1rem;
    }

    .glass-card,
    .premium-card {
        padding: 1.75rem;
    }

    .icon-accent,
    .icon-danger {
        font-size: 2rem;
    }

    .floating-device {
        max-width: 260px;
    }

    footer p {
        font-size: 0.8rem;
        text-align: center;
    }

    .nav-links {
        display: none;
    }
}