/* ========================================
   CSS Variables & Base Styles
   ======================================== */

:root {
  /* Colors - Enterprise Grade Light Theme */
  --background: hsl(220, 20%, 98%);
  --foreground: hsl(222, 47%, 11%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(222, 47%, 11%);
  --primary: hsl(221, 83%, 53%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(220, 14%, 92%);
  --secondary-foreground: hsl(222, 47%, 11%);
  --muted: hsl(220, 14%, 92%);
  --muted-foreground: hsl(215, 16%, 47%);
  --border: hsl(220, 13%, 87%);
  --ring: hsl(221, 83%, 53%);
  --radius: 0.5rem;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(221, 83%, 58%), hsl(250, 80%, 62%));
  --gradient-card: linear-gradient(135deg, hsl(0, 0%, 100%) 0%, hsl(220, 14%, 97%) 100%);

  /* Shadows */
  --shadow-glow: 0 0 60px -15px hsla(221, 83%, 53%, 0.25);
  --shadow-card: 0 4px 24px -1px hsla(222, 47%, 11%, 0.08), 0 2px 8px -1px hsla(222, 47%, 11%, 0.04);

  /* Accent Colors - More muted, professional */
  --webhook-email: hsl(0, 65%, 55%);
  --webhook-stripe: hsl(250, 60%, 60%);
  --webhook-slack: hsl(38, 70%, 50%);
  --webhook-success: hsl(152, 60%, 45%);

  /* Glass effects */
  --glass-bg: hsla(0, 0%, 100%, 0.8);
  --glass-border: hsla(220, 13%, 87%, 0.6);
  --header-bg: hsla(220, 20%, 98%, 0.85);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

.highlight {
  color: var(--foreground);
  font-weight: 500;
}

.highlight-primary {
  color: var(--primary);
  font-weight: 600;
}

.card-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.glow-effect {
  position: relative;
}

.glow-effect::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: var(--gradient-primary);
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  filter: blur(20px);
  transition: opacity 0.3s ease;
}

.glow-effect:hover::before {
  opacity: 0.5;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-xl {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.btn-ghost {
  background: transparent;
  color: var(--foreground);
}

.btn-ghost:hover {
  background: var(--secondary);
}

.btn-hero {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  font-weight: 600;
  box-shadow: 0 4px 24px -8px hsla(221, 83%, 58%, 0.4);
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px -8px hsla(221, 83%, 58%, 0.5);
}

.btn-hero-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-hero-outline:hover {
  background: hsla(221, 83%, 58%, 0.1);
}

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: var(--secondary);
  border-color: var(--muted-foreground);
}

/* ========================================
   Header
   ======================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: var(--gradient-primary);
}

.logo-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary-foreground);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--foreground);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-actions .btn-ghost {
  display: none;
}

@media (min-width: 640px) {
  .header-actions .btn-ghost {
    display: inline-flex;
  }
}

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

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding-top: 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.glow-orb-1 {
  left: 50%;
  top: 25%;
  width: 600px;
  height: 600px;
  transform: translateX(-50%);
  background: hsla(221, 83%, 58%, 0.05);
}

.glow-orb-2 {
  right: 25%;
  top: 50%;
  width: 400px;
  height: 400px;
  background: hsla(250, 80%, 62%, 0.04);
}

.glow-orb-left {
  left: 0;
  top: 50%;
  width: 500px;
  height: 500px;
  transform: translateY(-50%);
  background: hsla(221, 83%, 58%, 0.03);
}

.glow-orb-right {
  right: 0;
  top: 0;
  width: 600px;
  height: 600px;
  background: hsla(221, 83%, 58%, 0.03);
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 4rem);
  padding: 5rem 0;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 9999px;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  max-width: 56rem;
  margin-bottom: 1.5rem;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-subtitle {
  max-width: 42rem;
  margin-bottom: 2.5rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
  }
}

/* ========================================
   Webhook Diagram
   ======================================== */

.webhook-diagram {
  position: relative;
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
}

.webhook-glow {
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  background: linear-gradient(to bottom, hsla(221, 83%, 58%, 0.04), transparent);
  filter: blur(32px);
}

.webhook-card {
  position: relative;
  padding: 2rem;
}

@media (min-width: 640px) {
  .webhook-card {
    padding: 3rem;
  }
}

.webhook-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.flow-line {
  stroke-width: 2;
}

.flow-line-email {
  stroke: var(--webhook-email);
}

.flow-line-stripe {
  stroke: var(--webhook-stripe);
}

.flow-line-slack {
  stroke: var(--webhook-slack);
}

.flow-line-success {
  stroke: var(--webhook-success);
}

.webhook-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.webhook-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.webhook-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
}

.webhook-email {
  background: hsla(348, 83%, 60%, 0.1);
  border: 1px solid hsla(348, 83%, 60%, 0.3);
}

.webhook-email .webhook-icon {
  color: var(--webhook-email);
}

.webhook-stripe {
  background: hsla(262, 83%, 65%, 0.1);
  border: 1px solid hsla(262, 83%, 65%, 0.3);
}

.webhook-stripe .webhook-icon {
  color: var(--webhook-stripe);
}

.webhook-slack {
  background: hsla(43, 96%, 58%, 0.1);
  border: 1px solid hsla(43, 96%, 58%, 0.3);
}

.webhook-slack .webhook-icon {
  color: var(--webhook-slack);
}

.webhook-success {
  background: hsla(142, 76%, 50%, 0.1);
  border: 1px solid hsla(142, 76%, 50%, 0.3);
}

.webhook-success .webhook-icon {
  color: var(--webhook-success);
}

.webhook-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.webhook-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.statelify-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  border-radius: 1rem;
  background: linear-gradient(to bottom right, hsla(221, 83%, 58%, 0.15), hsla(221, 83%, 58%, 0.03));
  border: 1px solid hsla(221, 83%, 58%, 0.4);
}

