:root {
  --bg: #0b0e17;
  --bg-alt: #10141f;
  --surface: #161b28;
  --border: #262c3d;
  --text: #f2f4fa;
  --text-muted: #9aa2b8;
  --accent: #7c5cff;
  --accent-2: #22d3c9;
  --accent-gradient: linear-gradient(135deg, #7c5cff 0%, #22d3c9 100%);
  --radius: 16px;
  --shadow: 0 20px 40px -20px rgba(0,0,0,0.5);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, opacity .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent-gradient);
  color: #0b0e17;
  box-shadow: 0 10px 25px -10px rgba(124,92,255,0.6);
}
.btn-primary:hover { opacity: .92; }
.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--accent-2); color: var(--accent-2); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(11,14,23,0.85);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo span { color: var(--accent-2); }
.logo-icon { flex-shrink: 0; border-radius: 8px; }
.nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.nav a {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color .15s ease;
}
.nav a:hover { color: var(--text); }
.header-cta, .header-trial { flex-shrink: 0; }

.header-trial {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffe680, #ffb300 60%, #e69500);
  color: #241a00;
  border: none;
  font-weight: 700;
  animation: goldGlow 2.2s ease-in-out infinite;
}
.header-trial:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}
.header-trial::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 35%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.85), transparent);
  transform: skewX(-20deg);
  animation: shineSweep 2.8s ease-in-out infinite;
}
@keyframes goldGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(255,193,7,0.5), 0 4px 14px rgba(255,152,0,0.3); }
  50% { box-shadow: 0 0 22px rgba(255,193,7,0.95), 0 4px 24px rgba(255,152,0,0.55); }
}
@keyframes shineSweep {
  0% { left: -60%; }
  55% { left: 130%; }
  100% { left: 130%; }
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: 88px 0 64px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124,92,255,0.25), transparent 70%);
  filter: blur(10px);
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  gap: 36px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.4rem; font-weight: 800; }
.hero-stats span { font-size: 0.82rem; color: var(--text-muted); }

.hero-visual { display: flex; justify-content: center; }
.hero-photo-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.hero-photo {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11,14,23,0.65) 100%);
  pointer-events: none;
}
.hero-photo-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(16,20,31,0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--accent-2);
}
.hero-photo-badge strong { display: block; font-size: 1.05rem; font-weight: 800; color: var(--text); line-height: 1.2; }
.hero-photo-badge span { font-size: 0.76rem; color: var(--text-muted); }

/* Devices */
.devices {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 22px 0;
}
.devices-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.devices-label {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0;
  flex-shrink: 0;
}
.devices-list {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.devices-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.devices-list span svg { color: var(--accent-2); flex-shrink: 0; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}
.eyebrow {
  display: inline-block;
  color: var(--accent-2);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.section-head p { color: var(--text-muted); margin: 0; }

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card-icon { font-size: 1.8rem; margin-bottom: 14px; }
.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(124,92,255,0.08), var(--surface) 40%);
  transform: scale(1.03);
  box-shadow: var(--shadow);
}
.price-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #0b0e17;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}
.price-card h3 { margin: 0 0 12px; font-size: 1.15rem; }
.price {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 0 24px;
}
.price span { font-size: 1.2rem; vertical-align: top; margin-right: 2px; }
.price small { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}
.price-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.92rem;
}
.price-features li:last-child { border-bottom: none; }
.price-card .btn { width: 100%; }
.price-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 28px;
}

/* Testimonials */
.testimonials-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.testimonials-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.testimonials-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.testimonials-content .section-head {
  text-align: left;
  max-width: none;
  margin: 0 0 28px;
}
.testimonials-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 0;
}
.testimonial p {
  font-size: 0.98rem;
  margin: 0 0 16px;
}
.testimonial footer {
  color: var(--accent-2);
  font-size: 0.85rem;
  font-weight: 600;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--accent-2);
  margin-left: 12px;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  color: var(--text-muted);
  margin: 14px 0 0;
  font-size: 0.92rem;
}

/* Contact */
.contact-inner { max-width: 640px; }
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  margin-bottom: 16px;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-note {
  margin: 12px 0 0;
  font-size: 0.88rem;
  color: var(--accent-2);
  min-height: 1em;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-inner p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px -8px rgba(37,211,102,0.6);
  z-index: 60;
  transition: transform .15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* Blog listing */
.blog-hero {
  padding: 64px 0 40px;
  text-align: center;
}
.blog-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.blog-hero p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.category-block { padding-bottom: 64px; }
.category-title {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.category-block:first-of-type .category-title { border-top: none; padding-top: 0; }
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, border-color .2s ease;
}
.blog-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.blog-card .tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-2);
  background: rgba(34,211,201,0.1);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.blog-card h2 { font-size: 1.1rem; margin: 0 0 10px; line-height: 1.3; }
.blog-card p { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 18px; flex: 1; }
.blog-card .read-more { font-size: 0.88rem; font-weight: 600; color: var(--accent-2); }

/* Blog article */
.article-hero {
  padding: 56px 0 32px;
  border-bottom: 1px solid var(--border);
}
.article-hero .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-2);
  background: rgba(34,211,201,0.1);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.article-hero h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  max-width: 760px;
}
.article-hero .meta { color: var(--text-muted); font-size: 0.88rem; }
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 24px;
}
.article-body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 36px 0 14px;
  letter-spacing: -0.01em;
}
.article-body p { color: var(--text-muted); margin: 0 0 16px; }
.article-body ul { color: var(--text-muted); margin: 0 0 16px; padding-left: 20px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--text); }
.article-cta {
  margin: 40px 0;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(124,92,255,0.14), rgba(34,211,201,0.1));
  border: 1px solid var(--border);
  text-align: center;
}
.article-cta h3 { margin: 0 0 8px; font-size: 1.2rem; }
.article-cta p { margin: 0 0 20px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.back-link:hover { color: var(--accent-2); }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .tv-mock { max-width: 340px; margin: 0 auto; }
  .cards-grid,
  .blog-grid { grid-template-columns: 1fr; }
  .testimonials-layout { grid-template-columns: 1fr; gap: 28px; }
  .testimonials-photo img { aspect-ratio: 16/10; }
  .testimonials-content .section-head { text-align: center; }
  .price-card.featured { transform: none; }
  .nav { display: none; }
  .header-cta, .header-trial { display: none; }
  .nav-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav.open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 16px;
  }
}
