/* WARFINET — main stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #6fa8ff;
  --primary-deep: #3f74d8;
  --accent: #7cf9e2;
  --accent-glow: rgba(124, 249, 226, 0.35);
  --text: #eaf1ff;
  --text-muted: #a9b8d6;
  --surface: rgba(14, 22, 43, 0.88);
  --surface-card: rgba(18, 31, 58, 0.92);
  --border: rgba(124, 249, 226, 0.18);
  --success: #33d17a;
  --shadow: 0 8px 24px rgba(2, 10, 24, 0.35);
  --shadow-lg: 0 24px 48px rgba(2, 10, 24, 0.45);
  --radius: 16px;
  --radius-lg: 20px;
  --header-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  background: #04070f;
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

/* Animated background */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: radial-gradient(ellipse 80% 50% at 20% -10%, #1b3a6e 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, #0d4a5c 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, #0a1628 0%, #04070f 70%);
  background-size: 200% 200%;
  animation: bgShift 14s ease infinite;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(111, 168, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 168, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
  animation: orbFloat 12s ease-in-out infinite;
}

.orb-1 {
  width: 320px;
  height: 320px;
  background: rgba(63, 116, 216, 0.25);
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.orb-2 {
  width: 280px;
  height: 280px;
  background: rgba(124, 249, 226, 0.15);
  top: 55%;
  right: -8%;
  animation-delay: -4s;
}

.orb-3 {
  width: 200px;
  height: 200px;
  background: rgba(111, 168, 255, 0.2);
  bottom: 15%;
  left: 35%;
  animation-delay: -7s;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(7, 12, 27, 0.55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s, height 0.35s;
}

header.scrolled {
  height: 64px;
  background: rgba(7, 12, 27, 0.92);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow);
}

nav {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo-wrap,
.footer-brand,
.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

header .logo-wrap {
  align-items: flex-start;
  text-align: left;
}

.brand-powered {
  margin: 0;
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  line-height: 1.3;
}

.brand-powered strong {
  color: var(--accent);
  font-weight: 700;
}

header .brand-powered {
  margin-top: 0.12rem;
  white-space: nowrap;
  font-size: clamp(0.58rem, 1vw, 0.72rem);
  letter-spacing: 0.01em;
}

header .logo-wrap {
  flex-shrink: 0;
  min-width: 0;
}

.hero-brand {
  margin-bottom: 1.25rem;
  animation: fadeUp 0.7s var(--ease-out) 0.05s backwards;
}

.hero-brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text);
}

.hero-brand-logo i {
  font-size: 1.15em;
  color: var(--accent);
  animation: iconPulse 3s ease-in-out infinite;
}

.hero-brand .brand-powered {
  margin-top: 0.4rem;
  font-size: 0.82rem;
}

.footer-brand {
  margin-bottom: 0.5rem;
}

.footer-brand .brand-powered {
  margin-top: 0.35rem;
  font-size: 0.82rem;
}

.logo i {
  font-size: 1.75rem;
  color: var(--accent);
  animation: iconPulse 3s ease-in-out infinite;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.25s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 2px;
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 2rem) 1.5rem 4rem;
  position: relative;
}

.premium-tags {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.premium-tag {
  border: 1px solid rgba(124, 249, 226, 0.4);
  background: rgba(7, 19, 43, 0.65);
  color: #d9fff7;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0;
  animation: tagIn 0.6s var(--ease-out) forwards;
}

.premium-tag:nth-child(1) { animation-delay: 0.15s; }
.premium-tag:nth-child(2) { animation-delay: 0.3s; }
.premium-tag:nth-child(3) { animation-delay: 0.45s; }

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, var(--primary) 45%, var(--accent) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: heroTitle 1s var(--ease-out) 0.2s backwards, gradientText 6s ease infinite;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s var(--ease-out) 0.45s backwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  max-width: 720px;
  animation: fadeUp 0.8s var(--ease-out) 0.6s backwards;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(120deg, var(--accent), #57b3ff);
  color: #02162f;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  box-shadow: 0 8px 32px var(--accent-glow);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s, background 0.3s, border-color 0.3s;
  border: 2px solid transparent;
  white-space: nowrap;
}

.hero-actions > .cta-button:first-child {
  animation: ctaGlow 3s ease-in-out infinite 1.2s;
}

.cta-button:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 40px rgba(124, 249, 226, 0.45);
}