@media (min-width: 640px) {
  .statelify-box {
    width: 7rem;
    height: 7rem;
  }
}

.statelify-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--gradient-primary);
}

.statelify-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary-foreground);
}

.statelify-label {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
}

/* ========================================
   Sections
   ======================================== */

.section {
  position: relative;
  padding: 6rem 0;
}

.section-alt {
  background-color: hsl(220, 14%, 95%);
}

@media (min-width: 640px) {
  .section {
    padding: 8rem 0;
  }
}

.features-bg,
.integrations-bg,
.pricing-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.section-header {
  max-width: 42rem;
  margin: 0 auto 4rem;
  text-align: center;
}

.section-badge {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

.section-title {
  margin-bottom: 1rem;
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

/* ========================================
   Pain Section
   ======================================== */

.pain-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pain-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pain-card {
  padding: 1.5rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
  background: var(--card);
  border: 1px solid var(--border);
}

.pain-card:hover {
  transform: scale(1.02);
  border-color: hsl(221, 83%, 75%);
  box-shadow:
    0 4px 12px hsla(221, 83%, 53%, 0.12),
    0 2px 4px hsla(222, 47%, 11%, 0.04);
}

.pain-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  background: hsla(221, 83%, 53%, 0.1);
  border: 1px solid hsla(221, 83%, 53%, 0.2);
}

.pain-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(221, 83%, 48%);
}

.pain-title {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.pain-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

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

.features-grid {
  display: grid;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  position: relative;
  padding: 2rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: hsla(221, 83%, 58%, 0.25);
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, hsla(221, 83%, 58%, 0.04), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.25rem;
  border-radius: 0.5rem;
  background: linear-gradient(to bottom right, hsla(221, 83%, 58%, 0.12), hsla(221, 83%, 58%, 0.03));
  border: 1px solid hsla(221, 83%, 58%, 0.15);
}

.feature-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

.feature-title {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.feature-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ========================================
   Integrations Section
   ======================================== */

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 56rem;
  margin: 0 auto 4rem;
}

@media (min-width: 640px) {
  .integrations-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .integrations-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .integrations-grid {
    grid-template-columns: repeat(7, 1fr);
  }
}

.integration-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: var(--radius);
  background: hsl(0, 0%, 100%);
  border: 1px solid hsl(220, 13%, 91%);
  box-shadow:
    0 1px 3px hsla(222, 47%, 11%, 0.04),
    0 1px 2px hsla(222, 47%, 11%, 0.02);
  transition: all 0.3s ease;
}

.integration-card:hover {
  background: hsl(0, 0%, 100%);
  border-color: hsl(221, 83%, 75%);
  box-shadow:
    0 4px 12px hsla(221, 83%, 53%, 0.12),
    0 2px 4px hsla(222, 47%, 11%, 0.04);
}

.integration-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.75rem;
  border-radius: 0.5rem;
  background: linear-gradient(to bottom right, hsla(221, 83%, 53%, 0.08), hsla(221, 83%, 53%, 0.02));
  border: 1px solid hsla(221, 83%, 53%, 0.12);
  transition: transform 0.3s ease;
}

.integration-card:hover .integration-icon-wrapper {
  transform: scale(1.1);
}

.integration-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.integration-name {
  font-size: 0.875rem;
  font-weight: 500;
}

