:root {
    --bg-color: #020c1b;
    --text-primary: #e6f1ff;
    --text-secondary: #8892b0;
    --accent-green: #64ffda;
    --accent-cyan: #00fff2;
    --accent-purple: #bd34fe;
    --glass-bg: rgba(10, 25, 47, 0.85);
    --glass-border: rgba(100, 255, 218, 0.2);
    --neon-glow: 0 0 10px rgba(100, 255, 218, 0.5), 0 0 20px rgba(100, 255, 218, 0.3);
    --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Typography */
h1,
h2,
h3,
h4,
.brand-logo,
.btn {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
}

.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(10px, 9999px, 31px, 0);
    }

    5% {
        clip: rect(70px, 9999px, 78px, 0);
    }

    10% {
        clip: rect(25px, 9999px, 60px, 0);
    }

    15% {
        clip: rect(6px, 9999px, 86px, 0);
    }

    20% {
        clip: rect(58px, 9999px, 91px, 0);
    }

    100% {
        clip: rect(28px, 9999px, 30px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(65px, 9999px, 100px, 0);
    }

    5% {
        clip: rect(56px, 9999px, 63px, 0);
    }

    10% {
        clip: rect(28px, 9999px, 8px, 0);
    }

    15% {
        clip: rect(19px, 9999px, 53px, 0);
    }

    20% {
        clip: rect(6px, 9999px, 86px, 0);
    }

    100% {
        clip: rect(48px, 9999px, 16px, 0);
    }
}

/* Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    padding: 20px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    color: var(--accent-green);
    cursor: pointer;
    z-index: 1002;
    padding: 8px;
    transition: all 0.3s ease;
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.1);
}

.brand-logo {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-primary);
    text-decoration: none;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.3);
    display: flex;
    align-items: center;
}

.brand-logo span {
    color: var(--accent-green);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'Share Tech Mono', monospace;
    font-size: 14px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-green);
    text-shadow: 0 0 8px var(--accent-green);
}

.lang-switch {
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
    padding: 4px 10px;
    border-radius: 4px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 34px;
    color: var(--accent-green);
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid var(--accent-green);
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 3px;
    font-weight: 700;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(100, 255, 218, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.btn:hover {
    background: rgba(100, 255, 218, 0.25);
    box-shadow: 0 0 25px rgba(100, 255, 218, 0.6);
    text-shadow: 0 0 8px var(--accent-green);
    transform: translateY(-3px);
    border-color: #fff;
    color: #fff;
}

.btn:hover::before {
    transform: translateX(100%);
}

/* Hero */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
}

.hero-label {
    display: inline-block;
    margin-bottom: 25px;
    padding: 10px 20px;
    background: rgba(100, 255, 218, 0.15);
    border-left: 4px solid var(--accent-green);
    border-right: 1px solid rgba(100, 255, 218, 0.3);
    font-size: 15px;
    letter-spacing: 2px;
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.1);
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: clamp(28px, 3.5vw, 45px);
    line-height: 1.3;
    margin-bottom: 35px;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(100, 255, 218, 0.2);
    letter-spacing: 0px;
    animation: titleGlow 4s ease-in-out infinite alternate;
    height: auto;
    min-height: 100px;
    overflow: visible;
}

.hero-title br {
    display: block;
}

@keyframes titleGlow {
    from {
        text-shadow: 0 0 20px rgba(100, 255, 218, 0.2), 0 0 40px rgba(100, 255, 218, 0.1);
    }

    to {
        text-shadow: 0 0 30px rgba(100, 255, 218, 0.3), 0 0 60px rgba(100, 255, 218, 0.2);
    }
}

.hero-typing {
    color: var(--accent-green);
    border-right: 4px solid var(--accent-green);
    animation: blink 0.75s step-end infinite;
    white-space: nowrap;
    display: inline-block;
    max-width: calc(100% - 10px);
    overflow: hidden;
    line-height: 1.3;
    vertical-align: top;
    box-sizing: border-box;
    padding-right: 5px;
}

@keyframes blink {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--accent-green)
    }
}

.hero-desc {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 50px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
}

/* Products */
.section-header {
    margin-bottom: 80px;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background: var(--accent-green);
    box-shadow: var(--neon-glow);
}

