/* ============================================
   ATOCHA MEDIA — Global Stylesheet
   ============================================ */

:root {
  --navy:     #0d1117;
  --navy-mid: #161b22;
  --navy-lt:  #1c2333;
  --gold:     #c9a84c;
  --gold-lt:  #e2c675;
  --gold-dk:  #a88832;
  --white:    #f0f2f5;
  --gray:     #8b949e;
  --gray-lt:  #c9d1d9;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--navy);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

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

a:hover {
  color: var(--gold-lt);
}

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

/* ---- HEADER / NAV ---- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 72px;
}

.logo {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
}

.logo a {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}

/* ---- HERO ---- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 32px 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy) 0%, #0f1520 40%, #111827 100%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.hero p {
  font-size: 20px;
  color: var(--gray-lt);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-sub {
  min-height: 70vh;
}

/* ---- BUTTONS ---- */

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-dk), var(--gold));
  color: var(--navy);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.3);
}

.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.05);
  color: var(--gold-lt);
}

.btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- SECTIONS ---- */

.section {
  padding: 100px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-sm {
  padding: 60px 32px;
}

.section-full {
  padding: 100px 32px;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.section h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.section p.lead {
  font-size: 18px;
  color: var(--gray-lt);
  max-width: 680px;
  line-height: 1.65;
}

.divider {
  width: 50px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 20px 0;
}

.text-center {
  text-align: center;
}

.text-center .lead {
  margin-left: auto;
  margin-right: auto;
}

.text-center .divider {
  margin-left: auto;
  margin-right: auto;
}

/* ---- STATS BAR ---- */

.stats-bar {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 60px 32px;
  background: var(--navy-mid);
  border-top: 1px solid rgba(201, 168, 76, 0.08);
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ---- CARDS ---- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.card {
  background: var(--navy-mid);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 10px;
  padding: 32px 28px;
  transition: border-color 0.3s, transform 0.3s;
}

.card:hover {
  border-color: rgba(201, 168, 76, 0.25);
  transform: translateY(-2px);
}

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

.card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  text-transform: none;
  letter-spacing: 0;
}

.card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

/* ---- PATH CARDS (Homepage) ---- */

.paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.path-card {
  background: var(--navy-mid);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 12px;
  padding: 48px 40px;
  transition: border-color 0.3s, transform 0.3s;
}

.path-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-3px);
}

.path-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: none;
  letter-spacing: 0;
}

.path-card p {
  font-size: 15px;
  color: var(--gray-lt);
  margin-bottom: 24px;
  line-height: 1.6;
}

.path-card .btn {
  font-size: 13px;
  padding: 12px 28px;
}

/* ---- TWO COLUMN ---- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* ---- STEPS ---- */

.steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dk), var(--gold));
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.step-content p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

/* ---- CASE STUDY ---- */

.case-study {
  background: var(--navy-mid);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 12px;
  padding: 48px;
  margin-top: 48px;
}

.case-study h3 {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.case-study h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.case-study p {
  font-size: 15px;
  color: var(--gray-lt);
  line-height: 1.65;
  margin-bottom: 12px;
}

.case-study .stat-row {
  display: flex;
  gap: 48px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.case-study .stat-num {
  font-size: 36px;
}

/* ---- CTA SECTION ---- */

.cta-section {
  text-align: center;
  padding: 100px 32px;
  max-width: 700px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 17px;
  color: var(--gray-lt);
  margin-bottom: 36px;
  line-height: 1.6;
}

/* ---- GUARANTEE BOX ---- */

.guarantee-box {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.08) 0%, rgba(201, 168, 76, 0.02) 100%);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 12px;
  padding: 48px;
  text-align: center;
  margin-top: 48px;
}

.guarantee-box h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
  text-transform: none;
  letter-spacing: 0;
}

.guarantee-box p {
  font-size: 16px;
  color: var(--gray-lt);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---- PLATFORM INTEGRATIONS ---- */

.integrations {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  justify-content: center;
}

.integration-pill {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-lt);
  background: rgba(201, 168, 76, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.12);
  letter-spacing: 0.5px;
}

