/*
Theme Name: NOVA AI
Theme URI: https://novaai.com
Author: NOVA AI
Author URI: https://novaai.com
Description: A cosmic-themed landing page theme for NOVA AI - transforming virtual presentations into cinematic experiences.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nova-ai
*/

/* ===================================================================
   NOVA AI - COSMIC STAR SYSTEM THEME
   =================================================================== */

:root {
    --nebula-cyan: #4ecdc4;
    --nebula-violet: #a855f7;
    --nebula-pink: #ff6b9d;
    --nebula-blue: #60a5fa;
    --star-white: #ffffff;
    --star-yellow: #fef08a;
    
    --bg-dark: #0a0e1a;
    --bg-secondary: #0f1628;
    --bg-elevated: #151d35;
    --bg-card: rgba(15, 22, 40, 0.7);
    --surface: rgba(255, 255, 255, 0.05);
    --surface-hover: rgba(255, 255, 255, 0.1);
    --border: rgba(120, 160, 255, 0.15);
    --border-hover: rgba(120, 160, 255, 0.3);
    
    --text-primary: #ffffff;
    --text-secondary: #b4c6ef;
    --text-muted: #7b8fbe;
    
    --gradient-primary: linear-gradient(135deg, var(--nebula-cyan) 0%, var(--nebula-violet) 50%, var(--nebula-pink) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(78, 205, 196, 0.5) 0%, rgba(168, 85, 247, 0.5) 50%, rgba(255, 107, 157, 0.5) 100%);
    
    --glow-primary: 0 0 30px rgba(78, 205, 196, 0.3), 0 0 60px rgba(168, 85, 247, 0.2), 0 0 90px rgba(255, 107, 157, 0.1);
    --glow-cyan: 0 0 40px rgba(78, 205, 196, 0.4);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

*, *::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-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ==================== COSMIC BACKGROUND ==================== */

.bg-animation {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(78, 205, 196, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 107, 157, 0.05) 0%, transparent 60%),
        var(--bg-dark);
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.6;
    animation: floatNebula 25s ease-in-out infinite;
}

.bg-orb-1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.4) 0%, rgba(78, 205, 196, 0.1) 50%, transparent 70%);
    top: -250px; left: -200px;
}

.bg-orb-2 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.35) 0%, rgba(168, 85, 247, 0.1) 50%, transparent 70%);
    bottom: -200px; right: -150px;
    animation-delay: -8s;
}

.bg-orb-3 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.3) 0%, rgba(255, 107, 157, 0.1) 50%, transparent 70%);
    top: 40%; left: 40%;
    transform: translate(-50%, -50%);
    animation-delay: -16s;
}

@keyframes floatNebula {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    25% { transform: translate(40px, -40px) scale(1.1); opacity: 0.7; }
    50% { transform: translate(-30px, 30px) scale(0.9); opacity: 0.5; }
    75% { transform: translate(30px, 40px) scale(1.05); opacity: 0.65; }
}

