:root {
    --bg-color: #020202; /* Deep obsidian black */
    --bg-color-alt: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa; /* Titanium */
    
    /* Vibrant gradients / accents */
    --accent-color: #6366f1;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --gradient-glow: linear-gradient(135deg, rgba(99,102,241,0.5) 0%, rgba(168,85,247,0.5) 50%, rgba(236,72,153,0.5) 100%);
    
    /* Status pill */
    --status-color: #00FFA3;
    
    /* Glassmorphism settings */
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.08); /* slightly sharper borders */
    --glass-blur: blur(20px);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    background-color: var(--bg-color); color: var(--text-primary);
    font-family: var(--font-body); line-height: 1.6; overflow-x: hidden;
    position: relative; -webkit-font-smoothing: antialiased;
}

/* Background Abstract Shapes */
.bg-shape {
    position: absolute; border-radius: 50%; filter: blur(120px);
    z-index: -1; opacity: 0.5; animation: float 20s infinite ease-in-out alternate;
}
.shape-1 { top: -10%; left: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(99,102,241,0.2) 0%, rgba(0,0,0,0) 70%); }
.shape-2 { top: 40%; right: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(236,72,153,0.15) 0%, rgba(0,0,0,0) 70%); animation-delay: -5s; }

body::before {
    content: ''; position: fixed; inset: 0; z-index: -2;
    background-image: radial-gradient(var(--glass-border) 1px, transparent 1px);
    background-size: 50px 50px; opacity: 0.3; pointer-events: none;
}

@keyframes float { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(60px, 40px) scale(1.05); } }

/* Typography */
h1, h2, h3, .brand-logo { font-family: var(--font-heading); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; text-transform: uppercase; }
.text-gradient { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; color: transparent; }

/* Cinematic Stagger Text */
.staggered-reveal span.char { opacity: 0; display: inline-block; transform: translateY(40px) scale(0.9); animation: txtReveal 1s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
@keyframes txtReveal { 100% { opacity: 1; transform: translateY(0) scale(1); } }

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

/* UI Buttons & Glow */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.875rem 2.2rem; border-radius: 50px; font-family: var(--font-body);
    font-weight: 700; font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase;
    text-decoration: none; transition: var(--transition); cursor: pointer; border: none;
    position: relative; overflow: hidden; z-index: 1;
}

.btn-primary { background: var(--gradient-primary); color: white; box-shadow: 0 10px 30px -10px var(--accent-color); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 40px -10px var(--accent-color); }

/* Glow Button specific */
.glow-btn::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, #ec4899 0%, #a855f7 50%, #6366f1 100%); z-index: -1; transition: opacity 0.5s ease; opacity: 0; }
.glow-btn:hover::before { opacity: 1; }
.glow-btn::after { content: ''; position: absolute; inset: -2px; border-radius: 50px; background: var(--gradient-primary); filter: blur(15px); opacity: 0; transition: opacity 0.5s; z-index: -2; }
.glow-btn:hover::after { opacity: 0.6; }

.btn-outline { background: transparent; border: 1px solid var(--glass-border); color: var(--text-primary); }
.btn-outline:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.08); box-shadow: 0 0 20px rgba(255,255,255,0.1); }

/* Navbar */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; height: 80px; z-index: 1000;
    background: rgba(2, 2, 2, 0.4); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border); transition: var(--transition);
}
.navbar.scrolled { background: rgba(2, 2, 2, 0.9); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); border-bottom-color: rgba(255,255,255,0.15); }

.nav-content { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.brand-logo { font-size: 1.25rem; color: white; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; }
.brand-sub { font-family: var(--font-body); font-size: 0.6rem; color: var(--text-secondary); letter-spacing: 0.2em; font-weight: 300; }
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: var(--transition); }
.nav-links a:not(.btn):hover { color: var(--text-primary); text-shadow: 0 0 10px rgba(255,255,255,0.5); }

/* Status Pill */
.status-pill {
    font-family: var(--font-body); font-size: 0.70rem; color: var(--status-color);
    border: 1px solid rgba(0, 255, 163, 0.3); padding: 6px 14px; border-radius: 20px;
    display: flex; align-items: center; gap: 10px; font-weight: 500; letter-spacing: 0.05em;
    background: rgba(0, 255, 163, 0.05);
}
.pulse-dot { width: 6px; height: 6px; background: var(--status-color); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 255, 163, 0.7); } 70% { opacity: 0.3; box-shadow: 0 0 0 6px rgba(0, 255, 163, 0); } 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 255, 163, 0); } }

