/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --text: #1a1a2e;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --primary: #1a56db;
  --primary-hover: #1648b8;
  --primary-light: #ebf0fe;
  --border: #e2e8f0;
  --border-hover: #cbd5e0;
  --card-bg: #ffffff;
  --card-shadow-hover: 0 4px 12px rgba(0,0,0,0.08);
  --success: #16a34a;
  --error: #dc2626;
  --radius: 10px;
}

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.lw-container { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

/* === NAVBAR === */
.lw-navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.lw-navbar.scrolled { border-bottom-color: var(--border); }

.nav-container { display: flex; align-items: center; justify-content: space-between; height: 60px; }

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { display: block; height: 32px; width: auto; }

.nav-label {
  font-size: 14px; font-weight: 600; color: var(--primary);
  background: var(--primary-light); padding: 3px 10px; border-radius: 999px;
}

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--primary) !important; color: white !important;
  padding: 8px 20px; border-radius: 8px; font-weight: 600; font-size: 14px !important;
  transition: background 0.2s; text-decoration: none;
}
.nav-cta:hover { background: var(--primary-hover) !important; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 28px; height: 20px; position: relative; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--text); position: absolute; left: 0; transition: all 0.3s; }
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }
.nav-toggle.open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.3); z-index: 98; }
.mobile-overlay.open { display: block; }
.mobile-menu { display: none; position: fixed; top: 60px; right: 0; width: 260px; background: var(--bg); border-left: 1px solid var(--border); z-index: 99; flex-direction: column; padding: 24px; gap: 20px; box-shadow: -4px 0 16px rgba(0,0,0,0.08); }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--text-secondary); text-decoration: none; font-size: 16px; font-weight: 500; }
.mobile-menu .nav-cta { text-align: center; display: block; }

/* === HERO === */
.lw-hero { padding: 72px 0 56px; text-align: center; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.lw-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; line-height: 1.15; margin-bottom: 16px; }
.hero-sub { font-size: clamp(1rem, 2vw, 1.125rem); color: var(--text-secondary); max-width: 540px; margin: 0 auto 12px; }
.hero-target { font-size: 14px; color: var(--text-muted); margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-actions .lw-btn { min-width: 200px; }

/* === BUTTONS === */
.lw-btn { display: inline-block; padding: 11px 24px; border-radius: 8px; font-family: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; border: none; transition: background 0.2s, box-shadow 0.2s; text-align: center; }
.lw-btn-primary { background: var(--primary); color: white; box-shadow: 0 1px 3px rgba(26,86,219,0.3); }
.lw-btn-primary:hover { background: var(--primary-hover); }
.lw-btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border-hover); }
.lw-btn-outline:hover { border-color: var(--text-muted); background: var(--bg-alt); }
.btn-full { width: 100%; }

/* === SECTIONS === */
.lw-section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.lw-section h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); font-weight: 700; margin-bottom: 8px; }
.section-intro { color: var(--text-muted); margin-bottom: 32px; font-size: 15px; }