/* Star Field */
.star-field {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star-field::before, .star-field::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 200%; height: 200%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #fff, transparent),
        radial-gradient(1px 1px at 40px 70px, #fff, transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(2px 2px at 160px 120px, #fff, transparent),
        radial-gradient(1px 1px at 230px 80px, #fff, transparent),
        radial-gradient(2px 2px at 300px 200px, #fff, transparent),
        radial-gradient(1px 1px at 370px 150px, #fff, transparent),
        radial-gradient(2px 2px at 450px 280px, #fff, transparent),
        radial-gradient(1px 1px at 520px 100px, #fff, transparent),
        radial-gradient(2px 2px at 600px 350px, #fff, transparent),
        radial-gradient(1px 1px at 680px 220px, #fff, transparent),
        radial-gradient(2px 2px at 750px 400px, #fff, transparent);
    background-size: 800px 500px;
    animation: scrollStars 120s linear infinite;
    opacity: 0.8;
}

.star-field::after {
    background-size: 1200px 700px;
    animation: scrollStars 180s linear infinite reverse;
    opacity: 0.5;
}

@keyframes scrollStars {
    from { transform: translate(0, 0); }
    to { transform: translate(-50%, -50%); }
}

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

.dynamic-star {
    position: absolute;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
    animation: twinkle var(--duration, 3s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

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

.noise-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ==================== NAVIGATION ==================== */

.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition);
}

.nav.menu-open {
    z-index: 9999;
}

.nav.scrolled {
    background: rgba(10, 14, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-mark {
    width: 44px; height: 44px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: var(--glow-primary);
    position: relative;
    overflow: hidden;
}

.logo-mark::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(255,255,255,0.3) 60deg, transparent 120deg);
    animation: logoShine 3s linear infinite;
}

@keyframes logoShine {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-text span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-fast);
    box-shadow: 0 0 10px var(--nebula-cyan);
}

.nav-link:hover {
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(78, 205, 196, 0.5);
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ==================== BUTTONS ==================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--nebula-cyan);
    background: rgba(78, 205, 196, 0.1);
    box-shadow: 0 0 20px rgba(78, 205, 196, 0.2);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--glow-primary);
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(78, 205, 196, 0.4), 0 0 80px rgba(168, 85, 247, 0.3), 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.05rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* ==================== HERO SECTION ==================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 6rem;
    z-index: 2;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 4rem 4rem;
    align-items: center;
}

.hero-content { 
    position: relative;
    display: flex;
    flex-direction: column;
    grid-column: 1;
    grid-row: 1;
}

.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease-out 0.3s both;
    min-width: 300px;
    grid-column: 2;
    grid-row: 1 / 3;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
    animation: fadeInUp 0.8s ease-out 0.4s both;
    grid-column: 1;
    grid-row: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1.25rem;
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.3);
    border-radius: 100px;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: var(--nebula-cyan);
    font-weight: 500;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge-dot {
    width: 8px; height: 8px;
    background: var(--nebula-cyan);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--nebula-cyan);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 540px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-stat-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.hero-mockup {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 200px;
    box-shadow: 
        0 0 0 1px rgba(78, 205, 196, 0.2),
        0 0 60px rgba(78, 205, 196, 0.15),
        0 0 120px rgba(168, 85, 247, 0.1),
        0 40px 80px rgba(0, 0, 0, 0.4);
}

.hero-mockup::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 10;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #151d35 0%, #0f1628 100%);
}

.hero-mockup img,
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #151d35 0%, #0f1628 100%);
}

/* Floating cards row above video */
.hero-floating-cards-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    justify-content: space-between;
}

.hero-floating-cards-row .hero-floating-card {
    position: relative;
    flex: 1;
    top: auto;
    right: auto;
    bottom: auto;
}

.hero-floating-cards-row .hero-floating-card:first-child {
    animation: floatSubtle 5s ease-in-out infinite;
}

.hero-floating-cards-row .hero-floating-card:last-child {
    animation: floatSubtle 5s ease-in-out infinite;
    animation-delay: -2.5s;
}

@keyframes floatSubtle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #151d35 0%, #0f1628 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-carousel-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-color: #151d35;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-carousel-slide.active { opacity: 1; }

.slide-placeholder {
    text-align: center;
    opacity: 0.6;
}

.slide-placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.slide-placeholder-text {
    font-size: 1rem;
    color: var(--text-muted);
}

.hero-carousel-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background: linear-gradient(135deg, #151d35 0%, #0f1628 100%);
}

.hero-carousel-image.active { opacity: 1; }

.hero-carousel-placeholder {
    text-align: center;
    padding: 2rem;
}

.hero-carousel-placeholder .icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero-carousel-placeholder h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.hero-carousel-placeholder p {
    color: var(--text-muted);
}

.hero-carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.hero-carousel-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.hero-carousel-dot.active {
    background: var(--nebula-cyan);
    box-shadow: 0 0 15px var(--nebula-cyan);
}

.hero-floating-card {
    padding: 1rem 1.25rem;
    background: rgba(15, 22, 40, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 0 30px rgba(78, 205, 196, 0.1), 0 20px 40px rgba(0, 0, 0, 0.3);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.floating-icon {
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--glow-cyan);
}

.floating-icon svg {
    width: 22px; height: 22px;
}

.floating-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.floating-text strong {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
}

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

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

/* ==================== SECTIONS ==================== */

section {
    position: relative;
    z-index: 2;
    padding: 7rem 2rem;
}

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

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--nebula-cyan);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==================== PROBLEM SECTION ==================== */

.problem {
    background: var(--bg-secondary);
}

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

.problem-card {
    position: relative;
    padding: 2.5rem;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: var(--transition);
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ef4444 0%, #f97316 100%);
    opacity: 0.8;
}

.problem-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.problem-icon {
    width: 56px; height: 56px;
    border-radius: var(--radius-md);
    background: rgba(239, 68, 68, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.problem-icon svg {
    width: 28px; height: 28px;
}

.problem-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.problem-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==================== WHAT IS SECTION ==================== */

.what-is {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-dark) 100%);
    overflow: visible;
}

.what-is-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    overflow: visible;
}

.what-is-text h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.what-is-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.what-is-features {
    list-style: none;
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 2rem;
}

.what-is-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.what-is-features li:nth-child(3),
.what-is-features li:nth-child(4) {
    border-bottom: none;
}

.what-is-features .check {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--glow-cyan);
}