.cta-button--pay {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  box-shadow: 0 8px 28px rgba(34, 197, 94, 0.35);
}

.cta-button--pay:hover {
  box-shadow: 0 12px 36px rgba(34, 197, 94, 0.5);
}

.cta-button--portal {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #fff;
  box-shadow: 0 8px 28px rgba(14, 165, 233, 0.35);
}

.cta-button--portal:hover {
  box-shadow: 0 12px 36px rgba(14, 165, 233, 0.5);
}

.cta-button--voucher {
  background: rgba(18, 31, 58, 0.85);
  color: var(--text);
  border-color: rgba(111, 168, 255, 0.45);
  box-shadow: 0 6px 20px rgba(2, 10, 24, 0.35);
}

.cta-button--voucher:hover {
  background: rgba(30, 48, 88, 0.95);
  border-color: var(--accent);
  box-shadow: 0 10px 28px rgba(111, 168, 255, 0.25);
}

.cta-button--form {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.35);
}

.cta-button--form:hover {
  box-shadow: 0 12px 36px rgba(99, 102, 241, 0.5);
}

.paket-form-hint {
  margin-top: 1.75rem;
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.paket-form-hint a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.paket-form-hint a:hover {
  text-decoration: underline;
}

.paket-form-hint i {
  color: var(--primary);
  margin-right: 0.35rem;
}

/* Install form page */
.page-main {
  padding-top: var(--header-h);
  min-height: 100vh;
}

.page-hero {
  text-align: center;
  padding: 2.5rem 1.5rem 1rem;
  max-width: 640px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #fff, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  transition: color 0.25s;
}

.back-link:hover {
  color: var(--accent);
}

.page-form-wrap {
  max-width: 760px;
  margin: 0 auto 3rem;
  padding: 0 1.25rem 2rem;
  background: transparent;
  border: none;
  box-shadow: none;
}

.install-intro {
  text-align: center;
  max-width: 640px;
  margin: -1.5rem auto 2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.install-form {
  max-width: 680px;
  margin: 0 auto;
  padding: 1.75rem;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.install-form.form-highlight {
  animation: formPulse 1.2s ease;
  border-color: var(--accent);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.req {
  color: #f87171;
}

.form-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.45;
}

.form-input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: rgba(8, 14, 28, 0.85);
  border: 1px solid rgba(111, 168, 255, 0.25);
  border-radius: 10px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 249, 226, 0.15);
}

.form-input:invalid:not(:placeholder-shown) {
  border-color: rgba(248, 113, 113, 0.5);
}

.form-textarea {
  resize: vertical;
  min-height: 88px;
}

select.form-input {
  cursor: pointer;
}

.form-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
  padding: 1rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}

.form-footer-note {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@keyframes formPulse {
  0%, 100% { box-shadow: var(--shadow); }
  50% { box-shadow: 0 0 0 4px rgba(124, 249, 226, 0.2), var(--shadow-lg); }
}

/* FAQ payment steps */
.payment-steps {
  margin: 0.75rem 0 0.75rem 1.1rem;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.payment-steps li {
  margin-bottom: 0.5rem;
}

.payment-steps a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.payment-steps a:hover {
  text-decoration: underline;
}

.payment-steps strong {
  color: var(--text);
}

.payment-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stat {
  text-align: center;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) forwards;
}

.hero-stat:nth-child(1) { animation-delay: 0.85s; }
.hero-stat:nth-child(2) { animation-delay: 1s; }
.hero-stat:nth-child(3) { animation-delay: 1.15s; }

.hero-stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.hero-stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  animation: bounceDown 2s ease-in-out infinite;
}

.scroll-hint i {
  font-size: 1rem;
  opacity: 0.7;
}

