/* =========================================
   dewSpace - Premium CSS styling
   ========================================= */

:root {
    /* Vibrant Cyan Palette */
    --bg-dark: #fffdfa; /* Warm white */
    --bg-card: rgba(255, 255, 255, 0.8);
    --primary: rgb(0, 210, 255); 
    --secondary: rgb(36, 251, 255);
    --accent: #fbbf24; /* Sunny Amber */
    --text-main: #1e293b; /* Soft slate dark */
    --text-muted: #64748b;
    
    /* Gradients */
    --gradient-brand: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-glow: linear-gradient(135deg, rgba(0, 210, 255, 0.1), rgba(36, 251, 255, 0.1));
    
    /* Shadows */
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.03), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    --shadow-glow: 0 15px 30px rgba(0, 210, 255, 0.2);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* Custom cursor */
    position: relative;
}

/* Premium Noise Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
    filter: contrast(150%) brightness(150%);
}

/* Custom Cursor */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor-blur {
    width: 150px;
    height: 150px;
    background: var(--gradient-glow);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    filter: blur(50px);
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
}

.cursor-hover {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 240, 255, 0.1);
    border-color: var(--secondary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(3rem, 5vw + 1rem, 5.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 3vw + 1rem, 3.5rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.125rem;
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
}

section[id] {
    scroll-margin-top: 90px;
}

.grid {
    display: grid;
    gap: 2rem;
}

/* Components */
.amenity-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.amenity-card {
    transition: all var(--transition-medium);
    cursor: none;
}

.amenity-card-link:hover .amenity-card {
    transform: translateY(-10px);
    background: var(--gradient-glow);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    transition: all var(--transition-medium);
    cursor: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    z-index: -1;
    transition: opacity var(--transition-medium);
    opacity: 0;
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-brand);
    color: var(--text-main);
    border: none;
    box-shadow: var(--shadow-premium);
    transition: all var(--transition-medium);
}

.btn-primary:hover {
    background: var(--text-main);
    color: #fff;
    border: 1px solid var(--text-main);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 210, 255, 0.15);
}

.btn-secondary {
    background: rgba(30, 41, 59, 0.05);
    color: var(--text-main);
    border: 1px solid rgba(30, 41, 59, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-medium);
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: liquidFlow 4s infinite linear;
    pointer-events: none;
}

.btn-secondary:hover {
    background: var(--text-main);
    color: #fff;
    border-color: var(--text-main);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
    position: relative;
    overflow: hidden;
}

.btn-outline:hover {
    background: rgba(0, 210, 255, 0.1);
    color: var(--primary);
}

@keyframes liquidFlow {
    from { left: -150%; }
    to { left: 150%; }
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    transition: all var(--transition-medium);
}

/* Dropdown Menu */
.nav-item-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background: rgba(0, 210, 255, 0.1);
    color: var(--primary);
    padding-left: 2rem;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

@media (max-width: 991px) {
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 0 1.5rem;
        display: none;
    }
    
    .nav-item-dropdown.active .dropdown-menu {
        display: block;
    }
}

/* Navbar Scrolled State */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo, .nav-links a {
    color: #ffffff;
    transition: color var(--transition-medium);
    font-family: var(--font-heading);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.navbar.scrolled .logo, .navbar.scrolled .nav-links a {
    color: var(--text-main);
}

.navbar.scrolled .nav-links .dropdown-menu a {
    color: #ffffff;
}

.navbar.scrolled .nav-links .dropdown-menu a:hover {
    color: var(--primary);
}

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

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

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-brand);
    transition: width var(--transition-medium);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: none;
}

.mobile-menu-btn span {
    width: 30px;
    height: 2px;
    background: #fff;
    transition: all 0.3s;
}

.navbar.scrolled .mobile-menu-btn span {
    background: var(--text-main);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 5rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.65) 100%);
    z-index: -1;
}

.hero h1, .hero p {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero p {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 20px); opacity: 0; }
}

/* Services Section */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 32px;
    padding: 3rem;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-brand);
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(0, 210, 255, 0.1);
}

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

