:root {
    --primary-cyan: #00d4ff;
    --primary-purple: #9400d3;
    --primary-blue: #0055ff;
    --bg-dark: #050510;
    --bg-dark-soft: #0a0a1a;
    --text-light: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.7);
    --accent-glow: rgba(0, 212, 255, 0.3);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Fluid Typography */
    --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --fs-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
    --fs-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --fs-md: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
    --fs-lg: clamp(1.5rem, 1.35rem + 0.75vw, 2rem);
    --fs-xl: clamp(2.5rem, 2rem + 2.5vw, 5rem);
    --fs-xxl: clamp(3.5rem, 2.5rem + 5vw, 8rem);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

/* Background Video Styling */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

#bg-video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.8;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(5, 5, 16, 0.3) 0%, rgba(5, 5, 16, 0.8) 100%);
    z-index: -1;
}

/* Navigation System */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(5, 5, 16, 0.5);
    border-bottom: 1px solid var(--glass-border);
}

.logo-container {
    display: flex;
    align-items: center;
}

#main-logo {
    height: 50px;
    filter: drop-shadow(0 0 10px var(--primary-cyan));
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: var(--fs-sm);
    letter-spacing: 1px;
    transition: color 0.3s;
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--text-light);
    border-radius: 2px;
    transition: 0.3s;
}

/* Side Menu Mobile */
@media (max-width: 991px) {
    .hamburger { display: flex; }
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        width: 80%;
        height: 100vh;
        background: rgba(5, 5, 16, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        backdrop-filter: blur(20px);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    .nav-links.active { right: 0; }
    .nav-links li { margin: 1.5rem 0; }
    .nav-links a { font-size: var(--fs-md); }
    
    /* Hamburger animations when active */
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
}

/* Sections Base */
section {
    padding: 10vh 5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 80vh;
}

.section-title {
    font-size: var(--fs-lg);
    font-weight: 900;
    margin-bottom: 3rem;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 4px;
}

/* Hero Section */
.hero {
    height: 100vh;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

h1 {
    font-size: var(--fs-xl);
    font-weight: 900;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    filter: drop-shadow(0 0 30px rgba(148, 0, 211, 0.3));
    animation: fadeInScale 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.glitch-text {
    position: relative;
    cursor: default;
}

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

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

.glitch-text::after {
    left: -1px;
    text-shadow: -1px 0 #00fff9, 1px 1px #ff00c1;
    animation: glitch-anim2 1s infinite linear alternate-reverse;
}

.decorative-line {
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple));
    margin-top: 1.5rem;
    border-radius: 2px;
    animation: expandLine 1s ease 0.5s forwards;
}

/* Features Component */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
}

.feature-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--primary-cyan);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px var(--primary-cyan));
}

.feature-card h3 {
    font-size: var(--fs-md);
    margin-bottom: 1rem;
    color: var(--primary-cyan);
}

.feature-card p {
    color: var(--text-dim);
    font-size: var(--fs-base);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--glass-border);
}

.gallery-item img, .gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img, .gallery-item:hover video {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,5,16,0.9), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    text-align: left;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    width: 100%;
    max-width: 1200px;
}

.pricing-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 4rem 2rem;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
}

.pricing-card:hover {
    border-color: var(--primary-cyan);
    background: rgba(255,255,255,0.07);
}

.pricing-card.premium {
    border-color: var(--primary-purple);
    background: radial-gradient(circle at top right, rgba(148, 0, 211, 0.15), transparent);
}

.pricing-card.premium::before {
    content: "MOST POPULAR";
    position: absolute;
    top: 25px;
    right: -35px;
    background: var(--primary-purple);
    color: white;
    padding: 6px 45px;
    font-size: 0.75rem;
    font-weight: 900;
    transform: rotate(45deg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.pricing-card h3 {
    font-size: var(--fs-md);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.price {
    font-size: 4rem;
    font-weight: 900;
    margin: 1.5rem 0;
    background: linear-gradient(90deg, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price span {
    font-size: 1rem;
    color: var(--text-dim);
    -webkit-text-fill-color: var(--text-dim);
}

.pricing-features {
    list-style: none;
    margin: 2.5rem 0;
    text-align: left;
}

.pricing-features li {
    margin: 1.2rem 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dim);
}

.pricing-features li::before {
    content: "✓";
    color: var(--primary-cyan);
    font-weight: 900;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple));
    color: white;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.2);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.4);
}

/* Footer Section */
footer {
    padding: 6rem 5vw 3rem;
    background: #020208;
    border-top: 1px solid var(--glass-border);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    text-align: left;
}

.footer-info p {
    color: var(--text-dim);
    max-width: 300px;
    margin-top: 1.5rem;
}

.footer-logo img { height: 45px; }

.footer-links h4 {
    margin-bottom: 2rem;
    color: var(--primary-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 1rem; }
.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover { color: var(--primary-cyan); padding-left: 5px; }

.footer-newsletter input {
    width: 100%;
    padding: 1rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    margin-bottom: 1rem;
}

.footer-newsletter button {
    width: 100%;
}

.copyright {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 4rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-dim);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Glow Orbs */
.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.25;
    pointer-events: none;
}

.orb-1 { width: 600px; height: 600px; background: var(--primary-cyan); bottom: -150px; left: -150px; animation: drift 20s infinite alternate; }
.orb-2 { width: 500px; height: 500px; background: var(--primary-purple); top: -150px; right: -150px; animation: drift 25s infinite alternate-reverse; }

/* Animations */
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes expandLine {
    to { width: 180px; }
}

@keyframes drift {
    from { transform: translate(0, 0); }
    to { transform: translate(100px, 50px); }
}

@keyframes glitch-anim {
  0% { clip: rect(21px, 9999px, 83px, 0); }
  20% { clip: rect(65px, 9999px, 81px, 0); }
  40% { clip: rect(31px, 9999px, 19px, 0); }
  60% { clip: rect(74px, 9999px, 92px, 0); }
  80% { clip: rect(98px, 9999px, 20px, 0); }
  100% { clip: rect(29px, 9999px, 98px, 0); }
}

@keyframes glitch-anim2 {
  0% { clip: rect(25px, 9999px, 88px, 0); }
  20% { clip: rect(55px, 9999px, 78px, 0); }
  40% { clip: rect(35px, 9999px, 25px, 0); }
  60% { clip: rect(64px, 9999px, 98px, 0); }
  80% { clip: rect(88px, 9999px, 30px, 0); }
  100% { clip: rect(35px, 9999px, 92px, 0); }
}

/* Responsive Overrides */
@media (max-width: 1200px) {
    footer { grid-template-columns: 1fr 1fr 1fr; }
    .footer-newsletter { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    section { padding: 8vh 6vw; }
    .gallery-grid { grid-template-columns: 1fr; }
    footer { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
    footer { grid-template-columns: 1fr; }
    .section-title { font-size: 1.4rem; letter-spacing: 2px; }
    .price { font-size: 3rem; }
    .pricing-card { padding: 3rem 1.5rem; }
}

/* Mouse Bubble Canvas */
#bubble-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
