:root {
    --bg-dark: #03050C;
    --navy: #0A1128;
    --glass-bg: rgba(10, 17, 40, 0.4);
    --glass-border: rgba(255, 255, 255, 0.05);
    
    --primary: #D4AF37; /* Elegance Gold */
    --primary-glow: rgba(212, 175, 55, 0.3);
    
    --accent: #00E5FF; /* Tech Cyan */
    --accent-glow: rgba(0, 229, 255, 0.2);
    
    --text-main: #FFFFFF;
    --text-muted: #A0ABC0;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none; /* For custom cursor */
}

/* Typography base */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.sub-title {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 500;
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 300;
}

/* Layout Utilities */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
}

.container-narrow {
    max-width: 900px;
}

/* Custom Cursor */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s;
}

.cursor-follower.hover {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--primary);
}

/* Background Effects */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

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

.glow-orb {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-glow);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 30px 0;
    z-index: 1000;
    transition: var(--transition-slow);
}

header.scrolled {
    padding: 15px 0;
    background: rgba(3, 5, 12, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-main);
}

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

nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
}

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

.btn-glass {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.btn-glass:hover {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 16px 36px;
    background: var(--primary);
    color: var(--bg-dark);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition-fast);
    box-shadow: 0 10px 30px var(--primary-glow);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--primary-glow);
}

.btn-link {
    display: inline-block;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 400;
    border-bottom: 1px solid var(--text-muted);
    padding-bottom: 2px;
    transition: var(--transition-fast);
}

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

.btn-outline-gold {
    display: inline-block;
    padding: 16px 36px;
    border: 1px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.btn-outline-gold:hover {
    background: var(--primary-glow);
}

.btn-whatsapp-premium {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 45px;
    background: #128C7E;
    color: #FFF;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 100px;
    transition: var(--transition-fast);
    box-shadow: 0 15px 35px rgba(18, 140, 126, 0.3);
}

.btn-whatsapp-premium:hover {
    transform: translateY(-5px);
    background: #075E54;
    box-shadow: 0 20px 45px rgba(18, 140, 126, 0.5);
}

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

.hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-label {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-content h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 30px;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--text-main) 0%, var(--text-muted) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 60px;
}

.metrics {
    display: flex;
    gap: 50px;
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
}

.metric-item strong {
    display: block;
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1;
    margin-bottom: 5px;
}

.metric-item span {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-visual {
    position: relative;
    perspective: 1000px;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    padding: 20px;
}

.image-wrapper img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.image-wrapper .glow-orb {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 229, 255, 0.2);
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--navy);
    padding: 15px 25px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    animation: float 6s ease-in-out infinite;
}

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

/* Services */
.premium-services, .tech-analytics, .pricing-section, .cta-massive {
    padding: 120px 0;
}

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

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    padding: 50px 40px;
    border-radius: 16px;
    transition: var(--transition-slow);
    transform-style: preserve-3d;
}

.service-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 30px;
    transform: translateZ(30px);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    transform: translateZ(20px);
}

.service-card p {
    transform: translateZ(10px);
}

/* Live Metrics Banner */
.live-metrics-banner {
    background: rgba(10, 17, 40, 0.8);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
    overflow: hidden;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 0;
}

.marquee-content {
    display: inline-flex;
    align-items: center;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
    letter-spacing: 0.5px;
    padding: 0 20px;
}

.ticker-item span {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
}

.ticker-separator {
    color: var(--text-muted);
    opacity: 0.3;
    padding: 0 10px;
}

/* Image Marquee Gallery */
.image-marquee-section {
    padding: 0;
    background: var(--bg-dark);
    margin-top: -1px;
    position: relative;
    z-index: 5;
    border-bottom: 1px solid var(--glass-border);
}

.image-marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 30px 0;
}

.image-marquee-container::before,
.image-marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.image-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark) 0%, transparent 100%);
}

.image-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark) 0%, transparent 100%);
}

.image-marquee-content {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    padding-right: 30px; /* match the gap for seamless looping */
}

.marquee-img-wrapper {
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    height: clamp(180px, 22vw, 250px);
    width: clamp(280px, 32vw, 380px);
    position: relative;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    cursor: pointer;
}

.marquee-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    transition: var(--transition-slow);
}

.marquee-img-wrapper:hover img {
    filter: grayscale(0%) contrast(1.05); /* Reveal color on hover */
    transform: scale(1.05);
}

/* Tech Overview */
.layout-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.analytics-mockup {
    border-radius: 12px;
    padding: 15px;
    position: relative;
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    padding-left: 5px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #333;
}

.dot:nth-child(1) { background: #FF5F56; }
.dot:nth-child(2) { background: #FFBD2E; }
.dot:nth-child(3) { background: #27C93F; }

.analytics-mockup img {
    width: 100%;
    border-radius: 6px;
    display: block;
}

.elite-list {
    list-style: none;
    margin-top: 40px;
}

.elite-list li {
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
    color: var(--text-muted);
}

.elite-list li::before {
    content: "⚡";
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.9rem;
}

.elite-list li strong {
    color: var(--text-main);
    font-weight: 500;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.price-tier {
    padding: 50px 40px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.tier-header, .tier-features {
    flex: 1;
}

.price-tier h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.price-tier.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    z-index: 2;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--bg-dark);
    padding: 6px 20px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tier-features {
    list-style: none;
    margin: 40px 0;
    border-top: 1px solid var(--glass-border);
    padding-top: 40px;
}

.tier-features li {
    margin-bottom: 15px;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.tier-features li::before {
    content: "✓";
    color: var(--primary);
    margin-right: 15px;
    font-weight: bold;
}

.tier-features li.unavailable {
    color: rgba(160, 171, 192, 0.4);
}

.tier-features li.unavailable::before {
    content: "✕";
    color: rgba(160, 171, 192, 0.4);
}

.tier-action {
    text-align: center;
    margin-top: auto;
}

.tier-action a {
    width: 100%;
    text-align: center;
}

/* CTA Massive */
.cta-card {
    padding: 80px 60px;
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.title-massive {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 30px;
}

.cta-card p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 40px;
    background: rgba(3, 5, 12, 0.5);
}

.footer-layout {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand p {
    margin-top: 20px;
    max-width: 350px;
}

.footer-nav h4, .footer-contact h4 {
    color: var(--text-main);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

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

.footer-nav ul li {
    margin-bottom: 15px;
}

.footer-nav ul li a, .email-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-nav ul li a:hover, .email-link:hover {
    color: var(--primary);
}

.footer-copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Initial States for GSAP Animations */
.g-reveal, .g-reveal-up, .g-reveal-left, .g-reveal-right {
    opacity: 0;
    visibility: hidden;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-layout, .layout-split {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .metrics {
        justify-content: center;
    }
    
    .services-grid, .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .price-tier.featured {
        transform: scale(1);
    }
    
    .footer-layout {
        grid-template-columns: 1fr;
    }
    
    .cursor, .cursor-follower {
        display: none;
    }
    body {
        cursor: auto;
    }
}
