/* ===================================================
   Relio Marketing Site: Design System & Styles
   =================================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; line-height: 1.6; color: #334155; background: #ffffff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; border: none; outline: none; }

/* --- CSS Variables --- */
:root {
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --deep-teal: #02353c;
  --dark-cyan: #13464c;
  --gradient: linear-gradient(135deg, var(--emerald-400), var(--teal-500));
  --gradient-hover: linear-gradient(135deg, var(--emerald-500), var(--teal-600));
  --slate-50: #f8fafc; --slate-100: #f1f5f9; --slate-200: #e2e8f0;
  --slate-300: #cbd5e1; --slate-400: #94a3b8; --slate-500: #64748b;
  --slate-600: #475569; --slate-700: #334155; --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.1);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.12);
  --shadow-emerald: 0 8px 30px rgba(16,185,129,.2);
  --radius-sm: .5rem; --radius-md: .75rem; --radius-lg: 1rem; --radius-xl: 1.5rem;
  --transition: .3s cubic-bezier(.4,0,.2,1);
  --transition-slow: .6s cubic-bezier(.4,0,.2,1);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { color: var(--slate-900); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p { color: var(--slate-600); font-size: 1.0625rem; line-height: 1.7; }
.text-sm { font-size: .875rem; }
.text-xs { font-size: .75rem; }
.text-muted { color: var(--slate-500); }
.text-white { color: var(--white); }
.text-center { text-align: center; }

/* --- Layout --- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.section-dark { background: var(--deep-teal); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: var(--slate-300); }
.section-alt { background: var(--slate-50); }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: .5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; } .gap-4 { gap: 2rem; }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.75rem; border-radius: var(--radius-md); font-weight: 600; font-size: .9375rem; cursor: pointer; transition: transform var(--transition), box-shadow var(--transition), background var(--transition); }
.btn-primary { background: var(--gradient); color: var(--white); box-shadow: var(--shadow-emerald); }
.btn-primary:hover { background: var(--gradient-hover); transform: translateY(-2px); box-shadow: 0 12px 35px rgba(16,185,129,.3); }
.btn-outline { border: 2px solid var(--slate-200); color: var(--slate-700); background: var(--white); }
.btn-outline:hover { border-color: var(--emerald-500); color: var(--emerald-500); transform: translateY(-2px); }
.btn-ghost { color: var(--slate-600); background: transparent; }
.btn-ghost:hover { color: var(--emerald-500); background: var(--slate-50); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.0625rem; }
.btn-white { background: var(--white); color: var(--deep-teal); font-weight: 700; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(255,255,255,.2); }

/* --- Cards --- */
.card { background: var(--white); border: 1px solid var(--slate-100); border-radius: var(--radius-lg); padding: 2rem; transition: transform var(--transition), box-shadow var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-glass { background: rgba(255,255,255,.06); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.1); }
.card-glass:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }

/* --- Badges --- */
.badge { display: inline-flex; align-items: center; padding: .25rem .75rem; border-radius: 9999px; font-size: .75rem; font-weight: 600; }
.badge-emerald { background: rgba(16,185,129,.1); color: var(--emerald-500); }
.badge-popular { background: var(--gradient); color: var(--white); }

/* =====================
   HEADER
   ===================== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1rem 0; background: rgba(2, 53, 60, .45); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,.06); transition: background var(--transition), padding var(--transition), box-shadow var(--transition), border-color var(--transition); }
.site-header.scrolled { background: rgba(255,255,255,.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: .65rem 0; box-shadow: 0 1px 20px rgba(0,0,0,.06); border-bottom-color: var(--slate-100); }
.header-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.header-logo img { height: 1.7rem; width: auto; transition: filter var(--transition); }
.header-nav { display: none; align-items: center; gap: 0; }
@media (min-width: 1024px) { .header-nav { display: flex; } }
.nav-link { position: relative; padding: .5rem 1rem; font-size: .9375rem; font-weight: 500; color: var(--white); transition: color var(--transition); cursor: pointer; background: none; }
.site-header.scrolled .nav-link { color: var(--slate-700); }
.nav-link:hover { color: var(--emerald-400); }
.site-header.scrolled .nav-link:hover { color: var(--emerald-500); }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.header-login { font-size: .9375rem; font-weight: 500; color: var(--white); padding: .5rem 1rem; transition: color var(--transition); }
.site-header.scrolled .header-login { color: var(--slate-700); }
.header-login:hover { color: var(--emerald-400); }
.header-cta { padding: .6rem 1.5rem; font-size: .875rem; border-radius: var(--radius-md); position: relative; overflow: hidden; }
.header-cta::after { content: ''; position: absolute; top: -50%; left: -75%; width: 50%; height: 200%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent); transform: skewX(-20deg); animation: ctaShimmer 3s ease-in-out infinite; }
@keyframes ctaShimmer { 0%, 100% { left: -75%; opacity: 0; } 50% { left: 125%; opacity: 1; } }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); opacity: 0; visibility: hidden; pointer-events: none; width: 560px; background: var(--white); border: 1px solid var(--slate-100); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); padding: .75rem; transition: opacity var(--transition), transform var(--transition), visibility var(--transition); z-index: 100; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; pointer-events: all; transform: translateX(-50%) translateY(0); }
.dropdown-item { display: flex; align-items: flex-start; gap: .75rem; padding: .75rem; border-radius: var(--radius-sm); transition: background var(--transition); color: var(--slate-700); }
.dropdown-item:hover { background: var(--slate-50); }
.dropdown-icon { width: 2.25rem; height: 2.25rem; border-radius: var(--radius-sm); background: rgba(16,185,129,.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dropdown-icon svg { width: 1.125rem; height: 1.125rem; color: var(--emerald-500); }
.dropdown-label { font-weight: 600; font-size: .875rem; color: var(--slate-900); }
.dropdown-desc { font-size: .75rem; color: var(--slate-500); margin-top: .125rem; }
.dropdown-chevron { width: 1rem; height: 1rem; transition: transform var(--transition); }
.nav-dropdown:hover .dropdown-chevron { transform: rotate(180deg); }

/* Mobile Menu */
.mobile-toggle { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: .5rem; background: none; border: none; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.site-header.scrolled .mobile-toggle span { background: var(--slate-700); }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
@media (min-width: 1024px) { .mobile-toggle { display: none; } }
.mobile-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 100%; max-width: 320px; background: var(--white); box-shadow: -8px 0 30px rgba(0,0,0,.1); transform: translateX(100%); transition: transform var(--transition-slow); z-index: 999; padding: 5rem 1.5rem 2rem; overflow-y: auto; }
.mobile-drawer.open { transform: translateX(0); }
.mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); opacity: 0; visibility: hidden; transition: opacity var(--transition); z-index: 998; }
.mobile-overlay.open { opacity: 1; visibility: visible; }
.mobile-nav-link { display: block; padding: .875rem 0; font-size: 1.0625rem; font-weight: 500; color: var(--slate-700); border-bottom: 1px solid var(--slate-100); }
.mobile-nav-link:hover { color: var(--emerald-500); }
.mobile-cta { margin-top: 1.5rem; width: 100%; text-align: center; }

