/* ============================================
   BASE.CSS — Design Tokens, Resets, Typography
   AI Consultant Pros Landing Page
   ============================================ */

/* — Google Fonts — */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700;800&display=swap');

/* — Design Tokens — */
:root {
  /* Brand Palette */
  --gold:          #C7A54A;
  --gold-light:    #E3CC7A;
  --gold-dark:     #9E812E;
  --black:         #0A0A0A;
  --black-card:    #111111;
  --black-soft:    #1A1A1A;
  --white:         #FFFFFF;
  --white-off:     #F5F5F5;
  --gray-100:      #E8E8E8;
  --gray-200:      #C4C4C4;
  --gray-300:      #8A8A8A;
  --gray-400:      #555555;
  --gray-500:      #333333;

  /* Gradients */
  --gradient-gold:   linear-gradient(135deg, #C7A54A 0%, #E3CC7A 50%, #C7A54A 100%);
  --gradient-dark:   linear-gradient(180deg, #0A0A0A 0%, #1A1A1A 100%);
  --gradient-hero:   linear-gradient(180deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.4) 40%, rgba(10,10,10,0.7) 100%);
  --gradient-glass:  linear-gradient(135deg, rgba(199,165,74,0.08) 0%, rgba(255,255,255,0.03) 100%);

  /* Typography */
  --font-primary:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display:    'Playfair Display', Georgia, serif;

  /* Spacing Scale */
  --space-xs:   0.25rem;   /*  4px */
  --space-sm:   0.5rem;    /*  8px */
  --space-md:   1rem;      /* 16px */
  --space-lg:   1.5rem;    /* 24px */
  --space-xl:   2rem;      /* 32px */
  --space-2xl:  3rem;      /* 48px */
  --space-3xl:  4rem;      /* 64px */
  --space-4xl:  6rem;      /* 96px */
  --space-5xl:  8rem;      /* 128px */

  /* Border Radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  24px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.5);
  --shadow-gold:  0 4px 30px rgba(199,165,74,0.25);
  --shadow-glow:  0 0 40px rgba(199,165,74,0.15);

  /* Transitions */
  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:   cubic-bezier(0.55, 0, 1, 0.45);
  --ease-both: cubic-bezier(0.65, 0, 0.35, 1);
  --duration:  0.35s;

  /* Z-index layers */
  --z-base:    1;
  --z-content: 10;
  --z-nav:     100;
  --z-overlay: 200;
  --z-modal:   300;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.7;
  color: var(--white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--duration) var(--ease-out);
}
a:hover {
  color: var(--gold-light);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

::selection {
  background: var(--gold);
  color: var(--black);
}

/* — Typography Scale — */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem);     letter-spacing: -0.01em; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  font-size: 1.0625rem;
  color: var(--gray-200);
  margin-bottom: var(--space-md);
}

.lead {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--gray-100);
  line-height: 1.8;
}

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

.gradient-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* — Utility Classes — */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.uppercase   { text-transform: uppercase; letter-spacing: 0.15em; font-family: var(--font-primary); }
.font-primary { font-family: var(--font-primary); }
.fw-300 { font-weight: 300; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

/* Section spacing */
.section-padding {
  padding: var(--space-4xl) 0;
}
