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

:root {
  --bg: #080808;
  --bg2: #0e0e0e;
  --bg3: #141414;
  --accent: #c9f31d;
  --accent2: #a855f7;
  --text: #f0f0f0;
  --text-muted: #777;
  --border: rgba(255,255,255,0.08);
  --radius: 16px;
  --font-sans: 'Space Grotesk', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { background: var(--bg); color: var(--text); font-family: var(--font-sans); overflow-x: hidden; cursor: none; }

/* SCROLLBAR */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* CURSOR */
.cursor { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; position: fixed; pointer-events: none; z-index: 10000; transform: translate(-50%, -50%); transition: transform 0.1s; }
.cursor-follower { width: 36px; height: 36px; border: 1.5px solid rgba(201,243,29,0.5); border-radius: 50%; position: fixed; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); transition: transform 0.15s ease, width 0.3s, height 0.3s, border-color 0.3s; }
body:hover .cursor-follower { border-color: rgba(201,243,29,0.8); }
a:hover ~ .cursor-follower, button:hover ~ .cursor-follower { width: 60px; height: 60px; }

/* PRELOADER */
.preloader { position: fixed; inset: 0; background: var(--bg); z-index: 99999; display: flex; align-items: center; justify-content: center; transition: opacity 0.6s, visibility 0.6s; }
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-text { font-size: 11px; letter-spacing: 6px; color: var(--text-muted); display: block; margin-bottom: 20px; }
.preloader-bar { width: 200px; height: 1px; background: var(--border); }
.preloader-fill { height: 100%; background: var(--accent); width: 0; transition: width 1.5s ease; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 24px 48px; display: flex; align-items: center; justify-content: space-between; transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s; }
.nav.scrolled { background: rgba(8,8,8,0.9); backdrop-filter: blur(20px); padding: 16px 48px; border-bottom: 1px solid var(--border); }
.nav-logo { font-size: 24px; font-weight: 700; letter-spacing: -1px; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: 0.5px; transition: color 0.3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--accent); transition: width 0.3s; }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: 10px 24px; background: var(--accent); color: #000; font-size: 13px; font-weight: 700; text-decoration: none; border-radius: 40px; letter-spacing: 0.5px; transition: transform 0.3s, box-shadow 0.3s; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,243,29,0.3); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* MOBILE MENU */
.mobile-menu { position: fixed; inset: 0; background: var(--bg); z-index: 999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s; }
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu ul { list-style: none; text-align: center; }
.mobile-menu a { font-size: clamp(32px, 8vw, 60px); font-family: var(--font-serif); color: var(--text); text-decoration: none; line-height: 1.4; display: block; transition: color 0.3s; }
.mobile-menu a:hover { color: var(--accent); }

/* CONTAINER */
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 768px) { .container { padding: 0 24px; } }

/* HERO */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; padding: 120px 0 60px; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.noise { position: absolute; inset: 0; 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)' opacity='1'/%3E%3C/svg%3E"); background-size: 256px; pointer-events: none; }
.gradient-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.15; animation: float 8s ease-in-out infinite; }
.orb-1 { width: 600px; height: 600px; background: var(--accent); top: -200px; right: -100px; animation-delay: 0s; }
.orb-2 { width: 400px; height: 400px; background: var(--accent2); bottom: -100px; left: -100px; animation-delay: -3s; }
.orb-3 { width: 300px; height: 300px; background: #06b6d4; top: 50%; left: 40%; animation-delay: -6s; }
@keyframes float { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-40px) scale(1.05); } }

.hero-content { position: relative; z-index: 2; padding: 0 48px; max-width: 900px; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 32px; }
.dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }

.hero-title { font-family: var(--font-serif); font-size: clamp(56px, 10vw, 140px); line-height: 0.95; letter-spacing: -3px; margin-bottom: 32px; overflow: hidden; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > * { display: inline-block; animation: slideUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; }
.hero-title .line:nth-child(1) > * { animation-delay: 0.3s; }
.hero-title .line:nth-child(2) > * { animation-delay: 0.5s; }
.hero-title .line:nth-child(3) > * { animation-delay: 0.7s; }
@keyframes slideUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.hero-title em { font-style: italic; color: var(--accent); }

.hero-sub { font-size: 14px; letter-spacing: 4px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 48px; animation: fadeIn 1s 0.9s both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeIn 1s 1.1s both; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; font-size: 14px; font-weight: 600; text-decoration: none; border-radius: 40px; border: none; cursor: pointer; transition: transform 0.3s, box-shadow 0.3s, background 0.3s; letter-spacing: 0.5px; font-family: var(--font-sans); }
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(201,243,29,0.35); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }
.btn-full { width: 100%; justify-content: center; font-size: 15px; padding: 16px; border-radius: 12px; }