/* =====================
   FOOTER
   ===================== */
.site-footer { background: var(--deep-teal); color: var(--slate-300); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr repeat(3, 1fr); } }
.footer-brand p { margin-top: .75rem; font-size: .875rem; color: var(--slate-400); max-width: 280px; }
.footer-brand img { height: 1.75rem; filter: brightness(0) invert(1); }
.footer-heading { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-400); margin-bottom: 1rem; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { font-size: .875rem; color: var(--slate-300); transition: color var(--transition); }
.footer-links a:hover { color: var(--emerald-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; font-size: .8125rem; color: var(--slate-500); }
.footer-social { display: flex; gap: .75rem; }
.footer-social a { width: 2rem; height: 2rem; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; transition: background var(--transition), color var(--transition); color: var(--slate-400); }
.footer-social a:hover { background: rgba(255,255,255,.1); color: var(--emerald-400); }
.footer-social svg { width: 1.125rem; height: 1.125rem; }

/* =====================
   HERO SECTION
   ===================== */
.hero { padding: 10rem 0 6rem; background: linear-gradient(135deg, var(--deep-teal) 0%, var(--dark-cyan) 50%, #1a5c5a 100%); position: relative; overflow: hidden; z-index: 2; }
.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(52,211,153,.12) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: -30%; left: -15%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(20,184,166,.1) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; position: relative; z-index: 1; }
@media (min-width: 1024px) { .hero-inner { grid-template-columns: 1fr 1fr; } }
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-subtitle { color: var(--slate-300); font-size: 1.1875rem; margin-bottom: 2rem; line-height: 1.7; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-proof { display: flex; align-items: center; gap: .75rem; margin-top: 2rem; }
.hero-stars { display: flex; gap: 2px; color: #facc15; }
.hero-stars svg { width: 1.125rem; height: 1.125rem; fill: currentColor; }
.hero-proof-text { font-size: .875rem; color: var(--slate-400); }
.hero-proof-text strong { color: var(--white); }
.hero-widget { position: relative; }
.hero-widget-mock { background: var(--white); border-radius: var(--radius-xl); box-shadow: 0 25px 80px rgba(0,0,0,.25); overflow: hidden; animation: float 6s ease-in-out infinite; max-width: 380px; margin: 0 auto; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* =====================
   LOGO MARQUEE
   ===================== */
.marquee-section { padding: 2.5rem 0; border-bottom: 1px solid var(--slate-100); position: relative; z-index: 2; background: #fff; }
.marquee-label { text-align: center; font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-400); margin-bottom: 1.25rem; }
.marquee-track { display: flex; overflow: hidden; max-width: 600px; margin: 0 auto; mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.marquee-inner { display: flex; gap: 3rem; align-items: center; flex-shrink: 0; padding-right: 3rem; animation: marquee 20s linear infinite; }
.marquee-inner img { height: 2.6rem; opacity: .4; filter: grayscale(1); transition: opacity var(--transition), filter var(--transition); flex-shrink: 0; }
.marquee-inner img:hover { opacity: 1; filter: grayscale(0); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* =====================
   SECTION HEADERS
   ===================== */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-header p { margin-top: .75rem; }
.section-label { display: inline-flex; align-items: center; gap: .5rem; font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--emerald-500); margin-bottom: .75rem; }

/* =====================
   CHAT SIMULATOR
   ===================== */
.chat-sim-section { padding: 6rem 0; background: var(--slate-50); }
.chat-sim-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2.5rem; }
.chat-sim-tab { padding: .5rem 1.25rem; border-radius: 9999px; font-size: .8125rem; font-weight: 600; color: var(--slate-500); cursor: pointer; transition: all var(--transition); background: var(--white); border: 1px solid var(--slate-200); }
.chat-sim-tab:hover { border-color: var(--emerald-400); color: var(--emerald-500); }
.chat-sim-tab.active { background: var(--gradient); color: var(--white); border-color: transparent; }
.chat-sim-container { max-width: 420px; margin: 0 auto; }

/* Chat simulator stage - positions the floating cards */
.chat-sim-stage { position: relative; max-width: 800px; margin: 0 auto; }
.sim-float-card { position: absolute; display: flex; align-items: center; gap: .625rem; background: rgba(255,255,255,.85); backdrop-filter: blur(12px); border: 1px solid var(--slate-100); border-radius: var(--radius-md); padding: .625rem .875rem; box-shadow: 0 8px 25px rgba(0,0,0,.08); z-index: 2; opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.chat-sim-stage.visible .sim-float-card { opacity: 1; transform: translateY(0); }
.sim-float-icon { width: 2rem; height: 2rem; border-radius: var(--radius-sm); background: rgba(16,185,129,.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sim-float-icon svg { width: 1rem; height: 1rem; color: var(--emerald-500); }
.sim-float-num { font-size: .9375rem; font-weight: 800; color: var(--slate-900); line-height: 1.2; }
.sim-float-lbl { font-size: .6875rem; color: var(--slate-500); font-weight: 500; }

/* Positions */
.sim-float-left-1 { left: 0; top: 15%; transform: rotate(-3deg) translateY(20px); animation: simFloatA 5s ease-in-out infinite; animation-play-state: paused; }
.sim-float-left-2 { left: 2%; top: 60%; transform: rotate(2deg) translateY(20px); animation: simFloatB 6s ease-in-out infinite; animation-play-state: paused; }
.sim-float-right-1 { right: 0; top: 20%; transform: rotate(3deg) translateY(20px); animation: simFloatB 5.5s ease-in-out infinite; animation-play-state: paused; }
.sim-float-right-2 { right: 2%; top: 65%; transform: rotate(-2deg) translateY(20px); animation: simFloatA 6.5s ease-in-out infinite; animation-play-state: paused; }
.chat-sim-stage.visible .sim-float-left-1 { transform: rotate(-3deg); animation-play-state: running; }
.chat-sim-stage.visible .sim-float-left-2 { transform: rotate(2deg); animation-play-state: running; }
.chat-sim-stage.visible .sim-float-right-1 { transform: rotate(3deg); animation-play-state: running; }
.chat-sim-stage.visible .sim-float-right-2 { transform: rotate(-2deg); animation-play-state: running; }
/* Stagger entry */
.sim-float-left-1 { transition-delay: .2s; }
.sim-float-right-1 { transition-delay: .35s; }
.sim-float-left-2 { transition-delay: .5s; }
.sim-float-right-2 { transition-delay: .65s; }

@keyframes simFloatA { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(-1deg); } }
@keyframes simFloatB { 0%, 100% { transform: translateY(0) rotate(2deg); } 50% { transform: translateY(-10px) rotate(3deg); } }

/* Hide floating cards on mobile */
@media (max-width: 767px) { .sim-float-card { display: none; } }
.chat-widget { background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); overflow: hidden; display: flex; flex-direction: column; height: 520px; }
.hero-widget-mock { display: flex; flex-direction: column; height: 480px; overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); background: var(--white); }
.chat-widget-header { background: var(--gradient); padding: 1rem 1.25rem; display: flex; align-items: center; gap: .75rem; }
.chat-avatar { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-header-info { flex: 1; }
.chat-header-name { font-weight: 700; font-size: .9375rem; color: var(--white); }
.chat-header-status { font-size: .75rem; color: rgba(255,255,255,.7); }
.chat-messages { padding: 1.25rem; flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: .75rem; scroll-behavior: smooth; min-height: 0; scrollbar-width: none; -ms-overflow-style: none; }
.chat-messages::-webkit-scrollbar { display: none; }
.chat-msg { max-width: 85%; padding: .75rem 1rem; border-radius: var(--radius-md); font-size: .875rem; line-height: 1.5; opacity: 0; transform: translateY(8px); animation: msgIn .4s var(--transition) forwards; }
.chat-msg-user { align-self: flex-end; background: var(--sim-accent, var(--emerald-400)); color: var(--white); border-bottom-right-radius: 4px; }
.chat-input-bar button { background: var(--sim-accent, var(--emerald-400)); }
.chat-msg-bot { align-self: flex-start; background: var(--slate-100); color: var(--slate-700); border-bottom-left-radius: 4px; }
@keyframes msgIn { to { opacity: 1; transform: translateY(0); } }
.chat-typing { display: flex; gap: 4px; padding: .75rem 1rem; align-self: flex-start; }
.chat-typing span { width: 6px; height: 6px; background: var(--slate-400); border-radius: 50%; animation: typingDot 1.2s infinite; }
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typingDot { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }
.chat-card-img { display: block; width: 260px; max-width: 85%; align-self: flex-start; border-radius: var(--radius-md); opacity: 0; transform: translateY(12px); animation: msgIn .5s var(--transition) forwards; margin-top: .25rem; }
.chat-product-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-md); overflow: hidden; max-width: 100%; display: flex; flex-direction: row; align-items: center; opacity: 0; transform: translateY(12px); animation: msgIn .5s var(--transition) forwards; flex-shrink: 0; }
.chat-products-area { display: flex; flex-direction: column; gap: .5rem; flex-shrink: 0; border-top: 1px solid var(--slate-100); padding: 0; max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s ease; }
.chat-products-area.has-products { max-height: 250px; padding: .75rem 1rem; }
.chat-product-card img.chat-product-img, .chat-product-img { display: block; width: 72px; min-width: 72px; height: 72px; object-fit: cover; background: var(--slate-100); border-radius: var(--radius-md) 0 0 var(--radius-md); flex-shrink: 0; }
.chat-product-info { padding: .5rem .625rem; flex: 1; min-width: 0; }
.chat-product-title { font-weight: 600; font-size: .75rem; color: var(--slate-900); margin-bottom: .125rem; line-height: 1.3; }
.chat-product-desc { font-size: .6875rem; color: var(--slate-500); margin-bottom: .25rem; line-height: 1.3; }
.chat-product-price { font-size: .8125rem; font-weight: 700; color: var(--emerald-500); margin-bottom: .25rem; }
.chat-product-btn { display: inline-block; padding: .2rem .5rem; background: var(--gradient); color: var(--white); font-size: .6875rem; font-weight: 600; border-radius: var(--radius-sm); text-align: center; cursor: pointer; }
.chat-product-btn:hover { transform: scale(1.02); }
.chat-input-bar { display: flex; align-items: center; gap: .5rem; padding: .75rem 1rem; border-top: 1px solid var(--slate-100); }
.chat-input-bar input { flex: 1; padding: .5rem; font-size: .875rem; color: var(--slate-600); background: transparent; }
.chat-input-bar button { width: 2rem; height: 2rem; border-radius: 50%; background: var(--gradient); color: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; }

/* =====================
   FEATURES SHOWCASE
   ===================== */
.feature-row { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; padding: 3rem 0; }
@media (min-width: 768px) { .feature-row { grid-template-columns: 1fr 1fr; } }
.feature-row.reverse .feature-visual { order: -1; }
@media (max-width: 767px) { .feature-row.reverse .feature-visual { order: 0; } }
.feature-icon { width: 3rem; height: 3rem; border-radius: var(--radius-md); background: rgba(16,185,129,.1); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.feature-icon svg { width: 1.5rem; height: 1.5rem; color: var(--emerald-500); }
.feature-content h3 { margin-bottom: .75rem; }
.feature-content p { margin-bottom: 1rem; }
.feature-list { display: flex; flex-direction: column; gap: .5rem; }
.feature-list li { display: flex; align-items: center; gap: .5rem; font-size: .9375rem; color: var(--slate-600); }
.feature-list li svg { width: 1.25rem; height: 1.25rem; color: var(--emerald-500); flex-shrink: 0; }
.feature-visual { position: relative; }
.feature-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* Feature 3D Mockup */
.feat-mockup-wrap { perspective: 800px; height: 400px; display: flex; align-items: center; justify-content: center; position: relative; }
.feat-mockup-wrap::before { content: ''; position: absolute; inset: 1.5rem; border-radius: var(--radius-xl); background: linear-gradient(135deg, rgba(16,185,129,.08), rgba(16,185,129,.03)); }
.feat-mockup-widget { width: 240px; height: 360px; background: #fff; border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06); display: flex; flex-direction: column; transform: rotateY(-8deg) rotateX(4deg); animation: featFloat 6s ease-in-out infinite; position: relative; z-index: 1; overflow: hidden; }
@keyframes featFloat { 0%, 100% { transform: rotateY(-8deg) rotateX(4deg) translateY(0); } 50% { transform: rotateY(-8deg) rotateX(4deg) translateY(-10px); } }
.feat-mini-card { display: flex; gap: .375rem; padding: .375rem; border: 1px solid #e2e8f0; border-radius: .5rem; background: #fff; }
@keyframes rl-pulse-mini { 0%, 100% { box-shadow: 0 0 0 0 rgba(5,150,105,.3); } 50% { box-shadow: 0 0 0 3px rgba(5,150,105,0); } }

/* Feature section floating blobs */
#features-showcase { position: relative; overflow: hidden; background: var(--slate-50); }
#features-showcase > .container { position: relative; z-index: 1; }
.feat-blob { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; opacity: 0; animation: featBlobIn 1s ease forwards; }
.feat-blob-1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(52,211,153,.10) 0%, transparent 70%); top: 5%; right: -10%; animation-delay: .2s; }
.feat-blob-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(20,184,166,.08) 0%, transparent 70%); top: 30%; left: -8%; animation-delay: .5s; }
.feat-blob-3 { width: 450px; height: 450px; background: radial-gradient(circle, rgba(99,102,241,.06) 0%, transparent 70%); top: 55%; right: -5%; animation-delay: .8s; }
.feat-blob-4 { width: 350px; height: 350px; background: radial-gradient(circle, rgba(52,211,153,.07) 0%, transparent 70%); top: 80%; left: -6%; animation-delay: 1.1s; }
@keyframes featBlobIn { to { opacity: 1; } }
@keyframes featBlobFloat { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(15px, -20px); } 50% { transform: translate(-10px, 15px); } 75% { transform: translate(20px, 10px); } }
.feat-blob.animated { animation: featBlobFloat 20s ease-in-out infinite; opacity: 1; }

/* Alternating feature row tints */
.feature-row-tinted { background: linear-gradient(135deg, rgba(16,185,129,.025) 0%, rgba(20,184,166,.02) 50%, rgba(99,102,241,.015) 100%); border-radius: var(--radius-xl); margin: -.5rem -1.5rem; padding: 3.5rem 1.5rem !important; }

/* Parallax stat strip between feature groups */
.feat-divider-strip { position: relative; margin: 2rem 0; padding: 3rem 0; background: linear-gradient(135deg, var(--deep-teal) 0%, #0f3d3e 50%, var(--dark-cyan) 100%); background-attachment: fixed; overflow: hidden; }
.feat-divider-strip::before { content: ''; position: absolute; inset: 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='%2334d399' fill-opacity='0.04'%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"); pointer-events: none; }
.feat-divider-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.feat-divider-stat { text-align: center; }
.feat-divider-stat .stat-num { font-size: 2rem; font-weight: 800; color: var(--emerald-400); line-height: 1.2; }
.feat-divider-stat .stat-lbl { font-size: .8125rem; color: rgba(255,255,255,.6); margin-top: .25rem; }
.feat-divider-strip .divider-tagline { font-size: 1.125rem; font-weight: 600; color: rgba(255,255,255,.85); text-align: center; width: 100%; margin-top: .5rem; }
@media (max-width: 767px) {
  .feat-divider-inner { gap: 1.5rem; }
  .feat-divider-stat .stat-num { font-size: 1.5rem; }
  .feat-divider-strip { margin: 1rem -1.5rem; padding: 2rem 0; }
}

/* =====================
   SETUP STEPS
   ===================== */
.steps-section { padding: 6rem 0; }
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 900px; margin: 0 auto; position: relative; }
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step-card { text-align: center; position: relative; }
.step-number { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--gradient); color: var(--white); font-size: 1.25rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; position: relative; z-index: 2; }
.step-card h3 { margin-bottom: .5rem; }
.step-card p { font-size: .9375rem; }
.steps-line { display: none; position: absolute; top: 1.75rem; left: calc(16.67% + 1.75rem); right: calc(16.67% + 1.75rem); height: 2px; background: var(--slate-200); z-index: 1; }
@media (min-width: 768px) { .steps-line { display: block; } }
.steps-line-fill { height: 100%; width: 0; background: var(--gradient); transition: width 1.5s ease; }

/* =====================
   ROI CALCULATOR
   ===================== */
.calc-section { background: linear-gradient(135deg, var(--dark-cyan) 0%, var(--deep-teal) 100%); }
.calc-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) { .calc-grid { grid-template-columns: 1fr 1fr; } }
.calc-input-group { margin-bottom: 1.5rem; }
.calc-label { display: flex; justify-content: space-between; margin-bottom: .5rem; font-size: .875rem; font-weight: 500; color: var(--slate-300); }
.calc-value { font-weight: 700; color: var(--emerald-400); font-size: 1rem; }
.calc-slider { -webkit-appearance: none; width: 100%; height: 6px; border-radius: 3px; background: rgba(255,255,255,.15); outline: none; }
.calc-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--gradient); cursor: pointer; box-shadow: 0 2px 8px rgba(16,185,129,.4); }
.calc-results { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.calc-result-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-md); padding: 1.5rem; text-align: center; transition: background var(--transition); }
.calc-result-card:hover { background: rgba(255,255,255,.1); }
.calc-result-number { font-size: 2rem; font-weight: 800; color: var(--emerald-400); margin-bottom: .25rem; }
.calc-result-label { font-size: .8125rem; color: var(--slate-400); }

