/* Form controls default to box-sizing: content-box, which means a
   `width: 100%` input inside a padded container renders WIDER than its
   container (100% + its own horizontal padding + borders) and visibly
   overflows — this was breaking the checkout fields and the contact
   textarea. Scoped to form controls rather than a blanket `*` reset so it
   can't disturb any existing widget layouts that were tuned against the
   current box model. */
input,
textarea,
select,
button {
  box-sizing: border-box;
}

/* Site-wide layout convention: every section's own background/wrapper spans
   the full viewport width (100%), while the actual content inside it is
   centered and capped at 90% width. Applied uniformly via .hp-content so
   every section (and the header/footer) share the exact same content
   measure, instead of each widget improvising its own container width.
   !important is deliberate here: several widget stylesheets (e.g.
   .hp-faq-container { width:100%; margin:0 }) load after this file and would
   otherwise silently win the cascade and break the 90% rule for just that
   one widget — this class exists specifically to always be authoritative. */
.hp-content {
  width: 90% !important;
  max-width: 90% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Vertical rhythm + gentle visual separation between the stacked homepage
   sections below the hero — alternating tint reads as distinct "cards" of
   content rather than one long unbroken sheet. Sections that set their own
   background (hero, CTA) via inline style simply paint over this. */
.hp-cms-section {
  padding: 72px 0;
}

.hp-cms-section:nth-of-type(even) {
  background: #f2f5fa;
}

/* Hero and CTA already paint their own full-bleed background on an inner
   element (their own inline gradient) and already carry their own internal
   vertical spacing — adding the generic wrapper padding/tint here would show
   as a mismatched-color band around their edges instead of a clean block. */
.hp-cms-section--hero,
.hp-cms-section--cta {
  padding: 0;
  background: none;
}

/* Brand palette & typography */

/* Light is the site's actual default — the dark-mode toggle isn't placed
   anywhere on this site, so the base :root must be the light palette, not
   the dark one, regardless of a visitor's OS color-scheme preference. */
:root {
  --accent: #0ea5e9;
  --accent-2: #22c55e;
  --ink: #0f172a;
  --muted-ink: #475569;
  --surface: #ffffff;
  --card: #ffffff;
  --frost: rgba(2,6,23,0.04);
  --line: rgba(15,23,42,0.08);
  --bg: #f8fafc;
}

body[data-theme="light"], html[data-theme="light"] {
  --bg: #f8fafc;
  --ink: #0f172a;
  --muted-ink: #475569;
  --surface: #ffffff;
  --card: #ffffff;
  --frost: rgba(2,6,23,0.04);
  --line: rgba(15,23,42,0.08);
}

body[data-theme="dark"], html[data-theme="dark"] {
  --bg: radial-gradient(circle at 18% 10%, rgba(14,165,233,0.18), transparent 30%), radial-gradient(circle at 82% 14%, rgba(34,197,94,0.12), transparent 28%), #020617;
  --ink: #e5e7eb;
  --muted-ink: #94a3b8;
  --surface: #0b1220;
  --card: #0f172a;
  --frost: rgba(255,255,255,0.05);
  --line: rgba(148,163,184,0.14);
}

html { scroll-behavior: smooth; }

/* Safety net: no single component's overflow should ever be able to widen
   the whole page and trigger page-level horizontal scroll on small screens. */
html, body { max-width: 100%; overflow-x: hidden; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  color: var(--ink);
  background: var(--bg);
  margin: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.hp-container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.hp-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; background: var(--frost); backdrop-filter: blur(8px); transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease; }

.hp-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(0,0,0,0.12); border-color: rgba(14,165,233,0.4); }

.hp-btn--primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-color: transparent; box-shadow: 0 18px 38px rgba(14,165,233,0.25); }

.hp-btn--primary:hover { box-shadow: 0 18px 42px rgba(14,165,233,0.35); }

.hp-hero .hp-btn { color: #fff; border-color: rgba(255,255,255,0.65); background: transparent; box-shadow: none; }

.hp-hero .hp-btn:hover { border-color: #fff; background: rgba(255,255,255,0.08); box-shadow: 0 12px 28px rgba(0,0,0,0.26); }

.hp-hero .hp-btn--primary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.9); box-shadow: none; }

