/* ============================================================
   SASTA TV — "Saffron" design system
   Warm, cinematic, festive light theme.
   Palette: saffron + marigold gold + berry on warm cream.
   Type: Sora (display) + DM Sans (body).
   ============================================================ */

:root {
  /* surfaces */
  --bg:        #FFF8F1;   /* warm cream page */
  --bg-alt:    #FFFFFF;   /* white sections */
  --bg-deep:   #1E1326;   /* deep plum (footer / strip) */
  --surface:   #FFFFFF;
  --surface-2: #FFF1E4;   /* soft peach */
  --line:      #F1E6D9;   /* hairline on light */
  --line-deep: rgba(255,255,255,0.10);

  /* text */
  --ink:       #241830;   /* primary */
  --ink-soft:  #5B5365;   /* secondary */
  --ink-mute:  #968D9E;   /* muted */
  --cream:     #FBEFE4;   /* text on dark */
  --cream-soft:rgba(251,239,228,0.72);

  /* brand */
  --primary:   #FF5A1F;   /* saffron */
  --primary-d: #E0440C;
  --gold:      #F7A700;   /* marigold */
  --berry:     #D6266F;   /* deep pink */
  --teal:      #15B5A6;   /* fresh accent */

  --grad-warm:  linear-gradient(120deg, #FF5A1F 0%, #F7A700 100%);
  --grad-berry: linear-gradient(120deg, #D6266F 0%, #FF5A1F 100%);
  --grad-hero:  radial-gradient(1200px 600px at 80% -10%, #FFE3C4 0%, rgba(255,227,196,0) 60%),
                radial-gradient(900px 500px at 0% 10%, #FFD9E4 0%, rgba(255,217,228,0) 55%),
                linear-gradient(180deg, #FFF8F1 0%, #FFF1E4 100%);

  /* compatibility aliases (older markup/inline styles reference these) */
  --text-primary:   var(--ink);
  --text-secondary: var(--ink-soft);
  --text-muted:     var(--ink-mute);
  --accent-1: var(--primary);
  --accent-2: var(--berry);
  --accent-3: var(--gold);
  --accent-4: var(--primary-d);
  --accent-5: var(--teal);
  --bg-primary:   var(--bg);
  --bg-secondary: var(--bg-alt);
  --bg-card: var(--surface);
  --bg-card-hover: var(--surface-2);
  --glass-border: var(--line);
  --gradient-main: var(--grad-warm);

  /* shape & motion */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --radius-sm: var(--r-sm);
  --radius-md: var(--r-md);
  --radius-lg: var(--r-lg);
  --radius-xl: var(--r-xl);
  --shadow-sm: 0 2px 10px rgba(36,24,48,0.06);
  --shadow-md: 0 14px 34px rgba(36,24,48,0.10);
  --shadow-pop: 0 22px 50px rgba(255,90,31,0.22);
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);

  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-display: 'Sora', 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

/* ----- reset ----- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; transition: var(--transition); }
img, svg { max-width: 100%; display: block; }
ul { list-style: none; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { position: relative; padding: 96px 0; }

/* ----- preloader ----- */
#preloader {
  position: fixed; inset: 0; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  z-index: 99999; transition: opacity .5s ease, visibility .5s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.loader-ring {
  width: 54px; height: 54px; border-radius: 50%;
  border: 4px solid rgba(255,90,31,0.18);
  border-top-color: var(--primary);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ----- scrollbar ----- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--surface-2); }
::-webkit-scrollbar-thumb { background: #ffb48f; border-radius: 6px; border: 2px solid var(--surface-2); }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ----- selection ----- */
::selection { background: rgba(255,90,31,0.22); color: var(--ink); }

/* ============================================================
   BRAND LOGO (text mark, adapts to light/dark contexts)
   ============================================================ */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-badge {
  width: 38px; height: 38px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--grad-warm);
  color: #fff; font-size: 0.95rem;
  box-shadow: 0 6px 16px rgba(255,90,31,0.35);
}
.brand-word {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.3rem;
  letter-spacing: 0.5px; line-height: 1;
}
.brand-tv {
  display: inline-block; margin-left: 4px;
  padding: 2px 7px; border-radius: 7px;
  background: var(--grad-warm); color: #fff;
  font-size: 0.78em; font-weight: 800;
}
.nav-brand .brand-word { color: var(--ink); }
.footer-brand-logo .brand-word { color: var(--cream); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0; transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,248,241,0.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 11px 0; box-shadow: 0 6px 24px rgba(36,24,48,0.06);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 9px 14px; font-size: 0.92rem; font-weight: 600;
  color: var(--ink-soft); border-radius: var(--r-sm); position: relative;
}
.nav-link:hover { color: var(--ink); background: var(--surface-2); }
.nav-link.active { color: var(--primary); }
.nav-link.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 3px;
  height: 2.5px; border-radius: 2px; background: var(--grad-warm);
}
.nav-btn {
  margin-left: 10px; padding: 11px 22px; border-radius: 50px;
  font-size: 0.92rem; font-weight: 700; color: #fff;
  background: var(--grad-warm); box-shadow: 0 8px 20px rgba(255,90,31,0.30);
}
.nav-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255,90,31,0.40); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: var(--transition); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; font-family: var(--font-sans);
  font-size: 0.98rem; font-weight: 700; border: none; cursor: pointer;
  border-radius: 50px; transition: var(--transition);
}
.btn-primary { background: var(--grad-warm); color: #fff; box-shadow: 0 10px 24px rgba(255,90,31,0.30); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(255,90,31,0.40); }
.btn-outline { background: var(--surface); color: var(--ink); border: 2px solid var(--line); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 130px 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: var(--grad-hero); z-index: 0; }
.hero-orbs { position: absolute; inset: 0; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.45; }
.orb-1 { width: 460px; height: 460px; background: #FFC487; top: -140px; right: -80px; }
.orb-2 { width: 360px; height: 360px; background: #FFB6CE; bottom: -120px; left: -90px; opacity: 0.4; }
.orb-3 { width: 240px; height: 240px; background: #FFE08A; top: 40%; left: 46%; opacity: 0.35; }

.hero-container { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-content { max-width: 760px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 50px; font-size: 0.8rem; font-weight: 700; color: var(--primary-d);
  box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.hero-title {
  font-family: var(--font-display); font-size: clamp(2.6rem, 5.4vw, 4.2rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -1px; margin-bottom: 18px;
}
.gradient-text {
  background: var(--grad-berry); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-text { font-family: var(--font-display); font-weight: 800; }
.hero-subtitle { font-size: 1.12rem; color: var(--ink-soft); margin: 0 auto 32px; max-width: 600px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 48px; }

.hero-stats { display: flex; align-items: center; justify-content: center; gap: 26px; }
.stat-item { display: flex; flex-direction: column; }
.stat-number { font-family: var(--font-display); font-size: 2.1rem; font-weight: 800; color: var(--ink); line-height: 1; }
.stat-plus { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 0.78rem; color: var(--ink-mute); font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; margin-top: 6px; }
.stat-divider { width: 1px; height: 38px; background: var(--line); }


/* ----- divider under hero ----- */
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; z-index: 2; }
.hero-wave svg { width: 100%; height: 70px; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block; padding: 6px 15px; border-radius: 50px;
  background: var(--surface-2); color: var(--primary-d);
  font-size: 0.76rem; font-weight: 800; letter-spacing: 1.4px;
  text-transform: uppercase; margin-bottom: 14px; border: 1px solid #FFE0CC;
}
.section-header h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 14px; }
.section-header p { font-size: 1.08rem; color: var(--ink-soft); }

/* ============================================================
   FEATURES
   ============================================================ */
.features { background: var(--bg-alt); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 32px 26px; transition: var(--transition); position: relative; overflow: hidden;
}
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--accent, var(--primary)); transform: scaleX(0); transform-origin: left; transition: var(--transition); }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px;
  margin-bottom: 18px; font-size: 1.35rem; color: var(--accent, var(--primary));
  background: color-mix(in srgb, var(--accent, var(--primary)) 14%, white);
}
.feature-card h3 { font-family: var(--font-display); font-size: 1.22rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 0.95rem; color: var(--ink-soft); }

/* ============================================================
   DEVICES
   ============================================================ */
.devices { background: var(--bg); }
.devices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.device-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 38px 28px; text-align: center; transition: var(--transition); position: relative; overflow: hidden;
}
.device-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.device-card.featured { background: linear-gradient(180deg,#FFF3E8,#FFFFFF); border-color: #FFD9BC; }
.device-card.featured::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-warm); }
.device-badge { position: absolute; top: 16px; right: 16px; padding: 4px 12px; border-radius: 50px; background: var(--grad-berry); color: #fff; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.5px; }
.device-img { font-size: 2.6rem; color: var(--primary); margin-bottom: 16px; }
.device-card.featured .device-img { color: var(--berry); }
.device-card h3 { font-family: var(--font-display); font-size: 1.22rem; font-weight: 700; margin-bottom: 10px; }
.device-card p { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 18px; }
.device-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.9rem; color: var(--primary-d); }
.device-link:hover { gap: 10px; }

/* ============================================================
   SHOWCASE STRIP (deep plum band)
   ============================================================ */
.showcase-strip { background: var(--bg-deep); padding: 56px 0; color: var(--cream); }
.showcase-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.showcase-text h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: 6px; color: #fff; }
.showcase-text p { color: var(--cream-soft); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { background: var(--bg-alt); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.pricing-grid.four { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pricing-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px 26px; transition: var(--transition); position: relative;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pricing-card.popular { border: 2px solid var(--primary); box-shadow: var(--shadow-pop); transform: scale(1.04); }
.pricing-card.popular:hover { transform: scale(1.04) translateY(-6px); }
.popular-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 6px 18px; border-radius: 50px; background: var(--grad-warm); color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.5px; box-shadow: 0 6px 16px rgba(255,90,31,0.4); }
.pricing-header { text-align: center; margin-bottom: 22px; padding-top: 8px; }
.pricing-header h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; }
.pricing-price { display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.currency { font-size: 1.4rem; font-weight: 800; color: var(--primary); align-self: flex-start; margin-top: 6px; }
.amount { font-family: var(--font-display); font-size: 3rem; font-weight: 800; line-height: 1; color: var(--ink); }
.pricing-grid.four .amount { font-size: 2.7rem; }
.period { font-size: 0.88rem; color: var(--ink-mute); margin-left: 4px; }
.pricing-features { margin-bottom: 24px; }
.pricing-features li { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 0.9rem; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li i { color: var(--teal); font-size: 0.9rem; }
.pricing-btn { width: 100%; justify-content: center; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 30px 26px; transition: var(--transition); }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.testimonial-stars { color: var(--gold); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-card > p { font-size: 0.97rem; color: var(--ink-soft); margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 13px; }
.testimonial-avatar { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--grad-warm); color: #fff; font-weight: 800; font-size: 0.9rem; }
.testimonial-author strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--ink-mute); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bg-alt); }
.faq-grid { max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 12px; overflow: hidden; transition: var(--transition); }
.faq-item.active { border-color: #FFD9BC; box-shadow: var(--shadow-sm); }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 22px; cursor: pointer; user-select: none; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.faq-question i { font-size: 0.8rem; color: var(--primary); transition: var(--transition); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s ease; padding: 0 22px; }
.faq-item.active .faq-answer { max-height: 420px; padding: 0 22px 20px; }
.faq-answer p { font-size: 0.95rem; color: var(--ink-soft); }
.faq-answer a { color: var(--primary-d); text-decoration: underline; font-weight: 600; }

/* ============================================================
   CALL TO ACTION (warm gradient band)
   ============================================================ */
.cta { background: var(--grad-warm); text-align: center; padding: 84px 0; color: #fff; }
.cta-content h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 14px; color: #fff; }
.cta-content h2 .gradient-text { -webkit-text-fill-color: #fff; color: #fff; background: none; }
.cta-content p { font-size: 1.12rem; color: rgba(255,255,255,0.92); margin-bottom: 32px; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta .btn-primary { background: #fff; color: var(--primary-d); box-shadow: 0 10px 24px rgba(0,0,0,0.18); }
.cta .btn-primary:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,0,0,0.22); }
.cta .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.cta .btn-outline:hover { background: rgba(255,255,255,0.14); color: #fff; border-color: #fff; }

/* ============================================================
   FOOTER (deep plum)
   ============================================================ */
.footer { background: var(--bg-deep); color: var(--cream-soft); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 38px; border-bottom: 1px solid var(--line-deep); margin-bottom: 26px; }
.footer-brand p { font-size: 0.9rem; color: var(--cream-soft); margin: 16px 0 20px; max-width: 320px; }
.footer-links h4, .footer-social h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: #fff; margin-bottom: 16px; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a { font-size: 0.9rem; color: var(--cream-soft); }
.footer-links ul li a:hover { color: var(--gold); padding-left: 4px; }
.footer-links ul li a i { margin-right: 7px; color: var(--primary); }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,0.07); border: 1px solid var(--line-deep); color: var(--cream); }
.social-links a:hover { background: var(--grad-warm); color: #fff; border-color: transparent; transform: translateY(-3px); }
.footer-bottom { text-align: center; font-size: 0.84rem; color: var(--cream-soft); }
.footer-bottom a { color: var(--cream); }
.footer-bottom a:hover { color: var(--gold); }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
#scrollTop {
  position: fixed; bottom: 28px; right: 28px; width: 48px; height: 48px;
  display: grid; place-items: center; border: none; border-radius: 50%;
  background: var(--grad-warm); color: #fff; font-size: 1.05rem; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px); z-index: 999;
  box-shadow: 0 8px 22px rgba(255,90,31,0.4); transition: var(--transition);
}
#scrollTop.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#scrollTop:hover { transform: translateY(-3px); }

/* ============================================================
   SUB-PAGE: page hero, prose, notes, steps, support, contact
   ============================================================ */
.page-hero { position: relative; padding: 160px 0 70px; text-align: center; overflow: hidden; background: var(--grad-hero); }
.page-hero .hero-orbs { position: absolute; inset: 0; }
.page-hero-content { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.5px; line-height: 1.1; margin-bottom: 14px; }
.page-hero p { font-size: 1.12rem; color: var(--ink-soft); }
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--ink-mute); margin-bottom: 18px; font-weight: 600; }
.breadcrumb a { color: var(--primary-d); }
.breadcrumb i { font-size: 0.6rem; }

.prose-section { background: var(--bg-alt); padding: 76px 0; }
.prose { max-width: 820px; margin: 0 auto; font-size: 1.02rem; color: var(--ink-soft); line-height: 1.85; }
.prose h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--ink); margin: 34px 0 12px; }
.prose h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--ink); margin: 26px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose a { color: var(--primary-d); text-decoration: underline; font-weight: 600; }
.prose ul { margin: 0 0 16px; }
.prose ul li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.prose ul li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; color: var(--teal); font-size: 0.85rem; }