/* =====================
   VIDEO SECTION
   ===================== */
.video-section { padding: 6rem 0; position: relative; z-index: 2; background: #fff; }

/* Animated glow wrapper */
.video-glow { position: relative; max-width: 1060px; margin: 0 auto; border-radius: calc(var(--radius-xl) + 3px); padding: 3px; background: linear-gradient(135deg, var(--emerald-400), var(--teal-500), rgba(99,102,241,.4), var(--emerald-400)); background-size: 300% 300%; animation: videoGlow 6s ease infinite; box-shadow: 0 0 30px rgba(52,211,153,.15), 0 0 60px rgba(52,211,153,.08); }
@keyframes videoGlow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.video-container { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: #e5e5e5; aspect-ratio: 16 / 9; }
.video-container video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #e5e5e5; }
.video-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(2,53,60,.3); cursor: pointer; transition: background var(--transition); z-index: 2; }
.video-overlay:hover { background: rgba(2,53,60,.15); }
.play-btn { width: 5rem; height: 5rem; border-radius: 50%; background: var(--gradient); display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; transition: transform var(--transition); }
.play-btn:hover { transform: scale(1.1); }
.play-btn svg { width: 2rem; height: 2rem; color: var(--white); margin-left: 4px; }
.play-btn::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--emerald-400); animation: playPulse 2s ease infinite; }
@keyframes playPulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.4); opacity: 0; } }

