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

:root {
  --bg: #080c10;
  --bg2: #0d1117;
  --bg3: #131b24;
  --bg4: #1a2332;
  --fg: #e8edf3;
  --muted: #5a7080;
  --muted2: #2a3a4a;
  --blue: #2d7ef7;
  --blue2: #1a5fd4;
  --green: #00c9a7;
  --green2: #00a688;
  --glow-blue: rgba(45,126,247,0.18);
  --glow-green: rgba(0,201,167,0.15);
  --border: #1a2535;
  --border2: #243347;
  --grad: linear-gradient(135deg, #2d7ef7, #00c9a7);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Space Grotesk', sans-serif;
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue2); }

/* ── NOISE OVERLAY ── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  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='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px; height: 80px;
  background: rgba(8,12,16,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Cabinet Grotesk', 'Space Grotesk', sans-serif;
  font-size: 22px; font-weight: 900; letter-spacing: -0.02em;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; list-style: none; gap: 4px; }
.nav-links a {
  font-size: 13px; color: var(--muted); text-decoration: none;
  padding: 7px 16px; border-radius: 6px; transition: all .2s; font-weight: 500;
}
.nav-links a:hover { color: var(--fg); background: var(--bg3); }
.nav-cta {
  font-size: 13px; font-weight: 600;
  background: var(--grad); color: #fff;
  padding: 10px 24px; border-radius: 8px; text-decoration: none;
  transition: opacity .2s; white-space: nowrap;
}
.nav-cta:hover { opacity: 0.85; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-hamburger span { width: 22px; height: 2px; background: var(--fg); transition: all .3s; }

/* ── SECTION BASE ── */
section { position: relative; z-index: 1; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 60px; }

/* ── LABELS ── */
.label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--green); font-weight: 600; margin-bottom: 20px;
}
.label::before { content: ''; width: 20px; height: 1px; background: var(--green); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; font-family: 'Space Grotesk', sans-serif;
  padding: 14px 28px; border-radius: 10px; cursor: pointer;
  text-decoration: none; transition: all .25s; border: none;
}
.btn-primary { background: var(--grad); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--glow-blue); }
.btn-outline { border: 1px solid var(--border2); color: var(--fg); background: none; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); background: var(--glow-blue); }