.note { display: flex; gap: 13px; align-items: flex-start; background: var(--surface-2); border: 1px solid #FFE0CC; border-left: 4px solid var(--primary); border-radius: var(--r-sm); padding: 17px 20px; margin: 22px 0; font-size: 0.93rem; color: var(--ink-soft); }
.note i { color: var(--primary); font-size: 1.05rem; margin-top: 2px; }
.note.warn { background: #FDEBE7; border-color: #F8C9BD; border-left-color: var(--primary-d); }
.note.warn i { color: var(--primary-d); }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 30px 26px; transition: var(--transition); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-card i { font-size: 1.6rem; color: var(--primary); margin-bottom: 14px; }
.value-card h3 { font-family: var(--font-display); font-size: 1.18rem; font-weight: 700; margin-bottom: 9px; }
.value-card p { font-size: 0.93rem; color: var(--ink-soft); }

/* ----- installation steps ----- */
.steps-section { background: var(--bg); padding: 76px 0; }
.steps { max-width: 760px; margin: 0 auto; position: relative; }
.steps::before { content: ''; position: absolute; left: 23px; top: 14px; bottom: 14px; width: 2px; background: linear-gradient(180deg, var(--primary), var(--gold), transparent); opacity: 0.5; }
.step { position: relative; display: flex; gap: 22px; padding-bottom: 30px; }
.step:last-child { padding-bottom: 0; }
.step-num { flex-shrink: 0; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--grad-warm); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; box-shadow: 0 6px 16px rgba(255,90,31,0.4); z-index: 1; }
.step-body { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 24px; transition: var(--transition); }
.step-body:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.step-body h3 { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; margin-bottom: 6px; }
.step-body p { font-size: 0.94rem; color: var(--ink-soft); }
.step-body a { color: var(--primary-d); text-decoration: underline; font-weight: 600; }
.inline-code, .step-body code { font-family: 'Courier New', monospace; background: #FFE9DC; color: var(--primary-d); padding: 2px 8px; border-radius: 6px; font-size: 0.9em; word-break: break-all; }

/* ----- support ----- */
.support-section { background: var(--bg-alt); padding: 76px 0; }
.support-search { max-width: 560px; margin: 0 auto 36px; position: relative; }
.support-search i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--ink-mute); }
.support-search input { width: 100%; padding: 15px 20px 15px 50px; background: var(--surface); border: 2px solid var(--line); border-radius: 50px; color: var(--ink); font-family: var(--font-sans); font-size: 1rem; transition: var(--transition); }
.support-search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(255,90,31,0.12); }
.support-search input::placeholder { color: var(--ink-mute); }
.support-list { max-width: 760px; margin: 0 auto; }
.support-empty { display: none; text-align: center; color: var(--ink-mute); padding: 30px; }
.support-empty a { color: var(--primary-d); }

