/* Velaro Landing Pages — Shared Styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 48px rgba(0,0,0,.12);
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --white: #ffffff;

  /* ── Velaro Brand Palette ──────────────────────────────
     Each page picks ONE color as --accent. Never reuse.
     Assignment map:
       amber   #D97706  → appointment-pro
       red     #DC2626  → commerce-connect
       purple  #7C3AED  → lead-pro
       cyan    #0891B2  → support-desk
       green   #059669  → text-connect
       blue    #1D4ED8  → ivr
       orange  #EA580C  → email-campaigns
       rose    #E11D48  → (available)
       indigo  #4338CA  → (available)
       teal    #0D9488  → (available)
       lime    #65A30D  → (available)
       sky     #0284C7  → (available)
  ─────────────────────────────────────────────────────── */
  --palette-amber:  #D97706;
  --palette-red:    #DC2626;
  --palette-purple: #7C3AED;
  --palette-cyan:   #0891B2;
  --palette-green:  #059669;
  --palette-blue:   #1D4ED8;
  --palette-orange: #EA580C;
  --palette-rose:   #E11D48;
  --palette-indigo: #4338CA;
  --palette-teal:   #0D9488;
  --palette-lime:   #65A30D;
  --palette-sky:    #0284C7;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--gray-900); background: var(--white); line-height: 1.6; }
a { text-decoration: none; }
img { max-width: 100%; display: block; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--gray-100); padding: 0 5%; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { font-weight: 800; font-size: 1.2rem; letter-spacing: -.03em; color: var(--gray-900); white-space: nowrap; }
.nav-logo span { color: var(--accent); }
.nav-cta { background: var(--accent); color: #fff; padding: 8px 20px; border-radius: 8px; font-size: .875rem; font-weight: 600; transition: opacity .15s; }
.nav-cta:hover { opacity: .88; }

/* Hero */
.hero { padding: 80px 5% 64px; max-width: 1100px; margin: 0 auto; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 14px; border-radius: 100px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; letter-spacing: -.04em; line-height: 1.1; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 1.15rem; color: var(--gray-600); max-width: 580px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-primary { background: var(--accent); color: #fff; padding: 14px 28px; border-radius: 10px; font-weight: 700; font-size: 1rem; transition: opacity .15s, transform .1s; display: inline-block; }
.btn-primary:hover { opacity: .9; transform: translateY(-1px); }
.btn-secondary { background: var(--gray-100); color: var(--gray-700); padding: 14px 28px; border-radius: 10px; font-weight: 600; font-size: 1rem; transition: background .15s; display: inline-block; }
.btn-secondary:hover { background: var(--gray-200); }

/* Features */
.features { background: var(--gray-50); padding: 72px 5%; }
.features-inner { max-width: 1100px; margin: 0 auto; }
.section-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 12px; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 48px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.feature-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; background: color-mix(in srgb, var(--accent) 12%, transparent); }
.feature-icon svg, .feature-icon i { color: var(--accent); font-size: 1.1rem; }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: .9rem; color: var(--gray-600); }

/* ROI Calculator */
.roi-section { padding: 72px 5%; }
.roi-inner { max-width: 860px; margin: 0 auto; }
.roi-card { background: var(--white); border: 2px solid var(--gray-200); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.roi-header { background: var(--accent); color: #fff; padding: 28px 36px; }
.roi-header h2 { font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; }
.roi-header p { font-size: .9rem; opacity: .85; margin-top: 4px; }
.roi-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
@media (max-width: 640px) { .roi-body { grid-template-columns: 1fr; } }
.roi-inputs { padding: 32px; border-right: 1px solid var(--gray-100); }
@media (max-width: 640px) { .roi-inputs { border-right: none; border-bottom: 1px solid var(--gray-100); } }
.roi-results { padding: 32px; background: var(--gray-50); }
.roi-field { margin-bottom: 20px; }
.roi-field label { display: block; font-size: .8rem; font-weight: 700; color: var(--gray-600); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.roi-field input[type=range] { width: 100%; accent-color: var(--accent); }
.roi-field .range-val { font-size: 1.1rem; font-weight: 800; color: var(--accent); }
.roi-field input[type=number] { width: 100%; padding: 10px 12px; border: 1.5px solid var(--gray-200); border-radius: 8px; font-size: 1rem; font-family: var(--font); transition: border-color .15s; }
.roi-field input[type=number]:focus { outline: none; border-color: var(--accent); }
.roi-stat { margin-bottom: 24px; }
.roi-stat .stat-label { font-size: .8rem; font-weight: 600; color: var(--gray-400); text-transform: uppercase; letter-spacing: .04em; }
.roi-stat .stat-value { font-size: 2rem; font-weight: 900; letter-spacing: -.04em; color: var(--gray-900); line-height: 1.2; }
.roi-stat .stat-value.highlight { color: var(--accent); }
.roi-stat .stat-sub { font-size: .8rem; color: var(--gray-400); margin-top: 2px; }
.roi-divider { border: none; border-top: 1px solid var(--gray-200); margin: 20px 0; }

/* Social proof */
.proof { padding: 64px 5%; max-width: 1100px; margin: 0 auto; }
.proof h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 36px; }
.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--gray-100); align-items: flex-start; }
.step:last-child { border-bottom: none; }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .9rem; flex-shrink: 0; margin-top: 2px; }
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.step p { font-size: .9rem; color: var(--gray-600); }

/* CTA bottom */
.cta-bottom { background: var(--gray-900); padding: 72px 5%; text-align: center; }
.cta-bottom h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: -.04em; color: var(--white); margin-bottom: 16px; }
.cta-bottom p { color: var(--gray-400); font-size: 1rem; margin-bottom: 32px; }
.cta-bottom .btn-primary { background: var(--accent); font-size: 1.05rem; padding: 16px 36px; }

/* Footer */
footer { padding: 24px 5%; text-align: center; font-size: .8rem; color: var(--gray-400); border-top: 1px solid var(--gray-100); }

/* Responsive */
@media (max-width: 768px) {
  .hero { padding: 48px 5%; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 320px; text-align: center; }
}

/* ── Images ─────────────────────────────────────────────
   Drop images in marketing/landing-pages/images/
   Reference as: src="images/filename.png"
─────────────────────────────────────────────────────── */

/* Full-width screenshot below hero */
.hero-image { max-width: 900px; margin: 48px auto 0; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200); overflow: hidden; }
.hero-image img { width: 100%; display: block; }

/* Screenshot next to text (2-col layout) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: 1100px; margin: 0 auto; padding: 72px 5%; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-image { border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200); overflow: hidden; }
.split-image img { width: 100%; display: block; }
@media (max-width: 768px) { .split { grid-template-columns: 1fr; } .split.reverse { direction: ltr; } }

/* Floating mockup card (smaller screenshot in a section) */
.mockup { border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200); overflow: hidden; max-width: 560px; margin: 32px auto 0; }
.mockup img { width: 100%; display: block; }

/* ── Video ──────────────────────────────────────────────
   YouTube / Vimeo:   use .video-embed > iframe
   Local mp4 loop:    use .video-embed > video
─────────────────────────────────────────────────────── */
.video-wrap { max-width: 900px; margin: 0 auto; padding: 0 5%; }
.video-embed { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--gray-900); }
.video-embed iframe, .video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: none; object-fit: cover; }