.what-is-features .check svg {
    width: 14px; height: 14px;
}

.what-is-visual {
    position: relative;
}

/* Decorative Circles */
.decorative-circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    opacity: 0.4;
}

.deco-circle-1 {
    width: 500px;
    height: 500px;
    top: -80px;
    left: -120px;
    border-color: var(--nebula-cyan);
}

.deco-circle-2 {
    width: 350px;
    height: 350px;
    bottom: -60px;
    left: -80px;
    border-color: var(--nebula-violet);
}

.deco-circle-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: -40px;
    transform: translateY(-50%);
    border-color: var(--nebula-pink);
}

/* Image Carousel */
.image-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    z-index: 1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #000;
    box-shadow: 
        0 0 0 2px rgba(78, 205, 196, 0.3),
        0 0 0 3px rgba(168, 85, 247, 0.2),
        0 0 60px rgba(78, 205, 196, 0.15),
        0 0 120px rgba(168, 85, 247, 0.1),
        0 40px 80px rgba(0, 0, 0, 0.4);
}

.carousel-track {
    position: absolute;
    inset: 0;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 20;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.carousel-dot.active {
    background: var(--nebula-cyan);
    box-shadow: 0 0 10px var(--nebula-cyan);
}

.what-is-image-container {
    position: relative;
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 
        0 0 0 1px rgba(78, 205, 196, 0.2),
        0 0 60px rgba(78, 205, 196, 0.15),
        0 0 120px rgba(168, 85, 247, 0.1),
        0 40px 80px rgba(0, 0, 0, 0.4);
}

.what-is-image-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 10;
}

.what-is-image {
    width: 100%;
    height: auto;
    display: block;
    background: linear-gradient(135deg, #151d35 0%, #0f1628 100%);
    min-height: 300px;
    object-fit: cover;
}

.what-is-graphic {
    width: 100%;
    aspect-ratio: 1;
    position: relative;
}

.vision-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--border);
}

.vision-circle-1 {
    width: 100%; height: 100%;
    top: 0; left: 0;
}

.vision-circle-2 {
    width: 75%; height: 75%;
    top: 12.5%; left: 12.5%;
    border-color: rgba(78, 205, 196, 0.3);
}

.vision-circle-3 {
    width: 50%; height: 50%;
    top: 25%; left: 25%;
    background: var(--gradient-primary);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow-primary);
}

.vision-center-icon {
    font-size: 3rem;
}

