/* TEYES Global Styles - V9.1 Fixed */
:root {
    --bg-dark: #050505;
    --primary: #2962FF;
    --cyan: #00E5FF;
    --text-gray: #9CA3AF;
    --locked: #DC2626;
    --error: #EF4444;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    color: #fff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Utilities */
/* Global full-width layout container */
.container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 1.5rem;
}

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

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.flex-wrap {
    flex-wrap: wrap;
}

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

.items-end {
    align-items: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-end {
    justify-content: flex-end;
}

/* Added */
.gap-2 {
    gap: 0.5rem;
}

/* Added */
.gap-3 {
    gap: 0.75rem;
}

.hidden {
    display: none;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.z-10 {
    z-index: 10;
}

.w-full {
    width: 100%;
}

.h-screen {
    height: 100vh;
}

.inline-block {
    display: inline-block;
}

.block {
    display: block;
}

.text-xs {
    font-size: 0.65rem;
}

.text-sm {
    font-size: 0.75rem;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.uppercase {
    text-transform: uppercase;
}

.font-tech {
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #222;
}

@supports not (backdrop-filter: blur(10px)) {
    nav {
        background: rgba(5, 5, 5, 0.98);
    }
}

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

.nav-logo {
    height: 36px;
    transition: opacity 0.3s;
}

.nav-logo:hover {
    opacity: 0.8;
}

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

.mobile-lock {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
}

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

    .mobile-lock {
        display: none;
    }
}

/* Buttons */
.btn-electric {
    background: var(--primary);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s;
    border: 1px solid var(--primary);
    cursor: pointer;
    font-size: 0.875rem;
}

.btn-electric:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 0 25px rgba(41, 98, 255, 0.6);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    border: 1px solid #333;
    color: #aaa;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-ghost:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.btn-loading {
    color: transparent !important;
    pointer-events: none;
    position: relative;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Hero Section */
#hero-section {
    display: flex;
    align-items: center;
    padding: 7rem 0 2rem;
}

.cyber-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: linear-gradient(rgba(41, 98, 255, 0.15) 1px, transparent 1px), linear-gradient(90deg, rgba(41, 98, 255, 0.15) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 80%);
}

.hero-layout {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

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

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

.hero-img-wrap {
    width: 100%;
    max-width: 640px;
    aspect-ratio: 1280 / 803;
    padding: 1.25rem;
    border: 1px solid #222;
    border-radius: 1rem;
    background: radial-gradient(circle at 30% 20%, rgba(41, 98, 255, 0.22), rgba(0, 0, 0, 0));
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.hero-picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.hero-title {
    font-size: 2.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--cyan));
    -webkit-background-clip: text;
    color: transparent;
}

.hero-desc {
    color: var(--text-gray);
    font-size: 1rem;
    max-width: 42rem;
    margin: 0 auto 2rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.25rem;
    }

    .hero-desc {
        font-size: 1.25rem;
    }

    .hero-actions {
        flex-direction: row;
        justify-content: flex-start;
    }

    .hero-content {
        text-align: left;
    }

    .hero-desc {
        margin: 0 0 2rem;
    }
}

@media (min-width: 1024px) {
    .hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 2.5rem;
    }

    .hero-title {
        font-size: 5.2rem;
    }

    .hero-img-wrap {
        max-width: 700px;
    }
}

/* Data Strip */
.data-strip {
    background: #0a0a0a;
    border-bottom: 1px solid #222;
    padding: 3rem 0;
    position: relative;
    z-index: 20;
}

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

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

.data-item {
    border-left: 2px solid var(--primary);
    padding-left: 1rem;
}

.data-val {
    font-size: 2.25rem;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
}

.data-label {
    font-size: 0.65rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-top: 0.25rem;
}

/* Bento & Cards */
.section-py {
    padding: 6rem 0;
    border-bottom: 1px solid #222;
    position: relative;
    z-index: 20;
}

.tech-grid {
    display: grid;
    gap: 2rem;
}

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

.tech-card {
    background: #0f0f0f;
    border: 1px solid #222;
    padding: 2.5rem;
    border-radius: 0.75rem;
    transition: 0.3s;
}

.tech-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    background: #141414;
}