.feature-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    font-weight: 500;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.glass-panel {
    background: rgba(20, 20, 25, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
    position: relative;
    isolation: isolate;
}

.glass-panel::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--secondary);
    filter: blur(50px);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.5;
}

.glass-panel::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 150px;
    height: 150px;
    background: var(--primary);
    filter: blur(60px);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
}

.code-snippet {
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
}

.keyword { color: #ff7b72; }
.variable { color: #79c0ff; }
.method { color: #d2a8ff; }
.property { color: #a5d6ff; }

/* CTA Section */
.glass-card {
    background: linear-gradient(135deg, rgba(20, 20, 25, 0.8), rgba(10, 10, 15, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-brand);
}

.glass-card h2 {
    margin-bottom: 1rem;
}

.glass-card p {
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Footer */
footer {
    background: #020203;
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    color: #fff;
}

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

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

.footer-links a {
    color: var(--text-muted);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.875rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.fade-right {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-left {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 992px) {
    .split-container {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 8, 0.98);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition-medium);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-menu-btn {
        display: flex;
        z-index: 101;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .glass-card {
        padding: 3rem 1.5rem;
    }
}
/* Media Bar */
.media-bar {
    padding: 3rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.media-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    opacity: 0.5;
    filter: grayscale(1);
    transition: opacity var(--transition-medium);
}

.media-container:hover {
    opacity: 0.8;
}

.media-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-main);
}

/* Amenities Grid */
.amenities-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.amenity-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform var(--transition-medium);
}

.amenity-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.amenity-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.amenity-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Pricing Table */
.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: var(--primary);
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--secondary);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

.pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    padding: 3.5rem 2.5rem;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all var(--transition-medium);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 210, 255, 0.1);
    border-color: var(--primary);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 210, 255, 0.15);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 1.5rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 1rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
}

/* Testimonials */
.testimonials-slider {
    overflow: hidden;
    padding: 2rem 0;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-text {
    font-size: 1.5rem;
    font-style: italic;
    color: #fff;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-brand);
}

.author-info h4 {
    margin: 0;
    color: #fff;
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
}

/* Events */
.events-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.event-card {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.event-img {
    height: 200px;
    background: var(--gradient-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.event-content {
    padding: 2rem;
}

.event-date {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 16px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: none;
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.03);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-medium);
}

.faq-item.active .faq-answer {
    padding: 0 2rem 1.5rem;
    max-height: 200px;
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform var(--transition-medium);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Newsletter */
.newsletter-box {
    background: var(--gradient-brand);
    padding: 4rem;
    border-radius: 40px;
    text-align: center;
    margin-bottom: -10rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.newsletter-box h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.newsletter-box p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    margin: 0 auto 2rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 1rem 1.5rem;
    border-radius: 100px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    font-family: var(--font-body);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .btn {
    background: #fff;
    color: var(--secondary);
}

/* Footer Adjust */
footer {
    padding-top: 15rem;
}
/* Story Sections */
.story-section {
    padding: 10rem 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.story-content h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.story-image {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-premium);
}

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

.story-image:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .story-grid { grid-template-columns: 1fr; gap: 3rem; }
    .story-content h2 { font-size: 2.5rem; }
}

/* Theme Customizer */
.theme-customizer {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.customizer-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-brand);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.customizer-toggle:hover {
    transform: scale(1.1);
}

.customizer-panel {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    display: none; /* Hidden by default */
    min-width: 200px;
}

.theme-customizer.active .customizer-panel {
    display: block;
    animation: slideUp 0.3s ease-out;
}

.customizer-panel h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
    text-align: center;
}

.color-input {
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.color-input label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.color-input input {
    border: none;
    width: 40px;
    height: 30px;
    background: none;
    cursor: pointer;
}

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

/* Animations */
.fade-up, .fade-in, .fade-right, .fade-left {
    opacity: 0;
    transition: opacity var(--transition-slow), transform var(--transition-slow);
    will-change: opacity, transform;
}

.fade-up { transform: translateY(50px); }
.fade-right { transform: translateX(-50px); }
.fade-left { transform: translateX(50px); }

.visible {
    opacity: 1;
    transform: translate(0, 0) scale(1) !important;
}

.fade-in { transform: scale(0.95); }

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* --- Phase 2: Premium Features --- */

/* Global Network Map */
.network-section {
    position: relative;
    padding: 10rem 0;
    background: radial-gradient(circle at 10% 20%, rgba(0, 210, 255, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(36, 251, 255, 0.05) 0%, transparent 40%);
}

.map-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 4rem auto;
    aspect-ratio: 16/9;
    background: var(--bg-card);
    border-radius: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.05);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.05) 0%, transparent 70%);
    position: relative;
}

/* Dots grid for map background */
.map-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/world-map.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.15;
}

