.kpi-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kpi-card,
.problem-card,
.solution-card,
.benefit-card,
.calculator-form,
.result-box,
.faq-item,
.process-step-content {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.85) 100%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.kpi-card {
  border-radius: var(--radius-md);
  padding: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.kpi-card::after,
.problem-card::after,
.solution-card::after,
.benefit-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 0, 0, 0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}

.kpi-card:hover,
.problem-card:hover,
.solution-card:hover,
.benefit-card:hover {
  transform: translateY(-6px) rotateX(var(--rotate-x, 0deg)) rotateY(var(--rotate-y, 0deg));
  box-shadow: var(--shadow-md);
}

.kpi-card:hover::after,
.problem-card:hover::after,
.solution-card:hover::after,
.benefit-card:hover::after {
  opacity: 1;
}

.kpi-icon,
.problem-icon,
.benefit-icon,
.solution-check,
.process-step-number {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
}

.kpi-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px var(--glow-brand);
}

.kpi-icon svg {
  width: 22px;
  height: 22px;
}

.kpi-card strong {
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.kpi-card span {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.calculator-wrap {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: start;
}

.calculator-form,
.result-box {
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.field {
  margin-bottom: 20px;
}

label,
legend {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.95) 100%);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: all 0.3s var(--ease-out);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-dim);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15), 0 0 20px rgba(6, 182, 212, 0.1);
}

textarea {
  resize: vertical;
  min-height: 90px;
}

.field-group {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 0 0 20px;
  background: rgba(0, 0, 0, 0.02);
}

.field-group legend {
  padding: 0 8px;
  margin-left: -8px;
}

.checkbox-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px 0;
}

.checkbox-row input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--brand);
}

.disclaimer {
  margin: 16px 0 0;
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.6;
}

.result-box {
  position: sticky;
  top: 120px;
}

.result-label {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-light);
}

.result-value {
  margin: 0 0 8px;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.7rem);
  font-weight: 800;
  line-height: 1.1;
}

.result-text {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.result-points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.result-points li {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  padding: 8px 0 8px 22px;
  position: relative;
}

.result-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.result-tone-low {
  border-color: rgba(34, 197, 94, 0.28);
}

.result-tone-mid {
  border-color: rgba(245, 158, 11, 0.26);
}

.result-tone-high {
  border-color: rgba(239, 68, 68, 0.32);
}

.faq-list {
  max-width: 800px;
  margin-inline: auto;
}

.faq-item {
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}

.faq-item.active {
  border-color: var(--brand);
  box-shadow: 0 4px 20px var(--glow-brand);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--brand);
  transition: transform 0.3s var(--ease-out);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.faq-item.active .faq-answer {
  max-height: 320px;
}

.faq-answer p {
  margin: 0;
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.process-step {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s var(--ease-out);
}

.process-timeline.animated .process-step {
  opacity: 1;
  transform: translateY(0);
}

.process-step:nth-child(2) {
  transition-delay: 0.3s;
}

.process-step:nth-child(3) {
  transition-delay: 0.6s;
}

.process-step:nth-child(4) {
  transition-delay: 0.9s;
}

.process-step:nth-child(5) {
  transition-delay: 1.2s;
}

.process-step:nth-child(6) {
  transition-delay: 1.5s;
}

.process-step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Sora", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 6px 24px var(--glow-brand);
  flex-shrink: 0;
}

.process-step-content {
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}

.process-step-content h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.process-goal {
  color: var(--brand);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.process-step-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.process-step-list li {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.55;
  padding: 7px 0 7px 22px;
  position: relative;
}

.process-step-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.process-step-result {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.6;
  margin: 12px 0 0;
}

.process-step-result strong {
  color: var(--text);
}

.form-row {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

.contact-form {
  position: relative;
  z-index: 1;
}

.form-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.form-message-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #dc2626;
}

.form-message-success {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #0891b2;
}

@media (max-width: 1200px) {
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .calculator-wrap {
    grid-template-columns: 1fr;
  }

  .result-box {
    position: static;
  }
}

@media (max-width: 768px) {
  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .calculator-wrap {
    gap: 24px;
  }

  .calculator-form,
  .result-box {
    padding: 28px;
  }

  .process-step {
    grid-template-columns: 50px 1fr;
    gap: 16px;
  }

  .process-step-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .kpi-card,
  .problem-card,
  .benefit-card,
  .calculator-form,
  .result-box,
  .process-step-content,
  .solution-card {
    padding: 24px;
  }
}