.product-card {
    background: rgba(17, 34, 64, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(136, 146, 176, 0.1);
    padding: 0;
    margin-bottom: 120px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.1), transparent);
    transition: left 0.5s;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    border-color: var(--accent-green);
    box-shadow: 0 0 30px rgba(100, 255, 218, 0.1);
}

.product-visual {
    height: 500px;
    background: #0a192f;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(100, 255, 218, 0.1);
}

.product-visual i {
    font-size: 120px;
    color: rgba(100, 255, 218, 0.2);
    z-index: 10;
}

.product-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-number {
    font-family: 'Share Tech Mono', monospace;
    font-size: 14px;
    color: var(--accent-green);
    margin-bottom: 15px;
}

.product-title {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.product-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tech-tag {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: var(--accent-cyan);
    background: rgba(0, 255, 242, 0.05);
    padding: 6px 14px;
    border: 1px solid rgba(0, 255, 242, 0.2);
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 15px;
    transition: color 0.3s ease;
}

.feature-item:hover {
    color: var(--accent-green);
    text-shadow: 0 0 5px var(--accent-green);
}

.feature-item i {
    color: var(--accent-green);
    font-size: 12px;
}

/* Scanning Line Effect in Visuals */
.scan-line {
    width: 100%;
    height: 2px;
    background: var(--accent-green);
    position: absolute;
    z-index: 5;
    animation: scan 3s linear infinite;
    box-shadow: 0 0 10px var(--accent-green);
    opacity: 0.5;
}

@keyframes scan {
    0% {
        top: 0%;
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Abstract Hologram UI */
.holo-circle {
    position: absolute;
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Reverse Card */
.product-card.reverse {
    grid-template-columns: 1fr 1fr;
}

.product-card.reverse .product-visual {
    order: 2;
    border-right: none;
    border-left: 1px solid rgba(100, 255, 218, 0.1);
}

.product-card.reverse .product-content {
    order: 1;
    text-align: right;
    align-items: flex-end;
}

.product-card.reverse .feature-item {
    flex-direction: row-reverse;
}

.product-card.reverse .section-header::after {
    right: 0;
    left: auto;
}

/* Footer */
footer {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid #1c2d50;
    background: #020c1b;
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 30px;
    margin-bottom: 20px;
    display: block;
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 1000px) {
    .hero-title {
        font-size: 60px;
    }

    .product-card,
    .product-card.reverse {
        grid-template-columns: 1fr;
        margin-bottom: 80px;
    }

    .product-visual {
        height: 300px;
        order: 1 !important;
        border: none;
        border-bottom: 1px solid rgba(100, 255, 218, 0.1);
    }

    .product-content {
        order: 2 !important;
        text-align: left !important;
        align-items: flex-start !important;
        padding: 40px;
    }

    .feature-item {
        flex-direction: row !important;
    }

    /* Mobile Navigation */
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(2, 12, 27, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
        z-index: 1001;
        gap: 40px;
    }

    .nav-links.active {
        right: 0;
    }

    .product-number {
        font-size: 12px;
    }

    .product-title {
        font-size: 32px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .brand-logo {
        font-size: 22px;
    }

    .brand-logo img {
        height: 40px !important;
    }

    .hero-title {
        font-size: 36px;
    }
}

/* CRT Screen Effect Overlay */
.crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    background-size: 100% 2px, 3px 100%;
    z-index: 9998;
    pointer-events: none;
    animation: crtFlicker 0.05s infinite;
}

@keyframes crtFlicker {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 0.75;
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: clamp(22px, 7vw, 35px);
        line-height: 1.4;
        min-height: 80px;
    }

    .hero-content {
        padding: 20px 5px;
    }

    .hero-typing {
        max-width: calc(100% - 10px);
        font-size: clamp(20px, 6vw, 32px);
        line-height: 1.4;
    }

    .hero-label {
        font-size: 12px;
        padding: 8px 15px;
        margin-bottom: 15px;
    }

    .hero-desc {
        font-size: 14px;
        line-height: 1.5;
    }

    .product-card {
        margin-bottom: 50px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .product-content {
        padding: 30px 20px;
    }

    .product-title {
        font-size: 28px;
    }

    .section-header {
        margin-bottom: 40px;
    }
}