/* Landing pages – Zanzi-style structure (hero, why, benefits, featured, forms, footer) */

.lp-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #0c4a6e 0%, #0f172a 50%, #1e293b 100%);
  color: #fff;
  padding: 4rem 1.5rem;
}
.lp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}
.lp-hero .container { position: relative; z-index: 1; }
.lp-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.lp-hero .lp-hero-desc {
  max-width: 560px;
  margin: 0 auto 1.5rem;
  font-size: 1.1rem;
  opacity: 0.95;
}
.lp-hero .lp-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.lp-hero .btn { padding: 0.85rem 1.5rem; font-size: 1rem; border-radius: 8px; text-decoration: none; font-weight: 600; transition: transform 0.15s, box-shadow 0.15s; }
.lp-hero .btn:hover { transform: translateY(-2px); }
.lp-hero .btn-primary { background: #0ea5e9; color: #fff; border: none; }
.lp-hero .btn-primary:hover { box-shadow: 0 8px 24px rgba(14,165,233,0.4); }
.lp-hero .btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.lp-hero .btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.lp-section {
  padding: 4rem 0;
}
.lp-section.alt { background: var(--surface); }
.lp-section h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--text);
  text-align: center;
}
.lp-section .lp-section-desc {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.lp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.lp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lp-card:hover { border-color: var(--accent); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.lp-card-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.lp-card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; font-weight: 600; color: var(--text); }
.lp-card p { margin: 0; font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; }

.lp-featured-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.lp-featured-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.lp-featured-card .thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--surface2) 0%, var(--border) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--text-muted);
}
.lp-featured-card .body { padding: 1.25rem; }
.lp-featured-card h3 { margin: 0 0 0.35rem; font-size: 1.1rem; font-weight: 600; }
.lp-featured-card .meta { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.lp-featured-card .btn { display: inline-block; padding: 0.5rem 1rem; font-size: 0.9rem; border-radius: 6px; background: var(--accent-soft); color: var(--accent); text-decoration: none; font-weight: 600; }
.lp-featured-card .btn:hover { background: var(--accent); color: var(--bg); }

.lp-form-wrap {
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.lp-form-wrap h3 { margin: 0 0 1rem; font-size: 1.25rem; }
.lp-form-wrap label { display: block; font-weight: 500; margin-bottom: 0.35rem; font-size: 0.9rem; color: var(--text); }
.lp-form-wrap input,
.lp-form-wrap select,
.lp-form-wrap textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  margin-bottom: 1rem;
  font-size: 1rem;
}
.lp-form-wrap textarea { min-height: 100px; resize: vertical; }
.lp-form-wrap .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 540px) { .lp-form-wrap .row2 { grid-template-columns: 1fr; } }
.lp-form-wrap button[type="submit"] {
  width: 100%;
  padding: 0.9rem;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--bg);
  cursor: pointer;
  font-family: var(--font);
  margin-top: 0.5rem;
}
.lp-form-wrap button[type="submit"]:hover { opacity: 0.95; }
.lp-form-msg { margin-top: 1rem; padding: 0.75rem; border-radius: var(--radius-sm); display: none; }
.lp-form-msg.success { background: rgba(34,197,94,0.2); color: #22c55e; }
.lp-form-msg.error { background: rgba(239,68,68,0.2); color: #ef4444; }
.lp-form-wrap .consent { display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 1rem; font-size: 0.9rem; color: var(--text-muted); }
.lp-form-wrap .consent input { width: auto; margin: 0.25rem 0 0 0; }
.lp-form-short { max-width: 420px; }
/* Hero background image: add class .lp-hero-has-bg and set --lp-hero-bg in HTML or inline */
.lp-hero.lp-hero-has-bg { background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.5) 100%), var(--lp-hero-bg) center/cover no-repeat; }
.lp-featured-card .thumb.lp-thumb-img { background-size: cover; background-position: center; }

.lang-toggle {
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.9rem;
  font-family: var(--font);
  cursor: pointer;
}
.lang-toggle:hover { border-color: var(--accent); }

.lp-footer {
  margin-top: 4rem;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.95rem;
  color: var(--text-muted);
}
.lp-footer .container { display: grid; grid-template-columns: 1fr auto auto; gap: 2rem; align-items: start; }
@media (max-width: 768px) { .lp-footer .container { grid-template-columns: 1fr; } }
.lp-footer .logo { margin-bottom: 0.5rem; }
.lp-footer h4 { font-size: 0.9rem; font-weight: 600; color: var(--text); margin: 0 0 0.75rem; }
.lp-footer ul { list-style: none; padding: 0; margin: 0; }
.lp-footer ul li { margin-bottom: 0.4rem; }
.lp-footer a { color: var(--text-muted); text-decoration: none; }
.lp-footer a:hover { color: var(--accent); }
.lp-footer .copy { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid var(--border); margin-top: 0.5rem; font-size: 0.85rem; }