/* Glass Panels & 3D Tilt Prep */
.glass-panel {
    background: var(--glass-bg); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border); border-radius: 20px; padding: 3rem; transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

/* 3D Tilt Wrapper Styles */
.tilt-card { perspective: 1000px; transform-style: preserve-3d; }
.tilt-content {
    transition: transform 0.1s ease-out; transform-style: preserve-3d;
    height: 100%; display: flex; flex-direction: column; gap: 1.2rem;
}

/* Feature Hover / Accent effects */
.feature-card:hover { border-color: rgba(168, 85, 247, 0.4); box-shadow: 0 10px 40px -10px rgba(168, 85, 247, 0.2); }
.feature-card:hover .icon-wrapper { box-shadow: 0 0 20px rgba(99, 102, 241, 0.5); color: #fff; background: var(--gradient-primary); border-color: transparent; }

/* Tracer Border for form */
.tracer-border { position: relative; }
.tracer-border::before { content: ''; position: absolute; inset: -1px; background: var(--gradient-primary); z-index: -1; border-radius: 21px; opacity: 0; transition: opacity 0.5s ease; filter: blur(5px); }
.tracer-border:hover::before { opacity: 0.3; }

/* Infinite Marquee */
.marquee-container {
    padding: 1rem 0; background: rgba(2,2,2,0.6); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(10px); display: flex; overflow: hidden; white-space: nowrap; position: relative; z-index: 10;
}
.marquee-content {
    display: flex; gap: 3rem; animation: marquee 30s linear infinite; align-items: center; color: var(--accent-color);
    font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600; letter-spacing: 2px;
}
.marquee-content span { display: inline-flex; align-items: center; }
.marquee-content .dot { width: 4px; height: 4px; background: white; border-radius: 50%; opacity: 0.5; margin-left: 3rem; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Hero Section */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: flex-start; padding-top: 100px; padding-left: 5%; overflow: hidden; }
.hero-content { max-width: 1200px; margin: 0 auto; width: 100%; display: flex; align-items: center; }
.hero-title { font-size: clamp(3.2rem, 8vw, 6.5rem); margin-bottom: 2rem; line-height: 1.05; }
.hero-subtitle { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--text-secondary); max-width: 800px; margin-bottom: 3.5rem; font-weight: 300; line-height: 1.8; }
.hero-actions { display: flex; gap: 1.5rem; }

/* Desktop Only utility */
@media (max-width: 1024px) {
    .desktop-only { display: none !important; }
}

/* High-End Tech Dashboard Widget */
.tech-dashboard { width: 420px; padding: 0; background: rgba(5,5,5,0.7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 60px rgba(99, 102, 241, 0.15); transform: perspective(1000px) rotateY(-15deg) rotateX(5deg); transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s ease; margin-left: auto; }
.tech-dashboard:hover { transform: perspective(1000px) rotateY(-5deg) rotateX(2deg); box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 80px rgba(168, 85, 247, 0.2); }
.dash-header { background: rgba(255,255,255,0.05); padding: 12px 20px; border-bottom: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: space-between; }
.dash-header .dots { display: flex; gap: 8px; }
.dash-header .dots span { display: block; width: 12px; height: 12px; border-radius: 50%; opacity: 0.9; }
.dash-header .title { font-size: 0.75rem; color: var(--text-secondary); font-family: monospace; letter-spacing: 1px; }
.dash-body { padding: 30px; display: flex; flex-direction: column; gap: 20px; }
.data-row { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px dashed rgba(255,255,255,0.1); padding-bottom: 10px; }
.data-row .label { font-size: 0.75rem; color: var(--text-secondary); letter-spacing: 2px; font-weight: 500; font-family: var(--font-body); }
.data-row .value { font-size: 1rem; font-weight: 700; color: white; }
.data-row .highlight { color: #ec4899; text-shadow: 0 0 15px rgba(236,72,153,0.5); }
.code-block { margin-top: 10px; background: rgba(0,0,0,0.6); padding: 20px; border-radius: 8px; font-family: monospace; font-size: 0.85rem; color: var(--accent-color); line-height: 1.8; border: 1px solid rgba(255,255,255,0.05); box-shadow: inset 0 0 20px rgba(0,0,0,0.8); }

/* Section Header */
.section-header { text-align: center; margin-bottom: 5rem; }
.section-header .title { font-size: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 1.2rem; }
.section-header .subtitle { max-width: 700px; margin: 0 auto; font-size: 1.15rem; color: var(--text-secondary); }

/* Features Grid */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.feature-card .icon-wrapper { width: 65px; height: 65px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); display: flex; align-items: center; justify-content: center; color: var(--accent-color); border: 1px solid var(--glass-border); transition: var(--transition); transform: translateZ(40px); /* 3D pop out */ }
.feature-card h3 { font-size: 1.25rem; letter-spacing: 0; transform: translateZ(30px); }
.feature-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.8; transform: translateZ(20px); font-family: var(--font-body); font-weight: 300; }

