/* ── TOKENS ── */
:root {
  --bg:          #0a0a0a;
  --bg-card:     #141414;
  --bg-card-end: #1e1e1e;
  --bg-about:    #0d0d0d;
  --bg-alt:      #111111;
  --accent:      #F5C400;
  --accent-soft: #FFE566;
  --accent-pale: #FFF2A0;
  --border:      rgba(245,196,0,0.18);
  --border-soft: rgba(245,196,0,0.09);
  --text:        #ffffff;
  --text-muted:  #888888;
  --text-label:  #F5C400;
  --radius:      12px;
  --nav-h:       64px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 0.5rem; }
h3 { font-size: 1rem; font-weight: 700; }
h4 { font-size: 0.8rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent-pale); margin-bottom: 1rem; }

.section-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--text-label); margin-bottom: 0.5rem;
}
.section-sub { color: var(--text-muted); font-size: 1rem; margin-bottom: 3rem; }

/* ── LAYOUT ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

/* ── BUTTONS ── */
.btn-primary, .btn-ghost, .nav-cta {
  display: inline-block; font-size: 0.95rem; font-weight: 700;
  padding: 0.75rem 1.8rem; border-radius: 8px; cursor: pointer;
  transition: opacity 0.15s;
}
.btn-primary, .nav-cta { background: var(--accent); color: #000; }
.btn-ghost {
  border: 1px solid rgba(245,196,0,0.35); color: var(--accent-soft);
  background: transparent;
}
.btn-primary:hover, .nav-cta:hover, .btn-ghost:hover { opacity: 0.85; }

/* ── NAV ── */
#nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; overflow: visible;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
#nav.scrolled { border-bottom-color: var(--border); }

.nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1rem; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase;
}
.nav-logo em { font-style: normal; color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.85rem; color: var(--accent-pale); }
.nav-cta { padding: 0.4rem 1.1rem; font-size: 0.82rem; border-radius: 6px; }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  min-height: 88vh;
  background: linear-gradient(135deg, #000000 0%, #0a0a0a 40%, #111111 70%, #1a1a1a 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 4rem 2rem;
  position: relative;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    url('../assets/bg-hero.svg') center/cover no-repeat,
    radial-gradient(ellipse at 60% 40%, rgba(245,196,0,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero-content { position: relative; max-width: 720px; }
.hero-label {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--accent);
  border: 1px solid rgba(245,196,0,0.4); padding: 0.3rem 0.9rem;
  border-radius: 20px; margin-bottom: 1.8rem;
}
.hero h1 { margin-bottom: 1.2rem; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 1.1rem; color: var(--accent-pale); line-height: 1.65; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── CLIENT LOGOS ── */
.clients-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(10,10,10,0.6);
}
.clients-label {
  text-align: center; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--text-muted); opacity: 0.6; margin-bottom: 1.5rem;
}
.clients-strip {
  display: flex; align-items: center; justify-content: center;
  gap: 2rem; flex-wrap: wrap;
}
.client-logo {
  display: flex; align-items: center; justify-content: center;
  min-width: 130px; height: 48px;
  border: 1px solid var(--border-soft); border-radius: 8px;
  padding: 0 1.25rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.5px;
  color: var(--text-muted); text-align: center; line-height: 1.3;
  opacity: 0.75;
}
.client-logo.placeholder {
  border-style: dashed; opacity: 0.35;
  font-style: italic; font-weight: 400; letter-spacing: 0;
}

/* ── ABOUT ── */
.about-section {
  background:
    radial-gradient(circle, rgba(245,196,0,0.12) 1px, transparent 1px),
    linear-gradient(135deg, var(--bg-about), #0d0d0d);
  background-size: 28px 28px, 100% 100%;
  background-position: 14px 14px, 0 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 6rem 2rem;
}
.about-inner {
  display: grid; grid-template-columns: auto 1fr;
  gap: 4rem; align-items: center;
}
.about-visual {
  display: flex; justify-content: center;
}
.about-avatar-wrap {
  position: relative; display: inline-block;
}
.about-avatar {
  width: 110px; height: 110px; border-radius: 50%;
  background: linear-gradient(135deg, #F5C400, #DBA800);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 800; color: #000;
  border: 3px solid rgba(245,196,0,0.35);
}
.about-exp-badge {
  position: absolute; bottom: -8px; right: -16px;
  background: var(--accent); border-radius: 8px;
  padding: 0.35rem 0.6rem; text-align: center;
  border: 2px solid var(--bg); color: #000;
}
.badge-num { display: block; font-size: 1rem; font-weight: 800; line-height: 1; }
.badge-label { display: block; font-size: 0.55rem; font-weight: 600; letter-spacing: 0.5px; opacity: 0.9; }
.about-text h2 { margin-bottom: 1.25rem; }
.about-text p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; }
.about-text p + p { margin-top: 0.75rem; }
.about-cta { margin-top: 2rem; }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat-item {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0.5rem;
}
.stat-item + .stat-item { border-left: 1px solid var(--border-soft); }
.stat-num { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--accent); }
.stat-label { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ── SCROLL OFFSET ── */
#services, #process, #about, #contact { scroll-margin-top: var(--nav-h); }

/* ── SERVICES ── */
.services-section { padding: 5rem 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: linear-gradient(145deg, var(--bg-card), var(--bg-card-end));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem 1.5rem; transition: border-color 0.2s;
  display: flex; flex-direction: column;
}
.service-card:hover { border-color: rgba(245,196,0,0.55); }
.service-icon {
  width: 40px; height: 40px; margin-bottom: 1rem;
  color: var(--accent);
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { margin-bottom: 0.5rem; }
.service-card > p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.service-features {
  margin: 0.85rem 0; flex: 1;
}
.service-features li {
  font-size: 0.78rem; color: var(--text-muted);
  padding: 0.2rem 0 0.2rem 1rem; position: relative;
}
.service-features li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--accent); font-size: 0.7rem;
}
.service-tag {
  display: inline-block; margin-top: auto; padding-top: 0.8rem;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent);
  background: rgba(245,196,0,0.12); padding: 0.2rem 0.55rem; border-radius: 4px;
  align-self: flex-start;
}

