:root {
    --bg-dark: #07070a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(15, 15, 20, 0.6);
    --accent-gold: #F5A623;
    --accent-gold-light: #F8E71C;
    --text-main: #FAFAFA;
    --text-muted: #A1A1AA;
    --border-glass: rgba(255, 255, 255, 0.08);
    --glow: 0 0 20px rgba(245, 166, 35, 0.3);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

* { 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;
    position: relative;
}

/* Background Blobs */
.blob {
    position: absolute;
    filter: blur(120px);
    z-index: -1;
    border-radius: 50%;
    opacity: 0.15;
    animation: drift 20s infinite alternate;
}
.blob-1 { top: -10%; left: -10%; width: 600px; height: 600px; background: var(--accent-gold); }
.blob-2 { top: 40%; right: -20%; width: 800px; height: 800px; background: #4A90E2; animation-delay: -5s; }

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 100px) scale(1.1); }
}

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 120px 0; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }

.gradient-text {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px; border-radius: 8px; font-weight: 500; text-decoration: none;
    transition: all 0.3s var(--transition); cursor: pointer; font-family: var(--font-body);
}
.btn-lg { padding: 16px 32px; font-size: 1.1rem; }
.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #D48806 100%);
    color: #000; border: none; font-weight: 600; box-shadow: 0 4px 15px rgba(245, 166, 35, 0.2);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.btn-secondary { background: transparent; color: var(--text-main); border: 1px solid var(--border-glass); }
.btn-secondary:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.2); }

/* Navbar */
nav {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 20px 0; transition: all 0.3s ease;
}
nav.scrolled {
    padding: 15px 0; background: var(--bg-glass);
    backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-glass);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 80px; mix-blend-mode: screen; object-fit: contain; margin-left: -10px; }
.logo-text {
    font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800;
    color: var(--text-main); text-decoration: none; display: flex; align-items: center; gap: 8px;
}
.logo-text span { color: var(--accent-gold); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
    color: var(--text-muted); text-decoration: none;
    font-size: 0.95rem; font-weight: 500; transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-main); }
.mobile-toggle {
    display: none; background: none; border: none;
    color: var(--text-main); font-size: 1.5rem; cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh; display: flex; flex-direction: column;
    justify-content: center; padding-top: 100px; position: relative;
}
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; }
.badge {
    display: inline-block; padding: 6px 16px; background: rgba(245, 166, 35, 0.1);
    border: 1px solid rgba(245, 166, 35, 0.2); color: var(--accent-gold);
    border-radius: 100px; font-size: 0.85rem; font-weight: 500;
    margin-bottom: 24px; letter-spacing: 0.5px;
}
.hero-title { font-size: clamp(3rem, 5vw, 4.5rem); margin-bottom: 24px; letter-spacing: -1px; }
.hero-subtitle {
    font-size: 1.15rem; color: var(--text-muted); margin-bottom: 40px;
    max-width: 650px; margin-left: auto; margin-right: auto;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; margin-bottom: 80px; }

/* Stats */
.stats-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.stat-card { padding: 32px; text-align: center; transition: transform 0.3s ease; }
.stat-card:hover { transform: translateY(-5px); border-color: rgba(245, 166, 35, 0.3); }
.stat-value { font-family: var(--font-heading); font-size: 3rem; font-weight: 800; color: var(--accent-gold); margin-bottom: 8px; line-height: 1; }
.stat-label { font-size: 1.1rem; font-weight: 600; color: var(--text-main); margin-bottom: 4px; }
.stat-sub { font-size: 0.85rem; color: var(--text-muted); }

/* Section Shared */
.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-title { font-size: clamp(2rem, 3vw, 3rem); margin-bottom: 16px; }
.section-desc { color: var(--text-muted); font-size: 1.1rem; }

/* About Grid */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-list { margin-top: 40px; display: flex; flex-direction: column; gap: 32px; }
.feature-item { display: flex; gap: 20px; }
.feature-icon {
    width: 48px; height: 48px; background: rgba(245, 166, 35, 0.1);
    color: var(--accent-gold); border-radius: 12px; display: flex;
    align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0;
}
.feature-content h3 { font-size: 1.25rem; margin-bottom: 8px; }
.feature-content p { color: var(--text-muted); font-size: 0.95rem; }

