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

:root {
  --bg: #0a0a1a;
  --bg-card: #1a1a2e;
  --bg-elevated: #16213e;
  --text: #f0f0f0;
  --text-muted: #a0a0b0;
  --accent: #e94560;
  --accent-hover: #ff6b81;
  --green: #53d769;
  --border: #2a2a40;
  --max-width: 1100px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

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

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; }

/* === LAYOUT === */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}
section:last-of-type { border-bottom: none; }

/* === TYPOGRAPHY === */
h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 40px;
}
.accent-text { color: var(--accent); }
.green-text { color: var(--green); }

/* === NAV === */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
}
.nav-logo:hover { color: var(--text); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 6px 0;
  transition: 0.3s;
}

/* === HERO === */
.hero {
  padding: 160px 0 100px;
  border-bottom: 1px solid var(--border);
}
.hero h1 { max-width: 700px; }
.hero .subtitle { max-width: 560px; }

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

/* === CARDS === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.card h3 { color: var(--accent); }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* === ICON LIST === */
.icon-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.icon-list .icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  font-size: 14px;
  color: white;
}

/* === AGENT CARDS === */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.agent-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s;
}
.agent-card:hover { border-color: var(--accent); }
.agent-nickname {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--accent);
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.agent-card h3 {
  margin-bottom: 12px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 600;
}
.agent-card p { color: var(--text-muted); font-size: 0.92rem; }
.agent-result {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--green);
  font-weight: 600;
}

/* === CASE STUDIES === */
.case-study {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 32px;
}
.case-study:last-child { margin-bottom: 0; }
.case-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: 0.85rem;
}
.case-meta span {
  background: var(--bg-elevated);
  padding: 4px 14px;
  border-radius: 20px;
  color: var(--text-muted);
}
.case-study h3 { font-size: 1.3rem; margin-bottom: 16px; }
.case-section { margin-bottom: 20px; }
.case-section h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 10px;
}
.case-section ul {
  list-style: none;
  padding: 0;
}
.case-section ul li {
  padding-left: 20px;
  position: relative;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.case-section ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.case-result {
  background: var(--bg-elevated);
  border-left: 3px solid var(--green);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin-top: 20px;
}
.case-result p { color: var(--green); font-weight: 600; font-size: 0.95rem; margin-bottom: 4px; }

/* === SERVICES === */
.service-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 24px;
}
.service-block h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.service-block p { color: var(--text-muted); margin-bottom: 20px; }
.service-includes {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.service-includes li {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding-left: 20px;
  position: relative;
}
.service-includes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: bold;
}

/* === TIMELINE === */
.timeline {
  margin-top: 40px;
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  margin-bottom: 32px;
  position: relative;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
}
.timeline-item h4 {
  color: var(--accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.timeline-item p { color: var(--text-muted); font-size: 0.95rem; }

/* === DIAGRAM === */
.diagram-wrapper {
  margin: 48px 0;
  text-align: center;
}
.diagram-wrapper svg {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 16px;
}
.diagram-caption {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* === CTA SECTION === */
.cta-section {
  text-align: center;
  padding: 80px 0;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 32px;
}

/* === BOOK PAGE === */
.book-info {
  max-width: 560px;
}
.book-info p {
  color: var(--text-muted);
  margin-bottom: 20px;
}
.book-steps {
  list-style: none;
  margin: 32px 0;
}
.book-steps li {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.book-steps .step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.book-steps p { color: var(--text-muted); font-size: 0.95rem; }
.calendly-embed {
  margin-top: 48px;
  min-height: 650px;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
}

/* === FOOTER === */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
}
footer a { color: var(--text-muted); }
footer a:hover { color: var(--text); }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  section { padding: 64px 0; }
  .hero { padding: 120px 0 64px; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 10, 26, 0.98);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  .card-grid, .agent-grid { grid-template-columns: 1fr; }
  .icon-list { grid-template-columns: 1fr; }
  .service-includes { grid-template-columns: 1fr; }
  .case-study { padding: 24px; }
  .service-block { padding: 24px; }

  .diagram-wrapper svg { max-width: 100%; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
}
