/* NexusDigital - Modern Asymmetric Digital Agency */
:root {
    --primary: #0a0a0a;
    --accent: #ff6b35;
    --accent-alt: #6366f1;
    --white: #ffffff;
    --gray-100: #f5f5f5;
    --gray-300: #d4d4d4;
    --gray-500: #737373;
    --gray-800: #262626;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--primary); color: var(--white); line-height: 1.6; }
::selection { background: var(--accent); color: var(--primary); }
.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }

.noise-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 10000; opacity: 0.03; 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 */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1.5rem 0; transition: all 0.3s; }
.navbar.scrolled { background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(20px); padding: 1rem 0; }
.nav-container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--white); }
.logo-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--primary); font-weight: 700; }
.logo .highlight { color: var(--accent); }
.nav-menu { display: flex; list-style: none; gap: 2.5rem; }
.nav-link { color: var(--gray-300); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.3s; }
.nav-link:hover { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 1.5rem; }
.language-selector { position: relative; }
.lang-btn { padding: 0.5rem 1rem; background: transparent; border: 1px solid var(--gray-800); color: var(--white); font-size: 0.8rem; cursor: pointer; }
.lang-dropdown { position: absolute; top: calc(100% + 0.5rem); right: 0; background: var(--gray-800); min-width: 120px; opacity: 0; visibility: hidden; transition: all 0.3s; }
.language-selector.active .lang-dropdown { opacity: 1; visibility: visible; }
.lang-option { display: block; width: 100%; padding: 0.75rem 1rem; background: transparent; border: none; color: var(--white); font-size: 0.85rem; text-align: left; cursor: pointer; }
.lang-option:hover, .lang-option.active { background: var(--accent); color: var(--primary); }
.cta-btn { padding: 0.75rem 1.5rem; background: var(--accent); color: var(--primary); font-weight: 600; font-size: 0.85rem; text-decoration: none; transition: all 0.3s; }
.cta-btn:hover { background: var(--white); }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: transparent; border: none; cursor: pointer; }
.mobile-toggle span { width: 25px; height: 2px; background: var(--white); }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.video-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.video-bg video { width: 100%; height: 100%; object-fit: cover; }
.video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.7) 100%); }
.hero-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem; align-items: center; padding: 8rem 2rem 4rem; max-width: 1400px; margin: 0 auto; width: 100%; }
.hero-tag { display: inline-block; padding: 0.5rem 1rem; background: rgba(255,107,53,0.1); border: 1px solid var(--accent); color: var(--accent); font-size: 0.75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 2rem; }
.hero-title { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 700; line-height: 1.05; margin-bottom: 1.5rem; }
.hero-title .line { display: block; }
.hero-title .outline { -webkit-text-stroke: 1px var(--white); -webkit-text-fill-color: transparent; }
.hero-text { font-size: 1.1rem; color: var(--gray-300); max-width: 500px; margin-bottom: 2.5rem; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary { padding: 1rem 2rem; background: var(--accent); color: var(--primary); font-weight: 600; text-decoration: none; transition: all 0.3s; }
.btn-primary:hover { background: var(--white); }
.btn-secondary { padding: 1rem 2rem; background: transparent; border: 1px solid var(--white); color: var(--white); font-weight: 500; text-decoration: none; transition: all 0.3s; }
.btn-secondary:hover { background: var(--white); color: var(--primary); }
.hero-stats { display: flex; flex-direction: column; gap: 2rem; }
.hero-stats .stat { text-align: right; }
.hero-stats .num { display: block; font-family: var(--font-display); font-size: 4rem; font-weight: 700; color: var(--accent); line-height: 1; }
.hero-stats .label { font-size: 0.9rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 2px; }
.scroll-indicator { position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%); }
.scroll-indicator span { display: block; width: 2px; height: 50px; background: linear-gradient(to bottom, var(--accent), transparent); animation: scroll 2s ease-in-out infinite; }
@keyframes scroll { 0%, 100% { opacity: 0; transform: translateY(-10px); } 50% { opacity: 1; transform: translateY(0); } }

/* Marquee */
.marquee { padding: 2rem 0; background: var(--accent); overflow: hidden; }
.marquee-content { display: flex; gap: 3rem; animation: marquee 20s linear infinite; white-space: nowrap; }
.marquee-content span { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--primary); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Sections */
section { padding: 120px 0; }
.section-tag { display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.section-title { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; line-height: 1.1; }
.section-header.asymmetric { display: flex; justify-content: flex-end; margin-bottom: 4rem; text-align: right; }
.section-header.centered { text-align: center; margin-bottom: 4rem; }

/* Work Grid */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.work-item { position: relative; overflow: hidden; background: var(--gray-800); transition: all 0.4s; }
.work-item.large { grid-column: span 2; grid-row: span 2; }
.work-item.wide { grid-column: span 2; }
.work-image { height: 300px; overflow: hidden; }
.work-item.large .work-image { height: 100%; min-height: 500px; }
.work-image .placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-alt) 100%); opacity: 0.3; transition: all 0.4s; }
.work-item:hover .placeholder { opacity: 0.5; transform: scale(1.05); }
.work-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem; background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, transparent 100%); }
.work-cat { display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }
.work-info h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; }
.work-info p { font-size: 0.9rem; color: var(--gray-500); }
.work-cta { text-align: center; margin-top: 4rem; }
.btn-outline { display: inline-block; padding: 1rem 2rem; border: 1px solid var(--white); color: var(--white); text-decoration: none; font-weight: 500; transition: all 0.3s; }
.btn-outline:hover { background: var(--white); color: var(--primary); }

