/* Agoraly marketing site — brand pack + Ochre family structural system.
   Structure (dark hero/nav/footer, Barlow Condensed typography, section
   patterns, responsive breakpoint) follows OchreOnline_StyleGuide.md, the
   shared spec every Ochre product site is built from. DEVIATION, agreed
   explicitly with Malcolm: Agoraly's own gold (#B08D57) is used as the
   PRIMARY accent throughout (nav border, hero, CTAs, section eyebrows) —
   not the guide's default master ochre-orange — since Agoraly is playing
   in a bigger market and should read as its own strong brand first. Ochre
   orange appears ONLY in the footer's "built by OchreOnline" attribution,
   per Malcolm's own framing: "the Ochre branding is the footer/built-by/
   N.T. referencing of the parent company." */

:root {
  /* Agoraly brand (from agoraly-brand-pack) */
  --gold:        #B08D57;   /* Agoraly's own accent — used everywhere here */
  --gold-dark:   #8F7143;   /* hover state */
  --gold-light:  #F3ECE1;   /* light tint */
  --ink:         #1B2437;
  --ink-soft:    #4A5468;

  /* Ochre family — footer attribution ONLY */
  --ochre:       #C85A1A;

  /* Neutrals, per the Ochre style guide's structural roles */
  --black:       #111111;   /* nav, hero, dark sections, footer */
  --dark:        #1C1C1C;   /* body text/headings on light bg */
  --grey:        #555555;
  --mid:         #888888;
  --light:       #F7F4F1;
  --white:       #FFFFFF;

  --radius:      6px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: 'Barlow', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
}

h1, h2, h3, .btn-primary, .btn-secondary, .section-eyebrow, .hero-eyebrow,
.feature-title, .why-item h3, .stat-num, .footer-logo {
  font-family: 'Barlow Condensed', sans-serif;
}

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }

/* ---- nav ---------------------------------------------------------- */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 72px;
  border-bottom: 3px solid var(--gold);
}

.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 38px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: #aaa;
  font-size: 0.9em;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--gold);
  color: var(--black);
  padding: 8px 20px;
  border-radius: var(--radius);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.nav-cta:hover { background: var(--gold-dark); color: var(--white); }

/* ---- hero ------------------------------------------------------------ */