/* Custom minimal controls */
.video-controls { position: absolute; bottom: 0; left: 0; right: 0; display: flex; align-items: center; gap: .25rem; padding: .5rem .75rem; background: linear-gradient(to top, rgba(10,61,67,.7) 0%, transparent 100%); z-index: 3; opacity: 0; transform: translateY(100%); transition: opacity .3s ease, transform .3s ease; pointer-events: none; }
.video-controls.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.video-container:hover .video-controls.visible { opacity: 1; }
.vc-btn { width: 2.25rem; height: 2.25rem; border-radius: 50%; background: rgba(255,255,255,.15); backdrop-filter: blur(8px); border: none; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s ease; }
.vc-btn:hover { background: rgba(255,255,255,.3); }
.vc-btn svg { width: 1rem; height: 1rem; }

/* =====================
   REVIEWS
   ===================== */
.reviews-section { padding: 6rem 0; }
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card { background: var(--white); border: 1px solid var(--slate-100); border-radius: var(--radius-lg); padding: 1.5rem; transition: transform var(--transition), box-shadow var(--transition); }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.review-stars { display: flex; gap: 2px; margin-bottom: .75rem; color: #facc15; }
.review-stars svg { width: 1rem; height: 1rem; fill: currentColor; }
.review-text { font-size: .9375rem; color: var(--slate-600); margin-bottom: 1.25rem; line-height: 1.6; }
.review-author { display: flex; align-items: center; gap: .75rem; }
.review-avatar { width: 2.5rem; height: 2.5rem; border-radius: 50%; object-fit: cover; background: var(--slate-200); }
.review-name { font-weight: 600; font-size: .875rem; color: var(--slate-900); }
.review-role { font-size: .75rem; color: var(--slate-500); }
.review-badge { display: inline-block; margin-top: .75rem; font-size: .6875rem; font-weight: 600; padding: .2rem .6rem; border-radius: 9999px; background: var(--slate-100); color: var(--slate-500); }

/* =====================
   STATS COUNTER
   ===================== */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item { text-align: center; }
.stat-icon { margin: 0 auto .75rem; width: 3rem; height: 3rem; border-radius: var(--radius-md); background: rgba(52,211,153,.15); display: flex; align-items: center; justify-content: center; }
.stat-icon svg { width: 1.5rem; height: 1.5rem; color: var(--emerald-400); }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--white); }
.stat-label { font-size: .875rem; color: var(--slate-400); margin-top: .25rem; }

