/* ============================================================
   JOLI — Landing Page Styles
   Aesthetic: Premium, warm, Airbnb-inspired beauty brand
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --coral: #FF9966;
  --coral-hover: #E8845A;
  --coral-light: rgba(255, 153, 102, 0.08);
  --coral-glow: rgba(255, 153, 102, 0.2);
  --text-primary: #222222;
  --text-secondary: #717171;
  --text-tertiary: #B0B0B0;
  --bg-primary: #ffffff;
  --bg-secondary: #F7F7F7;
  --border: #DDDDDD;
  --border-light: #EEEEEE;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', -apple-system, sans-serif;
  --nav-height: 72px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.1);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input { font-family: inherit; }
.hidden { display: none !important; }
em { font-family: var(--font-display); font-style: italic; font-weight: 500; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 760px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}
.nav.scrolled {
  border-bottom-color: var(--border-light);
  background: rgba(255, 255, 255, 0.92);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  transition: opacity var(--transition);
}
.nav-logo:hover { opacity: 0.7; }
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--coral);
  transition: width var(--transition);
}
.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px 0;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  gap: 4px;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--border-light);
}
.mobile-menu.open { display: flex; }
.mobile-link {
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.mobile-link:hover { color: var(--text-primary); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 100px;
  transition: all var(--transition);
  white-space: nowrap;
  font-size: 15px;
  padding: 12px 24px;
  letter-spacing: -0.01em;
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--coral);
  color: white;
  box-shadow: 0 2px 8px rgba(255, 153, 102, 0.3);
}
.btn-primary:hover {
  background: var(--coral-hover);
  box-shadow: 0 4px 16px rgba(255, 153, 102, 0.4);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--text-primary);
  background: var(--bg-secondary);
}
.btn-outline-light {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline-light:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}
.hero-bg-gradient {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(135deg, rgba(245, 230, 211, 0.3) 0%, rgba(234, 213, 200, 0.2) 40%, rgba(232, 168, 157, 0.1) 70%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 5.5vw, 72px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.hero-title em {
  font-weight: 400;
  color: var(--coral);
}
.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-avatars {
  display: flex;
}
.hero-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2.5px solid white;
  margin-right: -10px;
  box-shadow: var(--shadow-sm);
}
.hero-avatar:last-child { margin-right: 0; }
.hero-proof-text {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-image-stack {
  position: relative;
  width: 100%;
  max-width: 480px;
}
.hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-img-main {
  width: 72%;
  aspect-ratio: 3/4;
  position: relative;
  z-index: 2;
}
.hero-img-secondary {
  width: 52%;
  aspect-ratio: 3/4;
  position: absolute;
  right: 0;
  top: 15%;
  z-index: 1;
  border-radius: var(--radius-lg);
  border: 4px solid white;
}
.hero-floating-card {
  position: absolute;
  bottom: 10%;
  right: 5%;
  z-index: 3;
  background: white;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}
.floating-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #E8F5E8;
  color: #34A853;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.floating-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}
.floating-card-subtitle {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.3;
}

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

/* ---------- Sections ---------- */
.section {
  padding: 120px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 72px;
}
.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.section-title em { color: var(--text-secondary); }
.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-top: 16px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- How It Works ---------- */
.how-it-works { background: var(--bg-secondary); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 72px;
  left: calc(33.33% + 20px);
  right: calc(33.33% + 20px);
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.step-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border-light);
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.step-number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  color: rgba(255, 153, 102, 0.15);
  position: absolute;
  top: 20px;
  right: 28px;
  line-height: 1;
}
.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--coral-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--coral);
}
.step-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.step-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.service-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: linear-gradient(135deg, #f5e6d3, #ead5c8);
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover .service-img img {
  transform: scale(1.06);
}
.service-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  color: white;
}
.service-info h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.service-info p {
  font-size: 13px;
  opacity: 0.85;
  font-weight: 300;
}

/* ---------- Features ---------- */
.features { background: var(--bg-secondary); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--coral-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--coral);
}
.feature-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.feature-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- For Providers ---------- */
.providers-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.providers-content .section-title { text-align: left; }
.providers-content .section-eyebrow { text-align: left; }
.providers-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 24px 0 32px;
}
.providers-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}
.providers-perks li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.perk-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--coral-light);
  color: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.providers-perks strong {
  font-size: 16px;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}
.providers-perks p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.providers-visual {
  position: relative;
}
.providers-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-xl);
}
.providers-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.providers-stat-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: white;
  border-radius: var(--radius-md);
  padding: 20px 28px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 600;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ---------- CTA Section ---------- */
