
:root{
  --red:#c8102e;
  --red-dark:#8f0d22;
  --white:#ffffff;
  --card:rgba(255,255,255,.08);
  --border:rgba(255,255,255,.14);
  --text:#f6f7fb;
  --muted:rgba(255,255,255,.82);
  --shadow:0 20px 60px rgba(0,0,0,.30);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,Segoe UI,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.10), transparent 18%),
    radial-gradient(circle at 88% 12%, rgba(255,255,255,.08), transparent 20%),
    linear-gradient(135deg, #650012 0%, #9d0d24 40%, #c8102e 100%);
  min-height:100vh;
  overflow-x:hidden;
}
a{color:inherit}
.flag-bg{position:fixed; inset:0; pointer-events:none; overflow:hidden; z-index:0;}
.flag-wave{
  position:absolute; inset:-10%; opacity:.18; transform:scale(1.35);
  animation:wave 16s ease-in-out infinite alternate;
}
.flag-wave::before{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(circle at 28% 48%, rgba(255,255,255,.98) 0 2.2%, transparent 2.3%),
    radial-gradient(circle at 30.6% 48%, transparent 0 5.1%, rgba(255,255,255,.96) 5.2% 6.8%, transparent 6.9%);
}
.flag-wave::after{
  content:"★"; position:absolute; left:37%; top:42%;
  color:rgba(255,255,255,.96); font-size:68px; transform:rotate(16deg);
  text-shadow:0 0 20px rgba(255,255,255,.25);
}
.glow{
  position:absolute; border-radius:50%; filter:blur(100px); opacity:.22;
  animation:float 14s ease-in-out infinite alternate;
}
.g1{width:360px; height:360px; background:#fff; top:-80px; left:-60px}
.g2{width:280px; height:280px; background:#ffd8df; right:-60px; top:120px; animation-duration:18s}
.g3{width:340px; height:340px; background:#6e0013; left:34%; bottom:-120px; animation-duration:20s}
@keyframes float{from{transform:translate(0,0)}to{transform:translate(26px,34px)}}
@keyframes wave{
  0%{transform:translateX(-2%) translateY(0) scale(1.35) rotate(-1deg)}
  50%{transform:translateX(2%) translateY(1.5%) scale(1.40) rotate(.8deg)}
  100%{transform:translateX(-1%) translateY(-1%) scale(1.37) rotate(-.5deg)}
}
.container{width:min(1180px,calc(100% - 32px)); margin:auto; position:relative; z-index:2}
header{
  position:sticky; top:0; z-index:20;
  background:rgba(50,0,10,.28); backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(255,255,255,.10);
}
.nav{display:flex; justify-content:space-between; align-items:center; padding:16px 0; gap:20px}
.logo{display:flex; align-items:center; gap:14px; text-decoration:none; font-weight:800; letter-spacing:.3px}
.logo img{height:58px; width:auto; display:block}
.nav-links{display:flex; gap:24px; align-items:center; flex-wrap:wrap}
.nav-links a{text-decoration:none; color:rgba(255,255,255,.92); font-weight:700}
.cta{
  text-decoration:none; background:#fff; color:var(--red); font-weight:800;
  padding:12px 18px; border-radius:16px; box-shadow:var(--shadow)
}
.hero{
  display:grid; grid-template-columns:1.08fr .92fr; gap:34px; align-items:center;
  padding:84px 0 38px;
}
.badge{
  display:inline-flex; align-items:center; gap:10px; padding:10px 14px; border-radius:999px;
  background:rgba(255,255,255,.10); border:1px solid var(--border); font-weight:700; font-size:14px; margin-bottom:18px
}
h1{margin:0 0 16px; font-size:clamp(40px,6vw,76px); line-height:1.02; letter-spacing:-1.6px}
.lead{font-size:18px; line-height:1.75; color:var(--muted); max-width:700px; margin:0 0 20px}
.actions{display:flex; gap:14px; flex-wrap:wrap}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:15px 20px; border-radius:18px; text-decoration:none; font-weight:800;
  transition:.25s transform,.25s background,.25s color
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:#fff; color:var(--red); box-shadow:var(--shadow); border:none; cursor:pointer}
.btn-secondary{background:rgba(255,255,255,.08); border:1px solid var(--border)}
.panel{
  background:rgba(255,255,255,.10); border:1px solid var(--border); border-radius:32px;
  padding:18px; box-shadow:var(--shadow); backdrop-filter:blur(18px); position:relative; overflow:hidden
}
.panel::before{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0)); pointer-events:none
}
.panel-top{display:flex; justify-content:space-between; align-items:center; margin-bottom:16px}
.pill{
  padding:8px 12px; border-radius:999px; background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.14); font-size:13px; font-weight:700
}
.chat-window{
  background:rgba(97,0,18,.40); border:1px solid rgba(255,255,255,.10);
  border-radius:24px; padding:20px; min-height:450px; display:flex; flex-direction:column; gap:12px
}
.msg{
  max-width:80%; padding:14px 16px; border-radius:18px; line-height:1.55; font-weight:600;
  box-shadow:0 10px 30px rgba(0,0,0,.14); animation:fadeUp .65s ease both
}
.left{background:rgba(255,255,255,.15); border-top-left-radius:8px}
.right{background:#fff; color:var(--red); margin-left:auto; border-top-right-radius:8px}
.typing{
  margin-top:auto; display:flex; gap:12px; align-items:center; background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.14); border-radius:16px; padding:14px 16px
}
.typing input{
  flex:1; background:transparent; border:none; outline:none; color:#fff; font-size:15px
}
.send-btn{
  background:#fff; color:var(--red); border:none; padding:12px 16px; border-radius:14px; font-weight:800; cursor:pointer
}
@keyframes fadeUp{from{opacity:0; transform:translateY(14px)}to{opacity:1; transform:none}}
.stats,.features,.pages-grid{display:grid; gap:18px}
.stats{grid-template-columns:repeat(4,1fr); padding:16px 0 8px}
.stat,.card,.page-box,.article,.chat-embed,.footer-card{
  background:var(--card); border:1px solid var(--border); border-radius:24px; padding:22px;
  backdrop-filter:blur(18px); box-shadow:var(--shadow)
}
.stat b{display:block; font-size:32px; margin-bottom:6px}
section{padding:34px 0}
.section-title{font-size:36px; margin:0 0 12px}
.section-copy{font-size:17px; line-height:1.75; color:var(--muted); max-width:820px}
.features{grid-template-columns:repeat(3,1fr); margin-top:22px}
.pages-grid{grid-template-columns:repeat(2,1fr); margin-top:22px}
.card h3{margin:0 0 12px; font-size:22px}
.card p,.page-box p,.page-box li,.article p{margin:0 0 16px; color:var(--muted); line-height:1.85}
.icon{
  width:58px; height:58px; border-radius:18px; display:grid; place-items:center; margin-bottom:16px;
  background:rgba(255,255,255,.12); border:1px solid var(--border); font-size:28px
}
.page-hero{padding:56px 0 22px}
.list{padding-left:20px}
.small{font-size:14px; color:rgba(255,255,255,.72)}
.chat-embed{height:calc(100vh - 110px); min-height:620px}
.chat-frame{width:100%; height:100%; border:none; border-radius:18px; background:#fff}
.chat-fallback{
  display:flex; align-items:center; justify-content:center; height:100%; text-align:center; padding:20px;
  background:rgba(255,255,255,.06); border-radius:18px; border:1px dashed rgba(255,255,255,.18)
}
footer{padding:26px 0 44px; color:rgba(255,255,255,.76)}
.footer-card{display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap}
.footer-links{display:flex; gap:18px; flex-wrap:wrap}
.footer-links a{text-decoration:none; font-weight:700; color:#fff}
@media (max-width:980px){
  .hero{grid-template-columns:1fr; padding-top:54px}
  .stats{grid-template-columns:1fr 1fr}
  .features,.pages-grid{grid-template-columns:1fr}
  .nav-links{display:none}
}
@media (max-width:768px){
  .hero{grid-template-columns:1fr !important; padding:40px 15px !important}
  h1{font-size:28px !important}
  .lead{font-size:15px !important}
  .actions{flex-direction:column}
  .btn,.cta{width:100%}
  .chat-window{min-height:350px}
  .logo img{height:46px}
}
@media (max-width:640px){
  .container{width:min(100% - 20px,1180px)}
  .stats{grid-template-columns:1fr}
  .msg{max-width:92%}
}