/* ----- contact ----- */
.contact-section { background: var(--bg); padding: 76px 0; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; max-width: 1000px; margin: 0 auto; align-items: start; }
.contact-info { background: var(--bg-deep); color: var(--cream); border-radius: var(--r-lg); padding: 34px 30px; }
.contact-info h2 { font-family: var(--font-display); font-size: 1.4rem; color: #fff; margin-bottom: 10px; }
.contact-info > p { color: var(--cream-soft); font-size: 0.94rem; margin-bottom: 24px; }
.contact-info .info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-info .info-row i { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 11px; background: rgba(255,255,255,0.08); color: var(--gold); }
.contact-info .info-row strong { display: block; font-size: 0.94rem; margin-bottom: 2px; color: #fff; }
.contact-info .info-row span, .contact-info .info-row a { font-size: 0.88rem; color: var(--cream-soft); }
.contact-info .info-row a:hover { color: var(--gold); }

.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 32px; box-shadow: var(--shadow-sm); }
.contact-card h2 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 22px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 7px; }
.form-control { width: 100%; padding: 13px 15px; background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--r-sm); color: var(--ink); font-family: var(--font-sans); font-size: 0.95rem; transition: var(--transition); }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(255,90,31,0.12); background: #fff; }
.form-control::placeholder { color: var(--ink-mute); }
select.form-control { cursor: pointer; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FF5A1F'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-actions-row { display: flex; gap: 12px; align-items: center; margin-top: 6px; }
.alert { padding: 13px 17px; border-radius: var(--r-sm); margin-bottom: 20px; font-size: 0.92rem; }
.alert-danger { background: #FDEBE7; border: 1px solid #F8C9BD; color: var(--primary-d); }
.alert-success { background: #E5F7F3; border: 1px solid #B6E9DF; color: #0c8a78; }
.success-box { text-align: center; padding: 26px 10px; }
.success-box i { font-size: 3rem; color: var(--teal); margin-bottom: 14px; }
.success-box h4 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 8px; }
.success-box p { color: var(--ink-soft); }
.cf-turnstile { margin-bottom: 4px; }

/* ============================================================
   FADE-IN ANIMATIONS
   ============================================================ */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; transition-delay: calc(var(--i, 0) * 0.08s); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-content { max-width: 100%; margin: 0 auto; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-visual { max-width: 540px; margin: 0 auto; }
  .features-grid, .devices-grid, .testimonials-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid, .pricing-grid.four { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.popular { transform: none; }
  .pricing-card.popular:hover { transform: translateY(-6px); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-inner, .contact-layout { grid-template-columns: 1fr; flex-direction: column; text-align: center; }
  .contact-info { text-align: left; }
}
@media (max-width: 768px) {
  .nav-menu { position: fixed; inset: 0; background: rgba(255,248,241,0.98); backdrop-filter: blur(12px); display: flex !important; flex-direction: column; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: var(--transition); }
  .nav-menu.active { opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; gap: 14px; }
  .nav-toggle { display: flex; }
  .nav-link { font-size: 1.05rem; }
  .features-grid, .devices-grid, .testimonials-grid, .value-grid { grid-template-columns: 1fr; }
  .pricing-grid, .pricing-grid.four { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  section { padding: 64px 0; }
  .hero { padding: 110px 0 70px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .step { gap: 14px; } .step-num { width: 40px; height: 40px; font-size: 1rem; } .steps::before { left: 19px; }
  .contact-card, .contact-info { padding: 26px 22px; }
  .hero-chip { display: none; }
  #scrollTop { bottom: 20px; right: 20px; width: 44px; height: 44px; }
}