/* ==================== HOW IT WORKS ==================== */

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step-card {
    position: relative;
    padding: 2.5rem;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: var(--transition);
    overflow: hidden;
    text-align: center;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.step-card:hover {
    border-color: rgba(78, 205, 196, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 0 40px rgba(78, 205, 196, 0.1), 0 20px 60px rgba(0, 0, 0, 0.3);
}

.step-card:hover::before { opacity: 1; }

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--glow-primary);
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ==================== WHY NOVA SECTION ==================== */

.why-nova {
    background: var(--bg-secondary);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.why-card {
    position: relative;
    padding: 2.5rem;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: var(--transition);
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.why-card:hover {
    border-color: rgba(78, 205, 196, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 0 40px rgba(78, 205, 196, 0.1), 0 20px 60px rgba(0, 0, 0, 0.3);
}

.why-card:hover::before { opacity: 1; }

.why-icon {
    width: 56px; height: 56px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--glow-primary);
}

.why-icon svg {
    width: 28px;
    height: 28px;
}

.why-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.why-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ==================== WHO IT'S FOR ==================== */

.who-for-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.who-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.who-tag:hover {
    border-color: var(--nebula-cyan);
    color: var(--text-primary);
    box-shadow: 0 0 20px rgba(78, 205, 196, 0.2);
}

.who-tag .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.who-tag .icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--nebula-cyan);
    transition: var(--transition);
}

.who-tag:hover .icon svg {
    stroke: var(--text-primary);
}

.who-tagline {
    text-align: center;
    margin-top: 3rem;
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* ==================== CTA SECTION ==================== */

.cta {
    background: var(--bg-secondary);
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.15) 0%, rgba(168, 85, 247, 0.1) 30%, transparent 60%);
    filter: blur(60px);
    pointer-events: none;
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ==================== FOOTER ==================== */

.footer {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--border);
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(10px);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    padding: 4rem 0;
    gap: 4rem;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-column h4 {
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--nebula-cyan);
    text-shadow: 0 0 10px rgba(78, 205, 196, 0.5);
}

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

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

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-social-link:hover {
    background: rgba(78, 205, 196, 0.1);
    border-color: var(--nebula-cyan);
    color: var(--nebula-cyan);
    box-shadow: 0 0 20px rgba(78, 205, 196, 0.3);
}

.footer-social-link svg {
    width: 20px; height: 20px;
}

/* ==================== REVEAL ANIMATIONS ==================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ==================== RESPONSIVE ==================== */

@media (max-width: 1280px) {
    /* Only minor adjustments at this level - keep two-column layout */
    .hero-container { gap: 3rem; }
    
    .what-is-content { gap: 3rem; }
    .deco-circle-1 { width: 420px; height: 420px; }
    .deco-circle-2 { width: 300px; height: 300px; }
}

