/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00f0ff;
    --secondary-color: #7b2dff;
    --accent-color: #ff2d7b;
    --bg-dark: #0a0a1a;
    --bg-darker: #050510;
    --text-light: #ffffff;
    --text-muted: #8892b0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Stars background */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    background: #ffffff;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Animated grid background */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }
    100% {
        transform: perspective(500px) rotateX(60deg) translateY(50px);
    }
}

/* Particles container */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
    animation: float-particle 15s infinite;
    opacity: 0;
}

@keyframes float-particle {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(1);
    }
}

/* Container */
.container {
    position: relative;
    z-index: 2;
    min-height: 100vh;
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(10, 10, 26, 0.9), transparent);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 2rem;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        filter: drop-shadow(0 0 5px var(--primary-color));
    }
    50% {
        filter: drop-shadow(0 0 20px var(--primary-color)) drop-shadow(0 0 40px var(--secondary-color));
    }
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

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

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

/* Mobile menu button - hidden by default */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 101;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 0 5px var(--primary-color);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile navigation overlay */
.nav-links.mobile-active {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 26, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 100;
    animation: fadeIn 0.3s ease;
}

.nav-links.mobile-active a {
    font-size: 1.5rem;
    color: var(--text-light);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

/* Glitch effect */
.glitch-wrapper {
    position: relative;
    display: inline-block;
}

.title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    position: relative;
    text-shadow:
        0 0 10px var(--primary-color),
        0 0 20px var(--primary-color),
        0 0 40px var(--primary-color),
        0 0 80px var(--secondary-color);
    animation: text-glow 3s ease-in-out infinite alternate;
}

@keyframes text-glow {
    from {
        text-shadow:
            0 0 10px var(--primary-color),
            0 0 20px var(--primary-color),
            0 0 40px var(--primary-color),
            0 0 80px var(--secondary-color);
    }
    to {
        text-shadow:
            0 0 20px var(--primary-color),
            0 0 40px var(--secondary-color),
            0 0 60px var(--secondary-color),
            0 0 100px var(--accent-color);
    }
}

.glitch {
    animation: glitch 5s infinite;
}

.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-color);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--secondary-color);
    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, 24px, 0); }
    15% { clip: rect(69px, 9999px, 64px, 0); }
    20% { clip: rect(14px, 9999px, 1px, 0); }
    25% { clip: rect(22px, 9999px, 92px, 0); }
    30% { clip: rect(83px, 9999px, 54px, 0); }
    35% { clip: rect(60px, 9999px, 8px, 0); }
    40% { clip: rect(31px, 9999px, 94px, 0); }
    45% { clip: rect(5px, 9999px, 65px, 0); }
    50% { clip: rect(44px, 9999px, 23px, 0); }
    55% { clip: rect(89px, 9999px, 36px, 0); }
    60% { clip: rect(18px, 9999px, 78px, 0); }
    65% { clip: rect(95px, 9999px, 12px, 0); }
    70% { clip: rect(7px, 9999px, 47px, 0); }
    75% { clip: rect(52px, 9999px, 85px, 0); }
    80% { clip: rect(33px, 9999px, 16px, 0); }
    85% { clip: rect(76px, 9999px, 61px, 0); }
    90% { clip: rect(19px, 9999px, 99px, 0); }
    95% { clip: rect(42px, 9999px, 3px, 0); }
    100% { clip: rect(88px, 9999px, 57px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 100px, 0); }
    5% { clip: rect(12px, 9999px, 47px, 0); }
    10% { clip: rect(88px, 9999px, 35px, 0); }
    15% { clip: rect(3px, 9999px, 82px, 0); }
    20% { clip: rect(56px, 9999px, 19px, 0); }
    25% { clip: rect(91px, 9999px, 66px, 0); }
    30% { clip: rect(24px, 9999px, 8px, 0); }
    35% { clip: rect(77px, 9999px, 53px, 0); }
    40% { clip: rect(40px, 9999px, 97px, 0); }
    45% { clip: rect(6px, 9999px, 29px, 0); }
    50% { clip: rect(73px, 9999px, 14px, 0); }
    55% { clip: rect(38px, 9999px, 61px, 0); }
    60% { clip: rect(95px, 9999px, 42px, 0); }
    65% { clip: rect(11px, 9999px, 88px, 0); }
    70% { clip: rect(59px, 9999px, 5px, 0); }
    75% { clip: rect(84px, 9999px, 71px, 0); }
    80% { clip: rect(27px, 9999px, 33px, 0); }
    85% { clip: rect(50px, 9999px, 90px, 0); }
    90% { clip: rect(16px, 9999px, 57px, 0); }
    95% { clip: rect(68px, 9999px, 22px, 0); }
    100% { clip: rect(45px, 9999px, 79px, 0); }
}

.subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.2rem, 4vw, 2.5rem);
    font-weight: 400;
    margin-top: 1rem;
    color: var(--primary-color);
    letter-spacing: 0.3em;
    min-height: 3rem;
}

.cursor {
    animation: blink 0.8s infinite;
    color: var(--accent-color);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.tagline {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
    letter-spacing: 0.2em;
    animation: fadeInUp 1s ease-out 0.5s both, shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
        text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hex Grid Animation */
.hex-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 20px;
    margin-top: 200px;
    z-index: 5;
}

.hex {
    width: 60px;
    height: 60px;
    background: transparent;
    border: 2px solid var(--primary-color);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: hexPulse 3s ease-in-out infinite;
    position: relative;
}

.hex::before {
    content: '';
    position: absolute;
    inset: 5px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(123, 45, 255, 0.1));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hex:nth-child(1) { animation-delay: 0s; }
.hex:nth-child(2) { animation-delay: 0.2s; }
.hex:nth-child(3) { animation-delay: 0.4s; }
.hex:nth-child(4) { animation-delay: 0.6s; }
.hex:nth-child(5) { animation-delay: 0.8s; }

@keyframes hexPulse {
    0%, 100% {
        transform: scale(1);
        border-color: var(--primary-color);
        box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
    }
    50% {
        transform: scale(1.1);
        border-color: var(--secondary-color);
        box-shadow: 0 0 30px rgba(123, 45, 255, 0.5);
    }
}

/* Energy Lines */
.energy-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    pointer-events: none;
}

.energy-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), transparent);
    animation: energyFlow 4s linear infinite;
    opacity: 0.6;
}

.energy-line:nth-child(1) {
    width: 300px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.energy-line:nth-child(2) {
    width: 400px;
    top: 80%;
    right: 10%;
    animation-delay: 1.5s;
}

.energy-line:nth-child(3) {
    width: 250px;
    top: 50%;
    left: 5%;
    animation-delay: 3s;
}

@keyframes energyFlow {
    0% {
        transform: translateX(-100%) scaleX(0);
        opacity: 0;
    }
    20% {
        transform: translateX(0) scaleX(1);
        opacity: 0.8;
    }
    80% {
        transform: translateX(100%) scaleX(1);
        opacity: 0.8;
    }
    100% {
        transform: translateX(200%) scaleX(0);
        opacity: 0;
    }
}

/* Scanning line effect */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), transparent);
    animation: scanLine 4s linear infinite;
    opacity: 0.5;
    z-index: 20;
}

@keyframes scanLine {
    0% {
        top: 0;
    }
    100% {
        top: 100%;
    }
}

/* Data streams */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 240, 255, 0.01) 2px,
            rgba(0, 240, 255, 0.01) 4px
        );
    pointer-events: none;
    animation: dataStream 0.5s steps(3) infinite;
}

@keyframes dataStream {
    0% { background-position: 0 0; }
    100% { background-position: 0 10px; }
}

/* Corner Decorations */
.corner-decoration {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid transparent;
    pointer-events: none;
    z-index: 15;
}

.corner-decoration::before,
.corner-decoration::after {
    content: '';
    position: absolute;
    background: var(--primary-color);
    animation: cornerPulse 2s ease-in-out infinite;
}

.corner-decoration::before {
    width: 30px;
    height: 2px;
}

.corner-decoration::after {
    width: 2px;
    height: 30px;
}

.top-left {
    top: 50px;
    left: 50px;
}
.top-left::before { top: 0; left: 0; }
.top-left::after { top: 0; left: 0; }

.top-right {
    top: 50px;
    right: 50px;
}
.top-right::before { top: 0; right: 0; }
.top-right::after { top: 0; right: 0; }