/* ── FADE IN ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ────────────────── HERO ────────────────── */
#hero {
  min-height: 100vh; padding-top: 80px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.hero-glow {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(45,126,247,0.12) 0%, rgba(0,201,167,0.06) 50%, transparent 70%);
  pointer-events: none;
}
.hero-grid-line {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 80px 80px; opacity: 0.3;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 100%);
}
.hero-inner {
  flex: 1; display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  padding: 80px 60px 60px; max-width: 1200px; margin: 0 auto; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg3); border: 1px solid var(--border2);
  padding: 7px 14px; border-radius: 100px; margin-bottom: 28px;
  font-size: 12px; color: var(--green); font-weight: 500;
  animation: fadeIn .6s .2s both;
}
.hero-badge::before { content: ''; width: 7px; height: 7px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }
.hero-title {
  font-family: 'Cabinet Grotesk', 'Space Grotesk', sans-serif;
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 900; letter-spacing: -0.04em; line-height: 0.95;
  margin-bottom: 24px;
  animation: fadeIn .7s .3s both;
}
.hero-title .grad { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-title .dim { color: var(--muted2); }
.hero-sub {
  font-size: 17px; color: var(--muted); line-height: 1.8; margin-bottom: 36px;
  max-width: 480px; font-weight: 400;
  animation: fadeIn .7s .45s both;
}
.hero-sub strong { color: var(--fg); font-weight: 500; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; animation: fadeIn .7s .6s both; }
.hero-right { position: relative; animation: fadeIn .8s .4s both; }
.hero-mockup {
  width: 100%; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border2);
  box-shadow: 0 0 80px rgba(45,126,247,0.15), 0 40px 80px rgba(0,0,0,0.5);
  position: relative;
}
.mockup-bar {
  background: var(--bg3); padding: 12px 16px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-url {
  flex: 1; background: var(--bg4); border-radius: 6px; padding: 5px 12px;
  font-size: 11px; color: var(--muted); letter-spacing: .02em;
}
.mockup-screen {
  background: var(--bg2); padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.mock-nav { background: var(--bg3); border-radius: 6px; height: 36px; display: flex; align-items: center; padding: 0 16px; gap: 8px; }
.mock-nav-dot { height: 6px; border-radius: 3px; background: var(--muted2); }
.mock-hero-img {
  height: 160px; border-radius: 8px; overflow: hidden;
  background: url('https://images.unsplash.com/photo-1547658719-da2b51169166?w=600&q=80') center/cover;
  position: relative;
}
.mock-hero-overlay {
  position: absolute; inset: 0; background: linear-gradient(135deg, rgba(45,126,247,0.6), rgba(0,201,167,0.4));
  display: flex; flex-direction: column; justify-content: center; padding: 20px;
}
.mock-title-bar { height: 14px; width: 60%; border-radius: 4px; background: rgba(255,255,255,0.9); margin-bottom: 8px; }
.mock-sub-bar { height: 8px; width: 40%; border-radius: 4px; background: rgba(255,255,255,0.5); }
.mock-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.mock-card { background: var(--bg3); border-radius: 6px; padding: 12px; border: 1px solid var(--border); }
.mock-card-icon { width: 24px; height: 24px; border-radius: 6px; background: var(--grad); margin-bottom: 8px; }
.mock-card-line { height: 6px; border-radius: 3px; background: var(--muted2); margin-bottom: 5px; }
.mock-card-line.short { width: 60%; }
.hero-float-1 {
  position: absolute; top: -20px; right: -20px;
  background: var(--bg3); border: 1px solid var(--border2);
  border-radius: 12px; padding: 14px 18px;
  font-size: 12px; font-weight: 500;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  animation: float1 4s ease-in-out infinite;
}
.hero-float-1 span { color: var(--green); }
.hero-float-2 {
  position: absolute; bottom: -10px; left: -20px;
  background: var(--bg3); border: 1px solid var(--border2);
  border-radius: 12px; padding: 14px 18px;
  font-size: 12px; font-weight: 500;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  animation: float2 5s ease-in-out infinite;
}
.hero-float-2 span { color: var(--blue); }
@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }
.hero-stats {
  display: flex; gap: 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg2);
}
.hero-stat {
  flex: 1; padding: 24px 40px;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 4px;
}
.hero-stat:last-child { border-right: none; }
.stat-n {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 40px; font-weight: 900; letter-spacing: -0.04em;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-l { font-size: 12px; color: var(--muted); letter-spacing: .08em; font-weight: 500; }

/* ────────────────── MARQUEE ────────────────── */
.marquee-wrap {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden; padding: 14px 0; background: var(--bg2); position: relative; z-index: 1;
}
.marquee-track { display: flex; gap: 56px; animation: marquee 28s linear infinite; white-space: nowrap; }
.marquee-item { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); flex-shrink: 0; font-weight: 500; }
.marquee-item span { color: var(--green); margin-right: 56px; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ────────────────── SERVICES ────────────────── */
#services { padding: 120px 0; background: var(--bg); }
.section-header { text-align: center; margin-bottom: 72px; }
.section-title {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: clamp(36px, 5vw, 60px); font-weight: 900;
  letter-spacing: -0.04em; line-height: 1; margin-bottom: 16px;
}
.section-sub { font-size: 16px; color: var(--muted); max-width: 500px; margin: 0 auto; line-height: 1.7; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border); border: 1px solid var(--border); }
.service-card {
  background: var(--bg2); padding: 44px 36px;
  transition: background .25s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform .35s;
}
.service-card:hover { background: var(--bg3); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--bg4); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 24px;
  transition: background .25s;
}
.service-card:hover .service-icon { background: var(--glow-blue); border-color: var(--blue); }
.service-name { font-family: 'Cabinet Grotesk', sans-serif; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.service-desc { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 20px; }
.service-price { font-size: 13px; color: var(--green); font-weight: 600; }

/* ────────────────── WHY ────────────────── */
#why { padding: 120px 0; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.why-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-left .section-title { text-align: left; }
.why-left .section-sub { text-align: left; margin: 0 0 36px; }
.why-visual {
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border2);
  box-shadow: 0 0 60px rgba(0,201,167,0.1);
}
.why-visual img { width: 100%; height: 380px; object-fit: cover; display: block; filter: brightness(0.85); }
.why-items { display: flex; flex-direction: column; gap: 0; }
.why-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 22px 0; border-bottom: 1px solid var(--border);
  transition: all .2s;
}
.why-item:first-child { border-top: 1px solid var(--border); }
.why-item:hover { padding-left: 8px; }
.why-num {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 28px; font-weight: 900; letter-spacing: -0.03em;
  color: var(--muted2); flex-shrink: 0; line-height: 1; transition: color .25s;
  min-width: 36px;
}
.why-item:hover .why-num { color: var(--blue); }
.why-name { font-size: 16px; font-weight: 600; margin-bottom: 5px; }
.why-desc { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ────────────────── PORTFOLIO ────────────────── */
#portfolio { padding: 120px 0; background: var(--bg); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border); border: 1px solid var(--border); }
.portfolio-card {
  background: var(--bg2); overflow: hidden; cursor: pointer;
  position: relative; min-height: 300px;
  transition: background .25s;
}
.portfolio-card:hover { background: var(--bg3); }
.portfolio-card.wide { grid-column: span 2; }
.portfolio-img {
  height: 220px; background-size: cover; background-position: center;
  border-bottom: 1px solid var(--border);
  transition: transform .5s;
  overflow: hidden;
}
.portfolio-card:hover .portfolio-img { transform: scale(1.04); }
.portfolio-info { padding: 24px 28px; }
.portfolio-tag {
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--green); border: 1px solid rgba(0,201,167,0.3);
  padding: 4px 10px; border-radius: 100px; margin-bottom: 12px;
  display: inline-block; font-weight: 600;
}
.portfolio-name { font-family: 'Cabinet Grotesk', sans-serif; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.portfolio-sub { font-size: 12px; color: var(--muted); }
.portfolio-arrow {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg4); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: all .25s;
}
.portfolio-card:hover .portfolio-arrow { background: var(--blue); border-color: var(--blue); color: #fff; transform: translate(2px,-2px); }

/* ────────────────── CONTACT ────────────────── */
#contact { padding: 120px 0; background: var(--bg2); border-top: 1px solid var(--border); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.contact-tagline {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 36px; font-weight: 900; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 20px;
}
.contact-tagline span { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.contact-body { font-size: 15px; color: var(--muted); line-height: 1.85; margin-bottom: 36px; }
.contact-links { display: flex; flex-direction: column; gap: 0; }
.contact-link {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--border);
  text-decoration: none; color: var(--fg); font-size: 14px; transition: color .2s;
}
.contact-link:first-child { border-top: 1px solid var(--border); }
.contact-link:hover { color: var(--blue); }
.contact-link-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--bg4); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0; transition: all .2s;
}
.contact-link:hover .contact-link-icon { background: var(--glow-blue); border-color: var(--blue); }
.clink-label { font-size: 10px; color: var(--muted); letter-spacing: .2em; text-transform: uppercase; display: block; margin-bottom: 3px; font-weight: 600; }