.hero {
  background: var(--black);
  padding: 100px 40px 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(176,141,87,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
}

.hero-eyebrow {
  font-weight: 600;
  font-size: 0.85em;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}

.hero-title {
  font-weight: 900;
  font-size: clamp(3em, 6vw, 5.5em);
  line-height: 0.95;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 20px;
}

.hero-subtitle {
  font-family: 'Barlow', sans-serif;
  font-size: 1.1em;
  color: #ccc;
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

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

/* ---- buttons ------------------------------------------------------- */

.btn-primary, .btn-secondary {
  display: inline-block;
  font-weight: 700;
  font-size: 1em;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, border-color 0.2s, color 0.2s;
}

.btn-primary { background: var(--gold); color: var(--black); }
.btn-primary:hover { background: var(--gold-dark); color: var(--white); transform: translateY(-1px); }

.btn-secondary { background: transparent; color: var(--white); border: 1px solid #444; }
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

.btn-primary.on-light { color: var(--white); }
.btn-secondary.on-light { color: var(--dark); border-color: #ccc; }
.btn-secondary.on-light:hover { border-color: var(--gold); color: var(--gold-dark); }

/* ---- sections -------------------------------------------------------- */

section { padding: 80px 40px; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-eyebrow {
  font-weight: 600;
  font-size: 0.8em;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
  text-align: center;
}

.section-title {
  font-weight: 900;
  font-size: clamp(2em, 4vw, 3em);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--dark);
  margin: 0 0 16px;
  text-align: center;
}

.section-sub {
  font-family: 'Barlow', sans-serif;
  font-size: 1.05em;
  color: var(--grey);
  max-width: 560px;
  margin: 0 auto 56px;
  text-align: center;
}

.dark-section { background: var(--black); }
.dark-section .section-title { color: var(--white); }
.dark-section .section-sub { color: #aaa; }

.light-alt { background: var(--light); }

/* ---- feature cards ------------------------------------------------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #ddd;
  border: 2px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
}

.feature-card { background: var(--white); padding: 36px 32px; transition: background 0.2s; }
.feature-card:hover { background: #faf7f2; }
.feature-title {
  font-weight: 700;
  font-size: 1.2em;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark);
  margin: 0 0 10px;
}
.feature-desc { font-family: 'Barlow', sans-serif; font-size: 0.92em; color: var(--grey); line-height: 1.65; margin: 0; }

/* ---- why / highlight cards ------------------------------------------- */

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

.why-item {
  background: var(--white);
  border-left: 4px solid var(--gold);
  padding: 28px 28px 28px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.why-item h3 {
  font-weight: 700;
  font-size: 1.15em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--dark);
  margin: 0 0 8px;
}
.why-item p { font-family: 'Barlow', sans-serif; font-size: 0.92em; color: var(--grey); line-height: 1.7; margin: 0; }

/* ---- pricing ---------------------------------------------------------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.price-card {
  background: var(--white);
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.price-card.featured { border-color: var(--gold); border-width: 2px; }

.price-card h3 { font-weight: 700; font-size: 1.3em; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 4px; }
.price-card .price { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 2.4em; margin: 12px 0 4px; color: var(--dark); }
.price-card .price small { font-family: 'Barlow', sans-serif; font-size: 0.4em; font-weight: 500; color: var(--mid); text-transform: none; letter-spacing: 0; }
.price-card .desc { font-family: 'Barlow', sans-serif; font-size: 0.9em; color: var(--mid); margin: 0 0 20px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.price-card li { font-family: 'Barlow', sans-serif; font-size: 0.95em; color: var(--grey); padding: 8px 0; border-top: 1px solid #eee; }
.price-card li:first-child { border-top: none; }

/* ---- stats bar --------------------------------------------------------- */

.stats-bar { background: var(--gold); padding: 24px 40px; }
.stats-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.stat-num { font-weight: 900; font-size: 2.4em; color: var(--black); line-height: 1; }
.stat-label { font-family: 'Barlow', sans-serif; font-size: 0.8em; color: rgba(0,0,0,0.65); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* ---- footer — Ochre attribution lives HERE, nowhere else ------------- */

footer { background: var(--black); border-top: 3px solid var(--ochre); padding: 40px; text-align: center; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-nav-logo { display: flex; justify-content: center; margin-bottom: 18px; }
.footer-nav-logo img { height: 30px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 18px; }
.footer-links a { color: #999; font-size: 0.85em; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links a:hover { color: var(--white); }
.footer-legal-links a { color: rgba(255,255,255,0.35); font-size: 0.85em; margin: 0 8px; }
footer p { color: #555; font-size: 0.85em; margin: 6px 0; }
.footer-logo {
  font-weight: 900;
  font-style: italic;
  font-size: 1.1em;
  color: var(--ochre);
}
footer a.ochre-link { color: var(--ochre); }
.footer-flag-line { display: flex; align-items: center; justify-content: center; gap: 10px; }
.footer-flag-line img { height: 18px; opacity: 0.85; }

/* ---- coming soon -------------------------------------------------------- */

.coming-soon-page {
  min-height: 100vh;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.coming-soon-page::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(176,141,87,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.coming-soon-card { max-width: 460px; position: relative; z-index: 1; }
.coming-soon-card img { height: 46px; margin-bottom: 32px; }
.coming-soon-card h1 {
  font-weight: 900;
  font-size: 2em;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  color: var(--white);
  margin: 0 0 14px;
}
.coming-soon-card p {
  font-family: 'Barlow', sans-serif;
  font-size: 1.05em;
  color: #ccc;
  line-height: 1.6;
}

/* ---- responsive: single breakpoint, per the Ochre style guide -------- */

@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  section, .hero { padding: 60px 20px; }
  .features-grid, .why-grid, .pricing-grid, .stats-inner { grid-template-columns: 1fr; }
}
