/* =========================================================
   HERO
========================================================= */
.hero {
  padding: 120px 0 80px;
  position: relative; overflow: hidden;
}
.hero-deco { position: absolute; inset: 0; pointer-events: none; }
.hero-deco .blob {
  position: absolute; border-radius: 50%; opacity: 0.06;
}
.hero-deco .b1 { width: 520px; height: 520px; background: var(--green); top: -80px; right: -100px; animation: float 9s ease-in-out infinite; }
.hero-deco .b2 { width: 340px; height: 340px; background: var(--orange); bottom: -60px; left: -60px; animation: float 11s ease-in-out infinite 2s; }
.hero-deco .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(27,94,75,.03) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(27,94,75,.03) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero .wrap {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.hero-text { max-width: 540px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 14px; background: var(--green-light); color: var(--green);
  border-radius: 50px; font-size: 0.75rem; font-weight: 600; margin-bottom: 24px;
}
.pill .dot {
  width: 6px; height: 6px; background: var(--green); border-radius: 50%;
  position: relative;
}
.pill .dot::after {
  content: ''; position: absolute; inset: -3px; border-radius: 50%;
  border: 1px solid var(--green); animation: pulse 2s ease-out infinite;
}
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-bottom: 20px; }
.hero h1 em {
  color: var(--green); font-style: normal; position: relative;
}
.hero h1 em::after {
  content: ''; position: absolute; bottom: 2px; left: 0; right: 0;
  height: 8px; background: var(--orange-light); z-index: -1; border-radius: 4px;
}
.hero-sub {
  font-size: 1.1rem; color: var(--ink-light); line-height: 1.7;
  margin-bottom: 32px; max-width: 480px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-proof {
  display: flex; gap: 36px; margin-top: 40px; padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-proof dt { font-family: var(--font-h); font-size: 1.5rem; color: var(--green); }
.hero-proof dd { font-size: 0.75rem; color: var(--ink-lighter); margin-top: 2px; }

/* floating card */
.hero-card-wrap { display: flex; justify-content: center; }
.hero-card {
  background: var(--white); border-radius: 16px; padding: 28px;
  box-shadow: 0 12px 40px rgba(26,26,46,.08); position: relative; max-width: 400px; width: 100%;
}
.hc-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 10px; font-size: 0.85rem;
  font-weight: 500; color: var(--ink-light); margin-bottom: 10px;
}
.hc-row:last-child { margin-bottom: 0; }
.hc-icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hc-icon svg { width: 18px; height: 18px; }
.hc-old { background: var(--cream); }
.hc-old .hc-icon { background: #FEE2E2; color: #DC2626; }
.hc-old span { text-decoration: line-through; opacity: 0.55; }
.hc-arr { text-align: center; color: var(--orange); margin: 4px 0; }
.hc-new { background: var(--green-lighter); }
.hc-new .hc-icon { background: #DCFCE7; color: #16A34A; }
.hc-badge {
  position: absolute; background: var(--white); border-radius: 10px;
  padding: 8px 14px; box-shadow: 0 4px 16px rgba(0,0,0,.08);
  font-size: 0.78rem; font-weight: 600; display: flex; align-items: center; gap: 8px;
  animation: float 5s ease-in-out infinite;
}
.hc-badge svg { width: 14px; height: 14px; }
.hc-b1 { top: -14px; right: -20px; color: var(--green); animation-delay: 0.5s; }
.hc-b2 { bottom: -10px; left: -14px; color: var(--orange); animation-delay: 1.5s; }

/* =========================================================
   PROBLEMS
========================================================= */
.problems { background: var(--white); padding: 72px 0; }
.problems .header { text-align: center; margin-bottom: 36px; }
.problems .subtitle { margin: 0 auto; }
.prob-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.prob {
  padding: 24px 20px; border: 1px solid var(--line); border-radius: 14px;
  transition: all 0.3s var(--ease); text-align: center;
}
.prob:hover { border-color: var(--orange-light); box-shadow: 0 6px 20px rgba(0,0,0,.05); transform: translateY(-3px); }
.prob-i {
  width: 44px; height: 44px; border-radius: 10px; margin: 0 auto 14px;
  background: #FEF3E2; color: var(--orange);
  display: flex; align-items: center; justify-content: center;
}
.prob-i svg { width: 22px; height: 22px; }
.prob h3 { font-family: var(--font-b); font-size: 0.88rem; font-weight: 600; line-height: 1.45; }

/* =========================================================
   SOLUTIONS
========================================================= */
.solutions { padding: 72px 0; }
.sol-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px;
}
.sol {
  padding: 32px; background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; transition: all 0.3s var(--ease);
}
.sol:hover { box-shadow: 0 8px 28px rgba(0,0,0,.06); border-color: transparent; transform: translateY(-3px); }
.sol-i {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--green-light); color: var(--green);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.sol-i svg { width: 24px; height: 24px; }
.sol h3 { font-size: 1.2rem; margin-bottom: 8px; }
.sol p { font-size: 0.9rem; color: var(--ink-light); line-height: 1.65; margin-bottom: 16px; }
.ba {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: var(--cream); border-radius: 8px; font-size: 0.8rem;
}
.ba-old { color: #DC2626; text-decoration: line-through; opacity: 0.65; font-weight: 500; }
.ba-arr { color: var(--orange); font-weight: 700; }
.ba-new { color: var(--green); font-weight: 600; }

/* =========================================================
   USE CASES
========================================================= */
.cases { background: var(--white); padding: 72px 0; }
.case-tabs {
  display: flex; gap: 8px; margin: 28px 0; flex-wrap: wrap;
}
.ct {
  padding: 9px 20px; border: 1.5px solid var(--line); border-radius: 50px;
  font-size: 0.84rem; font-weight: 500; color: var(--ink-light);
  background: none; cursor: pointer; transition: all 0.25s;
}
.ct:hover { border-color: var(--green); color: var(--green); }
.ct.on { background: var(--green); border-color: var(--green); color: var(--white); }
.case-panel { display: none; }
.case-panel.on {
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 36px; align-items: center;
  animation: fadeUp 0.35s var(--ease);
}
@keyframes fadeUp { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
.case-info h3 { font-size: 1.5rem; margin-bottom: 12px; }
.case-prob { font-size: 0.92rem; color: var(--ink-light); line-height: 1.65; margin-bottom: 14px; }
.case-sol { font-size: 0.9rem; color: var(--ink-light); line-height: 1.65; margin-bottom: 20px; padding-left: 16px; border-left: 3px solid var(--green); }
.case-result {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; background: var(--green-lighter); border-radius: 12px; color: var(--green);
}
.case-result strong { font-family: var(--font-h); font-size: 1.3rem; }
.case-result span { font-size: 0.8rem; font-weight: 500; }
.case-vis {
  background: var(--cream); border-radius: 16px; padding: 36px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.cv-block { padding: 18px 32px; border-radius: 10px; text-align: center; }
.cv-before { background: #FEF2F2; color: #DC2626; margin-bottom: 8px; }
.cv-after { background: #F0FDF4; color: #16A34A; margin-top: 8px; }
.cv-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 2px; }
.cv-val { font-family: var(--font-h); font-size: 2.2rem; }
.cv-arrow { color: var(--orange); margin: 4px 0; }

/* =========================================================
   CALCULATOR
========================================================= */
.calc {
  background: linear-gradient(145deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white); padding: 72px 0; position: relative; overflow: hidden;
}
.calc::before {
  content: ''; position: absolute; top: -40%; right: -10%;
  width: 500px; height: 500px; border-radius: 50%; background: rgba(255,255,255,.03);
}
.calc .wrap { position: relative; z-index: 2; }
.calc .label { color: rgba(255,255,255,.5); }
.calc .title { color: var(--white); }
.calc .subtitle { color: rgba(255,255,255,.65); }

.calc-body {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  margin-top: 36px; align-items: start;
}
.calc-sliders { display: flex; flex-direction: column; gap: 28px; }
.calc-sliders label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,.85); margin-bottom: 10px;
}
.calc-val { font-family: var(--font-h); font-size: 1.35rem; color: var(--white); }
.slider {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px;
  border-radius: 3px; background: rgba(255,255,255,.15); outline: none; cursor: pointer;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--white); cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.2);
  transition: transform 0.2s;
}
.slider::-webkit-slider-thumb:hover { transform: scale(1.12); }
.slider::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%; background: var(--white);
  cursor: pointer; border: none; box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

.calc-out {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px; padding: 32px;
}
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc-item {
  text-align: center; padding: 20px 14px; border-radius: 12px;
  background: rgba(255,255,255,.05); transition: background 0.3s;
}
.calc-item:hover { background: rgba(255,255,255,.09); }
.calc-item .cv { font-family: var(--font-h); font-size: 1.9rem; color: var(--white); margin-bottom: 4px; }
.calc-item .cl { font-size: 0.73rem; color: rgba(255,255,255,.5); font-weight: 500; }
.calc-big {
  grid-column: 1 / -1; text-align: center; padding: 22px;
  background: rgba(212,118,44,.18); border: 1px solid rgba(212,118,44,.25); border-radius: 12px;
}
.calc-big .cv { font-size: 2.6rem; color: var(--orange-light); }
.calc-cta { text-align: center; margin-top: 36px; }
.calc-cta p { font-size: 0.95rem; color: rgba(255,255,255,.7); margin-bottom: 16px; }

/* =========================================================
   PROCESS
========================================================= */
.process { padding: 72px 0; }
.process .header { text-align: center; margin-bottom: 40px; }
.process .subtitle { margin: 0 auto; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 28px; left: 60px; right: 60px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
}
.step { text-align: center; }
.step-n {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 18px;
  border: 2px solid var(--green); background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-h); font-size: 1.2rem; color: var(--green);
  position: relative; z-index: 2; transition: all 0.3s;
}
.step:hover .step-n { background: var(--green); color: var(--white); }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: 0.85rem; color: var(--ink-light); line-height: 1.55; }