.hero-scroll { position: absolute; bottom: 48px; left: 48px; display: flex; align-items: center; gap: 12px; z-index: 2; }
.hero-scroll span { font-size: 10px; letter-spacing: 4px; color: var(--text-muted); writing-mode: vertical-rl; }
.scroll-line { width: 1px; height: 60px; background: linear-gradient(to bottom, var(--accent), transparent); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.hero-stats { position: absolute; bottom: 48px; right: 48px; display: flex; gap: 48px; z-index: 2; animation: fadeIn 1s 1.3s both; }
.stat { text-align: right; }
.stat-n { display: block; font-size: 32px; font-weight: 700; font-family: var(--font-serif); line-height: 1; }
.stat-l { font-size: 11px; letter-spacing: 1px; color: var(--text-muted); text-transform: uppercase; }

/* MARQUEE */
.marquee-wrap { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg2); padding: 16px 0; }
.marquee-track { display: flex; gap: 40px; white-space: nowrap; animation: marquee 20s linear infinite; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); }
.marquee-track span { flex-shrink: 0; }
.mx { color: var(--accent); font-size: 10px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ABOUT */
.about { padding: 120px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 3/4; }
.img-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); display: flex; align-items: center; justify-content: center; }
.img-inner svg { width: 60%; opacity: 0.8; }
.about-badge { position: absolute; bottom: -20px; right: -20px; width: 120px; height: 120px; }
.badge-ring { width: 100%; height: 100%; fill: none; stroke: none; animation: spin 15s linear infinite; color: var(--text-muted); }
.badge-star { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 24px; color: var(--accent); }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.section-label { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 16px; }
.section-title { font-family: var(--font-serif); font-size: clamp(32px, 4vw, 52px); line-height: 1.15; letter-spacing: -1px; margin-bottom: 24px; }
.section-title em { font-style: italic; color: var(--accent); }