/* Sections */
section {
  background: var(--surface);
  margin: 2rem auto;
  padding: 3rem 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 1200px;
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  margin-bottom: 2.5rem;
  color: var(--primary);
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 4px;
  transition: transform 0.6s var(--ease-out);
}

section.is-visible .section-title::after {
  transform: translateX(-50%) scaleX(1);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.price-card {
  background: linear-gradient(160deg, rgba(22, 36, 68, 0.98), rgba(14, 24, 47, 0.98));
  border: 1px solid rgba(111, 168, 255, 0.22);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s, border-color 0.3s;
  opacity: 0;
  transform: translateY(28px);
}

section.is-visible .price-card {
  animation: cardReveal 0.65s var(--ease-out) forwards;
}

section.is-visible .price-card:nth-child(1) { animation-delay: 0.08s; }
section.is-visible .price-card:nth-child(2) { animation-delay: 0.16s; }
section.is-visible .price-card:nth-child(3) { animation-delay: 0.24s; }
section.is-visible .price-card:nth-child(4) { animation-delay: 0.32s; }
section.is-visible .price-card:nth-child(5) { animation-delay: 0.4s; }

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.price-card:hover::before {
  transform: scaleX(1);
}

.price-card.featured {
  border-color: var(--primary);
  border-width: 2px;
  box-shadow: 0 0 0 1px rgba(111, 168, 255, 0.2), var(--shadow-lg);
}

.price-card.featured::before {
  transform: scaleX(1);
}

.price-card.featured::after {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(124, 249, 226, 0.08), transparent 30%);
  animation: shimmerRotate 8s linear infinite;
  pointer-events: none;
}

.price-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--success);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  animation: badgePop 0.5s var(--ease-spring) 0.5s backwards;
}

.price-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.price-value {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0.5rem 0;
}