/* =====================
   CTA SECTION
   ===================== */
.cta-section { padding: 5rem 0; background: var(--gradient); text-align: center; }
.cta-section h2 { color: var(--white); margin-bottom: .75rem; }
.cta-section p { color: rgba(255,255,255,.8); margin-bottom: 2rem; font-size: 1.0625rem; }

/* =====================
   PRICING
   ===================== */
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 3rem; }
.pricing-toggle-label { font-size: .9375rem; font-weight: 500; color: var(--slate-500); }
.pricing-toggle-label.active { color: var(--slate-900); font-weight: 700; }
.toggle-switch { width: 48px; height: 26px; background: var(--slate-200); border-radius: 13px; position: relative; cursor: pointer; transition: background var(--transition); }
.toggle-switch.active { background: var(--gradient); }
.toggle-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-sm); transition: transform var(--transition); }
.toggle-switch.active::after { transform: translateX(22px); }
.save-badge { font-size: .75rem; font-weight: 700; color: var(--emerald-500); background: rgba(16,185,129,.1); padding: .2rem .6rem; border-radius: 9999px; }
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(4, 1fr); } }
.pricing-card { background: var(--white); border: 2px solid var(--slate-100); border-radius: var(--radius-xl); padding: 2rem; position: relative; transition: transform var(--transition), box-shadow var(--transition); }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.popular { border-color: var(--emerald-500); }
.pricing-card.popular::before { content: 'MOST POPULAR'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gradient); color: var(--white); font-size: .6875rem; font-weight: 700; padding: .3rem 1rem; border-radius: 9999px; }
.pricing-plan-name { font-size: 1.125rem; font-weight: 700; color: var(--slate-900); }
.pricing-price { margin: 1rem 0; }
.pricing-amount { font-size: 3rem; font-weight: 800; color: var(--slate-900); }
.pricing-period { font-size: .875rem; color: var(--slate-500); }
.pricing-features { margin: 1.5rem 0; }
.pricing-features li { display: flex; align-items: center; gap: .5rem; padding: .375rem 0; font-size: .875rem; color: var(--slate-600); }
.pricing-features li svg { width: 1.125rem; height: 1.125rem; color: var(--emerald-500); flex-shrink: 0; }

/* =====================
   FAQ ACCORDION
   ===================== */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--slate-100); }
