
:root {
  --primary: #1d66d1;
  --primary-dark: #0b2a4a;
  --primary-light: #e6f4ff;
  --accent: #ef4343;
  --text: #0e1b2a;
  --muted: #5b6b7a;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji"; color: var(--text); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

header { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(180%) blur(6px); background: rgba(250,250,255,0.7); border-bottom: 1px solid #eaeef3; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.1rem; }
.brand img { width: 36px; height: 36px; }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { font-weight: 600; opacity: .9; }
.cta-btn { background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; border: 1px solid rgba(0,0,0,.05); box-shadow: 0 6px 18px rgba(29,102,209,.25); }
.cta-btn:hover { filter: brightness(1.05); }
.mobile-toggle { display: none; border: none; background: transparent; font-size: 24px; }

.hero { background: linear-gradient(135deg, var(--primary) 0%, #2893ff 60%, var(--primary-light) 100%); color: #fff; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; padding: 80px 0; align-items: center; }
.tag { display: inline-flex; gap: 8px; align-items: center; background: rgba(255,255,255,.18); padding: 6px 10px; border-radius: 999px; font-weight: 700; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.05; margin: 14px 0; }
.hero p { font-size: 1.125rem; opacity: .95; }
.hero-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.hero-card { background: #fff; color: var(--text); border-radius: 18px; padding: 18px; display: grid; grid-template-columns: 56px 1fr; gap: 12px; box-shadow: 0 8px 30px rgba(0,0,0,.08); align-self: start; }
.hero-card h3 { margin: 0; font-size: 1.05rem; }
.hero-card p { margin: 6px 0 0; color: var(--muted); font-size: .95rem; }

.section { padding: 70px 0; }
.section.light { background: #fff; }
.section.soft { background: var(--primary-light); }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 18px; }
.section p.lead { font-size: 1.1rem; color: var(--muted); max-width: 760px; }

.grid { display: grid; gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
}

.card { background: #fff; border: 1px solid #ecf0f5; border-radius: 16px; padding: 18px; box-shadow: 0 6px 24px rgba(0,0,0,.05); }
.card h3 { margin: 6px 0 8px; }
.badge { background: var(--primary-light); color: var(--primary-dark); padding: 4px 10px; border-radius: 999px; font-weight: 700; font-size: .8rem; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg,#ffffff, #dfefff); display: grid; place-items: center; border: 1px solid #e8eef7; }

.features { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }

.cta-panel { background: linear-gradient(135deg, #0b2a4a, var(--primary)); color: #fff; border-radius: 20px; padding: 28px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; align-items: center; }
.cta-panel a { background: #fff; color: var(--primary-dark); padding: 12px 16px; font-weight: 800; border-radius: 12px; text-align: center; }
@media (max-width: 900px) { .cta-panel { grid-template-columns: 1fr; } }

.footer { background: #0c1624; color: #cfe2ff; padding: 36px 0; }
.footer h4 { margin: 0 0 12px; color: #fff; }
.footer a:hover { text-decoration: underline; }
.small { font-size: .92rem; color: #92a3b3; }
hr.sep { border: none; border-top: 1px dashed #d5e3f7; margin: 18px 0; }


/* Language switcher */
.lang-switch{
  background: var(--primary, #1d66d1);
  color:#fff;
  padding:8px 12px;
  border-radius:10px;
  font-weight:800;
  margin-left:8px;
  border:1px solid rgba(0,0,0,.05);
  box-shadow:0 4px 14px rgba(29,102,209,.25);
}
.lang-switch:hover{ filter: brightness(1.05); }

/* Hide header button on small screens; we show a floating one instead */
@media (max-width: 900px){
  .lang-switch{ display:none; }
}

/* Floating mobile button */
.lang-float{
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: var(--primary, #1d66d1);
  color: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
}