/* Services */
.services { background: var(--gray-800); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.service-card { padding: 3rem 2rem; border-right: 1px solid rgba(255,255,255,0.1); transition: all 0.3s; }
.service-card:last-child { border-right: none; }
.service-card:hover { background: rgba(255,107,53,0.05); }
.service-num { display: block; font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--accent); margin-bottom: 1.5rem; }
.service-card h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 1rem; }
.service-card p { font-size: 0.9rem; color: var(--gray-500); margin-bottom: 1.5rem; }
.service-card ul { list-style: none; }
.service-card li { font-size: 0.85rem; color: var(--gray-300); padding: 0.25rem 0; }
.service-card li::before { content: '→ '; color: var(--accent); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.about-content p { color: var(--gray-300); margin: 1.5rem 0 2rem; }
.about-features { display: flex; flex-direction: column; gap: 1rem; }
.feature { display: flex; align-items: center; gap: 1rem; }
.feature .icon { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--primary); font-size: 0.8rem; font-weight: 700; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.team-member { text-align: center; padding: 2rem; background: var(--gray-800); }
.team-member .avatar { width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; background: var(--accent); color: var(--primary); font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; border-radius: 50%; }
.team-member span { display: block; font-weight: 600; }
.team-member small { color: var(--gray-500); font-size: 0.85rem; }

/* Contact */
.contact { background: linear-gradient(135deg, var(--primary) 0%, var(--gray-800) 100%); }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 6rem; }
.contact-info { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.info-item .label { display: block; font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 0.25rem; }
.info-item a, .info-item span { color: var(--white); text-decoration: none; font-size: 1.1rem; }
.contact-form { background: rgba(255,255,255,0.03); padding: 3rem; border: 1px solid rgba(255,255,255,0.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.form-group { position: relative; margin-bottom: 1.5rem; }
.form-group input, .form-group textarea { width: 100%; padding: 1rem; background: transparent; border: 1px solid rgba(255,255,255,0.2); color: var(--white); font-family: var(--font-body); font-size: 1rem; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group label { position: absolute; left: 1rem; top: 1rem; color: var(--gray-500); pointer-events: none; transition: all 0.3s; }
.form-group input:focus + label, .form-group input:valid + label, .form-group textarea:focus + label, .form-group textarea:valid + label { top: -0.5rem; left: 0.5rem; font-size: 0.75rem; color: var(--accent); background: var(--primary); padding: 0 0.5rem; }
.submit-btn { width: 100%; padding: 1.25rem; background: var(--accent); border: none; color: var(--primary); font-family: var(--font-body); font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s; }
.submit-btn:hover { background: var(--white); }

/* Footer */
.footer { background: var(--primary); padding: 4rem 0 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3rem; flex-wrap: wrap; gap: 2rem; }
.footer-brand .logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--white); text-decoration: none; }
.footer-brand .logo span { color: var(--accent); }
.footer-brand p { color: var(--gray-500); margin-top: 0.5rem; font-size: 0.9rem; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--gray-300); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--gray-800); color: var(--white); text-decoration: none; font-size: 0.8rem; transition: all 0.3s; }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--primary); }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; }
.footer-bottom p { font-size: 0.85rem; color: var(--gray-500); }

/* Responsive */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-right { display: none; }
    .hero-buttons { justify-content: center; }
    .work-grid { grid-template-columns: 1fr 1fr; }
    .work-item.large { grid-row: span 1; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .service-card { border-bottom: 1px solid rgba(255,255,255,0.1); }
    .service-card:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
    .about-grid { grid-template-columns: 1fr; gap: 4rem; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 4rem; }
}
@media (max-width: 768px) {
    .nav-menu { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background: var(--primary); flex-direction: column; justify-content: center; align-items: center; gap: 2rem; transition: right 0.3s; }
    .nav-menu.active { right: 0; }
    .mobile-toggle { display: flex; }
    .cta-btn { display: none; }
    .work-grid { grid-template-columns: 1fr; }
    .work-item.large, .work-item.wide { grid-column: span 1; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card { border-right: none !important; }
    .form-row { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
}