.faq-question { width: 100%; text-align: left; padding: 1.25rem 0; font-size: 1rem; font-weight: 600; color: var(--slate-900); background: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question svg { width: 1.25rem; height: 1.25rem; color: var(--slate-400); transition: transform var(--transition); flex-shrink: 0; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p { padding: 0 0 1.25rem; color: var(--slate-600); font-size: .9375rem; }

/* =====================
   BLOG
   ===================== */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card { background: var(--white); border: 1px solid var(--slate-100); border-radius: var(--radius-lg); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-img { width: 100%; height: 200px; object-fit: cover; background: var(--slate-100); }
.blog-card-body { padding: 1.5rem; }
.blog-card-meta { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; font-size: .75rem; color: var(--slate-500); }
.blog-card-title { font-size: 1.125rem; font-weight: 700; color: var(--slate-900); margin-bottom: .5rem; transition: color var(--transition); }
.blog-card:hover .blog-card-title { color: var(--emerald-500); }
.blog-card-excerpt { font-size: .875rem; color: var(--slate-600); line-height: 1.6; }
.blog-cats { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; justify-content: center; }
.blog-cat-btn { padding: .4rem 1rem; border-radius: 9999px; font-size: .8125rem; font-weight: 600; cursor: pointer; border: 1px solid var(--slate-200); color: var(--slate-500); background: var(--white); transition: all var(--transition); }
.blog-cat-btn:hover, .blog-cat-btn.active { background: var(--gradient); color: var(--white); border-color: transparent; }

/* Article page */
.article-header { padding: 8rem 0 3rem; background: var(--slate-50); }
.article-breadcrumbs { display: flex; align-items: center; gap: .5rem; font-size: .8125rem; color: var(--slate-500); margin-bottom: 1.5rem; }
.article-breadcrumbs a { color: var(--emerald-500); }
.article-body { max-width: 720px; margin: 0 auto; padding: 3rem 1.5rem; font-size: 1.0625rem; line-height: 1.8; color: var(--slate-700); }
.article-body h2 { margin: 2.5rem 0 1rem; font-size: 1.5rem; }
.article-body h3 { margin: 2rem 0 .75rem; font-size: 1.25rem; }
.article-body p { margin-bottom: 1.25rem; }
.article-body ul, .article-body ol { margin: 1rem 0 1.25rem 1.5rem; }
.article-body li { margin-bottom: .5rem; list-style: disc; }
.article-body img { border-radius: var(--radius-md); margin: 1.5rem 0; box-shadow: var(--shadow-md); }
.article-share { display: flex; align-items: center; gap: 1rem; padding: 2rem 0; border-top: 1px solid var(--slate-100); margin-top: 2rem; }
.article-share span { font-size: .875rem; font-weight: 600; color: var(--slate-700); }
.share-btn { width: 2.5rem; height: 2.5rem; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--slate-500); border: 1px solid var(--slate-200); transition: all var(--transition); cursor: pointer; background: none; }
.share-btn:hover { color: var(--emerald-500); border-color: var(--emerald-500); }
.share-btn svg { width: 1.125rem; height: 1.125rem; }

/* =====================
   LEGAL PAGES
   ===================== */
.legal-page { padding: 8rem 0 4rem; }
.legal-page h1 { margin-bottom: .5rem; }
.legal-updated { color: var(--slate-500); font-size: .875rem; margin-bottom: 2.5rem; }
.legal-body { max-width: 720px; font-size: 1rem; line-height: 1.8; color: var(--slate-600); }
.legal-body h2 { margin: 2rem 0 .75rem; font-size: 1.375rem; color: var(--slate-900); }
.legal-body p { margin-bottom: 1rem; }
.legal-body ul { margin: .75rem 0 1rem 1.5rem; }
.legal-body li { margin-bottom: .5rem; list-style: disc; }

/* =====================
   COOKIE BANNER
   ===================== */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--slate-100); padding: 1.25rem; box-shadow: 0 -4px 20px rgba(0,0,0,.08); z-index: 9999; transform: translateY(100%); transition: transform var(--transition-slow); }
.cookie-banner.show { transform: translateY(0); }
.cookie-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cookie-text { font-size: .875rem; color: var(--slate-600); flex: 1; min-width: 280px; }
.cookie-text a { color: var(--emerald-500); text-decoration: underline; }
.cookie-actions { display: flex; gap: .5rem; }

/* =====================
   OFFER POPUP
   ===================== */
.offer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 1.5rem; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s ease; }
.offer-overlay.show { opacity: 1; visibility: visible; }
.offer-popup { background: var(--white); border-radius: var(--radius-xl); box-shadow: 0 25px 80px rgba(0,0,0,.2); max-width: 440px; width: 100%; position: relative; overflow: hidden; transform: translateY(30px) scale(.95); transition: transform .4s cubic-bezier(.4,0,.2,1); }
.offer-overlay.show .offer-popup { transform: translateY(0) scale(1); }
.offer-popup-header { background: var(--gradient); padding: 1.75rem 2rem 1.5rem; text-align: center; position: relative; }
.offer-popup-header::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 20px; background: var(--white); border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.offer-popup-badge { display: inline-flex; align-items: center; gap: .375rem; background: rgba(255,255,255,.2); color: var(--white); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .25rem .75rem; border-radius: 9999px; margin-bottom: .75rem; }
.offer-popup-title { color: var(--white); font-size: 1.375rem; font-weight: 800; line-height: 1.3; }
.offer-popup-body { padding: 1.5rem 2rem 2rem; text-align: center; }
.offer-price-row { display: flex; align-items: baseline; justify-content: center; gap: .5rem; margin: .75rem 0 .5rem; }
.offer-price-dollar { font-size: 3rem; font-weight: 900; color: var(--emerald-500); line-height: 1; }
.offer-price-period { font-size: .875rem; color: var(--slate-500); font-weight: 500; }
.offer-price-original { font-size: .875rem; color: var(--slate-400); text-decoration: line-through; }
.offer-perks { display: flex; flex-direction: column; gap: .375rem; margin: 1.25rem 0; text-align: left; }
.offer-perks li { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--slate-600); }
.offer-perks li svg { width: 1.125rem; height: 1.125rem; color: var(--emerald-500); flex-shrink: 0; }
.offer-cta { display: block; width: 100%; padding: .875rem; background: var(--gradient); color: var(--white); font-weight: 700; font-size: 1rem; border-radius: var(--radius-md); text-align: center; cursor: pointer; transition: transform var(--transition), box-shadow var(--transition); box-shadow: var(--shadow-emerald); border: none; }
.offer-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(16,185,129,.3); }
.offer-subtext { font-size: .75rem; color: var(--slate-400); margin-top: .75rem; }
.offer-close { position: absolute; top: .75rem; right: .75rem; width: 2rem; height: 2rem; border-radius: 50%; background: rgba(255,255,255,.15); border: none; color: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background var(--transition); z-index: 1; }
.offer-close:hover { background: rgba(255,255,255,.3); }
.offer-close svg { width: 1rem; height: 1rem; }