/* ── PROCESS ── */
.process-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft);
  padding: 5rem 0;
}
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; position: relative;
}
.process-grid::before {
  content: ''; position: absolute;
  top: 1.75rem; left: calc(12.5% + 1.5rem); right: calc(12.5% + 1.5rem);
  height: 1px; background: var(--border);
}
.process-step { position: relative; }
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--accent); color: #000;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.5px;
  margin-bottom: 1.25rem; position: relative; z-index: 1;
}
.process-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

/* ── TECH STACK ── */
.tech-section { padding: 5rem 0; }
.tech-grid {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
}
.tech-badge {
  display: inline-block;
  font-size: 0.8rem; font-weight: 600;
  padding: 0.45rem 1rem; border-radius: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--accent-pale);
  letter-spacing: 0.3px;
  transition: border-color 0.2s, color 0.2s;
}
.tech-badge:hover { border-color: var(--accent); color: var(--accent); }

/* ── TESTIMONIALS ── */
.testimonials-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft);
  padding: 5rem 0;
}
.testimonials-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.testimonial-card {
  background: linear-gradient(145deg, var(--bg-card), var(--bg-card-end));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem;
}
.testimonial-stars {
  color: #F5C400; font-size: 1rem; letter-spacing: 2px; margin-bottom: 1rem;
}
.testimonial-card blockquote {
  font-size: 0.95rem; color: var(--text-muted);
  line-height: 1.75; font-style: italic;
  margin-bottom: 1.5rem;
  border: none; padding: 0;
}
.testimonial-author {
  display: flex; align-items: center; gap: 0.85rem;
}
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #F5C400, #DBA800);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 700; color: #000;
}
.author-info { display: flex; flex-direction: column; }
.author-info strong { font-size: 0.85rem; }
.author-info span { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.1rem; }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1000 60%, #111111 100%);
  border-top: 1px solid rgba(245,196,0,0.25);
  border-bottom: 1px solid rgba(245,196,0,0.25);
  padding: 5rem 0;
}
.cta-banner-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 3rem; flex-wrap: wrap;
}
.cta-banner-text h2 { margin-bottom: 0.75rem; }
.cta-banner-text p { color: var(--accent-pale); font-size: 1rem; max-width: 520px; }
.cta-banner-actions {
  display: flex; flex-direction: column; gap: 0.75rem; flex-shrink: 0;
  align-items: flex-start;
}

/* ── CONTACT ── */
.contact-section { padding: 5rem 2rem; }
.contact-inner { max-width: 640px; margin: 0 auto; }
.contact-inner .section-label,
.contact-inner h2,
.contact-inner .section-sub { text-align: center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.contact-section label {
  display: block; font-size: 0.78rem; font-weight: 600;
  color: var(--accent-pale); letter-spacing: 0.5px;
  margin-bottom: 0.45rem; text-transform: uppercase;
}
.contact-section input,
.contact-section textarea,
.contact-section select {
  width: 100%; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); font-size: 0.9rem; padding: 0.7rem 1rem;
  outline: none; font-family: inherit; transition: border-color 0.2s;
}
.contact-section input:focus,
.contact-section textarea:focus,
.contact-section select:focus { border-color: var(--accent); }
input::placeholder, textarea::placeholder { color: var(--text-muted); opacity: 0.6; }
select option { background: var(--bg-card); }
textarea { min-height: 130px; resize: vertical; }
.form-feedback { min-height: 1.5rem; font-size: 0.88rem; margin-bottom: 0.5rem; text-align: center; }
.form-feedback.success { color: #4ade80; }
.form-feedback.error   { color: #f87171; }
.btn-submit {
  width: 100%; background: var(--accent); color: #000;
  font-size: 1rem; font-weight: 700; padding: 0.9rem;
  border: none; border-radius: 8px; cursor: pointer;
  letter-spacing: 0.5px; transition: opacity 0.15s;
}
.btn-submit:hover { opacity: 0.85; }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── FOOTER ── */
footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-tagline { font-size: 0.83rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 0.75rem; }
.footer-email { font-size: 0.83rem; color: var(--accent); }
.footer-col ul li {
  font-size: 0.83rem; color: var(--text-muted); padding: 0.3rem 0;
}
.footer-col ul li a { color: var(--text-muted); transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding: 1.25rem 2rem; text-align: center;
}
.footer-bottom p { font-size: 0.75rem; color: var(--text-muted); opacity: 0.5; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .process-grid::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item + .stat-item { border-left: none; }
  .stats-grid .stat-item:nth-child(odd) { border-right: 1px solid var(--border-soft); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .cta-banner-text p { max-width: 100%; }
  .cta-banner-actions { align-items: center; width: 100%; }
}

@media (max-width: 640px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    z-index: 99;
    background: rgba(10,10,10,0.98);
    border-bottom: 1px solid var(--border); padding: 1rem 2rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
  .nav-links a:last-child { border: none; }
  .nav-cta { margin-top: 0.5rem; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; text-align: center; }
  .about-visual { justify-content: center; }
  .about-cta { display: block; text-align: center; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stats-grid .stat-item:nth-child(odd) { border-right: none; }
}
