/* ============================================
   Modern SaaS Landing Page - InstantReply
   Clean, professional, conversion-focused
   ============================================ */

:root {
  /* Modern SaaS Color Palette */
  --primary-blue: #3b82f6;
  --primary-purple: #8b5cf6;
  --gradient-start: #6366f1;
  --gradient-end: #8b5cf6;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --green: #10b981;
  --red: #ef4444;
  --orange: #f59e0b;
  --teal: #14b8a6;
  --pink: #ec4899;

  --white: #ffffff;
  --black: #000000;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: 100px;

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

* {
  font-family: var(--font-sans);
}

.saas-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

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

.saas-hero {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  padding: 40px 0 60px;
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
}

.saas-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.hero-badge svg {
  color: var(--green);
  flex-shrink: 0;
}

.hero-heading {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--gray-900);
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}

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

.hero-description {
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray-600);
  margin: 0 0 28px 0;
  max-width: 540px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.stat-box {
  text-align: left;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--gray-600);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.btn-saas {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-saas.primary {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: var(--white);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-saas.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.btn-saas.primary.large {
  padding: 18px 36px;
  font-size: 18px;
}

.btn-saas.secondary {
  background: var(--white);
  color: var(--gray-700);
  border: 2px solid var(--gray-300);
}

.btn-saas.secondary:hover {
  border-color: var(--gray-400);
  background: var(--gray-50);
}

.hero-trust {
  font-size: 14px;
  color: var(--gray-500);
  font-weight: 500;
}

/* Product Mockup */
.hero-visual {
  position: relative;
}

.product-mockup {
  position: relative;
  z-index: 2;
}

.mockup-window {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.window-header {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-300);
}

.window-dots span:nth-child(1) { background: #ff5f57; }
.window-dots span:nth-child(2) { background: #ffbd2e; }
.window-dots span:nth-child(3) { background: #28ca42; }

.window-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
}

.window-content {
  padding: 24px;
  background: var(--gray-50);
}

.call-notification {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.notification-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notification-icon svg {
  color: var(--white);
  stroke-width: 2;
}

.notification-content {
  flex: 1;
}

.notification-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.notification-detail {
  font-size: 13px;
  color: var(--gray-600);
}

.notification-badge {
  padding: 6px 12px;
  background: var(--green);
  color: var(--white);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.sms-preview-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.sms-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.sms-message {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-700);
  margin-bottom: 12px;
  font-style: italic;
}

.sms-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
}

.sms-status svg {
  flex-shrink: 0;
  stroke-width: 2.5;
}

/* ============================================
   Social Proof Bar
   ============================================ */

.social-proof-bar {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 32px 0;
}

.proof-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.company-logos {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.logo-item {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-400);
  opacity: 0.7;
}

/* ============================================
   Problem/Solution Section
   ============================================ */

.problem-solution {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.section-header-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  color: var(--primary-purple);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.section-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-900);
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: var(--gray-600);
  margin: 0;
}

.feature-grid-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.feature-card-large {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 16px;
  padding: 40px;
  transition: all 0.3s ease;
}

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

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.card-icon.red {
  background: rgba(239, 68, 68, 0.1);
  color: var(--red);
}

.card-icon.green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--green);
}

.feature-card-large h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--gray-900);
  margin: 0 0 20px 0;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  font-size: 16px;
  line-height: 1.6;
}

.feature-list li:last-child {
  border-bottom: none;
}

/* ============================================
   How It Works
   ============================================ */

.how-it-works-section {
  padding: var(--section-padding) 0;
  background: var(--gray-50);
}

.steps-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.step-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin: 0 auto 20px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--gray-900);
  margin: 0 0 12px 0;
}

.step-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-600);
  margin: 0;
}

.step-arrow {
  font-size: 24px;
  color: var(--gray-300);
  padding: 0 16px;
  font-weight: 700;
}

/* ============================================
   Features Section
   ============================================ */

.features-section {
  padding: var(--section-padding) 0;
  background: var(--white);
}

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

.feature-card {
  padding: 32px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  transition: all 0.3s ease;
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon.blue {
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary-blue);
}

.feature-icon.purple {
  background: rgba(139, 92, 246, 0.1);
  color: var(--primary-purple);
}

.feature-icon.green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--green);
}

.feature-icon.orange {
  background: rgba(245, 158, 11, 0.1);
  color: var(--orange);
}

.feature-icon.teal {
  background: rgba(20, 184, 166, 0.1);
  color: var(--teal);
}

.feature-icon.pink {
  background: rgba(236, 72, 153, 0.1);
  color: var(--pink);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--gray-900);
  margin: 0 0 12px 0;
}

.feature-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-600);
  margin: 0;
}

/* ============================================
   Testimonials
   ============================================ */

.testimonials-saas {
  padding: var(--section-padding) 0;
  background: var(--gray-50);
}

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

.testimonial-card-saas {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
}

.testimonial-card-saas:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.stars {
  color: #fbbf24;
  font-size: 18px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  margin: 0 0 24px 0;
}

.testimonial-author-saas {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
}

.author-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.author-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.author-role {
  font-size: 14px;
  color: var(--gray-600);
}

/* ============================================
   CTA Section
   ============================================ */

.cta-saas {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.cta-box {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 24px;
  padding: 80px 60px;
  text-align: center;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-box h2 {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.cta-box > p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 40px 0;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.cta-buttons .btn-saas.primary {
  background: var(--white);
  color: var(--primary-purple);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-buttons .btn-saas.primary:hover {
  background: var(--gray-50);
}

.cta-fine-print {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  position: relative;
  z-index: 1;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
  .hero-heading {
    font-size: 52px;
  }

  .section-title {
    font-size: 40px;
  }

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

  .steps-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .step-arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  .saas-hero {
    min-height: auto;
    padding: 40px 0;
  }

  .hero-content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-heading {
    font-size: 36px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .feature-grid-two {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid-saas {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 60px 32px;
  }

  .cta-box h2 {
    font-size: 36px;
  }

  .section-title {
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .saas-container {
    padding: 0 20px;
  }

  .hero-heading {
    font-size: 32px;
  }

  .hero-description {
    font-size: 18px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn-saas {
    width: 100%;
    justify-content: center;
  }
}