/* Custom Visual Orb */
.visual-card { height: 500px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.core-node {
    width: 100px; height: 100px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gold), #D48806); color: #000;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-weight: 800; font-size: 2rem;
    box-shadow: 0 0 40px rgba(245, 166, 35, 0.4); z-index: 2;
}
.pulse-ring {
    position: absolute; width: 250px; height: 250px; border: 1px dashed rgba(255,255,255,0.2);
    border-radius: 50%; animation: rotate 20s linear infinite;
}
.orbit-node {
    position: absolute; width: 40px; height: 40px; background: var(--bg-card);
    border: 1px solid var(--border-glass); backdrop-filter: blur(10px);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--text-main); z-index: 3;
}
.n1 { top: 20%; left: 20%; } .n2 { top: 20%; right: 20%; } .n3 { bottom: 20%; left: 50%; transform: translateX(-50%); }

@keyframes rotate { 100% { transform: rotate(360deg); } }

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.service-card { padding: 40px 32px; transition: all 0.3s ease; border-top: 2px solid transparent; }
.service-card:hover {
    transform: translateY(-8px); border-top-color: var(--accent-gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4); background: rgba(255,255,255,0.05);
}
.service-icon {
    width: 56px; height: 56px; background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-glass); border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--text-main); margin-bottom: 24px; transition: all 0.3s;
}
.service-card:hover .service-icon { background: var(--accent-gold); color: #000; border-color: var(--accent-gold); }
.service-card h3 { font-size: 1.5rem; margin-bottom: 16px; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Clients Ticker */
.clients-ticker { padding: 30px 0; overflow: hidden; margin-bottom: 60px; }
.ticker-track {
    display: flex; gap: 60px; white-space: nowrap;
    animation: scroll 30s linear infinite; align-items: center;
}
.ticker-track span {
    font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600;
    color: rgba(255,255,255,0.5); transition: color 0.3s;
}
.ticker-track span:hover { color: var(--text-main); }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-200px * 6 - 360px)); }
}

/* Work Showcase */
.work-showcase { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.work-card {
    height: 360px;
    background-size: cover; background-position: center;
    display: flex; align-items: flex-end; padding: 40px; position: relative; overflow: hidden;
}
.work-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, var(--bg-dark), transparent); z-index: 1;
}
.work-content { position: relative; z-index: 2; }
.work-tag {
    display: inline-block; padding: 4px 12px; background: var(--accent-gold);
    color: #000; font-size: 0.75rem; font-weight: 600; border-radius: 4px; margin-bottom: 12px;
}
.work-card h3 { font-size: 2rem; margin-bottom: 16px; }
.work-link {
    color: var(--text-main); text-decoration: none; font-weight: 500;
    display: inline-flex; align-items: center; gap: 8px; transition: color 0.3s;
}
.work-link:hover { color: var(--accent-gold); }

/* Testimonials */
.masonry-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; align-items: start; }
.testimonial-card { padding: 32px; position: relative; }
.quote-icon { font-size: 2rem; color: rgba(245, 166, 35, 0.2); margin-bottom: 16px; }
.testimonial-card p { font-size: 1.05rem; font-weight: 300; font-style: italic; margin-bottom: 24px; }
.client-name { font-weight: 600; color: var(--accent-gold); }

/* CTA */
.cta-box {
    text-align: center; padding: 80px 40px;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.1), rgba(15,15,20,0.8));
    border: 1px solid rgba(245, 166, 35, 0.2);
}
.cta-box h2 { font-size: 2.5rem; margin-bottom: 16px; }
.cta-box p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* Footer */
footer { border-top: 1px solid var(--border-glass); padding-top: 80px; background: #050508; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-logo { height: 90px; mix-blend-mode: screen; object-fit: contain; margin-left: -10px; }
.footer-brand p { color: var(--text-muted); margin-top: 16px; font-size: 0.95rem; }
.footer-links h4, .footer-contact h4 { font-size: 1.1rem; margin-bottom: 24px; color: var(--text-main); }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a, .footer-contact a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; transition: color 0.3s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent-gold); }
.footer-bottom { border-top: 1px solid var(--border-glass); padding: 24px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }
.scroll-top {
    width: 40px; height: 40px; background: var(--bg-card); border: 1px solid var(--border-glass);
    border-radius: 8px; display: flex; align-items: center; justify-content: center;
    color: var(--text-main); text-decoration: none; transition: all 0.3s;
}
.scroll-top:hover { background: var(--accent-gold); color: #000; }

/* Animations */
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 992px) {
    .stats-container { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .work-showcase { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .nav-links, .nav-container .btn { display: none; }
    .mobile-toggle { display: block; }
    .nav-links.active {
        display: flex; flex-direction: column; position: absolute; top: 100%; left: 0;
        width: 100%; background: var(--bg-dark); padding: 24px; border-bottom: 1px solid var(--border-glass);
    }
}
@media (max-width: 576px) {
    .section-padding { padding: 80px 0; }
    .hero-cta { flex-direction: column; }
    .footer-content { grid-template-columns: 1fr; gap: 40px; }
    .clients-ticker { display: none; }
}