.hp-hero .hp-btn--primary:hover { background: #fff; color: #0b1220; box-shadow: 0 18px 38px rgba(0,0,0,0.25); }

/* Banner / Hero */
#hero, #hero-section, .hp-banner { position: relative; color: #fff; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #0b172e 0%, #0f233b 40%, #0a2a33 100%); padding: 16px 0; min-height: auto; display: flex; align-items: center; box-shadow: 0 2px 12px rgba(0,0,0,0.15); }

.hp-banner__bg { position: absolute; inset: 0; opacity: 1; background: radial-gradient(circle at 10% 20%, rgba(14,165,233,0.32), transparent 38%), radial-gradient(circle at 82% 0%, rgba(34,197,94,0.22), transparent 34%); filter: blur(0px); }

.hp-banner::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 10%, rgba(255,255,255,0.06), transparent 40%), linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 75%); mix-blend-mode: screen; pointer-events: none; }

.hp-nav { display: flex; align-items: center; justify-content: space-between; padding: 0; gap: 24px; position: relative; z-index: 2; }

.hp-brand__logo { height: 28px; display: block; }

.hp-brand__text { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }

.hp-nav__toggle { display: none; appearance: none; border: 1px solid var(--line); background: var(--frost); color: #fff; font-size: 16px; border-radius: 8px; padding: 6px 8px; }

.hp-nav__links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }

.hp-nav__links a { color: #fff; text-decoration: none; opacity: 0.88; font-weight: 500; font-size: 14px; transition: opacity 0.2s ease, color 0.2s ease; }

.hp-nav__links a:hover { opacity: 1; color: var(--accent); }

body[data-theme="light"] .hp-nav__links a,
html[data-theme="light"] .hp-nav__links a { color: #fff; opacity: 0.88; }

body[data-theme="light"] .hp-nav__links a:hover,
html[data-theme="light"] .hp-nav__links a:hover { opacity: 1; color: var(--accent); }

/* Force white navigation links in Elementor header */
.hp-banner .elementor-heading-title a,
.hp-banner .elementor-widget-heading a,
body[data-theme="light"] .hp-banner .elementor-heading-title a,
body[data-theme="light"] .hp-banner .elementor-widget-heading a,
html[data-theme="light"] .hp-banner .elementor-heading-title a,
html[data-theme="light"] .hp-banner .elementor-widget-heading a {
    color: #ffffff !important;
    opacity: 0.88;
    text-decoration: none;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.hp-banner .elementor-heading-title a:hover,
.hp-banner .elementor-widget-heading a:hover,
body[data-theme="light"] .hp-banner .elementor-heading-title a:hover,
body[data-theme="light"] .hp-banner .elementor-widget-heading a:hover {
    opacity: 1;
    color: var(--accent) !important;
}

.hp-theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    appearance: none;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-radius: 8px;
    padding: 6px 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.hp-theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

body[data-theme="light"] .hp-theme-toggle, html[data-theme="light"] .hp-theme-toggle {
    color: var(--ink);
    border-color: var(--line);
    background: var(--frost);
}

body[data-theme="light"] .hp-theme-toggle:hover, html[data-theme="light"] .hp-theme-toggle:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--accent);
}

.hp-theme-toggle__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    line-height: 1;
}

