/* =====================
   VARIABLES & BASE
   ===================== */
:root {
  --bg: #F7FAFA;
  --bg-2: #ECF5F4;
  --text: #0F2A2A;
  --text-muted: #4A6B6B;
  --accent: #0E9E8E;
  --accent-hover: #0B7D6F;
  --white: #FFFFFF;
  --border: #D0E6E4;
  --radius: 12px;
  --font-head: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }

/* =====================
   NAV
   ===================== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 250, 250, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  justify-self: start;
}

.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-self: end;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.btn-nav {
  background: var(--text) !important;
  color: var(--bg) !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 14px !important;
  font-weight: 500;
  transition: background 0.2s !important;
}

.btn-nav:hover { background: #333 !important; }

/* =====================
   HERO
   ===================== */
.hero {
  padding: 120px 0 100px;
  text-align: center;
}

.hero-market {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  color: var(--text);
  max-width: 800px;
  margin: 0 auto 24px;
}

.hero-sub {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.5;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =====================
   BUTTONS
   ===================== */
.btn-primary {
  background: var(--accent);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  transition: background 0.2s, transform 0.1s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.1s;
  display: inline-block;
}

.btn-secondary:hover {
  border-color: var(--text-muted);
  transform: translateY(-1px);
}

/* =====================
   PROFILE TABS (in nav)
   ===================== */
.nav-profile-tabs {
  display: flex;
  gap: 4px;
  justify-self: center;
}

.profile-tab {
  background: none;
  border: none;
  padding: 8px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s;
}

.profile-tab:hover { color: var(--text); background: var(--bg-2); }

.profile-tab.active {
  color: var(--text);
  background: var(--bg-2);
  font-weight: 600;
}

.profile-content { display: none; }
.profile-content.active { display: block; }

/* =====================
   LANDING SELECTOR
   ===================== */
.landing-selector {
  padding: 100px 0 120px;
  text-align: center;
}

.landing-selector h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  margin-bottom: 56px;
}

.selector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.selector-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.selector-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(14, 158, 142, 0.12);
  transform: translateY(-2px);
}

.selector-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.selector-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.selector-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

@media (max-width: 768px) {
  .selector-grid { grid-template-columns: 1fr; }
}

/* =====================
   PROBLEM
   ===================== */
.problem {
  padding: 80px 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.problem-item {
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.problem-icon {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  font-family: var(--font-head);
  margin-top: 2px;
}

.problem-item p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}

/* =====================
   HOW IT WORKS
   ===================== */
.how {
  padding: 100px 0;
  background: var(--bg-2);
}

.how h2, .services h2, .faq h2, .about h2, .cta-final h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 64px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.steps {
  display: flex;
  align-items: stretch;
  gap: 24px;
}

.step {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--border);
}

.step-num {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.step p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-tools {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.step-tools span {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 20px;
}

.step-arrow {
  font-size: 24px;
  color: var(--border);
  padding-top: 60px;
  flex-shrink: 0;
}

/* =====================
   SERVICES
   ===================== */
.services {
  padding: 100px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s;
}

.service-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.service-card.featured {
  border-color: var(--accent);
  background: var(--bg);
}

.service-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.service-card h3 {
  font-size: 22px;
  font-weight: 600;
}

.service-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.service-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.service-card ul li {
  font-size: 14px;
  color: var(--text);
  padding-left: 18px;
  position: relative;
}

.service-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.btn-card {
  display: inline-block;
  padding: 12px 20px;
  background: var(--text);
  color: var(--white);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  transition: background 0.2s;
  margin-top: auto;
}

.btn-card:hover { background: #333; }

.service-card.featured .btn-card {
  background: var(--accent);
}

.service-card.featured .btn-card:hover {
  background: var(--accent-hover);
}

/* =====================
   FAQ
   ===================== */
.faq {
  padding: 80px 0 100px;
  background: var(--bg-2);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.faq-q span {
  font-size: 20px;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
}

.faq-a {
  display: none;
  padding: 0 24px 20px;
  background: var(--white);
}

.faq-a p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q { color: var(--accent); }

/* =====================
   ABOUT
   ===================== */
.about {
  padding: 100px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.team-photo {
  width: 200px;
  min-width: 200px;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-info {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.team-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.team-role {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
}

.team-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =====================
   CTA FINAL
   ===================== */
.cta-final {
  padding: 100px 0;
  background: var(--text);
  text-align: center;
}

.cta-final h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-final p {
  color: rgba(255,255,255,0.65);
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

/* =====================
   FOOTER
   ===================== */
footer {
  padding: 60px 0;
  background: var(--text);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

footer .logo { color: var(--white); font-size: 18px; }
footer .logo span { color: var(--accent); }

.footer-tagline {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

.footer-markets {
  color: rgba(255,255,255,0.35);
  font-size: 13px;
}

.footer-copy {
  color: rgba(255,255,255,0.25);
  font-size: 12px;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 768px) {
  .nav-links a:not(.btn-nav) { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .step-arrow { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card { flex-direction: column; }
  .team-photo { width: 100%; min-width: unset; height: 260px; }
  .hero { padding: 80px 0 60px; }
  .profile-tab { padding: 16px 20px; font-size: 14px; }
}
