/* ============================================
   smol.biz - Bold & Colorful Design System
   ============================================ */

:root {
  /* Bold Color Palette */
  --color-primary: #6C5CE7;      /* Vibrant purple */
  --color-secondary: #00D9A5;    /* Electric mint */
  --color-accent: #FF6B6B;       /* Coral red */
  --color-highlight: #FFE66D;    /* Sunny yellow */
  --color-blue: #4ECDC4;         /* Teal */
  
  /* Neutrals */
  --color-dark: #2D3436;
  --color-text: #2D3436;
  --color-text-light: #636E72;
  --color-bg: #FAFAFA;
  --color-white: #FFFFFF;
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #6C5CE7 0%, #a29bfe 50%, #00D9A5 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  
  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(108, 92, 231, 0.1);
  --shadow-md: 0 8px 24px rgba(108, 92, 231, 0.15);
  --shadow-lg: 0 16px 48px rgba(108, 92, 231, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

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

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

/* ============================================
   Header & Navigation
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(108, 92, 231, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-dark);
}

.logo-accent {
  color: var(--color-primary);
}

.nav-cta {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-cta:hover {
  background: #5b4ccc;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  padding: calc(var(--space-xl) + 60px) var(--space-md) var(--space-xl);
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: var(--space-md);
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--color-white);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-highlight {
  color: var(--color-highlight);
}

.hero p {
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 650px;
  margin: 0 auto var(--space-lg);
}

.hero-ctas {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

/* ============================================
   Section Base Styles
   ============================================ */

.section {
  padding: var(--space-xl) var(--space-md);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-lg);
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--color-dark);
  margin-bottom: var(--space-sm);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--color-text-light);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================
   Services Section
   ============================================ */

.services {
  background: var(--color-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.service-card {
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  border: 1px solid rgba(108, 92, 231, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-accent, var(--color-primary));
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card:nth-child(1) { --card-accent: var(--color-primary); }
.service-card:nth-child(2) { --card-accent: var(--color-secondary); }
.service-card:nth-child(3) { --card-accent: var(--color-accent); }
.service-card:nth-child(4) { --card-accent: var(--color-blue); }

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  background: linear-gradient(135deg, var(--card-accent), transparent);
  opacity: 0.9;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: var(--space-xs);
  color: var(--color-dark);
}

.service-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
}

.service-list {
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text);
}

.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--card-accent);
  font-weight: bold;
}

/* ============================================
   Process Section
   ============================================ */

.process {
  background: linear-gradient(180deg, var(--color-bg) 0%, #f0f0ff 100%);
}

.process-timeline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  position: relative;
}

.process-step {
  flex: 1;
  min-width: 200px;
  max-width: 220px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-white);
  border: 3px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 auto var(--space-sm);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.process-step:hover .step-number {
  background: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.1);
}

.process-step h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
  color: var(--color-dark);
}

.process-step p {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* Arrow connectors */
.process-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -1.5rem;
  top: 1rem;
  font-size: 1.5rem;
  color: var(--color-primary);
  opacity: 0.5;
}

@media (max-width: 900px) {
  .process-step:not(:last-child)::after {
    display: none;
  }
}

/* ============================================
   Engagement Models
   ============================================ */

.engagement {
  background: var(--color-white);
}

.engagement-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.engagement-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.engagement-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.engagement-card.featured {
  background: var(--gradient-hero);
  color: var(--color-white);
}

.engagement-card.featured h3,
.engagement-card.featured p {
  color: var(--color-white);
}

.engagement-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

.engagement-card h3 {
  font-size: 1.35rem;
  margin-bottom: var(--space-xs);
}

.engagement-card p {
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.engagement-card ul {
  list-style: none;
  text-align: left;
}

.engagement-card ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.9rem;
}

.engagement-card.featured ul li {
  border-color: rgba(255, 255, 255, 0.2);
}

/* ============================================
   FAQ Section
   ============================================ */

.faq {
  background: var(--color-bg);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  border: 1px solid rgba(108, 92, 231, 0.1);
}

.faq-question {
  width: 100%;
  padding: var(--space-md);
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 var(--space-md) var(--space-md);
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ============================================
   Contact Section
   ============================================ */

.contact {
  background: var(--gradient-hero);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.contact .section-header h2,
.contact .section-header p,
.contact .section-badge {
  color: var(--color-white);
  -webkit-text-fill-color: var(--color-white);
}

.contact-wrapper {
  position: relative;
  z-index: 1;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--color-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.1);
}

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

.form-submit {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  background: #5b4ccc;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.form-submit:disabled {
  background: #a0a0a0;
  cursor: not-allowed;
  transform: none;
}

/* Form Success Message */
.form-success {
  max-width: 600px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto var(--space-md);
}

.form-success h3 {
  font-size: 1.75rem;
  color: var(--color-dark);
  margin-bottom: var(--space-sm);
}

.form-success p {
  color: var(--color-text-light);
  font-size: 1.1rem;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-lg) var(--space-md);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  margin-bottom: var(--space-md);
}

.footer-brand .logo {
  font-size: 2rem;
  color: var(--color-white);
}

.footer-brand p {
  margin-top: var(--space-xs);
  opacity: 0.7;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

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

.footer-copy {
  font-size: 0.875rem;
  opacity: 0.5;
}

/* ============================================
   Responsive Adjustments
   ============================================ */

@media (max-width: 768px) {
  .section {
    padding: var(--space-lg) var(--space-sm);
  }
  
  .hero {
    padding: calc(var(--space-lg) + 60px) var(--space-sm) var(--space-lg);
  }
  
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .process-timeline {
    flex-direction: column;
    align-items: center;
  }
  
  .process-step {
    max-width: 100%;
  }
  
  .engagement-cards {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: var(--space-md);
  }
}

/* ============================================
   Utility Classes
   ============================================ */

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