/* =========================================================
   TEAM + FAQ
========================================================= */
.about { background: var(--white); padding: 72px 0; }
.about-top {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center; margin-bottom: 56px; padding-bottom: 56px; border-bottom: 1px solid var(--line);
}
.about-text p { font-size: 0.95rem; color: var(--ink-light); line-height: 1.75; margin-bottom: 14px; }
.about-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-n {
  padding: 24px; background: var(--cream); border-radius: 12px; text-align: center;
  transition: all 0.3s;
}
.about-n:hover { box-shadow: 0 4px 16px rgba(0,0,0,.05); transform: translateY(-2px); }
.about-n strong { font-family: var(--font-h); font-size: 1.7rem; color: var(--green); display: block; margin-bottom: 4px; }
.about-n span { font-size: 0.78rem; color: var(--ink-light); }

/* FAQ */
.faq-header { text-align: center; margin-bottom: 32px; }
.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; max-width: 960px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; background: none; border: none;
  font-size: 0.92rem; font-weight: 600; color: var(--ink); cursor: pointer;
  text-align: left; gap: 12px; transition: color 0.25s;
}
.faq-q:hover { color: var(--green); }
.faq-q .qi {
  width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%;
  background: var(--green-light); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.faq-item.open .qi { background: var(--green); color: var(--white); transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.3s ease; }
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 18px; }
.faq-a p { font-size: 0.87rem; color: var(--ink-light); line-height: 1.65; }