.cta-section {
  padding: 80px 0 120px;
}
.cta-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,153,102,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.1;
  color: white;
  margin-bottom: 20px;
}
.cta-title em { color: var(--coral); }
.cta-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Blog ---------- */
.blog-hero {
  padding: calc(var(--nav-height) + 80px) 0 60px;
  background: var(--bg-secondary);
}
.blog-hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 16px;
}
.blog-hero-title em { color: var(--text-secondary); }
.blog-grid-section { padding: 60px 0 120px; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.blog-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #f5e6d3, #ead5c8);
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: white;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}
.blog-card-content {
  padding: 28px;
}
.blog-card-content h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  line-height: 1.3;
}
.blog-card-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}
.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-tertiary);
  font-weight: 500;
}

/* Blog Post */
.blog-post {
  padding: calc(var(--nav-height) + 40px) 0 100px;
}
.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 40px;
  transition: color var(--transition);
}
.blog-back:hover { color: var(--coral); }
.blog-post-header {
  margin-bottom: 40px;
}
.blog-post-header .blog-tag {
  position: static;
  display: inline-block;
  margin-bottom: 16px;
  background: var(--coral-light);
  color: var(--coral);
}
.blog-post-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.blog-post-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 48px;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #f5e6d3, #ead5c8);
}
.blog-post-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-post-body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
}
.blog-post-body h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 40px 0 16px;
}
.blog-post-body p { margin-bottom: 20px; }
.blog-post-body blockquote {
  border-left: 3px solid var(--coral);
  padding: 4px 24px;
  margin: 32px 0;
  font-style: italic;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.6;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  padding: 72px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
  display: inline-block;
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.footer-social a:hover {
  border-color: var(--coral);
  color: var(--coral);
  background: var(--coral-light);
}
.footer-links-group h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}
.footer-links-group a {
  display: block;
  font-size: 15px;
  color: var(--text-secondary);
  padding: 6px 0;
  transition: color var(--transition);
}
.footer-links-group a:hover { color: var(--text-primary); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-tertiary);
}

/* ---------- Modals ---------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.modal-overlay.active {
  display: flex;
  opacity: 1;
}
.modal {
  background: white;
  border-radius: var(--radius-xl);
  max-width: 440px;
  width: 100%;
  padding: 40px;
  position: relative;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-xl);
}
.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  transition: all var(--transition);
}
.modal-close:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}
.modal-body, .modal-success { text-align: center; }
.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--coral-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.modal-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 12px;
}
.modal-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}
.modal-form { margin-bottom: 16px; }
.input-group {
  margin-bottom: 16px;
}
.input-group input {
  width: 100%;
  padding: 16px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 16px;
  color: var(--text-primary);
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.input-group input::placeholder { color: var(--text-tertiary); }
.input-group input:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px var(--coral-glow);
}
.modal-note {
  font-size: 13px;
  color: var(--text-tertiary);
}
.modal-error {
  background: #FEE;
  color: #c53030;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  display: none;
}
.modal-error.show { display: block; }
.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--coral-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.btn-loading { display: none; }
.btn .btn-text { display: inline; }
.btn.loading .btn-text { display: none; }
.btn.loading .btn-loading { display: inline-flex; }
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Hero section always visible (no animation on load) */
.hero .reveal,
.hero .reveal-right,
.blog-hero .reveal,
.blog-post .reveal,
.blog-grid .reveal {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 24px 40px;
  }
  .hero { min-height: auto; padding-top: var(--nav-height); padding-bottom: 40px; }
  .hero-visual { max-width: 400px; margin: 0 auto; }
  .hero-bg-gradient { width: 100%; }
  .steps-grid { grid-template-columns: 1fr; gap: 20px; }
  .steps-grid::before { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .providers-layout { grid-template-columns: 1fr; gap: 48px; }
  .providers-visual { max-width: 400px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-actions .btn { display: none; }
  .section { padding: 80px 0; }
  .section-header { margin-bottom: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .service-info { padding: 16px 14px; }
  .service-info h3 { font-size: 15px; }
  .service-info p { font-size: 12px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .cta-card { padding: 48px 28px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 300px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .modal { padding: 28px; margin: 16px; }
  .providers-stat-card { bottom: -10px; left: -10px; padding: 14px 20px; }
  .stat-number { font-size: 32px; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-image-stack { max-width: 320px; }
  .hero-floating-card { display: none; }
  .blog-card-content h3 { font-size: 17px; }
  .step-card { padding: 32px 24px; }
}

/* ---------- Smooth page transitions ---------- */
#homePage, #blogPage, #blogPostPage {
  animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Selection color ---------- */
::selection {
  background: rgba(255, 153, 102, 0.2);
  color: var(--text-primary);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-tertiary); }
