@import url('services.css');
@import url('layout-extras.css');
@import url('ui-components.css');

/* === BRUTALIST THEME VARIABLES === */
:root {
    --bg-color: #0d0d0d;
    --text-color: #f2f2f2;
    --accent-color: #ff6600;
    /* Deep brutalist orange */
    --secondary-color: #1a1a1a;
    --grid-line: rgba(255, 255, 255, 0.1);
    --font-display: 'Bebas Neue', 'Impact', sans-serif;
    --font-mono: 'Roboto Mono', 'Courier New', monospace;
    --shadow-block: 5px 5px 0px 0px rgba(255, 255, 255, 0.1);
}

/* === RESET & BASE === */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img, video {
    max-width: 100%;
    height: auto;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-mono);
    font-size: 16px;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* === UTILITIES === */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

.glitch {
    position: relative;
    display: inline-block;
    color: var(--text-color);
}

/* === GRID OVERLAY === */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.1;
    z-index: 1000;
}

/* === HEADER === */
.header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--accent-color);
    z-index: 999;
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-color);
    display: flex;
    align-items: baseline;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--accent-color);
}

.logo-dot {
    color: var(--accent-color);
    font-size: 2.5rem;
    line-height: 0;
}

.nav {
    display: none;
    /* Mobile first, hidden by default */
}

@media (min-width: 1024px) {
    .nav {
        display: block;
    }
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.phone-link {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--accent-color);
    display: none;
}

@media (min-width: 768px) {
    .phone-link {
        display: block;
    }
}

.btn-lang {
    background: transparent;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    padding: 0.3rem 0.8rem;
    font-family: var(--font-mono);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-lang:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

.burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

@media (min-width: 1024px) {
    .burger-menu {
        display: none;
    }
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* Mobile Menu Active State */
.nav.active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid var(--accent-color);
    animation: slideDown 0.3s ease-out;
}

.nav.active .nav-list {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
}

.nav.active .nav-link {
    font-size: 2rem;
}

/* Burger Animation */
.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.no-scroll {
    overflow: hidden;
}

/* === HERO SECTION === */
.hero {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-top: 4rem;
    padding-bottom: 6rem;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 5rem;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-color);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        box-shadow: 0 0 0px var(--accent-color);
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 15px var(--accent-color);
    }

    100% {
        opacity: 0.5;
        box-shadow: 0 0 0px var(--accent-color);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    line-height: 0.95;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    word-break: break-word;
}

.hero-title .glitch {
    margin-bottom: -0.1em;
}

.outlined {
    color: transparent;
    -webkit-text-stroke: 2px var(--text-color);
    opacity: 0.8;
}

.highlight {
    color: var(--accent-color);
}

.hero-title .highlight {
    margin-top: 0.2em;
    font-size: clamp(1.2rem, 4vw, 2.5rem);
    letter-spacing: 5px;
    word-spacing: 5px;
}

.hero-desc {
    max-width: 500px;
    color: #a0a0a0;
    font-size: 1rem;
    border-left: 2px solid var(--accent-color);
    padding-left: 1.5rem;
    margin-top: 1rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2rem;
    font-family: var(--font-mono);
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-color);
    box-shadow: var(--shadow-block);
    border: 2px solid var(--accent-color);
}

.btn-primary:active {
    transform: translate(2px, 2px);
    box-shadow: none;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-color);
    color: var(--text-color);
}

.btn-outline:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.tech-specs {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--grid-line);
}

.spec-item {
    display: flex;
    flex-direction: column;
}

.spec-val {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--text-color);
    line-height: 1;
}

.spec-label {
    font-size: 0.7rem;
    color: #666;
    margin-top: 0.5rem;
    letter-spacing: 1px;
}

/* === VISUAL SECTION === */
.hero-visual {
    display: none;
}

@media (min-width: 1024px) {
    .hero-visual {
        display: flex;
        position: relative;
        height: 100%;
        justify-content: center;
        align-items: center;
    }
}

.hero-image-wrapper {
    width: 100%;
    max-width: 650px;
    aspect-ratio: 16/10;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: rgba(26, 26, 26, 0.5);
    border: 1px solid var(--grid-line);
    margin: 0 auto;
    /* OVERFLOW VISIBLE: Allows data card and image elements to break out */
    overflow: visible;
    backdrop-filter: blur(4px);
}

/* Tech HUD Corner Brackets */
.hero-image-wrapper::before,
.hero-image-wrapper::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border-color: var(--accent-color);
    border-style: solid;
    pointer-events: none;
    z-index: 10;
    transition: all 0.3s ease;
}

.hero-image-wrapper::before {
    top: -2px;
    left: -2px;
    border-width: 3px 0 0 3px;
}

.hero-image-wrapper::after {
    bottom: -2px;
    right: -2px;
    border-width: 0 3px 3px 0;
}

/* Hover scanning effect */
.hero-image-wrapper:hover::before {
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    opacity: 0.3;
}

.hero-image-wrapper:hover::after {
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    opacity: 0.3;
}

.hero-auto-image {
    width: 95%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 5;
    opacity: 0;
    filter: drop-shadow(10px 15px 15px rgba(0, 0, 0, 0.9));
    animation:
        drift-in 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards,
        auto-levitate 4s ease-in-out infinite 1.5s;
}

@keyframes auto-levitate {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes drift-in {
    0% {
        opacity: 0;
        transform: translateX(50px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes zoom-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.data-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--bg-color);
    border: 1px solid var(--grid-line);
    padding: 1.5rem;
    width: 250px;
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.7);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    z-index: 20;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-weight: bold;
}

.live-dot {
    width: 6px;
    height: 6px;
    background-color: red;
    border-radius: 50%;
    animation: pulse 1s infinite;
}

.card-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: #aaa;
}

.card-row.highlight {
    color: var(--text-color);
    font-weight: bold;
    margin-top: 1rem;
    border-top: 1px dashed var(--grid-line);
    padding-top: 0.5rem;
}

/* === BRUTALIST 2-COLUMN SPLIT (REQUEST SECTION) === */
.request-section {
    padding: 6rem 0;
    background-color: var(--secondary-color);
    /* explicitly set for clarity */
}

.request-split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

@media (min-width: 1024px) {
    .request-split-layout {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.request-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-heading {
    font-family: var(--font-display);
    font-size: 2.5rem;
    letter-spacing: 2px;
    color: var(--text-color);
}

.brutalist-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.brutalist-list li {
    display: flex;
    gap: 1.5rem;
}

.list-icon {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--accent-color);
    line-height: 1;
    border-bottom: 2px solid var(--accent-color);
    height: max-content;
    padding-bottom: 0.2rem;
}

.list-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.list-content strong {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    text-transform: uppercase;
    color: var(--text-color);
    letter-spacing: 1px;
}

.list-content span {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #a0a0a0;
    line-height: 1.5;
}

.trust-card {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 1px dashed var(--grid-line);
    background: rgba(255, 255, 255, 0.02);
    margin-top: 1rem;
}

.trust-indicator {
    width: 12px;
    height: 12px;
    background-color: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff00;
    animation: pulse 2s infinite;
}

.trust-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.trust-title {
    font-family: var(--font-mono);
    font-weight: bold;
    color: var(--text-color);
    font-size: 1rem;
}

.trust-sub {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #666;
}

.request-form-container {
    position: relative;
}