.map-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.map-node::after {
    content: attr(data-city);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
}

.map-node:hover {
    transform: scale(1.5);
}

.map-node::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
    z-index: -1;
}

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

/* Event Cards */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.event-card {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.event-image {
    height: 200px;
    background: #eee;
    border-radius: 24px 24px 0 0;
    position: relative;
    overflow: hidden;
}

.event-date {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.event-date span {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--primary);
}

.event-info {
    padding: 2rem;
}

.event-info h4 {
    margin-bottom: 0.5rem;
}

.event-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

/* Virtual Office Explorer */
.virtual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.virtual-card {
    text-align: left;
    padding: 2.5rem;
}

.virtual-card i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
    color: var(--primary);
}

/* Testimonial Slider */
.testimonials-section {
    overflow: hidden;
    padding: 8rem 0;
}

.testimonial-container {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    cursor: grab;
    transition: transform 0.5s ease-out;
}

.testimonial-card {
    min-width: 400px;
    padding: 3rem;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.02), inset 0 0 20px rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.founder-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.founder-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #eee;
    object-fit: cover;
}

.founder-details h5 {
    margin-bottom: 0.2rem;
}

.founder-details p {
    font-size: 0.8rem;
    margin: 0;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.8;
    color: var(--text-main);
}

/* Booking Widget */
.booking-section {
    padding: 8rem 0;
}

.booking-widget {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 40px;
    padding: 4rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.05);
}

.booking-steps {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.3;
    transition: opacity 0.3s;
}

.step.active {
    opacity: 1;
}

.step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.booking-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.option-btn {
    padding: 2rem;
    border: 2px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    background: transparent;
    width: 100%;
}

.option-btn:hover, .option-btn.selected {
    border-color: var(--primary);
    background: rgba(56, 189, 248, 0.05);
    transform: translateY(-5px);
}

.option-btn i {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Animation Utilities */
.parallax-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    background: var(--gradient-brand);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s infinite alternate;
}

@keyframes float {
    from { transform: translate(0, 0) rotate(0deg); }
    to { transform: translate(100px, 100px) rotate(360deg); }
}

@media (max-width: 768px) {
    .booking-widget { padding: 2.5rem 1.5rem; }
    .booking-options { grid-template-columns: 1fr; gap: 1rem; }
    .testimonial-card { min-width: 280px; padding: 2rem; }
    .map-container { aspect-ratio: 1/1; }
    .map-node::after { display: none; } /* Hide labels on mobile to save space */
    .section { padding: 5rem 0; }
    .hero h1 { font-size: 2.5rem; }
}

/* =========================================
   Startup Hub Specific Styles
   ========================================= */

.badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 50px;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.chat-section {
    position: relative;
    overflow: hidden;
}

.chat-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.chat-interface {
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-bubble {
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
}

.chat-bubble.received::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -10px;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.05);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.chat-bubble.sent::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -10px;
    width: 20px;
    height: 20px;
    background: var(--primary);
    clip-path: polygon(0 0, 0 100%, 100% 100%);
}

.startup-page .hero h1 {
    font-size: clamp(3.5rem, 6vw + 1rem, 6.5rem);
}

.bridge-section .glass-card {
    text-align: center;
    padding: 3rem 2rem;
}

.bridge-section .card-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .chat-actions {
        grid-template-columns: 1fr !important;
    }
}
