:root {
  --bg: #0b0d10;
  --panel: #0f1217;
  --text: #e9f1fa;
  --muted: #aab6c3;
  --accent: #16a7ff;
  --accent-weak: #16a7ff20;
  --shadow: 0 10px 30px rgba(0,0,0,.4);
  --radius: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif; }

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

a { color: var(--text); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(1100px, 92%); margin: 0 auto; }


.nav { display: flex; align-items: center; gap: 20px; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; }
.brand-logo { width: 44px;
  background: #2d425ecc;
  border-radius: 12px;
  padding: 6px;
}
.nav a:hover {
  text-decoration: underline;
}
.brand-text { letter-spacing: .3px; }

.nav-links { 
  margin-left: auto; 
  display: flex; 
  align-items: center; 
  gap: 16px; 
}
.nav-toggle { 
  display: none; 
  background: transparent; 
  border: 1px solid #2a3240; 
  color: var(--text); 
  padding: 6px 10px; 
  border-radius: 10px; 
}

.btn { background: var(--accent); color: #fff; border-radius: 999px; padding: 10px 16px; font-weight: 700; border: none; box-shadow: var(--shadow); }
.btn:hover { filter: brightness(1.05); }
.btn-outline { border: 1px solid var(--accent); color: var(--accent); border-radius: 999px; padding: 10px 16px; font-weight: 700; }
.btn-outline:hover { background: var(--accent-weak); }

.hero { 
  display: grid; 
  grid-template-columns: 1.2fr 1fr; 
  align-items: center; 
  gap: 32px; 
  padding: 60px 0; 
}
.hero h1 {
  font-size: \;
}
.hero p { color: var(--muted); font-size: 1.15rem; }
.hero-cta { display: flex; gap: 12px; margin-top: 18px; }
.hero-art { height: 240px; border-radius: var(--radius); background: radial-gradient(60% 80% at 70% 30%, var(--accent), transparent), linear-gradient(135deg, #111722, #0a0c10); box-shadow: var(--shadow); border:1px solid #1f2632; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 36px; }
.card { background: var(--panel); border: 1px solid #1f2632; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.lead { color: var(--muted); }
.price { color: var(--accent); font-weight: 800; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.center { text-align: center; margin: 24px 0; }
.small { font-size: .9rem; color: var(--muted); }

.about-grid { display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
.about-logo { background: #0a0f14; border-radius: var(--radius); padding: 10px; border:1px solid #1f2632; }

.form label { display: grid; gap: 8px; margin-bottom: 12px; }
input, textarea { background: #0c1016; color: var(--text); border: 1px solid #1f2632; padding: 12px; border-radius: 12px; }
input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-weak); }
.form-actions { display: flex; align-items: center; gap: 12px; }

.cta-band { text-align: center; padding: 32px 0 54px; }
.cta-band h2 { margin-bottom: 6px; }

.site-footer {
  background: #f4f7fa; /* or #fff if you prefer white */
  color: #000;
  padding: 20px 0;
  border-top: 1px solid #ddd;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.footer-grid .legal {
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
  color: #555;
  margin-top: 10px;
}

.site-header,
.site-footer {
  background: #fff;  /* or #f4f7fa */
  color: #000;
}
.site-header a,
.site-footer a,
.brand-text { color: #000; }

.nav-toggle { border-color: #ccc; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; position: absolute; right: 4%; top: 56px; background: var(--panel); border:1px solid #1f2632; border-radius: var(--radius); padding: 12px; flex-direction: column; gap: 10px; }
  .nav-toggle { display: inline-block; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Chat widget ---------- */
.chat-launcher{
  position: fixed; right: 20px; bottom: 20px;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; font-size: 22px;
  background: var(--accent); color: #fff; cursor: pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  z-index: 50;
}
.chat-launcher:focus{ outline: 3px solid var(--accent-weak); }

.chat-panel{
  position: fixed; right: 20px; bottom: 86px; width: min(360px, 92vw);
  background: var(--panel); border: 1px solid #1f2632; border-radius: 16px;
  box-shadow: var(--shadow); overflow: hidden; display: none; z-index: 50;
}
.chat-panel.open{ display: grid; grid-template-rows: auto 1fr auto; }

.chat-header{
  display: flex; justify-content: space-between; align-items: center;
  background: #0c1016; padding: 10px 12px; border-bottom: 1px solid #1f2632;
}
.chat-close{
  background: transparent; color: var(--text); border: 0; font-size: 18px; cursor: pointer;
}

.chat-body{
  max-height: 360px; overflow: auto; padding: 12px; display: grid; gap: 8px;
  background: linear-gradient(180deg,#0b0d10,#0d1218);
}
.chat-msg{
  padding: 10px 12px; border-radius: 12px; border: 1px solid #1f2632; max-width: 85%;
  line-height: 1.35;
}
.chat-msg.user{ justify-self: end; background: #0c1016; }
.chat-msg.bot{ background: #0f141c; }

.quick-replies{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.quick-replies button{
  background: transparent; border: 1px solid var(--accent);
  color: var(--accent); border-radius: 999px; padding: 6px 10px; cursor: pointer;
}
.quick-replies button:hover{ background: var(--accent-weak); }

.chat-input{
  display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 10px; background: #0c1016;
  border-top: 1px solid #1f2632;
}
.chat-input input{
  background: #0b0f15; border: 1px solid #1f2632; color: var(--text); border-radius: 10px; padding: 10px;
}
.chat-input input:focus{ outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-weak); }

@media (max-width: 480px){
  .chat-panel{ right: 10px; left: 10px; width: auto; }
  .chat-launcher{ right: 12px; bottom: 12px; }
}

.nav-links .btn{
  padding: 8px 14px;
  box-shadow: none;          
  border-radius: 14px;
}