.price-period {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.price-features {
  list-style: none;
  margin: 1.25rem 0;
  text-align: left;
}

.price-features li {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.price-features li:last-child {
  border-bottom: none;
}

.price-features i {
  color: var(--success);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.price-button {
  display: inline-block;
  width: 100%;
  padding: 0.85rem;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 0.75rem;
  transition: transform 0.25s, box-shadow 0.25s;
  font-family: inherit;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

.price-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(63, 116, 216, 0.45);
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: var(--surface-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease-spring), border-color 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(20px);
}

section.is-visible .feature-card {
  animation: cardReveal 0.55s var(--ease-out) forwards;
}

section.is-visible .feature-card:nth-child(1) { animation-delay: 0.05s; }
section.is-visible .feature-card:nth-child(2) { animation-delay: 0.1s; }
section.is-visible .feature-card:nth-child(3) { animation-delay: 0.15s; }
section.is-visible .feature-card:nth-child(4) { animation-delay: 0.2s; }
section.is-visible .feature-card:nth-child(5) { animation-delay: 0.25s; }
section.is-visible .feature-card:nth-child(6) { animation-delay: 0.3s; }

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 249, 226, 0.35);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(111, 168, 255, 0.12);
  font-size: 1.75rem;
  color: var(--primary);
  transition: transform 0.4s var(--ease-spring), background 0.3s;
}

.feature-card:hover .feature-icon {
  transform: scale(1.08) rotate(-3deg);
  background: rgba(124, 249, 226, 0.15);
  color: var(--accent);
}

.feature-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.testimonial-card {
  background: var(--surface-card);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.35s var(--ease-out);
}

section.is-visible .testimonial-card {
  animation: cardReveal 0.55s var(--ease-out) forwards;
}

section.is-visible .testimonial-card:nth-child(1) { animation-delay: 0.08s; }
section.is-visible .testimonial-card:nth-child(2) { animation-delay: 0.16s; }
section.is-visible .testimonial-card:nth-child(3) { animation-delay: 0.24s; }

.testimonial-card:hover {
  transform: translateX(4px);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

.stars {
  color: #ffc107;
  margin-bottom: 0.6rem;
}

.stars i {
  display: inline-block;
  animation: starTwinkle 2.5s ease-in-out infinite;
}

.stars i:nth-child(2) { animation-delay: 0.15s; }
.stars i:nth-child(3) { animation-delay: 0.3s; }
.stars i:nth-child(4) { animation-delay: 0.45s; }
.stars i:nth-child(5) { animation-delay: 0.6s; }

/* FAQ */
.faq-item {
  background: var(--surface-card);
  margin-bottom: 0.75rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}

.faq-item.active {
  border-color: rgba(111, 168, 255, 0.4);
}

.faq-question {
  padding: 1.15rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background 0.25s;
  user-select: none;
}

.faq-question:hover {
  background: rgba(111, 168, 255, 0.08);
}

.faq-question i {
  transition: transform 0.35s var(--ease-out);
  color: var(--accent);
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.35s;
}

.faq-item.active .faq-answer {
  max-height: 480px;
  padding: 0 1.25rem 1.15rem;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.contact-card {
  background: var(--surface-card);
  padding: 1.75rem;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--border);
  opacity: 0;
  transform: scale(0.95);
}

section.is-visible .contact-card {
  animation: cardPop 0.55s var(--ease-spring) forwards;
}

section.is-visible .contact-card:nth-child(1) { animation-delay: 0.06s; }
section.is-visible .contact-card:nth-child(2) { animation-delay: 0.14s; }
section.is-visible .contact-card:nth-child(3) { animation-delay: 0.22s; }

.contact-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  display: inline-block;
  animation: iconFloat 4s ease-in-out infinite;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #25d366;
  color: #fff;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  margin-top: 0.5rem;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.whatsapp-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
}

/* Footer */
footer {
  background: #0a0e18;
  color: var(--text-muted);
  text-align: center;
  padding: 3rem 1.5rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer .logo {
  justify-content: center;
  margin-bottom: 0.75rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.social-links a {
  color: var(--text-muted);
  font-size: 1.35rem;
  transition: transform 0.3s var(--ease-spring), color 0.25s;
}

.social-links a:hover {
  transform: translateY(-5px) scale(1.1);
  color: var(--accent);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 1.25rem 0;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  margin-top: 2rem;
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer-powered {
  margin-top: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.footer-powered strong {
  color: var(--accent);
  font-weight: 700;
}

.box-404 .brand-powered {
  margin-top: 0.35rem;
  margin-bottom: 0.5rem;
  font-size: 0.78rem;
}

/* WhatsApp float */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 14px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
  animation: waPulse 2.5s ease-in-out infinite;
}

.wa-float:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
  color: #fff;
  animation: none;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Keyframes */
@keyframes bgShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -25px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.95); }
}

@keyframes heroTitle {
  from { opacity: 0; transform: translateY(-24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes tagIn {
  from { opacity: 0; transform: translateY(12px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes gradientText {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 8px 32px var(--accent-glow); }
  50% { box-shadow: 0 12px 40px rgba(124, 249, 226, 0.5); }
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

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

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

@keyframes cardReveal {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cardPop {
  to { opacity: 1; transform: scale(1); }
}

@keyframes badgePop {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes shimmerRotate {
  to { transform: rotate(360deg); }
}

@keyframes starTwinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(0.92); }
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 4px 32px rgba(37, 211, 102, 0.7), 0 0 0 8px rgba(37, 211, 102, 0.12); }
}

/* Mobile nav */
@media (max-width: 768px) {
  header .brand-powered {
    font-size: 0.52rem;
    letter-spacing: 0;
  }

  header .logo {
    font-size: 1.25rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(7, 12, 27, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s var(--ease-out), opacity 0.3s;
  }

  .nav-links.open {
    max-height: 320px;
    opacity: 1;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.9rem 1.5rem;
  }

  .price-card.featured {
    transform: none;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-actions .cta-button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .install-form {
    padding: 1.25rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .wa-float span {
    display: none;
  }

  .wa-float {
    padding: 14px 16px;
    border-radius: 50%;
    bottom: 16px;
    right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
