/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #0b0d10;
  --bg-2:        #111418;
  --bg-3:        #181c22;
  --border:      rgba(255,255,255,0.08);
  --accent:      #3b82f6;
  --accent-dark: #2563eb;
  --accent-glow: rgba(59,130,246,0.2);
  --green:       #10b981;
  --text:        #e8eaed;
  --text-muted:  #8b95a3;
  --text-faint:  #4a5568;
  --serif:       'Space Grotesk', sans-serif;
  --sans:        'Inter', sans-serif;
  --radius:      10px;
  --transition:  0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: #93c5fd; }
ul { list-style: none; }

.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 40px; }
h3 { font-size: 1.1rem; }
h4 { font-size: 1rem; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 7px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.2);
  color: var(--text);
}

/* =============================================
   NAV
   ============================================= */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11,13,16,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}
.nav-logo:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
  display: block;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
}
.nav-links a:hover { color: var(--text); }
.nav-links .nav-cta {
  padding: 9px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  font-size: 0.88rem;
}
.nav-links .nav-cta:hover { background: var(--accent-dark); color: #fff; }

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 62px; left: 0; right: 0;
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 13px 24px; }
}

/* =============================================
   HERO
   ============================================= */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 0 90px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 60%, rgba(59,130,246,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 30%, rgba(16,185,129,0.05) 0%, transparent 55%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

#hero h1 {
  max-width: 820px;
  margin-bottom: 24px;
}

.hero-sub {
  max-width: 600px;
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stat-num {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.hero-scroll-hint span {
  width: 3px;
  height: 7px;
  background: var(--text-faint);
  border-radius: 2px;
  animation: scroll-pulse 2s infinite;
}
@keyframes scroll-pulse {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(8px); opacity: 0.2; }
}

@media (max-width: 600px) {
  #hero { padding: 110px 0 70px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; gap: 20px; }
  .stat-divider { display: none; }
  .stat { align-items: center; }
}

/* =============================================
   SECTIONS — shared
   ============================================= */
section { padding: 96px 0; }

#services  { background: var(--bg-2); }
#results   { background: var(--bg);   }
#how       { background: var(--bg-2); }
#experience{ background: var(--bg);   }
#contact   { background: var(--bg-2); }

.section-intro {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: -24px;
  margin-bottom: 48px;
}

/* =============================================
   SERVICES
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  background: var(--bg-3);
  padding: 32px;
  transition: background 0.2s ease;
}
.service-card:hover { background: #1d2129; }

.service-card h3 {
  margin-bottom: 10px;
  color: var(--text);
}

.service-card > p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-card ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-card ul li {
  color: var(--text-faint);
  font-size: 0.85rem;
  padding-left: 16px;
  position: relative;
}
.service-card ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--text-faint);
}

@media (max-width: 700px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* =============================================
   RESULTS
   ============================================= */
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.result-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  background: var(--bg-3);
}

.result-delta {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.result-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

@media (max-width: 700px) {
  .results-grid { grid-template-columns: 1fr; }
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-steps {
  display: grid;
  grid-template-columns: 1fr 32px 1fr 32px 1fr;
  gap: 0;
  align-items: start;
}

.step {
  padding: 4px 0;
}

.step-num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.25;
  margin-bottom: 10px;
  line-height: 1;
}

.step h3 {
  margin-bottom: 10px;
  color: var(--text);
}

.step p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.step-connector {
  align-self: start;
  margin-top: 14px;
  height: 1px;
  background: var(--border);
  position: relative;
}

@media (max-width: 800px) {
  .how-steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .step-connector { display: none; }
}

/* =============================================
   EXPERIENCE
   ============================================= */
.timeline {
  max-width: 760px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-left: 40px;
  padding-bottom: 44px;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -4px;
  top: 7px;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--bg);
}

.timeline-item--education .timeline-dot {
  background: var(--text-faint);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 3px;
}

.timeline-item h3 { color: var(--text); }

.timeline-date {
  font-size: 0.82rem;
  color: var(--text-faint);
  font-weight: 500;
  white-space: nowrap;
}

.timeline-company {
  color: var(--text-faint);
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.timeline-content > p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.timeline-item--education .timeline-content > p {
  margin-bottom: 0;
}

.timeline-tech {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.timeline-tech span {
  background: var(--bg-2);
  color: var(--text-faint);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

@media (max-width: 600px) {
  .timeline-item { padding-left: 28px; }
  .timeline-header { flex-direction: column; gap: 2px; }
}

/* =============================================
   CONTACT
   ============================================= */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-left h2 { margin-bottom: 16px; }

.contact-left > p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-email {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.contact-email:hover { color: var(--accent); }

.contact-phone {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.label-optional {
  font-weight: 400;
  color: var(--text-faint);
  text-transform: none;
  letter-spacing: 0;
}

.form-group input,
.form-group textarea {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 11px 14px;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-status {
  margin-top: 4px;
  padding: 11px 14px;
  border-radius: 7px;
  font-size: 0.88rem;
  font-weight: 500;
  display: none;
}
.form-status:not(:empty) { display: block; }
.form-status--success {
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.25);
  color: #10b981;
}
.form-status--error {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  color: #f87171;
}

@media (max-width: 860px) {
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 500px) {
  .form-row { grid-template-columns: 1fr; }
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.footer-content p {
  color: var(--text-faint);
  font-size: 0.85rem;
}

@media (max-width: 560px) {
  .footer-content { flex-direction: column; text-align: center; gap: 8px; }
}

/* =============================================
   HERO — two-column with photo
   ============================================= */
.hero-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

.hero-text {
  min-width: 0;
}

.hero-photo {
  flex-shrink: 0;
}

.hero-photo img {
  width: 260px;
  height: 320px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 12px;
  border: 2px solid var(--border);
  filter: grayscale(20%);
}

@media (max-width: 820px) {
  .hero-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-photo {
    display: flex;
    justify-content: center;
    order: -1;
  }
  .hero-photo img {
    width: 160px;
    height: 160px;
  }
}

/* =============================================
   HOW — solo note
   ============================================= */
.how-note {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 600px;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
#testimonials {
  background: var(--bg-2);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial blockquote {
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  flex: 1;
}

.testimonial blockquote::before {
  content: '\201C';
  font-size: 2rem;
  line-height: 0;
  vertical-align: -0.4em;
  color: var(--accent);
  margin-right: 2px;
  font-style: normal;
}

.testimonial cite {
  font-size: 0.8rem;
  color: var(--text-faint);
  font-style: normal;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 860px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}