/* ---- TEAM ---- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.team-card {
  background: var(--navy-mid);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 12px;
  padding: 40px 28px;
  text-align: center;
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
  border: 2px solid rgba(201, 168, 76, 0.2);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--gold);
}

.team-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 13px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-bottom: 16px;
}

.team-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

/* ---- CONTACT ---- */

.contact-box {
  background: var(--navy-mid);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 12px;
  padding: 56px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.contact-box h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: none;
  letter-spacing: 0;
}

.contact-box p {
  font-size: 16px;
  color: var(--gray-lt);
  margin-bottom: 8px;
}

.contact-email {
  font-size: 20px;
  font-weight: 600;
  color: var(--gold);
  margin: 24px 0;
  display: block;
}

/* ---- FOOTER ---- */

.site-footer {
  border-top: 1px solid rgba(201, 168, 76, 0.08);
  padding: 48px 32px;
  margin-top: 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.6;
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: var(--gray);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copy {
  font-size: 12px;
  color: var(--gray);
  opacity: 0.5;
}

/* ---- FADE-IN ANIMATION ---- */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- BACKGROUND DECORATION ---- */

.bg-glow {
  position: relative;
}

.bg-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* ---- SEPARATOR ---- */

.sep {
  height: 1px;
  background: rgba(201, 168, 76, 0.08);
  border: none;
  margin: 0;
}

/* ---- RESPONSIVE ---- */

@media (max-width: 900px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 17px;
  }

  .stats-bar {
    gap: 32px;
  }

  .stat-num {
    font-size: 36px;
  }

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

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .section h2 {
    font-size: 28px;
  }

  .case-study {
    padding: 32px 24px;
  }

  .case-study .stat-row {
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(13, 17, 23, 0.98);
    flex-direction: column;
    padding: 24px 32px;
    gap: 20px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  }

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

  .mobile-toggle {
    display: block;
  }

  .hero {
    padding: 100px 20px 60px;
    min-height: 80vh;
  }

  .hero h1 {
    font-size: 28px;
  }

  .section {
    padding: 60px 20px;
  }

  .path-card {
    padding: 32px 24px;
  }

  .stats-bar {
    gap: 24px;
    padding: 40px 20px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ============================================
   PLATFORM PAGE — Product Grid
   ============================================ */

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
}

.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-dk), var(--gold));
  color: var(--navy);
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.product-card h3 {
  font-size: 22px;
  margin-bottom: 4px;
}

.product-full {
  font-size: 12px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.product-features {
  list-style: none;
  margin-top: 16px;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 14px;
}

.product-features li {
  font-size: 13px;
  color: var(--gray-lt);
  padding: 4px 0 4px 18px;
  position: relative;
}

.product-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 12px;
}

/* ============================================
   PLATFORM PAGE — Flow & Integrations
   ============================================ */

.flow-horizontal {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 24px;
}

.flow-step {
  flex: 1;
  background: var(--navy-mid);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 8px;
  padding: 24px 20px;
  text-align: center;
}

.flow-num {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dk), var(--gold));
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.flow-step h4 {
  font-size: 15px;
  color: var(--gold);
  margin-bottom: 6px;
}

.flow-step p {
  font-size: 13px;
  color: var(--gray);
}

.flow-arrow {
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 22px;
  color: var(--gold);
  flex-shrink: 0;
}

.integration-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.integration-tag {
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-lt);
}

/* ============================================
   TEAM PAGE — Additional Styles
   ============================================ */

.team-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.team-role {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.team-card p:last-child {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
}

.team-card .linkedin-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.team-card .linkedin-link:hover {
  color: var(--gold-lt);
}

/* ============================================
   RESPONSIVE — Platform & Team fixes
   ============================================ */

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .flow-horizontal {
    flex-direction: column;
    gap: 12px;
  }
  .flow-arrow {
    transform: rotate(90deg);
    justify-content: center;
    padding: 8px 0;
  }
}
