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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #1a1a1a;
  background: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.center {
  text-align: center;
}

/* ===========================
   HEADER & NAV
=========================== */
.site-header {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid #e8e8e8;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #1a1a1a;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.main-nav {
  display: flex;
  gap: 4px;
}

.nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  padding: 8px 16px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-btn:hover {
  color: #1a1a1a;
  background: #f5f5f5;
}

.nav-btn.active {
  color: #1a1a1a;
  background: #f0f0f0;
  font-weight: 600;
}

/* ===========================
   TAB SECTIONS
=========================== */
.tab-section {
  display: none;
}

.tab-section.active {
  display: block;
}

/* ===========================
   HERO
=========================== */
.hero {
  padding: 96px 0 80px;
  border-bottom: 1px solid #f0f0f0;
}

.hero-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  color: #1a1a1a;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

/* ===========================
   BUTTONS
=========================== */
.btn-primary {
  display: inline-block;
  background: #1a1a1a;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.1s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary:hover {
  background: #333;
  transform: translateY(-1px);
}

/* ===========================
   SECTION BLOCKS
=========================== */
.section-block {
  padding: 80px 0;
}

.alt-bg {
  background: #fafafa;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 48px;
  color: #1a1a1a;
}

.section-subtitle {
  font-size: 17px;
  color: #555;
  max-width: 680px;
  margin-top: -32px;
  margin-bottom: 40px;
}

/* ===========================
   CARDS
=========================== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.card {
  padding: 32px;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.card p {
  font-size: 15px;
  color: #555;
  line-height: 1.65;
}

/* ===========================
   STEPS
=========================== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.step {
  position: relative;
}

.step-num {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #bbb;
  margin-bottom: 12px;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.step p {
  font-size: 15px;
  color: #555;
  line-height: 1.65;
}

/* ===========================
   CTA BLOCK
=========================== */
.cta-block {
  background: #1a1a1a;
  color: #fff;
}

.cta-block h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 12px;
}

.cta-block p {
  font-size: 17px;
  color: #aaa;
  margin-bottom: 32px;
}

.cta-block .btn-primary {
  background: #fff;
  color: #1a1a1a;
}

.cta-block .btn-primary:hover {
  background: #f0f0f0;
}

/* ===========================
   ABOUT BLOCK
=========================== */
.about-block {
  display: flex;
  gap: 56px;
  align-items: flex-start;
  max-width: 860px;
}

.about-photo {
  width: 220px;
  height: 260px;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
  flex-shrink: 0;
}

.about-text h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.about-text p {
  font-size: 17px;
  color: #444;
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  background: #f0f0f0;
  border-radius: 100px;
  padding: 6px 14px;
  white-space: nowrap;
}

/* ===========================
   CREDENTIALS STATS
=========================== */
.creds-block {
  background: #fff;
}

.creds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
}

.cred {
  padding: 36px 28px;
  border-right: 1px solid #e8e8e8;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cred:last-child {
  border-right: none;
}

.cred-num {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #1a1a1a;
  line-height: 1;
}

.cred-label {
  font-size: 13px;
  color: #777;
  line-height: 1.4;
}

/* ===========================
   NEWSLETTER SIGNUP FORM
=========================== */
.signup-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 420px;
  margin: 32px auto 0;
}

.signup-form input {
  width: 100%;
  padding: 13px 16px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
  background: #fff;
}

.signup-form input:focus {
  border-color: #1a1a1a;
}

.signup-form .btn-primary {
  width: 100%;
  text-align: center;
}

.form-note {
  margin-top: 12px;
  font-size: 14px;
  color: #555;
}

/* ===========================
   TOPIC LIST
=========================== */
.topic-list {
  list-style: none;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.topic-list li {
  padding: 20px 0;
  border-bottom: 1px solid #e8e8e8;
  font-size: 17px;
  color: #333;
  line-height: 1.5;
}

.topic-list li:first-child {
  border-top: 1px solid #e8e8e8;
}

.topic-list li::before {
  content: '→  ';
  color: #bbb;
}

/* ===========================
   CONTACT FORM
=========================== */
.contact-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: flex-start;
  max-width: 900px;
}

.contact-intro p.eyebrow {
  margin-bottom: 12px;
}

.contact-intro h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.contact-intro p {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
}

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

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

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

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: 0.2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  font-size: 15px;
  font-family: inherit;
  color: #1a1a1a;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #1a1a1a;
}

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

/* ===========================
   FOOTER
=========================== */
.site-footer {
  border-top: 1px solid #e8e8e8;
  padding: 64px 0;
  background: #fff;
}

.footer-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

.footer-tagline {
  font-size: 14px;
  color: #888;
  font-style: italic;
}

.footer-contact a {
  font-size: 14px;
  color: #555;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-copy {
  font-size: 13px;
  color: #bbb;
  margin-top: 8px;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 680px) {
  .menu-toggle {
    display: flex;
  }

  .site-header .container {
    flex-wrap: wrap;
    height: 56px;
    padding: 0 24px;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 12px 0 16px;
    gap: 4px;
    border-top: 1px solid #e8e8e8;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-btn {
    font-size: 15px;
    padding: 10px 16px;
    text-align: left;
  }

  .hero {
    padding: 60px 0 48px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .section-block {
    padding: 56px 0;
  }

  .about-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-block {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .about-photo {
    width: 160px;
    height: 190px;
  }

  .about-badges {
    justify-content: center;
  }

  .creds {
    grid-template-columns: 1fr 1fr;
  }

  .cred {
    border-right: none;
    border-bottom: 1px solid #e8e8e8;
  }

  .cred:nth-child(odd) {
    border-right: 1px solid #e8e8e8;
  }

  .cred:nth-last-child(-n+2) {
    border-bottom: none;
  }
}
