/* ============================================================
   AZAR CONSULTING — SHARED LANDING PAGE STYLES
   Brand Identity System v2.0 · 2025–2026
   Extracted from: azar-brand-identity-guide Main.html
   
   Fonts:    Cormorant Garamond (display) · Nunito (body) · DM Sans (UI)
   Primary:  Jade Deep #0A5F53 (Azar Consulting variant)
   Accent:   Azar Gold #C9A84A
   ============================================================ */

/* ---------- CSS CUSTOM PROPERTIES — BRAND TOKENS ---------- */
:root {
  /* Azar Consulting Teal — deeper, more authoritative variant */
  --teal-jade:       #0D7B6A;
  --teal-jade-gloss: #0F9A87;
  --teal-jade-deep:  #0A5F53;
  --teal-bright:     #0B8E8D;
  --teal-abyss:      #071E1B;
  --teal-surface:    #0D2C28;
  --teal-elevated:   #133930;

  /* Gold Palette */
  --gold-primary:    #C9A84A;
  --gold-gloss:      #D4B865;
  --gold-deep:       #A47B28;
  --gold-cream:      #FBF5E6;

  /* Text Colors */
  --text-primary:    #EEF9F7;
  --text-secondary:  #8FBFB8;
  --text-muted:      #4D7F78;
  --text-inverse:    #071E1B;

  /* Borders */
  --border-subtle:   rgba(13,123,106,0.25);
  --border-accent:   rgba(201,168,74,0.35);

  /* Semantic */
  --success: #2ECC9A;
  --warning: #E8B84B;
  --danger:  #E05C5C;
  --info:    #4AA9C9;

  /* Mode-specific (dark default) */
  --bg:               var(--teal-abyss);
  --surface:          var(--teal-surface);
  --surface-elevated: var(--teal-elevated);
  --foreground:       var(--text-primary);
  --subtle:           var(--text-secondary);
  --muted:            var(--text-muted);
  --brand:            var(--teal-jade-deep);
  --brand-bright:     var(--teal-jade);
  --brand-gloss:      var(--teal-jade-gloss);
  --accent:           var(--gold-primary);
  --accent-bright:    var(--gold-gloss);
  --accent-deep:      var(--gold-deep);
  --nav-bg:           rgba(7,30,27,0.96);
  --tag-bg:           rgba(13,123,106,0.2);
  --tag-color:        var(--teal-jade-gloss);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--foreground);
  line-height: 1.7;
  font-size: 15px;
  overflow-x: hidden;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 300; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.1rem; font-weight: 600; font-family: 'DM Sans', sans-serif; letter-spacing: 0.05em; }

p { font-family: 'Nunito', sans-serif; color: var(--subtle); line-height: 1.8; }

a { color: var(--brand-bright); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--brand-gloss); }

.section-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.8rem;
  display: block;
}

.label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.text-gold { color: var(--accent); }
.text-brand { color: var(--brand-bright); }

.gradient-text {
  background: linear-gradient(135deg, var(--brand-gloss), var(--accent-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 720px; margin: 0 auto; padding: 0 1.5rem; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.nav-logo img {
  height: 84px !important;
  width: auto;
}

.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--foreground);
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(145deg, var(--brand-bright), var(--brand));
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), transparent);
  pointer-events: none;
  border-radius: 6px 6px 0 0;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13,123,106,0.4);
  color: #fff;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 40%, rgba(13,123,106,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(201,168,74,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,123,106,0.08), transparent 70%);
  pointer-events: none;
}

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

.hero h1 { 
  margin-bottom: 1rem;
  color: var(--foreground);
}

.hero h1 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--brand-gloss), var(--accent-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-family: 'Nunito', sans-serif;
  font-size: 1.1rem;
  color: var(--subtle);
  max-width: 540px;
  line-height: 1.85;
  margin-bottom: 2rem;
}

.hero-sub strong { color: var(--foreground); font-weight: 600; }

.divider-gold {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin: 1.2rem 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), transparent);
  pointer-events: none;
  border-radius: 6px 6px 0 0;
}

.btn-primary {
  background: linear-gradient(145deg, var(--brand-bright), var(--brand));
  color: #fff;
  box-shadow: 0 4px 16px rgba(13,123,106,0.35);
}
.btn-primary:hover {
  background: linear-gradient(145deg, var(--brand-gloss), var(--brand-bright));
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(13,123,106,0.45);
  color: #fff;
}