/* === PRICING === */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.lw-card { background: var(--card-bg); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; position: relative; transition: box-shadow 0.2s; }
.lw-card:hover { box-shadow: var(--card-shadow-hover); }
.card-featured { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.card-ribbon { position: absolute; top: -1px; left: 50%; transform: translateX(-50%); background: var(--primary); color: white; font-size: 12px; font-weight: 600; padding: 4px 16px; border-radius: 0 0 8px 8px; }
.plan-name { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; margin-top: 8px; }
.price-line { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price-amount { font-size: 2.75rem; font-weight: 700; line-height: 1; }
.price-meta { display: flex; flex-direction: column; }
.price-currency { font-size: 15px; font-weight: 600; color: var(--text-secondary); }
.price-htva { font-size: 11px; color: var(--text-muted); }
.plan-promise { font-weight: 600; font-size: 14px; color: var(--primary); margin-bottom: 16px; }
.lw-card .lw-btn { margin-bottom: 20px; }
.plan-features { list-style: none; padding: 0; margin: 0; flex: 1; }
.plan-features li { padding: 7px 0; font-size: 14px; color: var(--text-secondary); padding-left: 22px; position: relative; line-height: 1.5; }
.plan-features li::before { content: '\2713'; position: absolute; left: 0; color: var(--primary); font-weight: 700; font-size: 13px; }
.plan-note { font-size: 13px; color: var(--text-muted); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.included-line { text-align: center; padding: 16px 0 0; }
.included-line p { font-size: 14px; color: var(--text-muted); }

/* === STEPS === */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { text-align: center; padding: 24px 16px; background: var(--card-bg); border-radius: var(--radius); border: 1px solid var(--border); }
.step-num { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: var(--primary-light); color: var(--primary); font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.step h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* === FAQ === */
.faq-list { max-width: 700px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { padding: 16px 0; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--text-muted); }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { padding: 0 0 16px; font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* === CLIENTS === */
.clients-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.client-card {
  background: var(--card-bg); border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; transition: box-shadow 0.2s;
}
.client-card:hover { box-shadow: var(--card-shadow-hover); }
.client-featured { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.client-logo { height: 40px; display: flex; align-items: center; }
.client-logo img { max-height: 40px; max-width: 160px; width: auto; object-fit: contain; }
.client-name { font-size: 1.1rem; font-weight: 700; }
.client-name a { color: var(--text); text-decoration: none; transition: color 0.2s; }
.client-name a:hover { color: var(--primary); }
.client-desc { font-size: 14px; color: var(--text-muted); }
.client-quote { margin: 0; padding: 16px 0 0; border-top: 1px solid var(--border); }
.client-quote p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; font-style: italic; margin: 0 0 8px; }
.client-author { font-size: 13px; font-weight: 600; color: var(--text); }
.client-role { font-size: 13px; color: var(--text-muted); margin-left: 4px; }
.client-role::before { content: '\2014\00a0'; }

/* === CONTACT === */
.contact-block { max-width: 480px; margin: 0 auto; text-align: center; }
.contact-block h2 { text-align: center; }
.contact-intro { color: var(--text-secondary); font-size: 15px; margin-bottom: 24px; }
.contact-form { text-align: left; }
.contact-hint { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; margin-bottom: 14px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 5px; }
.req { color: var(--error); }
.form-group input, .form-group select, .form-group textarea {
  padding: 10px 14px; background: var(--bg); border: 1.5px solid var(--border); border-radius: 8px;
  color: var(--text); font-family: inherit; font-size: 15px; transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,219,0.1); }
.form-group select { cursor: pointer; appearance: none; padding-right: 36px; }
.btn-submit { margin-top: 4px; width: 100%; }
.btn-submit:disabled { opacity: 0.6; cursor: wait; }

/* === TOAST === */
.toast {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.95);
  padding: 20px 36px; border-radius: 12px; font-family: inherit; font-size: 16px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.3s;
  z-index: 200; max-width: 480px; text-align: center; box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.toast-show { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.toast-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: var(--success); }
.toast-error { background: #fef2f2; border: 1px solid #fecaca; color: var(--error); }

/* === FOOTER === */
.lw-footer { border-top: 1px solid var(--border); padding: 24px 0; }
.footer-content { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-brand img { height: 24px; width: auto; opacity: 0.6; }
.footer-info { display: flex; gap: 20px; font-size: 13px; color: var(--text-muted); }
.footer-info a { color: var(--text-muted); text-decoration: none; }
.footer-info a:hover { color: var(--text); }
.footer-copy { font-size: 13px; color: var(--text-muted); }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-label { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto 24px; }
  .steps-grid { grid-template-columns: 1fr; gap: 12px; }
  .step { display: flex; gap: 16px; align-items: flex-start; text-align: left; padding: 16px; }
  .step-num { flex-shrink: 0; margin-bottom: 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-content { flex-direction: column; align-items: flex-start; }
  .lw-hero { padding: 48px 0 40px; }
  .lw-section { padding: 40px 0; }
}