.featured-connections {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.featured-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  background: hsla(221, 83%, 58%, 0.08);
  border: 1px solid hsla(221, 83%, 58%, 0.15);
  border-radius: 9999px;
}

.featured-subtitle {
  margin-bottom: 2rem;
  color: var(--muted-foreground);
  text-align: center;
}

.featured-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.featured-card {
  padding: 2rem;
  transition: all 0.3s ease;
}

.featured-card:hover {
  border-color: hsla(221, 83%, 58%, 0.25);
}

.featured-content {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.featured-content .feature-icon-wrapper {
  flex-shrink: 0;
  margin-bottom: 0;
}

.featured-title {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  text-align: left;
}

.featured-description {
  color: var(--muted-foreground);
  line-height: 1.6;
  text-align: left;
}

.featured-callout {
  margin-top: 2rem;
  text-align: center;
  color: var(--muted-foreground);
}

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

.testimonials-grid {
  display: grid;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.testimonial-card {
  padding: 2rem;
}

.quote-icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  color: hsla(221, 83%, 58%, 0.25);
}

.testimonial-quote {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  font-weight: 600;
  color: var(--primary-foreground);
  background: var(--gradient-primary);
  border-radius: 50%;
}

.author-name {
  font-weight: 600;
}

.author-role {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ========================================
   Pricing Section
   ======================================== */

.pricing-grid {
  display: grid;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  position: relative;
  padding: 2rem;
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
}

.pricing-card-popular {
  background: linear-gradient(to bottom, hsla(221, 83%, 58%, 0.08), transparent);
  border-color: var(--primary);
}

.popular-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary-foreground);
  background: var(--primary);
  border-radius: 9999px;
}

.pricing-header {
  margin-bottom: 1.5rem;
}

.pricing-name {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.pricing-price {
  margin-bottom: 0.5rem;
}

.price {
  font-size: 2.25rem;
  font-weight: 700;
}

.period {
  color: var(--muted-foreground);
}

.pricing-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.pricing-features {
  margin-bottom: 2rem;
  list-style: none;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  font-size: 0.875rem;
}

.check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  font-size: 0.75rem;
  color: var(--primary);
  background: hsla(221, 83%, 58%, 0.15);
  border-radius: 50%;
}

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

.footer {
  padding: 3rem 0;
  border-top: 1px solid hsla(220, 18%, 18%, 0.5);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-copyright {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ========================================
   Modal
   ======================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: hsla(220, 20%, 4%, 0.8);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 28rem;
  padding: 2rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: none;
  border-radius: 0.5rem;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--secondary);
  color: var(--foreground);
}

.modal-close svg {
  width: 1.25rem;
  height: 1.25rem;
}

.modal-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.modal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: 1rem;
  background: var(--gradient-primary);
}

.modal-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary-foreground);
}

.modal-title {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.modal-subtitle {
  color: var(--muted-foreground);
}

.modal-offer {
  padding: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  text-align: center;
  background: hsla(221, 83%, 58%, 0.08);
  border: 1px solid hsla(221, 83%, 58%, 0.2);
  border-radius: var(--radius);
}

.form-group {
  margin-bottom: 1rem;
}

.form-input {
  width: 100%;
  height: 3rem;
  padding: 0 1rem;
  font-size: 1rem;
  color: var(--foreground);
  background: white;
  border: 1px solid hsla(220, 18%, 18%, 0.5);
  border-radius: var(--radius);
  outline: none;
  transition: all 0.2s ease;
}

.form-input::placeholder {
  color: var(--muted-foreground);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsla(221, 83%, 58%, 0.1);
}

.modal-footer-text {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-align: center;
}

.modal-success {
  padding: 2rem 0;
  text-align: center;
}

.success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  background: linear-gradient(to bottom right, hsla(152, 60%, 45%, 0.15), hsla(152, 60%, 45%, 0.03));
  border: 1px solid hsla(152, 60%, 45%, 0.25);
  border-radius: 50%;
}

.success-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--webhook-success);
}

.modal-success .modal-subtitle {
  margin-bottom: 1.5rem;
}

/* ========================================
   Animations
   ======================================== */

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse-slow {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes flow {
  0% {
    stroke-dashoffset: 100;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse-slow {
  animation: pulse-slow 4s ease-in-out infinite;
}

.animate-flow {
  animation: flow 3s ease-in-out infinite;
}

.animate-flow-delayed {
  animation: flow 3s ease-in-out infinite 0.5s;
}

.animate-flow-delayed-2 {
  animation: flow 3s ease-in-out infinite 1s;
}