@media (max-width: 1024px) {
    /* Switch to single column at tablet */
    .hero-container { 
        grid-template-columns: 1fr; 
        grid-template-rows: auto auto auto;
        text-align: center; 
        gap: 2rem; 
    }
    .hero-content { grid-column: 1; grid-row: 1; }
    .hero-visual { 
        grid-column: 1; 
        grid-row: 2; 
        max-width: 600px; 
        margin: 0 auto; 
        width: 100%;
        min-width: unset;
    }
    .hero-stats { 
        grid-column: 1; 
        grid-row: 3; 
        justify-content: center;
        border-top: none;
        padding-top: 0;
    }
    .hero-subtitle { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
    .hero-floating-cards-row { display: none; }
    
    .what-is-content { grid-template-columns: 1fr; }
    .what-is-visual { 
        width: 100%;
        max-width: 600px; 
        margin: 0 auto 3rem; 
        padding: 0; 
        display: block;
    }
    .what-is-features {
        grid-template-columns: 1fr;
    }
    .what-is-features li {
        border-bottom: 1px solid var(--border);
    }
    .what-is-features li:last-child {
        border-bottom: none;
    }
    .deco-circle-1 { width: 350px; height: 350px; left: -100px; top: -50px; }
    .deco-circle-2 { width: 250px; height: 250px; left: -60px; }
    .deco-circle-3 { display: none; }
    
    .problem-grid { grid-template-columns: 1fr; }
    .how-it-works-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    
    .footer-top { flex-direction: column; }
    .footer-brand { max-width: 100%; }
}

@media (max-width: 768px) {
    .nav-links.desktop-menu { 
        display: none !important;
    }
    .nav-cta { display: none; }
    .mobile-menu-btn { display: flex; }
    
    .hero { padding: 7rem 1.5rem 4rem; }
    .hero-title { font-size: 2.25rem; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
    .hero-stats { flex-direction: column; gap: 1.5rem; }
    .hero-visual { max-width: 100%; min-width: unset; }
    .hero-mockup { 
        width: 100%; 
        max-width: 100%;
        min-height: 180px;
    }
    .hero-video,
    .hero-image {
        width: 100%;
        height: 100%;
    }
    
    section { padding: 4rem 1.5rem; }
    
    .what-is-content { gap: 2rem; }
    .what-is-visual { 
        padding: 0; 
        display: block !important;
        width: 100%;
        max-width: 100%;
    }
    .decorative-circles { display: none; }
    
    .cta-buttons { flex-direction: column; }
    .cta-buttons .btn { width: 100%; }
    
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
}

@media (max-width: 768px) {
    .mobile-menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #0a0e1a;
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        padding: 2rem;
    }
    
    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .mobile-nav-links .nav-link {
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--text-primary);
        text-decoration: none;
        transition: color 0.2s ease;
    }
    
    .mobile-nav-links .nav-link:hover {
        color: var(--nebula-cyan);
    }
    
    .mobile-menu-cta {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
        width: 100%;
        max-width: 280px;
    }
    
    .mobile-menu-cta .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .mobile-menu-btn {
        z-index: 9999;
        position: relative;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* ==================== CONTACT MODAL ==================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 26, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: 
        0 0 0 1px rgba(78, 205, 196, 0.1),
        0 0 80px rgba(78, 205, 196, 0.15),
        0 0 120px rgba(168, 85, 247, 0.1),
        0 40px 80px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
    z-index: 10;
}

.modal-inner {
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10;
}

.modal-close:hover {
    background: var(--surface-hover);
    border-color: var(--nebula-cyan);
    color: var(--text-primary);
}

.modal-close svg {
    width: 18px;
    height: 18px;
}

.modal-header {
    padding: 2.5rem 2.5rem 0;
    text-align: center;
}

.modal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: var(--glow-primary);
}

.modal-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.modal-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.modal-body {
    padding: 2rem 2.5rem 2.5rem;
}

/* Contact Form Styling */
.contact-form,
.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label,
.wpcf7-form label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-label .required,
.wpcf7-form .required {
    color: var(--nebula-pink);
}

.form-input,
.form-textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-input::placeholder,
.form-textarea::placeholder,
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: var(--text-muted);
}

.form-input:focus,
.form-textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--nebula-cyan);
    background: rgba(78, 205, 196, 0.05);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.form-textarea,
.wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
}

.form-hidden {
    display: none;
}

.form-submit {
    margin-top: 0.5rem;
}

.form-submit .btn,
.wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--glow-primary);
}

.wpcf7-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(78, 205, 196, 0.4), 0 0 80px rgba(168, 85, 247, 0.3), 0 20px 40px rgba(0, 0, 0, 0.3);
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* CF7 Response Messages */
.wpcf7-response-output {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
}

.wpcf7-mail-sent-ok {
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid var(--nebula-cyan);
    color: var(--nebula-cyan);
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    background: rgba(255, 107, 157, 0.1);
    border: 1px solid var(--nebula-pink);
    color: var(--nebula-pink);
}

/* Modal responsive */
@media (max-width: 600px) {
    .modal-container {
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 2rem 1.5rem 0;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .modal-close {
        top: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
    }
}

/* Body scroll lock when modal open */
body.modal-open {
    overflow: hidden;
}

/* Body scroll lock when mobile menu open */
body.mobile-menu-open {
    overflow: hidden;
}

/* ==================== PAGE TEMPLATES ==================== */

.site-main {
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 200px);
    padding-top: 120px;
    padding-bottom: 4rem;
}

