/* style.css */
:root {
  --red: #C8102E;
  --text: #222;
  --muted: #555;
  --line: #eee;
  --soft: #f8f8f8;
  --wa: #25D366;
  --shadow: 0 14px 34px rgba(0,0,0,0.10);
  --shadow-strong: 0 18px 44px rgba(0,0,0,0.14);
  --r12: 12px;
  --r16: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  background: white;
  color: var(--text);
}

a { color: inherit; }

.container {
  width: 92%;
  max-width: 1180px;
  margin: 0 auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
}
.social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social-link {
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
}

.social-link:hover {
  border-color: #ddd;
  color: var(--red);
}
.brand {
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.2px;
  font-size: 22px;
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
}

.brand-as { color: var(--text); }
.brand-optika { color: var(--red); }

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

.nav a {
  text-decoration: none;
  font-weight: 700;
  color: var(--text);
}

.nav a:hover { color: var(--red); }

.nav-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}

.lang-link { text-decoration: none; font-weight: 900; }
.lang-link.is-active { color: var(--red); }
.lang-sep { color: #aaa; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-btn {
  text-decoration: none;
  font-weight: 900;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
}

.mini-btn:hover { border-color: #ddd; }

.mini-btn-red {
  border-color: var(--red);
  background: var(--red);
  color: white;
}

.mini-btn-red:hover { opacity: 0.92; }

/* Mobile menu button */
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-bars {
  width: 18px;
  height: 2px;
  background: var(--text);
  display: block;
  position: relative;
}

.menu-bars::before,
.menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }

.nav-mobile {
  border-top: 1px solid var(--line);
  padding: 10px 0 16px 0;
}

.nav-mobile a {
  display: block;
  text-decoration: none;
  font-weight: 800;
  padding: 12px 0;
}

.nav-mobile a:hover { color: var(--red); }

.nav-mobile-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

/* Hero */
.hero {
  background:
    radial-gradient(900px 260px at 18% 18%, rgba(200,16,46,0.10), transparent 60%),
    radial-gradient(900px 260px at 82% 22%, rgba(37,211,102,0.10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  padding: 44px 0;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  font-weight: 900;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}

.hero h1 {
  margin: 0 0 10px 0;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.4px;
}

.hero-sub {
  margin: 0 0 18px 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
  max-width: 54ch;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 16px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  padding: 12px 16px;
  text-decoration: none;
  font-weight: 900;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--red);
  color: white;
  border-color: var(--red);
}

.btn-primary:hover { opacity: 0.92; }

.btn-outline {
  background: white;
  color: var(--red);
  border-color: var(--red);
}

.btn-outline:hover { background: rgba(200,16,46,0.06); }

.btn-ghost {
  background: white;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover { border-color: #ddd; }

.btn-full { width: 100%; }

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 12px 0;
}

.badge {
  border: 1px solid var(--line);
  background: white;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 800;
  color: #333;
  box-shadow: var(--shadow);
}

.hero-note {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

.hero-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-strong);
}

.hero-card-title {
  font-weight: 900;
  margin-bottom: 10px;
}

.steps { display: grid; gap: 10px; margin-bottom: 14px; }

.step {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  align-items: start;
}

.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  margin-top: 6px;
}

.step-text { font-weight: 800; color: #333; }

.hero-card-actions { display: grid; gap: 10px; margin-bottom: 12px; }

.mini-info {
  font-size: 13px;
  color: var(--muted);
}

.mini-info a { color: var(--red); text-decoration: none; font-weight: 900; }
.mini-info a:hover { text-decoration: underline; }

/* Sections */
.section { padding: 54px 0; }
.section-soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { margin-bottom: 18px; }
.section-head h2 { margin: 0 0 6px 0; font-size: 28px; letter-spacing: -0.2px; }
.section-sub { margin: 0; color: var(--muted); line-height: 1.5; }

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.card-title { font-weight: 900; margin-bottom: 8px; }
.card-text { color: var(--muted); font-size: 14px; line-height: 1.45; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.feature-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.feature-top {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(200,16,46,0.08);
  color: var(--red);
  font-weight: 900;
}

.feature-title { font-weight: 900; }
.feature-text { color: var(--muted); font-size: 14px; line-height: 1.45; }

.cta-box {
  margin-top: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--shadow);
}

.cta-box-text { font-weight: 900; line-height: 1.35; max-width: 58ch; }

/* Split block */
.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items: start;
}

.copy-card, .info-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.copy-title, .info-title { font-weight: 900; margin-bottom: 10px; }

.copy-text {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  white-space: pre-wrap;
  color: #333;
  line-height: 1.5;
}

.copy-actions {
  margin-top: 12px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.info-line { margin: 10px 0; color: #333; line-height: 1.45; }
.info-line a { color: var(--red); text-decoration: none; font-weight: 900; }
.info-line a:hover { text-decoration: underline; }

/* Footer */
.footer {
  background: var(--red);
  color: white;
  padding: 22px 0;
}

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

.footer-title { font-weight: 900; }
.footer-text { opacity: 0.95; margin-top: 6px; }

.footer-links a {
  color: white;
  text-decoration: none;
  margin-left: 14px;
  font-weight: 900;
}

.footer-links a:hover { text-decoration: underline; }

/* WhatsApp floating button */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--wa);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 9999;
  box-shadow: 0 16px 34px rgba(0,0,0,0.22);
  transition: transform 0.15s ease;
}

.wa-float:hover { transform: scale(1.06); }

.wa-float::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.35);
  animation: waPulse 2.2s infinite;
}

@keyframes waPulse {
  0% { transform: scale(0.85); opacity: 0.65; }
  70% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* Mobile */
@media (max-width: 980px) {
  .header-inner { grid-template-columns: 1fr auto auto; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; align-items: stretch; }
}
@media (max-width: 520px) {
  .social { display: none; }
}
@media (max-width: 520px) {
  .header-cta { display: none; }
  .hero { }
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .wa-float { width: 60px; height: 60px; }
}
