/* ============================================================
   Agentcy — Main Stylesheet
   Brand: Navy (#0F172A) + Electric Blue (#3B82F6) + White
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0F172A;
  --navy-light: #1E293B;
  --blue:       #3B82F6;
  --blue-light: #60A5FA;
  --blue-dark:  #2563EB;
  --white:      #FFFFFF;
  --gray-50:    #F8FAFC;
  --gray-100:   #F1F5F9;
  --gray-300:   #CBD5E1;
  --gray-500:   #64748B;
  --gray-700:   #334155;
  --text:       #0F172A;
  --text-muted: #64748B;
  --radius:     12px;
  --radius-sm:  8px;
  --shadow:     0 4px 24px rgba(15,23,42,0.08);
  --shadow-lg:  0 8px 48px rgba(15,23,42,0.12);
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ───────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
p  { line-height: 1.7; }

/* ── Layout ───────────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 6rem 0; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 1rem; font-weight: 600;
  cursor: pointer; border: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(59,130,246,0.35);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(59,130,246,0.4); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.125rem; }

/* ── NAV ──────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 0;
  transition: all 0.3s ease;
}
nav.scrolled {
  background: rgba(15,23,42,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0.75rem 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 36px; width: auto; }
.nav-links {
  display: flex; align-items: center; gap: 2rem;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem; font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-cta { margin-left: 1rem; }
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.mobile-menu {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy);
  z-index: 99;
  flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--white); font-size: 1.5rem; font-weight: 600;
}
.mobile-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none; color: var(--white);
  font-size: 1.75rem; cursor: pointer;
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
  display: flex; align-items: center;
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(59,130,246,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(59,130,246,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: 100px;
  color: var(--blue-light);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-badge::before { content: '●'; font-size: 0.5rem; }
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 span { color: var(--blue-light); }
.hero p {
  color: rgba(255,255,255,0.65);
  font-size: 1.125rem;
  margin-bottom: 2.25rem;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.stat-value {
  font-size: 1.75rem; font-weight: 800; color: var(--white);
  line-height: 1;
}
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 0.25rem; }
.hero-visual {
  display: flex; align-items: center; justify-content: center;
}
.hero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  backdrop-filter: blur(8px);
}
.hero-card-title {
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.agent-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.875rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  margin-bottom: 0.625rem;
}
.agent-dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; flex-shrink: 0; box-shadow: 0 0 8px #22C55E; }
.agent-name { color: var(--white); font-size: 0.875rem; font-weight: 500; flex: 1; }
.agent-status { color: rgba(255,255,255,0.4); font-size: 0.75rem; }

/* ── PROBLEM ──────────────────────────────────────────────── */
.problem { background: var(--gray-50); }
.section-label {
  display: inline-block;
  color: var(--blue);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-header { max-width: 640px; margin-bottom: 3.5rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.problem-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.problem-icon {
  width: 48px; height: 48px;
  background: rgba(59,130,246,0.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}
.problem-cost {
  font-size: 1.75rem; font-weight: 800; color: #EF4444;
  line-height: 1; margin-bottom: 0.5rem;
}
.problem-card h3 { margin-bottom: 0.5rem; }
.problem-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ── HOW IT WORKS ─────────────────────────────────────────── */
.how { background: var(--white); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; }
.steps::before {
  content: '';
  position: absolute; top: 28px; left: calc(16.67% + 1rem); right: calc(16.67% + 1rem);
  height: 2px; background: linear-gradient(90deg, var(--blue), var(--blue-light));
  opacity: 0.3;
}
.step { text-align: center; }
.step-number {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 800; color: var(--white);
  margin: 0 auto 1.5rem;
  position: relative; z-index: 1;
  box-shadow: 0 4px 16px rgba(59,130,246,0.3);
}
.step h3 { margin-bottom: 0.625rem; }
.step p { color: var(--text-muted); font-size: 0.925rem; }

/* ── SERVICES ─────────────────────────────────────────────── */
.services { background: var(--gray-50); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  opacity: 0; transition: opacity var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { opacity: 1; }
.service-emoji { font-size: 2.25rem; margin-bottom: 1.25rem; }
.service-card h3 { margin-bottom: 0.625rem; }
.service-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.25rem; }
.service-features { display: flex; flex-direction: column; gap: 0.5rem; }
.service-features li {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.85rem; color: var(--text-muted);
}
.service-features li::before { content: '✓'; color: var(--blue); font-weight: 700; flex-shrink: 0; }

/* ── PRICING ──────────────────────────────────────────────── */
.pricing { background: var(--white); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.pricing-card {
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 2.25rem;
  background: var(--white);
  transition: all var(--transition);
  position: relative;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.pricing-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), var(--shadow-lg);
}
.pricing-badge {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: var(--white);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 0 0 8px 8px;
}
.pricing-tier { font-size: 0.8rem; font-weight: 700; color: var(--blue); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.75rem; }
.pricing-price { display: flex; align-items: flex-end; gap: 0.25rem; margin-bottom: 0.5rem; }
.price-amount { font-size: 2.75rem; font-weight: 800; line-height: 1; }
.price-period { color: var(--text-muted); font-size: 0.9rem; padding-bottom: 0.375rem; }
.pricing-desc { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 1.75rem; }
.pricing-features { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: 0.625rem;
  font-size: 0.9rem;
}
.pricing-features li .check { color: var(--blue); font-weight: 700; flex-shrink: 0; }
.pricing-setup { font-size: 0.8rem; color: var(--text-muted); text-align: center; margin-top: 1rem; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { background: var(--gray-50); }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.faq-item h3 { margin-bottom: 0.75rem; font-size: 1rem; }
.faq-item p { color: var(--text-muted); font-size: 0.9rem; }

/* ── CTA SECTION ──────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #0F172A 100%);
  text-align: center; padding: 8rem 0;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(59,130,246,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; position: relative; }
.cta-section p { color: rgba(255,255,255,0.65); font-size: 1.1rem; max-width: 540px; margin: 0 auto 2.5rem; position: relative; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-note { color: rgba(255,255,255,0.4); font-size: 0.8rem; margin-top: 1.25rem; position: relative; }

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  background: var(--navy);
  padding: 4rem 0 2rem;
  color: rgba(255,255,255,0.6);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand p { font-size: 0.875rem; margin-top: 1rem; max-width: 260px; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col a { font-size: 0.875rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  section { padding: 4rem 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .problem-grid, .steps, .services-grid, .pricing-grid, .faq-grid { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .hero-stats { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate { animation: fadeInUp 0.6s ease forwards; }
.animate-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-delay-3 { animation-delay: 0.3s; opacity: 0; }
