/* ===================================================
   Go Long Strategies — styles.css
   =================================================== */

/* ── Design Tokens ─────────────────────────────── */
:root {
  --color-bg:           #0B1C0D;
  --color-surface:      #132018;
  --color-surface-2:    #17261C;
  --color-border:       #1B2E1E;
  --color-accent-gold:  #D4A017;
  --color-accent-gold-hover: #e8b420;
  --color-accent-green: #4E708A;
  --color-text:         #E8EDF4;
  --color-muted:        #8FA39A;

  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Inter', sans-serif;

  --max-width: 1140px;
  --nav-height: 68px;
  --radius: 10px;
  --transition: 220ms ease;
}

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

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

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

img, svg { display: block; }

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

ul { list-style: none; }

/* ── Container ─────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section Commons ───────────────────────────── */
.section {
  padding: 96px 0;
}

.section-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: 20px;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 580px;
  margin-bottom: 56px;
}

/* ── Buttons ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--color-accent-gold);
  color: #0B1C0D;
  border-color: var(--color-accent-gold);
}

.btn-primary:hover {
  background: var(--color-accent-gold-hover);
  border-color: var(--color-accent-gold-hover);
  box-shadow: 0 4px 20px rgba(212, 160, 23, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: rgba(232, 237, 244, 0.3);
}

.btn-ghost:hover {
  border-color: var(--color-text);
  background: rgba(232, 237, 244, 0.06);
}

/* ── Navigation ────────────────────────────────── */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  transition: background var(--transition), box-shadow var(--transition);
}

.nav-header.scrolled {
  background: var(--color-surface);
  box-shadow: 0 1px 0 var(--color-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
}

.nav-logo-go {
  color: var(--color-text);
}

.nav-logo-strategies {
  color: var(--color-accent-gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-muted);
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text);
  background: rgba(232, 237, 244, 0.06);
}

.nav-link.active {
  color: var(--color-accent-gold);
}

.nav-cta {
  margin-left: 10px;
  padding: 9px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent-gold);
  border: 1.5px solid var(--color-accent-gold);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}

.nav-cta:hover {
  background: var(--color-accent-gold);
  color: #0B1C0D;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--color-surface);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

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

.nav-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.nav-overlay-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.nav-overlay-links a {
  display: block;
  padding: 16px 32px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-text);
  text-align: center;
  border-radius: var(--radius);
  transition: color var(--transition);
}

.nav-overlay-links a:hover {
  color: var(--color-accent-gold);
}

.nav-overlay-cta {
  margin-top: 16px;
  color: var(--color-accent-gold) !important;
}

/* ── Hero ──────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  overflow: hidden;
}

.hero-logo-band {
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 24px;
  margin-top: var(--nav-height);
  position: relative;
  z-index: 1;
}

.hero-logo {
  height: 90px;
  width: auto;
}

/* Subtle diagonal grid pattern */
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      135deg,
      transparent,
      transparent 40px,
      rgba(78, 112, 138, 0.06) 40px,
      rgba(78, 112, 138, 0.06) 41px
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 24px 80px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  margin-bottom: 20px;
}

.hero-heading {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 24px;
}

.hero-subheading {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--color-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll chevron */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-muted);
  animation: bounce 2s ease-in-out infinite;
  transition: color var(--transition);
}

.hero-scroll:hover { color: var(--color-accent-gold); }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%        { transform: translateX(-50%) translateY(8px); }
}

/* ── Services ──────────────────────────────────── */
.services {
  background: var(--color-surface);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Center last row when 5 cards in 3-col grid */
.services-grid .service-card:nth-child(4) {
  grid-column: 1;
}
.services-grid .service-card:nth-child(5) {
  grid-column: 2;
}

.service-card {
  position: relative;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent-gold);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  border-left-color: var(--color-accent-gold);
}

.service-icon {
  width: 40px;
  height: 40px;
  color: var(--color-accent-green);
  margin-bottom: 20px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.7;
}

.service-card--featured {
  border-left-color: var(--color-accent-gold);
  background: #1B2E1D;
}

.service-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--color-accent-gold);
  color: #0B1C0D;
  padding: 3px 10px;
  border-radius: 20px;
}

/* ── About ─────────────────────────────────────── */
.about {
  background: var(--color-bg);
}

.about-grid {
  max-width: 720px;
}

.about-bio {
  color: var(--color-muted);
  font-size: 1rem;
  margin-bottom: 16px;
}

.about-credentials {
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-credentials li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--color-text);
}

.cred-bullet {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  background: var(--color-accent-gold);
  border-radius: 50%;
}

/* About visual — CSS-only stat card */
.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-visual-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 340px;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.av-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px 0;
}

.av-metric:first-child { padding-top: 0; }
.av-metric:last-child  { padding-bottom: 0; }

.av-metric-num {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 3rem;
  color: var(--color-accent-gold);
  line-height: 1;
}

.av-metric-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-muted);
}

.av-divider {
  height: 1px;
  background: var(--color-border);
}

.about-visual-accent {
  position: absolute;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(78, 112, 138, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  top: -30px;
  right: -20px;
  pointer-events: none;
}

/* ── Contact ───────────────────────────────────── */
.contact {
  background: var(--color-surface);
}

.contact-wrapper {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.contact-intro {
  color: var(--color-muted);
  margin-bottom: 48px;
}

.contact-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

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

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

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
}

.req { color: var(--color-accent-gold); }

.optional {
  font-weight: 400;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.form-group input,
.form-group textarea {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(143, 163, 154, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.15);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #e05252;
}

.form-error {
  font-size: 0.8rem;
  color: #e07070;
  min-height: 1.2em;
}

.btn-submit {
  align-self: flex-start;
  margin-top: 4px;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-accent-green);
  border-radius: var(--radius);
  padding: 24px 28px;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 500;
  margin-top: 8px;
}

.form-success svg {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  color: var(--color-accent-gold);
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-muted);
  transition: color var(--transition);
}

.contact-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.contact-link:hover { color: var(--color-accent-gold); }

/* ── Footer ────────────────────────────────────── */
.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 28px 0;
  text-align: center;
}

.footer p {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* ── Responsive ────────────────────────────────── */

/* Tablet */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid .service-card:nth-child(4),
  .services-grid .service-card:nth-child(5) {
    grid-column: auto;
  }

  /* Center the last odd card if needed */
  .services-grid .service-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-visual {
    order: -1;
  }

  .about-visual-card {
    flex-direction: row;
    gap: 0;
    max-width: 100%;
    padding: 32px;
  }

  .av-metric {
    flex: 1;
    text-align: center;
    padding: 0 16px;
  }

  .av-divider {
    width: 1px;
    height: auto;
    align-self: stretch;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .section { padding: 72px 0; }

  .nav-links { display: none; }

  .nav-hamburger { display: flex; }

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

  .services-grid .service-card:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
    margin: 0;
  }

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

  .about-visual-card {
    flex-direction: column;
    padding: 32px 24px;
  }

  .av-metric { text-align: left; }

  .av-divider {
    width: 100%;
    height: 1px;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .contact-links {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .btn-submit {
    align-self: stretch;
  }
}
