/* ==========================================================================
   MOKRANI SEO & MARKETING CONSULTING - DESIGN SYSTEM
   Modern, High-Converting Agency UI with Flat Illustration Aesthetics
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #070B14;
  --bg-surface: #0E1626;
  --bg-surface-elevated: #162238;
  --bg-card: rgba(18, 28, 48, 0.75);
  --bg-card-hover: rgba(26, 40, 68, 0.9);
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;

  /* Accent Colors */
  --accent-cyan: #06B6D4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.25);
  --accent-indigo: #6366F1;
  --accent-indigo-glow: rgba(99, 102, 241, 0.25);
  --accent-purple: #8B5CF6;
  --accent-emerald: #10B981;
  --accent-amber: #F59E0B;

  /* High CTR Conversion Action (Vibrant Coral/Orange) */
  --cta-coral: #FF5722;
  --cta-coral-hover: #F4511E;
  --cta-coral-glow: rgba(255, 87, 34, 0.4);

  /* Typography Colors */
  --text-white: #FFFFFF;
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-dark: #0F172A;

  /* Borders & Glassmorphism */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.15);
  --border-active: rgba(99, 102, 241, 0.5);
  --glass-blur: blur(16px);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow-cyan: 0 0 30px rgba(6, 182, 212, 0.25);
  --shadow-glow-cta: 0 8px 25px rgba(255, 87, 34, 0.35);

  /* Font Families */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-dark);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: radial-gradient(circle at 15% 15%, rgba(99, 102, 241, 0.12) 0%, transparent 40%),
              radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.1) 0%, transparent 45%),
              radial-gradient(circle at 50% 85%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
              var(--bg-dark);
}

/* Typography Presets */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-white);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.15rem; font-weight: 600; }

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
}

/* Container Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  max-width: 960px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-tight {
  padding: 64px 0;
}

/* Gradient Text Utilities */
.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 20%, #A5B4FC 60%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #38BDF8 50%, var(--accent-indigo) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-coral {
  background: linear-gradient(135deg, #FF7A00 0%, var(--cta-coral) 50%, #FF1744 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Badges & Pills */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #A5B4FC;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: var(--glass-blur);
}

.pill-badge.cyan {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.3);
  color: var(--accent-cyan);
}

.pill-badge.emerald {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
}

.pulsing-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

/* Core Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  white-space: nowrap;
}

/* Primary High-CTR Coral Action */
.btn-cta {
  background: linear-gradient(135deg, #FF6F00 0%, var(--cta-coral) 50%, #E64A19 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-glow-cta);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.btn-cta:hover {
  background: linear-gradient(135deg, #FF8F00 0%, #FF5722 50%, #D84315 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 87, 34, 0.5);
  color: #FFFFFF;
}

.btn-cta:active {
  transform: translateY(0);
}

/* Secondary Tech Gradient Action */
.btn-primary {
  background: linear-gradient(135deg, var(--accent-indigo) 0%, #4338CA 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 20px var(--accent-indigo-glow);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #7C3AED 0%, var(--accent-indigo) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

/* Outline Ghost Action */
.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  backdrop-filter: var(--glass-blur);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--text-white);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.1rem;
}

/* Section Header Structure */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-top: 14px;
}

/* Card Foundations */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: var(--border-active);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glass-card:hover::before {
  opacity: 1;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

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

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

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
