:root {
    --bg-dark: #050507;
    --text-main: #f0f0f5;
    --text-muted: #a0a0b0;
    --accent-red: #ff3e3e;
    --accent-glow: rgba(255, 62, 62, 0.5);
    --accent-cyan: #00f0ff;
    --glass-bg: rgba(20, 20, 25, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

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

/* Custom Cursor Glow */
.cursor-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.15;
    mix-blend-mode: screen;
    transition: width 0.3s, height 0.3s;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(5,5,7,0.9) 0%, transparent 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 4rem;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 2px;
}

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

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-cyan);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    padding: 0.6rem 1.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    border-color: var(--accent-red);
    box-shadow: 0 0 15px var(--accent-glow);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    padding: 0 4rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transform: scale(1.05); /* Slight scale for animation */
    animation: slowZoom 20s infinite alternate linear;
}

@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #050507 0%, rgba(5,5,7,0.6) 40%, rgba(5,5,7,0.1) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin-top: 5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.5s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--accent-cyan);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    border-radius: 30px;
    margin-bottom: 2rem;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

/* Glitch Effect */
.glitch {
    position: relative;
    color: white;
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--accent-red);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--accent-cyan);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(31px, 9999px, 94px, 0); }
    5% { clip: rect(70px, 9999px, 71px, 0); }
    10% { clip: rect(29px, 9999px, 83px, 0); }
    15% { clip: rect(16px, 9999px, 91px, 0); }
    20% { clip: rect(2px, 9999px, 23px, 0); }
    25% { clip: rect(46px, 9999px, 73px, 0); }
    30% { clip: rect(53px, 9999px, 48px, 0); }
    35% { clip: rect(6px, 9999px, 53px, 0); }
    40% { clip: rect(29px, 9999px, 66px, 0); }
    100% { clip: rect(11px, 9999px, 63px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 100px, 0); }
    5% { clip: rect(52px, 9999px, 74px, 0); }
    10% { clip: rect(79px, 9999px, 85px, 0); }
    15% { clip: rect(75px, 9999px, 5px, 0); }
    20% { clip: rect(67px, 9999px, 61px, 0); }
    25% { clip: rect(14px, 9999px, 79px, 0); }
    30% { clip: rect(1px, 9999px, 66px, 0); }
    35% { clip: rect(86px, 9999px, 30px, 0); }
    40% { clip: rect(23px, 9999px, 98px, 0); }
    100% { clip: rect(85px, 9999px, 72px, 0); }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 3rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 4rem;
}

.cta-button {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 1.5px;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.primary-cta {
    background-color: var(--accent-red);
    color: white;
    border: 1px solid var(--accent-red);
    box-shadow: 0 0 20px var(--accent-glow);
}

.primary-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.primary-cta:hover::before {
    left: 100%;
}

.primary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 30px var(--accent-glow);
    background-color: #ff5252;
}

.secondary-cta {
    background-color: var(--glass-bg);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    gap: 0.5rem;
}

.secondary-cta:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.play-icon {
    transition: transform 0.3s ease;
}

.secondary-cta:hover .play-icon {
    transform: scale(1.1);
    color: var(--accent-cyan);
}

/* Tech Stats */
.tech-stats {
    display: flex;
    gap: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Layout & Sections */
.section {
    padding: 8rem 4rem;
    position: relative;
    z-index: 5;
    background: var(--bg-dark);
}

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

.text-accent {
    color: var(--accent-red);
}

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

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.section-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* About Section */
.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    font-size: 1.05rem;
}

.bullet {
    width: 12px;
    height: 12px;
    background-color: var(--accent-cyan);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--accent-cyan);
    transform: rotate(45deg);
}

.image-frame {
    position: relative;
    padding: 1rem;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
}

.image-frame img {
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: grayscale(20%) contrast(1.2);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.image-frame:hover img {
    transform: scale(1.02);
    filter: grayscale(0%) contrast(1.1);
}

.frame-corners {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid transparent;
    pointer-events: none;
}
.frame-corners::before, .frame-corners::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border-color: var(--accent-red);
    border-style: solid;
}
.frame-corners::before {
    top: 0; left: 0;
    border-width: 2px 0 0 2px;
}
.frame-corners::after {
    bottom: 0; right: 0;
    border-width: 0 2px 2px 0;
}

/* Features Section */
.features-section {
    background: linear-gradient(to bottom, var(--bg-dark), #0a0a0e, var(--bg-dark));
}

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

.feature-card {
    background: rgba(20, 20, 25, 0.4);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    transition: all 0.4s ease;
    overflow: hidden;
}

.feature-card:hover {
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
    transform: translateY(-10px);
}

.card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.feature-card:hover .card-image img {
    transform: scale(1.15);
}

.card-content {
    padding: 2.5rem 2rem;
}

.card-content h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-main);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer Section */
.footer {
    border-top: 1px solid var(--glass-border);
    background: #020203;
    padding: 6rem 4rem 3rem;
    z-index: 5;
    position: relative;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.footer-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-icon {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.social-icon:hover {
    color: var(--accent-red);
    border-color: var(--accent-red);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: var(--text-main);
}

/* Animations */
.text-reveal, .image-reveal, .card-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .section-grid { grid-template-columns: 1fr; gap: 4rem; }
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 4rem; }
    .hero-background { background-position: 70% center; }
}

@media (max-width: 768px) {
    .navbar { padding: 1.5rem 2rem; }
    .nav-links, .nav-cta { display: none; }
    .hero-section { padding: 0 2rem; }
    .section, .footer { padding: 4rem 2rem; }
    .hero-title { font-size: 3rem; }
    .cta-group { flex-direction: column; align-items: flex-start; }
    .cta-button { width: 100%; }
    .tech-stats { gap: 2rem; flex-wrap: wrap; }
    .cards-grid { grid-template-columns: 1fr; }
    .footer-top { flex-direction: column; gap: 2rem; text-align: center; }
    .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
}