.contact-form {
  background: var(--bg3); border: 1px solid var(--border2); border-radius: 16px; padding: 44px;
}
.form-title { font-family: 'Cabinet Grotesk', sans-serif; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: span 2; }
.form-field label { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.form-field input, .form-field textarea, .form-field select {
  background: var(--bg4); border: 1px solid var(--border2);
  color: var(--fg); padding: 13px 16px; border-radius: 10px;
  font-family: 'Space Grotesk', sans-serif; font-size: 14px;
  outline: none; resize: none; transition: border-color .2s, box-shadow .2s; appearance: none;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--muted2); }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px var(--glow-blue);
}
.form-submit {
  width: 100%; margin-top: 24px;
  background: var(--grad); color: #fff;
  border: none; padding: 16px; border-radius: 10px;
  font-family: 'Space Grotesk', sans-serif; font-size: 14px;
  font-weight: 600; cursor: pointer; transition: opacity .2s, transform .2s;
}
.form-submit:hover { opacity: .9; transform: translateY(-1px); }
.form-note { font-size: 11px; color: var(--muted); text-align: center; margin-top: 12px; }

/* ────────────────── FOOTER ────────────────── */
footer {
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 28px 60px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-logo {
  font-family: 'Cabinet Grotesk', sans-serif; font-size: 20px; font-weight: 900;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.footer-copy { font-size: 12px; color: var(--muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 12px; color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--green); }

@keyframes fadeIn { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-inner, .why-layout, .contact-layout { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .why-visual { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-card.wide { grid-column: span 1; }
}
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .container { padding: 0 20px; }
  .hero-inner { padding: 48px 20px; }
  .hero-stats { flex-direction: column; }
  .hero-stat { border-right: none; border-bottom: 1px solid var(--border); padding: 20px; }
  #services, #why, #portfolio, #contact { padding: 72px 0; }
  .services-grid, .portfolio-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: span 1; }
  .contact-form { padding: 28px 20px; }
  footer { padding: 20px; flex-direction: column; gap: 16px; text-align: center; }
  .footer-links { justify-content: center; }
}