.bottom-left {
    bottom: 50px;
    left: 50px;
}
.bottom-left::before { bottom: 0; left: 0; }
.bottom-left::after { bottom: 0; left: 0; }

.bottom-right {
    bottom: 50px;
    right: 50px;
}
.bottom-right::before { bottom: 0; right: 0; }
.bottom-right::after { bottom: 0; right: 0; }

@keyframes cornerPulse {
    0%, 100% {
        opacity: 0.5;
        box-shadow: 0 0 5px var(--primary-color);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 15px var(--primary-color), 0 0 30px var(--secondary-color);
    }
}

/* Orbit Container */
.orbit-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    pointer-events: none;
}

.orbit-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-color), 0 0 30px var(--accent-color);
    animation: orbitMove 8s linear infinite;
}

.orbit-dot:nth-child(1) {
    animation-delay: 0s;
}

.orbit-dot:nth-child(2) {
    animation-delay: -2.66s;
    background: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color), 0 0 30px var(--primary-color);
}

.orbit-dot:nth-child(3) {
    animation-delay: -5.33s;
    background: var(--secondary-color);
    box-shadow: 0 0 15px var(--secondary-color), 0 0 30px var(--secondary-color);
}

@keyframes orbitMove {
    0% {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    25% {
        top: 50%;
        left: 100%;
        transform: translate(-50%, -50%);
    }
    50% {
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
    }
    75% {
        top: 50%;
        left: 0;
        transform: translate(-50%, -50%);
    }
    100% {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Binary Rain */
.binary-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.binary-column {
    position: absolute;
    top: -100%;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--primary-color);
    opacity: 0.3;
    animation: binaryFall linear infinite;
    text-shadow: 0 0 5px var(--primary-color);
}

@keyframes binaryFall {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(300vh);
    }
}

/* Tech Circles */
.tech-circles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    pointer-events: none;
}

.circle {
    position: absolute;
    border: 1px solid;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.circle-1 {
    width: 300px;
    height: 300px;
    border-color: rgba(0, 240, 255, 0.2);
    animation: rotate-circle 20s linear infinite;
}

.circle-2 {
    width: 450px;
    height: 450px;
    border-color: rgba(123, 45, 255, 0.15);
    animation: rotate-circle 30s linear infinite reverse;
}

.circle-3 {
    width: 600px;
    height: 600px;
    border-color: rgba(255, 45, 123, 0.1);
    animation: rotate-circle 40s linear infinite;
}

.circle::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px var(--primary-color);
}

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