.about-text p { color: #aaa; line-height: 1.8; margin-bottom: 16px; font-size: 15px; }
.skills { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0; }
.skill-item { padding: 8px 18px; border: 1px solid var(--border); border-radius: 40px; font-size: 13px; color: var(--text-muted); transition: border-color 0.3s, color 0.3s; }
.skill-item:hover { border-color: var(--accent); color: var(--accent); }

/* SECTION HEADER */
.section-header { margin-bottom: 64px; }

/* WORK */
.work { padding: 120px 0; background: var(--bg2); }
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.work-card { border-radius: var(--radius); overflow: hidden; background: var(--bg3); border: 1px solid var(--border); transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s; cursor: pointer; }
.work-card:hover { transform: translateY(-8px); border-color: rgba(201,243,29,0.3); box-shadow: 0 24px 60px rgba(0,0,0,0.4); }
.card-large { grid-column: span 7; }
.work-card:not(.card-large):not(.card-wide) { grid-column: span 5; }
.card-wide { grid-column: span 5; }
.work-card:nth-child(3) { grid-column: span 4; }
.work-card:nth-child(4) { grid-column: span 8; }
.work-card:nth-child(5) { grid-column: span 4; }

.card-img { aspect-ratio: 16/10; overflow: hidden; display: flex; align-items: center; justify-content: center; position: relative; }
.card-large .card-img { aspect-ratio: 16/9; }
.card-info { padding: 28px; }
.card-cat { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.card-info h3 { font-family: var(--font-serif); font-size: 22px; margin: 8px 0 12px; }
.card-info p { font-size: 14px; color: #888; line-height: 1.6; margin-bottom: 16px; }
.card-link { font-size: 13px; font-weight: 600; color: var(--text-muted); text-decoration: none; letter-spacing: 0.5px; transition: color 0.3s; }
.card-link:hover { color: var(--accent); }

/* MOCKUPS */
.card-mockup { width: 80%; height: 80%; display: flex; align-items: center; justify-content: center; }
.mockup-brand { flex-direction: column; gap: 20px; }
.mock-logo { font-family: var(--font-serif); font-size: 28px; font-weight: 900; color: white; text-align: center; line-height: 1.1; }
.mock-logo span { font-size: 12px; letter-spacing: 6px; font-family: var(--font-sans); font-weight: 400; color: rgba(255,255,255,0.5); }
.mock-colors { display: flex; gap: 8px; }
.mock-colors span { width: 36px; height: 36px; border-radius: 50%; }
.mockup-ui { width: 75%; }
.mock-screen { background: rgba(255,255,255,0.08); border-radius: 12px; padding: 16px; border: 1px solid rgba(255,255,255,0.1); }
.mock-bar { height: 6px; background: rgba(255,255,255,0.15); border-radius: 3px; margin-bottom: 12px; }
.mc-line { height: 6px; background: rgba(255,255,255,0.2); border-radius: 3px; margin-bottom: 8px; }
.mc-line.long { width: 90%; }
.mc-line.med { width: 70%; }
.mc-line.short { width: 50%; }
.mc-btn { width: 80px; height: 28px; background: rgba(201,243,29,0.4); border-radius: 20px; margin-top: 16px; }
.mockup-motion { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.motion-circle { position: absolute; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; animation: expandFade 3s ease-in-out infinite; }
.c1 { width: 80px; height: 80px; animation-delay: 0s; }
.c2 { width: 130px; height: 130px; animation-delay: -1s; }
.c3 { width: 180px; height: 180px; animation-delay: -2s; }
@keyframes expandFade { 0%, 100% { opacity: 0.8; transform: scale(0.9); } 50% { opacity: 0.2; transform: scale(1.1); } }
.motion-text { font-family: var(--font-serif); font-size: 18px; color: white; text-align: center; line-height: 1.2; z-index: 1; }
.mockup-print { width: 75%; height: 75%; display: flex; align-items: center; justify-content: center; }
.print-book { display: flex; }
.book-cover { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); padding: 20px 16px; border-radius: 4px 8px 8px 4px; font-size: 10px; letter-spacing: 3px; color: white; font-family: var(--font-sans); font-weight: 700; line-height: 1.8; }
.book-cover span { font-size: 20px; font-family: var(--font-serif); display: block; }
.book-spine { width: 12px; background: rgba(255,255,255,0.15); border-radius: 0 2px 2px 0; margin-left: -1px; }
.mockup-poster { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; position: relative; }
.poster-shape { position: absolute; width: 100px; height: 100px; background: rgba(0,0,0,0.3); border-radius: 50%; }
.poster-text { font-family: var(--font-serif); font-size: 20px; font-weight: 900; color: white; text-align: center; line-height: 1.1; z-index: 1; text-shadow: 2px 2px 20px rgba(0,0,0,0.5); }
.poster-text em { display: block; font-style: italic; font-size: 14px; opacity: 0.8; }

/* SERVICES */
.services { padding: 120px 0; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 48px 32px; position: relative; overflow: hidden; transition: border-color 0.4s, transform 0.4s; }
.service-card:hover { border-color: rgba(201,243,29,0.4); transform: translateY(-6px); }
.service-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(201,243,29,0.03), transparent); opacity: 0; transition: opacity 0.4s; }
.service-card:hover::before { opacity: 1; }
.service-icon { font-size: 32px; margin-bottom: 24px; color: var(--accent); display: block; }
.service-card h3 { font-family: var(--font-serif); font-size: 22px; margin-bottom: 16px; }
.service-card p { font-size: 14px; color: #888; line-height: 1.7; }
.service-num { position: absolute; top: 32px; right: 32px; font-size: 11px; color: var(--border); letter-spacing: 2px; font-weight: 700; }

/* TESTIMONIALS */
.testimonials { padding: 120px 0; background: var(--bg2); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.testi-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; transition: border-color 0.3s; }
.testi-card:hover { border-color: rgba(201,243,29,0.2); }
.testi-featured { border-color: rgba(201,243,29,0.3); background: linear-gradient(135deg, rgba(201,243,29,0.03), var(--bg3)); }
.testi-stars { color: var(--accent); margin-bottom: 20px; font-size: 14px; letter-spacing: 3px; }
.testi-card p { font-size: 14px; color: #999; line-height: 1.8; margin-bottom: 28px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 16px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #000; flex-shrink: 0; }
.testi-author strong { display: block; font-size: 14px; margin-bottom: 2px; }
.testi-author span { font-size: 12px; color: var(--text-muted); }

/* CONTACT */
.contact { padding: 120px 0; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-left p { font-size: 15px; color: #999; line-height: 1.8; margin-bottom: 40px; }
.contact-links { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.contact-link { display: flex; align-items: center; gap: 16px; font-size: 15px; color: #aaa; text-decoration: none; transition: color 0.3s; }
.contact-link:hover { color: var(--accent); }
.cl-icon { width: 40px; height: 40px; background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; transition: border-color 0.3s; }
.contact-link:hover .cl-icon { border-color: var(--accent); }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.social-btn { padding: 8px 20px; border: 1px solid var(--border); border-radius: 40px; font-size: 13px; color: var(--text-muted); text-decoration: none; transition: border-color 0.3s, color 0.3s; }
.social-btn:hover { border-color: var(--accent); color: var(--accent); }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; color: var(--text); font-family: var(--font-sans); font-size: 14px; outline: none; transition: border-color 0.3s; -webkit-appearance: none; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--accent); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group select option { background: var(--bg2); }
.form-group textarea { resize: vertical; min-height: 140px; }

/* FOOTER */
.footer { padding: 48px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-logo { font-size: 28px; font-weight: 700; }
.footer-logo span { color: var(--accent); }
.footer-copy { font-size: 13px; color: var(--text-muted); }
.back-top { font-size: 13px; color: var(--text-muted); text-decoration: none; letter-spacing: 1px; transition: color 0.3s; }
.back-top:hover { color: var(--accent); }

/* REVEAL ANIMATIONS */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-img-wrap { max-width: 400px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-stats { gap: 24px; }
  .work-card, .card-large, .card-wide, .work-card:nth-child(3), .work-card:nth-child(4), .work-card:nth-child(5) { grid-column: span 12; }
}
@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .nav.scrolled { padding: 14px 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-content { padding: 0 24px; }
  .hero-scroll { left: 24px; display: none; }
  .hero-stats { right: 24px; bottom: 24px; flex-direction: column; gap: 12px; }
  .stat { text-align: right; }
  .stat-n { font-size: 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .testi-grid { grid-template-columns: 1fr; }
}