.hp-theme-toggle__label {
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.hp-hero { position: relative; z-index: 2; padding: 56px 0 48px; display: grid; gap: 22px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; }

.hp-hero__content { display: grid; gap: 14px; max-width: 720px; }

.hp-hero h1 { margin: 0; font-size: clamp(38px, 5vw, 56px); letter-spacing: -0.02em; color: #fff; text-shadow: 0 6px 28px rgba(0,0,0,0.28); }

.hp-hero__tagline { margin: 0; opacity: 0.94; font-size: 18px; color: rgba(255,255,255,0.94); text-shadow: 0 3px 18px rgba(0,0,0,0.25); }

.hp-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }

.hp-hero__meta { display: flex; gap: 10px; flex-wrap: wrap; color: rgba(255,255,255,0.97); font-size: 14px; }

.hp-hero__trust { color: rgba(255,255,255,0.8); font-size: 14px; font-weight: 600; }

.hp-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid var(--line); width: fit-content; font-weight: 600; letter-spacing: 0.01em; color: #fff; }

.hp-chip { display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,0.22); border: 1px solid rgba(255,255,255,0.65); color: #fff; font-weight: 800; letter-spacing: 0.01em; text-shadow: 0 2px 12px rgba(0,0,0,0.35); backdrop-filter: blur(6px); }

body[data-theme="light"] .hp-chip { background: #f0f0f0; color: var(--ink); border-color: #d0d0d0; text-shadow: none; }

.hp-hero__panel { background: rgba(255,255,255,0.06); border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: 0 18px 42px rgba(0,0,0,0.22); backdrop-filter: blur(8px); color: #fff; }

body[data-theme="light"] .hp-hero__panel { background: #fff; color: var(--ink); }

.hp-panel__header { font-weight: 700; letter-spacing: 0.01em; margin-bottom: 12px; }

.hp-panel__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }

.hp-stat { background: rgba(255,255,255,0.05); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }

body[data-theme="light"] .hp-stat { background: var(--frost); }

.hp-stat__label { font-size: 13px; opacity: 0.85; }

.hp-stat__value { font-size: 22px; font-weight: 700; margin: 4px 0 2px; }

.hp-stat__meta { font-size: 12px; opacity: 0.75; }

.hp-panel__footer { margin-top: 10px; font-size: 13px; opacity: 0.85; }

#hero, #hero-section { width: 100%; }

.hp-main { padding-bottom: 56px; }

#about, #features, #install, #pricing, #testimonials, #faq, #contact, .hp-section { padding: 64px 0; position: relative; }

.hp-section h2 { font-size: 30px; margin: 0 0 16px; letter-spacing: -0.01em; }

.hp-section p { margin-top: 0; color: var(--muted-ink); }

.hp-highlights { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }

.hp-highlights li { background: var(--frost); padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); color: var(--ink); }

.hp-features__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.hp-feature { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: var(--card); box-shadow: 0 18px 44px rgba(0,0,0,0.22); position: relative; overflow: hidden; }

.hp-feature::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(14,165,233,0.12), transparent 45%); opacity: 0.7; pointer-events: none; }

.hp-feature h3 { margin: 6px 0 8px; }

.hp-feature__header { display: flex; align-items: center; gap: 10px; }

.hp-steps { counter-reset: step; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }

.hp-step { position: relative; background: var(--card); padding: 16px 14px 16px 48px; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 14px 36px rgba(0,0,0,0.18); color: var(--ink); }

.hp-step::before { counter-increment: step; content: counter(step); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; display: grid; place-items: center; font-weight: 700; box-shadow: 0 10px 22px rgba(14,165,233,0.35); }

.hp-pricing__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.hp-plan { border: 1px solid var(--line); border-radius: 16px; background: var(--card); padding: 22px; box-shadow: 0 20px 44px rgba(0,0,0,0.22); position: relative; overflow: hidden; }

.hp-plan::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 0%, rgba(14,165,233,0.18), transparent 40%); opacity: 0.9; pointer-events: none; }

.hp-plan__price { font-size: 30px; font-weight: 700; margin: 10px 0 14px; }

.hp-plan ul { list-style: none; padding: 0; margin: 0 0 16px; color: var(--muted-ink); }

.hp-plan li { margin: 6px 0; }

.hp-plan h3 { margin: 0; }

.hp-carousel { position: relative; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: var(--card); box-shadow: 0 20px 40px rgba(0,0,0,0.2); min-height: 280px; }

.hp-carousel__track { display: flex; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }

.hp-testimonial { min-width: 100%; padding: 40px 48px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; box-sizing: border-box; }

.hp-testimonial__stars { font-size: 20px; color: #f59e0b; margin-bottom: 16px; letter-spacing: 3px; }

.hp-testimonial p { margin: 0 0 20px 0; font-size: 16px; line-height: 1.8; color: var(--ink); font-style: italic; max-width: 800px; }

.hp-testimonial__author { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); width: 100%; max-width: 400px; }

.hp-testimonial__author strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 6px; font-size: 14px; }

.hp-testimonial__author span { display: block; font-size: 13px; color: var(--muted-ink); }

.hp-carousel__dots { display: flex; gap: 10px; justify-content: center; padding: 20px 0; }

.hp-carousel__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); cursor: pointer; transition: all 0.3s ease; border: none; padding: 0; }

.hp-carousel__dot:hover { background: var(--accent); transform: scale(1.2); }