/* Floating Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.float-item {
    position: absolute;
    font-size: 2rem;
    left: var(--x);
    top: var(--y);
    animation: float 6s ease-in-out infinite;
    animation-delay: var(--delay);
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.5));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s infinite;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

.scroll-indicator span {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .tech-circles {
        width: 450px;
        height: 450px;
    }

    .circle-1 { width: 200px; height: 200px; }
    .circle-2 { width: 325px; height: 325px; }
    .circle-3 { width: 450px; height: 450px; }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .header {
        padding: 1rem 4%;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo-icon {
        font-size: 1.5rem;
    }

    .nav-links {
        display: none;
    }

    /* Mobile menu button */
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
    }

    .mobile-menu-btn span {
        width: 25px;
        height: 2px;
        background: var(--primary-color);
        transition: all 0.3s ease;
    }

    .hero {
        padding: 1.5rem;
        padding-top: 80px;
    }

    .hero-content {
        padding: 0 10px;
    }

    .title {
        font-size: clamp(2rem, 10vw, 4rem);
        letter-spacing: 0.05em;
    }

    .subtitle {
        font-size: clamp(0.9rem, 4vw, 1.5rem);
        letter-spacing: 0.15em;
        min-height: 2.5rem;
        margin-top: 0.5rem;
    }

    .tagline {
        font-size: 0.9rem;
        letter-spacing: 0.1em;
        margin-top: 1rem;
        padding: 0 10px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 2rem;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 0.8rem;
        width: 200px;
    }

    .tech-circles {
        width: 280px;
        height: 280px;
    }

    .circle-1 { width: 120px; height: 120px; }
    .circle-2 { width: 200px; height: 200px; }
    .circle-3 { width: 280px; height: 280px; }

    .circle::before {
        width: 6px;
        height: 6px;
    }

    .float-item {
        font-size: 1.2rem;
        opacity: 0.7;
    }

    .floating-elements {
        display: none;
    }

    .scroll-indicator {
        bottom: 1.5rem;
    }

    .scroll-indicator span {
        font-size: 0.6rem;
    }

    .mouse {
        width: 20px;
        height: 32px;
    }

    .grid-background {
        background-size: 30px 30px;
    }

    .hex-grid {
        gap: 10px;
        margin-top: 160px;
    }

    .hex {
        width: 40px;
        height: 40px;
    }

    .energy-lines {
        display: none;
    }

    .corner-decoration {
        width: 50px;
        height: 50px;
    }

    .corner-decoration::before {
        width: 20px;
    }

    .corner-decoration::after {
        height: 20px;
    }

    .top-left, .bottom-left { left: 20px; }
    .top-right, .bottom-right { right: 20px; }
    .top-left, .top-right { top: 70px; }
    .bottom-left, .bottom-right { bottom: 20px; }

    .orbit-container {
        width: 300px;
        height: 300px;
    }

    .orbit-dot {
        width: 6px;
        height: 6px;
    }

    .binary-rain {
        display: none;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
    .header {
        padding: 0.8rem 3%;
    }

    .logo {
        font-size: 1rem;
    }

    .logo-icon {
        font-size: 1.2rem;
    }

    .hero {
        padding: 1rem;
        padding-top: 70px;
    }

    .title {
        font-size: clamp(1.8rem, 12vw, 3rem);
    }

    .subtitle {
        font-size: clamp(0.7rem, 3.5vw, 1.2rem);
        letter-spacing: 0.1em;
    }

    .tagline {
        font-size: 0.75rem;
        letter-spacing: 0.05em;
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.7rem;
        width: 180px;
    }

    .tech-circles {
        width: 220px;
        height: 220px;
    }

    .circle-1 { width: 90px; height: 90px; }
    .circle-2 { width: 155px; height: 155px; }
    .circle-3 { width: 220px; height: 220px; }

    .scroll-indicator {
        display: none;
    }

    .hex-grid {
        gap: 8px;
        margin-top: 140px;
    }

    .hex {
        width: 30px;
        height: 30px;
    }

    .corner-decoration {
        display: none;
    }

    .orbit-container {
        width: 200px;
        height: 200px;
    }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 2rem 2rem;
    }

    .tech-circles {
        width: 200px;
        height: 200px;
    }

    .circle-1 { width: 80px; height: 80px; }
    .circle-2 { width: 140px; height: 140px; }
    .circle-3 { width: 200px; height: 200px; }

    .scroll-indicator {
        display: none;
    }

    .cta-buttons {
        flex-direction: row;
        margin-top: 1.5rem;
    }

    .tagline {
        margin-top: 0.5rem;
    }
}

/* Survey Popup */
.survey-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.survey-popup.active {
    opacity: 1;
    visibility: visible;
}

.survey-content {
    background: linear-gradient(135deg, rgba(10, 10, 26, 0.95), rgba(20, 20, 40, 0.95));
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow:
        0 0 30px rgba(0, 240, 255, 0.2),
        0 0 60px rgba(123, 45, 255, 0.1),
        inset 0 0 30px rgba(0, 240, 255, 0.05);
    animation: popupSlide 0.4s ease;
}

@keyframes popupSlide {
    from {
        transform: translateY(-30px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.survey-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.survey-close:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

.survey-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.survey-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.survey-question {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.survey-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.survey-btn {
    padding: 0.8rem 2rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.survey-yes {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.survey-yes:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
}

.survey-no {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--text-muted);
}

.survey-no:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-3px);
}

.survey-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.survey-thanks {
    display: none;
}

.survey-thanks.active {
    display: block;
}

.survey-thanks h3 {
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.survey-thanks p {
    color: var(--text-muted);
}

@media (max-width: 480px) {
    .survey-content {
        padding: 2rem 1.5rem;
    }

    .survey-title {
        font-size: 1.2rem;
    }

    .survey-question {
        font-size: 1rem;
    }

    .survey-buttons {
        flex-direction: column;
    }

    .survey-btn {
        width: 100%;
    }
}