/* =====================
   INTEGRATION CARDS
   ===================== */
.integration-card { background: var(--white); border: 1px solid var(--slate-100); border-radius: var(--radius-lg); padding: 2rem; display: flex; flex-direction: column; align-items: center; text-align: center; transition: transform var(--transition), box-shadow var(--transition); }
.integration-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.integration-logo { width: 4rem; height: 4rem; margin-bottom: 1rem; display: flex; align-items: center; justify-content: center; }
.integration-logo img { max-width: 100%; max-height: 100%; }
.integration-name { font-size: 1.125rem; font-weight: 700; color: var(--slate-900); margin-bottom: .25rem; }
.integration-type { font-size: .8125rem; color: var(--slate-500); margin-bottom: 1rem; }

/* Homepage Integrations Strip */
.integrations-strip { background: #fff; }
.integrations-grid { display: flex; flex-direction: column; gap: .75rem; max-width: 640px; margin: 0 auto; }
.integ-card { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: var(--white); border: 1px solid var(--slate-100); border-radius: var(--radius-lg); text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.integ-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.06); border-color: var(--emerald-200); }
.integ-logo { width: 3rem; height: 3rem; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.integ-info { flex: 1; min-width: 0; }
.integ-name { font-size: .9375rem; font-weight: 700; color: var(--slate-900); line-height: 1.3; }
.integ-desc { font-size: .8125rem; color: var(--slate-500); line-height: 1.4; margin-top: .125rem; }
.integ-badge { font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; white-space: nowrap; padding: .25rem .5rem; border-radius: 9999px; background: currentColor; -webkit-background-clip: text; background-clip: text; border: 1.5px solid currentColor; opacity: .7; }
.btn-outline { display: inline-flex; align-items: center; padding: .75rem 1.5rem; border: 2px solid var(--slate-200); border-radius: var(--radius-lg); font-weight: 600; font-size: .9375rem; color: var(--slate-700); background: var(--white); text-decoration: none; transition: all .2s ease; }
.btn-outline:hover { border-color: var(--emerald-400); color: var(--emerald-600); background: #ecfdf5; }

/* =====================
   SCROLL REVEAL ANIMATIONS
   ===================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(.92); transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.stagger-1 { transition-delay: .1s; } .stagger-2 { transition-delay: .2s; } .stagger-3 { transition-delay: .3s; }
.stagger-4 { transition-delay: .4s; } .stagger-5 { transition-delay: .5s; } .stagger-6 { transition-delay: .6s; }

/* Enhanced feature row directional animations */
.feature-row .feature-content { opacity: 0; transform: translateX(-50px); transition: opacity .8s cubic-bezier(.4,0,.2,1), transform .8s cubic-bezier(.4,0,.2,1); }
.feature-row .feature-visual { opacity: 0; transform: translateX(50px); transition: opacity .8s cubic-bezier(.4,0,.2,1) .15s, transform .8s cubic-bezier(.4,0,.2,1) .15s; }
.feature-row.reverse .feature-content { transform: translateX(50px); }
.feature-row.reverse .feature-visual { transform: translateX(-50px); }
.feature-row.visible .feature-content,
.feature-row.visible .feature-visual { opacity: 1; transform: translateX(0); }

/* Floating geometric particles */
.feat-particle { position: absolute; border-radius: 50%; pointer-events: none; opacity: 0; z-index: 0; }
.feat-particle.visible { animation: particleFadeIn 1.5s ease forwards; }
@keyframes particleFadeIn { to { opacity: 1; } }
.feat-particle-ring { border: 2px solid rgba(52,211,153,.18); background: transparent; }
.feat-particle-dot { background: rgba(20,184,166,.15); }
.feat-particle-cross { border-radius: 0; width: 14px !important; height: 14px !important; background: transparent; border: none; position: relative; }
.feat-particle-cross::before, .feat-particle-cross::after { content: ''; position: absolute; background: rgba(52,211,153,.18); border-radius: 1px; }
.feat-particle-cross::before { width: 14px; height: 2px; top: 6px; left: 0; }
.feat-particle-cross::after { width: 2px; height: 14px; top: 0; left: 6px; }

/* Scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--gradient); z-index: 9999; width: 0; transition: none; }

/* Stat strip counter glow */
.feat-divider-stat .stat-num { transition: text-shadow .6s ease; }
.feat-divider-strip.visible .feat-divider-stat .stat-num { animation: statPulseGlow 2s ease-in-out infinite; }
@keyframes statPulseGlow {
  0%, 100% { text-shadow: 0 0 8px rgba(52,211,153,.2); }
  50% { text-shadow: 0 0 25px rgba(52,211,153,.6), 0 0 50px rgba(52,211,153,.3); }
}

/* =====================
   COMPARISON TABLE
   ===================== */
.comparison-table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
.comparison-table th, .comparison-table td { padding: .75rem 1rem; text-align: center; font-size: .875rem; border-bottom: 1px solid var(--slate-100); }
.comparison-table th { font-weight: 700; color: var(--slate-900); background: var(--slate-50); position: sticky; top: 0; }
.comparison-table td:first-child { text-align: left; font-weight: 500; color: var(--slate-700); }
.comparison-table tbody tr:hover { background: var(--slate-50); }
.comparison-table .check-icon { color: var(--emerald-500); }
.comparison-table .cross-icon { color: var(--slate-300); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--slate-100); border-radius: var(--radius-lg); }

/* =====================
   CONTACT FORM
   ===================== */
.contact-form { max-width: 600px; }
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .875rem; font-weight: 600; color: var(--slate-700); margin-bottom: .375rem; }
.form-input, .form-textarea { width: 100%; padding: .75rem 1rem; border: 1px solid var(--slate-300); border-radius: var(--radius-md); font-size: .9375rem; color: var(--slate-900); background: var(--white); transition: border-color var(--transition), box-shadow var(--transition); }
.form-input:focus, .form-textarea:focus { border-color: var(--emerald-500); box-shadow: 0 0 0 3px rgba(16,185,129,.15); }
.form-textarea { resize: vertical; min-height: 120px; }