.card-title {
    font-size: 1.875rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.card-desc {
    color: var(--text-gray);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Bento Images */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
    height: 500px;
}

@media (min-width: 768px) {
    .bento-grid {
        height: 600px;
    }
}

.bento-item {
    border-radius: 0.75rem;
    border: 1px solid #222;
    position: relative;
    overflow: hidden;
    background: #0a0a0a;
}

.bento-big {
    grid-column: span 12;
    grid-row: span 1;
}

.bento-small {
    grid-column: span 6;
    grid-row: span 1;
}

@media (min-width: 768px) {
    .bento-big {
        grid-column: span 7;
        grid-row: span 2;
    }

    .bento-small {
        grid-column: span 5;
    }
}

.bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(50%) brightness(0.9);
    transition: 0.6s ease;
}

.bento-item:hover .bento-img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    pointer-events: none;
}

.bento-text {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 20;
}

/* Product Section */
.prod-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .prod-container {
        flex-direction: row;
    }

    .prod-img-box {
        width: 50%;
    }

    .prod-info {
        width: 50%;
        text-align: left;
    }
}

.prod-img-box {
    position: relative;
    background: #111;
    border: 1px solid #222;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.prod-img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.spec-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: #111;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border-radius: 0.25rem;
}

/* Map */
.map-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #111;
    border: 1px solid #222;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.map-bg {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/8/80/World_map_-_low_resolution.svg');
    background-size: cover;
    background-position: center;
    filter: invert(1);
}

.map-point {
    position: absolute;
    width: 30px;
    height: 30px;
    transform: translate(-50%, -50%);
    z-index: 20;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.point-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
}

.locked-point .point-dot {
    background: var(--locked);
    box-shadow: 0 0 6px rgba(220, 38, 38, 0.8);
}

.open-point .point-dot {
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary);
    width: 12px;
    height: 12px;
    position: relative;
}

.ring {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    animation: ping 2.5s infinite;
    opacity: 0.5;
    top: -6px;
    left: -6px;
}

@keyframes ping {

    75%,
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.tooltip-box {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid #333;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 10px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: 0.2s;
    z-index: 30;
    font-weight: 700;
    color: #fff;
}

.map-point:hover .tooltip-box,
.map-point:focus .tooltip-box {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.prod-hotspot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--cyan);
    border-radius: 50%;
    animation: pulse-cyan 2s infinite;
    cursor: crosshair;
}

@keyframes pulse-cyan {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 229, 255, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 229, 255, 0);
    }
}

/* Form */
.form-box {
    max-width: 36rem;
    margin: 0 auto;
    background: #111;
    border: 1px solid #222;
    padding: 2.5rem;
    border-radius: 0.75rem;
    position: relative;
    overflow: hidden;
}

.form-input {
    width: 100%;
    background: #080808;
    border: 1px solid #333;
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    outline: none;
    transition: 0.3s;
    font-size: 0.875rem;
    display: block;
    margin-top: 0.25rem;
}

.form-input:focus {
    border-color: var(--primary);
    background: #000;
}

.form-input.error {
    border-color: var(--error);
    background: rgba(239, 68, 68, 0.05);
}

.error-msg {
    display: none;
    color: var(--error);
    font-size: 0.625rem;
    margin-top: 0.25rem;
    font-weight: 600;
    text-transform: uppercase;
}

.form-input.error+.error-msg {
    display: block;
}

.form-label {
    display: block;
    font-size: 0.625rem;
    color: #666;
    text-transform: uppercase;
    font-weight: 800;
}

select.form-input {
    appearance: none;
    -webkit-appearance: none;
    background-color: #080808 !important;
    color: #fff;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    cursor: pointer;
}

/* FAQ FIXED */
.faq-item {
    border-bottom: 1px solid #222;
}

.faq-question {
    cursor: pointer;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    width: 100%;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease;
    color: #888;
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 250px;
    padding-bottom: 1.5rem;
}

.faq-toggle {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
    color: var(--cyan);
}

/* Misc */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(17, 17, 17, 0.98);
    border-top: 1px solid #333;
    padding: 1rem;
    z-index: 99;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.4s;
    backdrop-filter: blur(10px);
}

.sticky-hidden {
    transform: translateY(105%);
}

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

.reveal {
    opacity: 1;
    transform: none;
}

#error-toast {
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}