:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-deep: #1e3a8a;
  --cyan: #22d3ee;
  --cyan-soft: #67e8f9;
  --text-dark: #0f172a;
  --text-gray: #64748b;
  --text-muted: #94a3b8;
  --bg: #f9f5ff;
  --bg-soft: #f3ebff;
  --card: #ffffff;
  --border: #e2e8f0;
  --green: #16a34a;
  --whatsapp: #25d366;
  --footer-bg: #0b1430;
  --footer-text: #c7d2fe;
  --footer-muted: #8b9ccf;
  --warn-bg: #fff7ed;
  --warn-border: #fed7aa;
  --warn-text: #9a3412;
  --warn-accent: #ea580c;
  --radius: 20px;
  --shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(37, 99, 235, 0.16);
  --transition: 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #fdfbff 0%, var(--bg) 100%);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.hero-left,
.hero-right,
.welcome-left,
.welcome-right,
.footer-brand,
.footer-cta {
  min-width: 0;
}

.hero h1,
.hero-sub,
.section-title,
.section-copy,
.welcome-title,
.welcome-desc,
.package-title,
.feature-title,
.service-title,
.demo-card h3,
.demo-modal-title {
  overflow-wrap: anywhere;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, .logo-text, .section-title, .feature-title, .card-title { font-family: "Sora", system-ui, sans-serif; }

.container { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: sticky; top: 0; z-index: 200; background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(226, 232, 240, 0.8); }
.site-header.scrolled { box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.95rem 0; position: relative; }
.logo { display: flex; align-items: center; gap: 0.8rem; min-width: 0; }
.logo-img { width: 44px; height: 44px; object-fit: contain; border-radius: 12px; flex-shrink: 0; }
.logo-text { font-size: 1rem; font-weight: 800; color: var(--blue); letter-spacing: -0.02em; }
.logo-text small { display: block; color: var(--text-gray); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-links a { padding: 0.7rem 0.95rem; border-radius: 999px; color: #334155; font-size: 0.95rem; font-weight: 600; transition: background var(--transition), color var(--transition); }
.nav-links a:hover, .nav-links a:focus-visible { background: rgba(37, 99, 235, 0.08); color: var(--blue); outline: none; }
.nav-cta { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff !important; box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25); }
.nav-cta:hover, .nav-cta:focus-visible { color: #fff !important; background: linear-gradient(135deg, var(--blue-dark), var(--blue-deep)); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-soft); align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.nav-toggle span { width: 18px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; align-items: center; padding: 4rem 0 3rem; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue-dark); background: #dbeafe; padding: 0.55rem 0.9rem; border-radius: 999px; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1rem; }
.hero h1 .accent { background: linear-gradient(135deg, var(--blue), var(--cyan)); -webkit-background-clip: text; color: transparent; }
.hero-sub { font-size: 1.04rem; color: var(--text-gray); max-width: 35rem; margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.5rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; padding: 0.9rem 1.25rem; border-radius: 999px; font-weight: 700; transition: transform var(--transition), box-shadow var(--transition), background var(--transition); }
.btn:hover, .btn:focus-visible { transform: translateY(-2px); outline: none; }
.btn-primary { background: linear-gradient(135deg, #f59e0b, #ea580c); color: #fff; box-shadow: 0 12px 28px rgba(234, 88, 12, 0.28); }
.btn-outline { background: transparent; border: 1.5px solid var(--blue); color: var(--blue); }
.btn-outline:hover, .btn-outline:focus-visible { background: var(--blue); color: #fff; }
.hero-card { background: linear-gradient(145deg, #3b82f6 0%, #1d4ed8 55%, #0f172a 100%); border-radius: 28px; padding: 1.5rem; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; min-height: 320px; display: flex; align-items: center; justify-content: center; }
.hero-card::before { content: ""; position: absolute; inset: auto -20% 20% auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(34, 211, 238, 0.45), transparent 70%); }
.hero-card-content { position: relative; z-index: 1; text-align: center; color: #fff; }
.hero-card-content .icon { font-size: 3.25rem; margin-bottom: 0.8rem; }
.hero-card-content h3 { font-size: 1.35rem; margin-bottom: 0.35rem; }
.hero-card-content p { opacity: 0.88; max-width: 16rem; margin: 0 auto; }

.welcome-banner-wrap { padding: 0 0 2.5rem; }
.welcome-banner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-radius: 24px; padding: 1.35rem 1.5rem; color: #fff; background: linear-gradient(135deg, #0f172a, #1e1b4b 40%, #4c1d95 75%, #1e3a8a); box-shadow: 0 20px 48px rgba(15, 23, 42, 0.3); position: relative; overflow: hidden; }
.welcome-banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at top right, rgba(255,255,255,0.2), transparent 42%); pointer-events: none; }
.welcome-banner > * { position: relative; z-index: 1; }
.welcome-title { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 800; margin-bottom: 0.25rem; }
.welcome-desc { color: rgba(255,255,255,0.78); font-size: 0.95rem; max-width: 38rem; }
.welcome-price { font-size: 1.6rem; font-weight: 800; color: #4ade80; }
.welcome-cta { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.7rem 1rem; border-radius: 999px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2); font-weight: 700; }

.section { padding: 2.6rem 0 1rem; text-align: center; }
.eyebrow { display: inline-flex; padding: 0.5rem 0.85rem; border-radius: 999px; background: #dbeafe; color: var(--blue-dark); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.8rem; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 0.55rem; letter-spacing: -0.02em; }
.section-copy { max-width: 40rem; margin: 0 auto; color: var(--text-gray); font-size: 1rem; }

.packages-grid, .features-grid, .services-grid { display: grid; gap: 1.25rem; }
.packages-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding: 1.5rem 0 3rem; }
.package-card, .feature-card, .service-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); }
.package-card:hover, .feature-card:hover, .service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.package-card { display: flex; flex-direction: column; overflow: hidden; }
.package-top { height: 7px; }
.package-top.followers { background: linear-gradient(90deg, #3b82f6, #1d4ed8); }
.package-top.likes { background: linear-gradient(90deg, #22c55e, #16a34a); }
.package-top.combo { background: linear-gradient(90deg, #a855f7, #7e22ce); }
.package-top.views { background: linear-gradient(90deg, #38bdf8, #0ea5e9); }
.package-top.story { background: linear-gradient(90deg, #f59e0b, #d97706); }
.package-body { padding: 1.25rem 1.25rem 0.5rem; display: flex; flex-direction: column; align-items: center; gap: 0.6rem; text-align: center; }
.package-icon { font-size: 1.8rem; width: 54px; height: 54px; border-radius: 16px; background: var(--bg-soft); display: grid; place-items: center; }
.package-title { font-size: 1.1rem; font-weight: 800; }
.package-tag { font-size: 0.82rem; color: var(--text-gray); background: var(--bg-soft); padding: 0.3rem 0.7rem; border-radius: 999px; }
.package-price { font-size: 1.55rem; font-weight: 800; color: var(--blue-dark); }
.package-btn { margin: 1rem 1.25rem 1.25rem; padding: 0.8rem 1rem; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; }
.package-btn:hover, .package-btn:focus-visible { background: var(--blue-dark); outline: none; }

.features-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); padding: 1.35rem 0 3rem; }
.feature-card { padding: 1.4rem; text-align: left; }
.feature-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 0.75rem; }
.feature-icon.support { background: #dcfce7; }
.feature-icon.ads { background: #dbeafe; }
.feature-icon.trust { background: #f3e8ff; }
.feature-title { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.35rem; }
.feature-desc { color: var(--text-gray); font-size: 0.95rem; }

.security-wrap { padding: 0 0 3rem; }
.security-card { background: var(--warn-bg); border: 1px solid var(--warn-border); border-radius: 22px; padding: 1.4rem; box-shadow: 0 12px 30px rgba(234, 88, 12, 0.08); }
.security-header { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.9rem; }
.security-icon { width: 48px; height: 48px; border-radius: 14px; background: #ffedd5; display: grid; place-items: center; font-size: 1.2rem; }
.security-card h3 { font-size: 1.15rem; font-weight: 800; color: var(--warn-text); }
.security-list { list-style: none; display: grid; gap: 0.7rem; }
.security-list li { display: flex; gap: 0.7rem; align-items: flex-start; background: rgba(255,255,255,0.7); border: 1px solid var(--warn-border); border-radius: 14px; padding: 0.8rem 0.9rem; color: var(--text-gray); }
.security-list strong { color: var(--warn-accent); }

.services-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); padding: 1.35rem 0 3rem; }
.service-card { padding: 1.1rem; display: flex; flex-direction: column; gap: 0.8rem; text-align: left; }
.service-media { height: 120px; border-radius: 16px; background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(34, 211, 238, 0.2)); display: grid; place-items: center; font-size: 2rem; color: var(--blue-dark); }
.service-title { font-size: 1.05rem; font-weight: 800; }
.service-desc { color: var(--text-gray); font-size: 0.95rem; }
.service-meta { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; margin-top: auto; }
.service-price { font-weight: 800; color: var(--blue-dark); }
.service-btn { padding: 0.7rem 0.9rem; border-radius: 999px; background: var(--bg-soft); color: var(--blue-dark); font-weight: 700; }
.service-btn:hover, .service-btn:focus-visible { background: var(--blue); color: #fff; outline: none; }

.site-footer { background: linear-gradient(160deg, var(--footer-bg), #0f1a38); color: var(--footer-text); padding: 3rem 0 1.45rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand { max-width: 30rem; }
.dev-logo-row { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.7rem; }
.dev-logo-img { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; background: rgba(255,255,255,0.08); padding: 0.3rem; }
.dev-name { font-size: 1.02rem; font-weight: 800; color: #fff; }
.footer-eyebrow { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--cyan-soft); margin-bottom: 0.7rem; }
.footer-desc { color: var(--footer-muted); font-size: 0.95rem; line-height: 1.7; }
.footer-cta { display: flex; flex-direction: column; gap: 0.8rem; min-width: 16rem; }
.footer-cta-title { font-weight: 800; color: #fff; }
.wa-btn { display: inline-flex; align-items: center; gap: 0.6rem; width: fit-content; padding: 0.8rem 1rem; border-radius: 999px; background: var(--whatsapp); color: #fff; font-weight: 700; }
.wa-btn:hover, .wa-btn:focus-visible { transform: translateY(-2px); outline: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1rem; font-size: 0.82rem; color: var(--footer-muted); }

.wa-float { position: fixed; right: 1rem; bottom: 1rem; width: 56px; height: 56px; border-radius: 50%; background: var(--whatsapp); display: grid; place-items: center; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2); z-index: 180; }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

body.modal-open { overflow: hidden; }

.demo-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.demo-modal-backdrop.open { opacity: 1; pointer-events: auto; }
.demo-modal {
  width: min(940px, 100%);
  max-height: min(86vh, 860px);
  overflow: auto;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.2);
  padding: 1.4rem;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.24s ease;
}
.demo-modal-backdrop.open .demo-modal { transform: translateY(0) scale(1); }
.demo-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.demo-modal-title { font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 800; letter-spacing: -0.02em; }
.demo-modal-subtitle { color: var(--text-gray); margin-top: 0.3rem; font-size: 0.95rem; }
.demo-modal-close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--blue-dark);
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.demo-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.demo-card {
  background: linear-gradient(180deg, #fff, #f8fbff);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 100%;
}
.demo-card-image { width: 100%; height: 170px; object-fit: cover; background: var(--bg-soft); }
.demo-card-content { display: flex; flex: 1; flex-direction: column; gap: 0.55rem; padding: 0 1rem; }
.demo-card-label { align-self: flex-start; color: var(--blue-dark); background: var(--bg-soft); border-radius: 999px; padding: 0.28rem 0.65rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.demo-card h3 { font-size: 1rem; font-weight: 800; }
.demo-card p { color: var(--text-gray); font-size: 0.92rem; line-height: 1.5; }
.demo-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.7rem; margin-top: auto; padding: 0 1rem 1rem; }
.demo-card-price { font-weight: 800; color: var(--blue-dark); }
.demo-card-btn {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 0.92rem;
}
.demo-card-btn:hover, .demo-card-btn:focus-visible { background: var(--blue); color: #fff; outline: none; }
.demo-toast {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%) translateY(12px);
  background: rgba(15, 23, 42, 0.94);
  color: #fff;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
  z-index: 340;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-size: 0.95rem;
  max-width: min(92vw, 460px);
  text-align: center;
}
.demo-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.empty-state { text-align: center; color: var(--text-gray); padding: 1.2rem; border: 1px dashed var(--border); border-radius: 18px; background: #fff; }

@media (max-width: 1199px) {
  .hero { gap: 1.8rem; }
  .welcome-banner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 991px) {
  .header-inner { padding: 0.8rem 0; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    right: 0;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    transform: translateY(-0.75rem);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-links a { padding: 0.9rem 1rem; border-radius: 12px; }
  .hero { grid-template-columns: 1fr; padding: 2.2rem 0 1.8rem; }
  .hero-left { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-card { max-width: 360px; margin-inline: auto; }
}

@media (max-width: 767px) {
  .container { width: min(100% - 1rem, 1180px); }
  .welcome-banner-wrap { padding-bottom: 1.8rem; }
  .section { padding-top: 2rem; }
  .packages-grid, .features-grid, .services-grid { grid-template-columns: 1fr; }
  .footer-inner, .footer-bottom { flex-direction: column; }
  .wa-float { width: 50px; height: 50px; right: 0.8rem; bottom: 0.8rem; }
  .demo-modal-grid { grid-template-columns: 1fr; }
  .demo-modal { padding: 1rem; border-radius: 20px; }
  .demo-modal-head { margin-bottom: 0.9rem; }
  .demo-card { padding: 0; }
  .demo-card-content { padding: 0 0.9rem; }
  .demo-card-foot { padding: 0 0.9rem 0.9rem; }
  .demo-card-foot { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.1rem; }
  .hero-sub { font-size: 0.96rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .welcome-banner { padding: 1.1rem; }
  .welcome-price { font-size: 1.3rem; }
  .service-card, .package-card, .feature-card { border-radius: 16px; }
  .site-footer { padding-top: 2.3rem; }
}