.btn-gold {
  background: linear-gradient(145deg, var(--accent-bright), var(--accent));
  color: var(--text-inverse);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(201,168,74,0.3);
}
.btn-gold:hover {
  background: linear-gradient(145deg, var(--accent), var(--accent-deep));
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201,168,74,0.4);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--accent-bright);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover { 
  background: rgba(201, 168, 74, 0.08); 
  border-color: var(--accent-bright); 
  color: #fff; 
}

.btn-lg { padding: 1rem 2.8rem; font-size: 0.95rem; }
.btn-sm { padding: 0.55rem 1.4rem; font-size: 0.78rem; }

.btn-group { display: flex; gap: 0.8rem; flex-wrap: wrap; align-items: center; }

/* ============================================================
   PAIN POINT CARDS
   ============================================================ */
.benefits-section {
  padding: 5rem 0;
  position: relative;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 14px 14px 0 0;
}

.benefit-card:hover {
  border-color: rgba(13,123,106,0.4);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transform: translateY(-3px);
}

.benefit-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--tag-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  font-size: 1.2rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.benefit-card p {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ============================================================
   SOCIAL PROOF / QUOTE
   ============================================================ */
.proof-section {
  padding: 4rem 0;
  border-top: 1px solid var(--border-subtle);
}

.proof-quote {
  background: var(--surface);
  border-left: 4px solid var(--accent);
  border-radius: 0 14px 14px 0;
  padding: 2rem 2.5rem;
  max-width: 700px;
  margin: 2rem auto;
}

.proof-quote blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--foreground);
  line-height: 1.6;
}

.proof-quote cite {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 0.8rem;
  display: block;
}

/* ============================================================
   STATS ROW
   ============================================================ */
.stats-row {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 3rem 0;
}

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

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  display: block;
}

.stat-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.3rem;
}

/* ============================================================
   LEAD CAPTURE FORM
   ============================================================ */
.form-section {
  padding: 5rem 0;
  position: relative;
}

.form-wrapper {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 3rem;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.form-wrapper::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 16px 16px 0 0;
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header h2 {
  font-size: 1.8rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.form-header p {
  font-size: 0.9rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  color: var(--subtle);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.form-input,
.form-textarea {
  width: 100%;
  background: var(--surface-elevated);
  border: 1.5px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: var(--foreground);
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--brand-bright);
  box-shadow: 0 0 0 3px rgba(13,123,106,0.15);
}

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

.form-submit {
  margin-top: 1.5rem;
  text-align: center;
}

.form-submit .btn {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 0.95rem;
}

.form-note {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
}

/* ============================================================
   CTA BANNER (above/below form)
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-bright) 50%, var(--teal-bright) 100%);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 3rem auto;
  max-width: 800px;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,74,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
  pointer-events: none;
  border-radius: 16px 16px 0 0;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  font-size: 1rem;
}

.cta-banner .btn {
  position: relative;
  z-index: 1;
}

/* ============================================================
   TRUST BADGES
   ============================================================ */
.trust-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 2rem 0;
  border-top: 1px solid var(--border-subtle);
  margin-top: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--subtle);
}

.trust-icon {
  font-size: 1.1rem;
}

/* ============================================================
   SEGMENT BADGES (for root page)
   ============================================================ */
.segment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.segment-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.8rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  text-decoration: none;
  display: block;
}

.segment-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transform: translateY(-3px);
}

.segment-card-icon {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  display: block;
}

.segment-card h3 {
  font-size: 1.15rem;
  color: var(--foreground);
  margin-bottom: 0.4rem;
}

.segment-card p {
  font-size: 0.85rem;
  line-height: 1.65;
}

.segment-card .badge {
  margin-top: 1rem;
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.badge-teal   { background: rgba(13,123,106,0.15); color: var(--brand-gloss); border: 1px solid rgba(13,123,106,0.25); }
.badge-gold   { background: rgba(201,168,74,0.12); color: var(--accent-bright); border: 1px solid rgba(201,168,74,0.25); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 300;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

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

.footer strong { color: var(--accent); }

.footer-divider {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin: 1.2rem auto;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--subtle);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hero { padding: 7rem 0 3rem; min-height: auto; }
  .hero h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
  .form-grid { grid-template-columns: 1fr; }
  .form-wrapper { padding: 2rem 1.5rem; }
  .benefits-grid { grid-template-columns: 1fr; }
  .stats-row { gap: 1.5rem; }
  .cta-banner { padding: 2rem 1.5rem; margin: 2rem 1rem; }
  .nav { padding: 0.7rem 1rem; }
  .nav-logo img { height: 60px !important; }
  .segment-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-sub { font-size: 0.95rem; }
  .stats-row { flex-direction: column; align-items: center; gap: 1rem; }
  .trust-row { flex-direction: column; align-items: center; gap: 0.8rem; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
