/* ===== VARIABLES ===== */
:root {
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a25;
    --primary: #00f0ff;
    --primary-dim: #00a8b3;
    --secondary: #ff00aa;
    --accent: #7b2fff;
    --text: #e8e8e8;
    --text-dim: #888899;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(0, 240, 255, 0.3) 0%, rgba(123, 47, 255, 0.3) 100%);
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== PARTICLES BACKGROUND ===== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 20s infinite;
}

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

/* ===== SCANLINES ===== */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1) 0px,
        rgba(0, 0, 0, 0.1) 1px,
        transparent 1px,
        transparent 2px
    );
    opacity: 0.3;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: linear-gradient(to bottom, rgba(10, 10, 15, 0.95), transparent);
    backdrop-filter: blur(10px);
}

.nav-logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--primary);
}

.logo-sub {
    font-size: 0.6rem;
    color: var(--text-dim);
    letter-spacing: 0.2em;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

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

/* ===== GLITCH EFFECT ===== */
.glitch {
    position: relative;
}

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

.glitch::before {
    color: var(--secondary);
    animation: glitch-1 2s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}

.glitch::after {
    color: var(--accent);
    animation: glitch-2 3s infinite linear alternate-reverse;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}

@keyframes glitch-1 {
    0%, 90%, 100% { transform: translate(0); }
    92% { transform: translate(-2px, 1px); }
    94% { transform: translate(2px, -1px); }
    96% { transform: translate(-1px, 2px); }
    98% { transform: translate(1px, -2px); }
}

@keyframes glitch-2 {
    0%, 88%, 100% { transform: translate(0); }
    90% { transform: translate(2px, -1px); }
    93% { transform: translate(-2px, 1px); }
    96% { transform: translate(1px, 2px); }
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 32px;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(0, 240, 255, 0);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.title-line {
    display: block;
    font-size: 0.4em;
    font-weight: 400;
    letter-spacing: 0.3em;
    color: var(--text-dim);
}

.title-main {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 40px;
    letter-spacing: 0.1em;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    box-shadow: 0 4px 30px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 40px rgba(0, 240, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== HEX DECORATION ===== */
.hero-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hex-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hex {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(0, 240, 255, 0.1);
    transform: rotate(45deg);
    animation: hex-pulse 8s infinite ease-in-out;
}

.hex:nth-child(1) { animation-delay: 0s; }
.hex:nth-child(2) { animation-delay: 1s; width: 400px; height: 400px; }
.hex:nth-child(3) { animation-delay: 2s; width: 500px; height: 500px; }
.hex:nth-child(4) { animation-delay: 3s; width: 600px; height: 600px; }
.hex:nth-child(5) { animation-delay: 4s; width: 700px; height: 700px; }

@keyframes hex-pulse {
    0%, 100% {
        opacity: 0.1;
        transform: rotate(45deg) scale(1);
    }
    50% {
        opacity: 0.3;
        transform: rotate(45deg) scale(1.05);
    }
}

/* ===== SECTION STYLING ===== */
section {
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 100px 0;
    background: linear-gradient(to bottom, transparent, rgba(18, 18, 26, 0.5), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.about-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 240, 255, 0.2);
    transform: translateY(-4px);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-glow);
    border-radius: 12px;
}

.card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.about-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.about-card p {
    color: var(--text-dim);
    font-size: 1rem;
}

.about-description {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-description p {
    font-size: 1.15rem;
    color: var(--text-dim);
    line-height: 1.8;
}

/* ===== NOTIFY SECTION ===== */
.notify {
    padding: 100px 0;
}

.notify-wrapper {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 60px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.notify-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 16px;
}

.notify-content p {
    color: var(--text-dim);
    font-size: 1.1rem;
}

.notify-form .form-group {
    display: flex;
    gap: 12px;
}

.notify-form input {
    flex: 1;
    padding: 16px 20px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text);
    outline: none;
    transition: border-color 0.3s ease;
}

.notify-form input:focus {
    border-color: var(--primary);
}

.notify-form input::placeholder {
    color: var(--text-dim);
}

.form-note {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* ===== SOCIAL SECTION ===== */
.social {
    padding: 100px 0;
    background: linear-gradient(to bottom, transparent, rgba(18, 18, 26, 0.5), transparent);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 40px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
    min-width: 140px;
}

.social-link:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 240, 255, 0.2);
    transform: translateY(-4px);
}

.social-link:hover svg {
    color: var(--primary);
}

.social-link svg {
    width: 32px;
    height: 32px;
    transition: color 0.3s ease;
}

.social-link span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== FOOTER ===== */
.footer {
    padding: 60px 0;
    text-align: center;
}

.footer-content {
    margin-bottom: 32px;
}

.footer-brand {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.footer-text {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-decoration {
    max-width: 200px;
    margin: 0 auto;
}

.footer-line {
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    opacity: 0.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .notify-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .notify-form .form-group {
        flex-direction: column;
    }
    
    .notify-form .btn {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 16px 24px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 100px 24px 60px;
    }
    
    .about, .notify, .social {
        padding: 60px 0;
    }
    
    .notify-wrapper {
        padding: 40px 24px;
    }
    
    .social-links {
        gap: 16px;
    }
    
    .social-link {
        padding: 24px 32px;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-card {
        padding: 32px 24px;
    }
}