.page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-header {
    margin-bottom: 3rem;
    text-align: center;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.page-content {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    font-family: var(--font-display);
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.page-content h2 {
    font-size: 1.75rem;
}

.page-content h3 {
    font-size: 1.5rem;
}

.page-content h4 {
    font-size: 1.25rem;
}

.page-content p {
    margin-bottom: 1.5rem;
}

.page-content a {
    color: var(--nebula-cyan);
    text-decoration: none;
    transition: var(--transition-fast);
}

.page-content a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(78, 205, 196, 0.5);
}

.page-content ul,
.page-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-left: 3px solid var(--nebula-cyan);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    font-style: italic;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.page-content th,
.page-content td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.page-content th {
    color: var(--text-primary);
    font-weight: 600;
}

/* Blog/Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.post-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition);
}

.post-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 1.5rem;
}

.entry-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.entry-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.entry-title a:hover {
    color: var(--nebula-cyan);
}

.entry-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.entry-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--nebula-cyan);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-fast);
}

.read-more:hover {
    color: var(--text-primary);
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.no-results h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.no-results p {
    color: var(--text-secondary);
}

/* Posts Navigation */
.posts-navigation {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.posts-navigation a {
    color: var(--nebula-cyan);
    text-decoration: none;
    transition: var(--transition-fast);
}

.posts-navigation a:hover {
    color: var(--text-primary);
}

/* Single Post */
.single-post .page-container {
    max-width: 800px;
}

.single-post .entry-meta {
    text-align: center;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .site-main {
        padding-top: 100px;
    }
    
    .page-container {
        padding: 0 1.5rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
}

/* Single Post Styles */
.post-featured-image {
    margin-bottom: 2rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.entry-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.post-tags {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.post-tags a {
    color: var(--nebula-cyan);
    text-decoration: none;
    transition: var(--transition-fast);
}

.post-tags a:hover {
    color: var(--text-primary);
}

.tags-label {
    color: var(--text-muted);
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    gap: 2rem;
}

.post-navigation a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
    max-width: 45%;
}

.post-navigation a:hover {
    color: var(--nebula-cyan);
}

.nav-previous {
    text-align: left;
}

.nav-next {
    text-align: right;
    margin-left: auto;
}

/* 404 Error Page */
.error-404 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
}

.error-content {
    text-align: center;
    max-width: 500px;
}

.error-title {
    font-family: var(--font-display);
    font-size: clamp(6rem, 15vw, 10rem);
    font-weight: 800;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.error-subtitle {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.error-message {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Full Width Page Template */
.page-container-full {
    max-width: 1400px;
    padding: 0 2rem;
}

.page-article.full-width .page-content {
    max-width: 100%;
}

@media (max-width: 768px) {
    .page-container-full {
        padding: 0 1.5rem;
    }
}

/* ==================== VIDEO LIGHTBOX ==================== */

.video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.video-lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
}

.video-lightbox-container {
    position: relative;
    width: 90%;
    max-width: 1000px;
    z-index: 1;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-lightbox.active .video-lightbox-container {
    transform: scale(1);
}

.video-lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10;
}

.video-lightbox-close:hover {
    background: var(--surface-hover);
    border-color: var(--nebula-cyan);
    color: var(--text-primary);
}

.video-lightbox-close svg {
    width: 20px;
    height: 20px;
}

.video-lightbox-content {
    background: #000;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 
        0 0 0 1px rgba(78, 205, 196, 0.2),
        0 0 80px rgba(78, 205, 196, 0.15),
        0 0 120px rgba(168, 85, 247, 0.1),
        0 40px 80px rgba(0, 0, 0, 0.5);
}

.video-lightbox-content::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
    z-index: 10;
}

.video-lightbox-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-lightbox-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Lightbox Body Lock */
body.lightbox-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .video-lightbox-container {
        width: 95%;
    }
    
    .video-lightbox-close {
        top: -45px;
        right: 0;
        width: 40px;
        height: 40px;
    }
}