/* =====================
   PARALLAX R-ELIO BRAND WATERMARK
   ===================== */
.parallax-relio {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.parallax-r {
  position: absolute;
  left: max(1.5rem, calc((100% - 1200px) / 2 + 1.5rem));
  top: 0;
  height: 140px;
  width: auto;
  opacity: 0;
  transition: none;
  will-change: transform, opacity;
}
.parallax-elio {
  position: absolute;
  left: 2%;
  bottom: 0;
  height: 140px;
  width: auto;
  opacity: 0;
  transition: none;
  will-change: transform, opacity;
}
/* Tablet: slightly smaller */
@media (min-width: 768px) and (max-width: 1023px) {
  .parallax-r { height: 110px; }
  .parallax-elio { height: 110px; }
}
/* Mobile: hidden */
@media (max-width: 767px) {
  .parallax-relio { display: none; }
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1023px) {
  .section { padding: 4rem 0; }
  .hero { padding: 7rem 0 4rem; }
  h1 { font-size: 2rem; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .header-login-desktop { display: none; }
}
@media (max-width: 767px) {
  /* Prevent horizontal overflow globally */
  html, body { overflow-x: hidden; }
  .container { padding: 0 1rem; }

  .section { padding: 3rem 0; }

  /* Hero: more top padding so chat sim appears without scroll */
  .hero { padding: 7rem 0 2.5rem; }
  .hero-inner { gap: 2rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  h1 { font-size: 1.75rem; margin-top: 1rem; }
  h2 { font-size: 1.5rem; }
  .hero-subtitle { font-size: 1rem; margin-bottom: 1.5rem; }

  /* Hero chat widget: fixed height on mobile so it doesn't resize with messages */
  .hero-widget-mock { max-width: 320px; height: 420px; }

  /* Feature rows: center icons and titles on mobile */
  .feature-content { text-align: center; }
  .feature-icon { margin: 0 auto 1rem; }
  .feature-content h3 { text-align: center; }
  .feature-content p { text-align: left; }
  .feature-list { align-items: flex-start; }
  .feature-list li { text-align: left; }

  /* Feature visuals / mockups */
  .feature-visual { overflow: hidden; padding-bottom: 1.5rem; }
  .feature-visual img { width: 100%; height: auto; border-radius: var(--radius-md); }
  .feat-mockup-wrap { height: auto !important; min-height: 280px; perspective: none; overflow: hidden; padding-bottom: 1rem; }
  /* Default: disable animation for all mockups */
  .feat-mockup-widget { animation: none !important; }
  /* Chat-type mockups (no inline style) → scale up uniformly, keeping 240×360 proportions */
  .feat-mockup-widget:not([style]) { transform: scale(1.3) !important; transform-origin: top center; margin-bottom: 6rem; }

  /* Wide mockups (analytics, live chat, coupon): constrain to viewport */
  .feat-mockup-widget[style*="480px"],
  .feat-mockup-widget[style*="width:480"] {
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    font-size: .75em;
  }
  /* Hide the 3rd column (visitor info) on mobile for live chat */
  .feat-mockup-widget[style*="flex-direction:row"] > div:last-child { display: none; }
  .feat-mockup-wrap::before { display: none; }

  /* Feature row directional animations: disable on mobile to avoid overflow */
  .feature-row .feature-content,
  .feature-row .feature-visual,
  .feature-row.reverse .feature-content,
  .feature-row.reverse .feature-visual { transform: none; opacity: 1; }

  /* Feature row tinted: reduce negative margins to prevent overflow */
  .feature-row-tinted { margin: 0; padding: 2rem 1rem !important; border-radius: var(--radius-md); }

  /* Stats grid */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stat-number { font-size: 2rem; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-amount { font-size: 2.25rem; }

  /* Calculator */
  .calc-results { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Cookie banner */
  .cookie-inner { flex-direction: column; text-align: center; }

  /* Video section */
  .video-section { padding: 3rem 0; }
  .video-glow { border-radius: calc(var(--radius-md) + 3px); }
  .video-container { border-radius: var(--radius-md); }

  /* Chat simulator */
  .chat-sim-section { padding: 3rem 0; }
  .chat-sim-container { max-width: 320px; }
  .chat-widget { height: 480px; }

  /* Reviews */
  .reviews-section { padding: 3rem 0; }

  /* Blog grid */
  .blog-grid { grid-template-columns: 1fr; }

  /* Steps */
  .steps-grid { gap: 1.5rem; }

  /* Comparison table */
  .table-scroll { margin: 0 -1rem; border-radius: 0; border-left: none; border-right: none; }

  /* Offer popup */
  .offer-popup { max-width: 100%; }
  .offer-popup-body { padding: 1.25rem 1.5rem 1.5rem; }
  .offer-popup-header { padding: 1.5rem 1.5rem 1.25rem; }

  /* Blobs: prevent overflow */
  .feat-blob { display: none; }
  .hero::before, .hero::after { display: none; }

  /* Floating metric cards around chat sim: hide on mobile */
  .sim-float-card { display: none; }

  /* Feature section floating particles: hide on mobile */
  .feat-particle { display: none; }

  /* Stat strip */
  .feat-divider-strip { margin: 1rem 0; border-radius: 0; }
  .feat-divider-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; justify-items: center; }
  .feat-divider-stat .stat-num { font-size: 1.25rem; }
  .feat-divider-strip .divider-tagline { font-size: .9375rem; grid-column: 1 / -1; }

  /* Chat sim tabs: 2-column grid on mobile so all are visible */
  .chat-sim-tabs { flex-wrap: wrap; justify-content: center; gap: .375rem; }
  .chat-sim-tab { flex: 0 0 auto; font-size: .75rem; padding: .4rem 1rem; }

  /* Integrations */
  .integration-card { padding: 1.5rem; }

  /* Legal pages */
  .legal-page { padding: 6rem 0 3rem; }
  .article-header { padding: 6rem 0 2rem; }
}

/* Very small screens */
@media (max-width: 374px) {
  .container { padding: 0 .75rem; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  .btn-lg { padding: .875rem 1.5rem; font-size: .9375rem; }
  .hero-widget-mock { max-width: 280px; }
  .footer-grid { grid-template-columns: 1fr; }
}