/* =========================================================
   FINAL CTA
========================================================= */
.cta-final { background: var(--cream-dark); padding: 64px 0; text-align: center; }
.cta-final .title { max-width: none; margin: 0 auto 12px; }
.cta-final .subtitle { margin: 0 auto 28px; text-align: center; }
.cta-checks {
  display: flex; justify-content: center; gap: 28px; margin-top: 28px; flex-wrap: wrap;
}
.cta-check { display: flex; align-items: center; gap: 6px; font-size: 0.88rem; color: var(--ink-light); }
.cta-check i { width: 18px; height: 18px; color: var(--green); }

/* =========================================================
   RESPONSIVE (landing-specific)
========================================================= */
@media (max-width: 1024px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero-text { max-width: 100%; margin: 0 auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-proof { justify-content: center; }
  .hero-card-wrap { display: none; }
  .prob-grid { grid-template-columns: repeat(3, 1fr); }
  .sol-grid { grid-template-columns: 1fr; }
  .case-panel.on { grid-template-columns: 1fr; }
  .calc-body { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .about-top { grid-template-columns: 1fr; }
  .faq-cols { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .prob-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .hero h1 { font-size: 1.8rem; }
  .hero-proof { gap: 20px; }
  .calc-grid { grid-template-columns: 1fr; }
  .cta-checks { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .prob-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .case-tabs { gap: 4px; }
  .ct { padding: 7px 14px; font-size: 0.78rem; }
  .about-nums { grid-template-columns: 1fr; }
}
