@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ==========================================================================
   REAL CRM - OBSIDIAN & AMBER GOLD AI SAAS DESIGN SYSTEM (REF-INSPIRED)
   ========================================================================== */

:root {
  /* Color Palette - Deep Obsidian Dark + Warm Amber Gold + Tech Cyan */
  --primary: #F59E0B;          /* Warm Amber Gold */
  --primary-hover: #D97706;    /* Deep Gold */
  --secondary: #2563EB;        /* Electric Sapphire Blue */
  --accent-cyan: #06B6D4;      /* Tech Cyan */
  --accent-gold-bg: rgba(245, 158, 11, 0.12);
  
  --bg-dark: #090D16;          /* Deep Obsidian Dark */
  --bg-dark-card: #111827;     /* Dark Glass Card */
  --bg-primary: #F8FAFC;       /* Light Contrast Section */
  --bg-secondary: #FFFFFF;     /* Pure White Card */
  --bg-tertiary: #F1F5F9;

  --text-dark-primary: #F9FAFB;
  --text-dark-secondary: #9CA3AF;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;

  --border-dark: rgba(255, 255, 255, 0.1);
  --border-light: rgba(15, 23, 42, 0.08);
  --border-gold: rgba(245, 158, 11, 0.35);

  --gradient-gold: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  --gradient-dark-hero: linear-gradient(180deg, #090D16 0%, #0F172A 100%);

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.25);
  --shadow-gold: 0 8px 28px rgba(245, 158, 11, 0.35);

  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;


  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --container-width: 1280px;
  --header-height: 80px;

  --section-space-desktop: 100px;
  --section-space-tablet: 75px;
  --section-space-mobile: 50px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-dark-primary);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

img, svg {
  display: block;
  max-width: 100%;
}

ul, ol {
  list-style: none;
}

/* Container & Layout Grids */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-dark-primary);
  padding: var(--section-space-desktop) 0;
  position: relative;
}

.section-light {
  background: var(--bg-primary);
  color: var(--text-primary);
  padding: var(--section-space-desktop) 0;
  position: relative;
}

@media (max-width: 1024px) {
  .section-dark, .section-light { padding: var(--section-space-tablet) 0; }
}

@media (max-width: 768px) {
  .section-dark, .section-light { padding: var(--section-space-mobile) 0; }
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Typography Classes */
.text-gold {
  color: var(--primary);
}

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

.highlight-badge {
  background: var(--gradient-gold);
  color: #0F172A;
  padding: 0.15rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-block;
  font-weight: 800;
}

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

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem auto;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1.1rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-dark-secondary);
}

.section-light .section-subtitle {
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.3rem; }
  .section-title { font-size: 1.8rem; }
  .section-subtitle { font-size: 1rem; }
}

/* Feature & Testimonial Cards */
.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.feature-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.dark-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
}

.dark-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
}