/* Quote Form Custom Styles */
.quote-portal { padding: 8rem 0; }
.quote-form-container { padding: 4rem; }
.form-group { margin-bottom: 2rem; }
.form-group label { display: block; font-size: 0.70rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.8rem; font-family: var(--font-body); font-weight: 600; }
.form-group input, .form-group textarea { width: 100%; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--glass-border); border-radius: 10px; padding: 1.2rem; color: var(--text-primary); font-family: var(--font-body); font-size: 1.05rem; transition: var(--transition); outline: none; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #555; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent-color); background: rgba(255, 255, 255, 0.05); box-shadow: 0 0 20px rgba(99,102,241,0.1); }
textarea { resize: vertical; }

/* Modal Overlay */
.modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.95); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); z-index: 2000; display: none; justify-content: center; align-items: center; padding: 2rem; }
.modal-box { max-width: 500px; width: 100%; padding: 4rem; border: 1px solid rgba(168, 85, 247, 0.4); box-shadow: 0 0 50px rgba(168, 85, 247, 0.2); }
.text-center { text-align: center; }

/* Footer */
.footer { border-top: 1px solid var(--glass-border); padding: 5rem 0 3rem 0; background: #000; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand h2 { font-size: 1.8rem; margin-bottom: 1rem; }
.footer-brand p { color: #444; font-size: 0.85rem; line-height: 1.8; }
.link-group h3 { font-size: 0.75rem; color: white; margin-bottom: 1.5rem; letter-spacing: 2px; text-transform: uppercase; opacity: 0.8; }
.link-group a { display: block; color: #666; text-decoration: none; font-size: 0.9rem; margin-bottom: 0.9rem; transition: var(--transition); }
.link-group a:hover { color: var(--text-primary); text-shadow: 0 0 10px rgba(255,255,255,0.2); }
.link-group .highlight-link { color: var(--status-color); }
.link-group .highlight-link:hover { text-shadow: 0 0 10px rgba(0,255,163,0.3); opacity: 0.9; }
.reach-text { color: #666; font-size: 0.9rem; margin-bottom: 1rem; line-height: 1.8; }
.seo-tags { border-top: 1px solid #111; padding-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; font-size: 0.75rem; text-align: center; }
.seo-tags a { color: #444; text-decoration: none; transition: var(--transition); }
.seo-tags a:hover { color: var(--text-secondary); }
.seo-tags span { color: #222; }

/* Animations */
.reveal-up { opacity: 0; transform: translateY(40px); transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1); }
.reveal-up.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 1024px) {
    .footer-content { grid-template-columns: 1fr 1fr; }
    nav .status-pill { display: none; }
    .hero { padding-left: 2rem; justify-content: center; text-align: center; }
    .hero-actions { justify-content: center; }
}

@media (max-width: 768px) {
    .mobile-toggle { display: block; } /* Show hamburger correctly */
    .nav-links {
        position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(5,5,5,0.98);
        backdrop-filter: blur(20px); flex-direction: column; justify-content: center; align-items: center;
        gap: 2.5rem; transform: translateY(-100%); transition: transform 0.5s ease-in-out; z-index: 1000;
    }
    .nav-links.active { transform: translateY(0); }
    .nav-links a { font-size: 1.5rem; }
    .nav-links .status-pill { display: flex; margin-bottom: 2rem; }
    .footer-content { grid-template-columns: 1fr; gap: 3rem; }
}