.hp-carousel__dot.is-active { background: var(--accent); width: 30px; border-radius: 5px; }

.hp-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 60px 0 40px; }

.hp-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }

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

.hp-footer__links a { color: var(--muted-ink); text-decoration: none; display: block; padding: 8px 0; transition: color 0.2s ease; }

.hp-footer__links a:hover { color: var(--accent); }

.hp-faq-accordion { margin: 50px auto; max-width: 1000px; }

.hp-faq-item { background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); border: 2px solid transparent; border-radius: 16px; margin-bottom: 16px; overflow: hidden; transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 4px 20px rgba(0, 123, 186, 0.08); position: relative; }

.hp-faq-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #007cba 0%, #00a0dc 100%); transform: scaleX(0); transition: transform 0.35s ease; transform-origin: left; }

.hp-faq-item:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0, 123, 186, 0.15); border-color: rgba(0, 124, 186, 0.2); }

.hp-faq-item:hover::before { transform: scaleX(1); }

.hp-faq-question { display: flex; justify-content: space-between; align-items: center; padding: 24px 28px; cursor: pointer; font-weight: 600; font-size: 1.08em; color: #1a1a1a; background: transparent; transition: all 0.25s ease; user-select: none; letter-spacing: -0.01em; }

.hp-faq-question:hover { color: #007cba; padding-left: 32px; }

.hp-faq-question > span:first-child { flex: 1; line-height: 1.5; }

.hp-faq-icon { flex-shrink: 0; margin-left: 20px; transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); color: #007cba; opacity: 0.8; font-size: 1.5em; font-weight: 300; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; }

.hp-faq-item:hover .hp-faq-icon { opacity: 1; transform: scale(1.1); }

.hp-faq-item.active .hp-faq-icon { transform: rotate(135deg) scale(1.1); opacity: 1; color: #0084cc; }

.hp-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1); padding: 0 28px; }

.hp-faq-item.hp-faq-active .hp-faq-answer { max-height: none; padding: 0 28px 28px 28px; overflow: visible; }

.hp-faq-answer p { margin: 0 0 12px 0; color: #4a5568; line-height: 1.7; }

/* Override any external line-height reset for Elementor FAQ */
.hp-faq-container .hp-faq-answer { line-height: 1.7; }
.hp-faq-container .hp-faq-answer p { line-height: 1.7 !important; }

.hp-faq-answer ul { margin: 0; padding-left: 24px; color: #4a5568; line-height: 1.8; }

.hp-faq-answer li { margin-bottom: 8px; }

body[data-theme="dark"] .hp-faq-item { background: linear-gradient(135deg, #1f2937 0%, #111827 100%); }

body[data-theme="dark"] .hp-faq-item:hover { border-color: rgba(14, 165, 233, 0.3); box-shadow: 0 8px 32px rgba(14, 165, 233, 0.1); }

body[data-theme="dark"] .hp-faq-question { color: #e5e7eb; }

body[data-theme="dark"] .hp-faq-question:hover { color: var(--accent); }

body[data-theme="dark"] .hp-faq-answer p,
body[data-theme="dark"] .hp-faq-answer li { color: #9ca3af; }

@media (max-width: 1024px) {
  .hp-hero { grid-template-columns: 1fr; gap: 20px; }
  .hp-highlights { grid-template-columns: repeat(2, 1fr); }
  .hp-features__grid { grid-template-columns: repeat(2, 1fr); }
  .hp-steps { grid-template-columns: repeat(2, 1fr); }
  .hp-pricing__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .hp-nav__toggle { display: inline-block; }
  .hp-nav__links { display: none; position: absolute; right: 24px; top: 62px; background: rgba(0,0,0,0.4); backdrop-filter: blur(8px); padding: 10px 12px; border-radius: 12px; box-shadow: 0 16px 36px rgba(0,0,0,0.25); }
  .hp-nav__links.is-open { display: flex; flex-direction: column; }
  .hp-hero { grid-template-columns: 1fr; gap: 16px; }
  .hp-hero__panel { order: -1; }
  .hp-highlights { grid-template-columns: 1fr; }
  .hp-features__grid { grid-template-columns: 1fr 1fr; }
  .hp-steps { grid-template-columns: 1fr; }
  .hp-pricing__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hp-features__grid { grid-template-columns: 1fr; }
}

