/* ============================================================
   KOVI 2.0 – CSS Mobile-First Design System
   ============================================================ */

/* ── Reset & Box model ─────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1a1a2e;
  background: #f8f9fc;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  border: none;
}

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --primary: #EC407A;
  --primary-dark: #C2185B;
  --primary-light: #F48FB1;
  --primary-bg: #FCE4EC;
  --accent: #FF6B35;
  --success: #2ecc71;
  --error: #e74c3c;
  --warning: #f39c12;
  --wa-green: #25D366;
  --wa-dark: #128C7E;

  --text-dark: #1a1a2e;
  --text-medium: #4a4a6a;
  --text-light: #7a7a9a;
  --text-white: #ffffff;

  --bg-white: #ffffff;
  --bg-light: #f8f9fc;
  --bg-section: #f0f2f8;

  --border: #e2e6ef;
  --border-focus: #EC407A;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);
  --shadow-primary: 0 8px 24px rgba(236,64,122,0.30);

  --transition: 0.25s ease;
  --header-h: 64px;
  --progress-h: 70px;
}

/* ── Container ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  height: var(--header-h);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
}

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo-badge {
  font-size: 10px;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, var(--accent), #e04e2a);
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

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

.header-phone {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-medium);
  white-space: nowrap;
}

.header-phone i {
  color: var(--primary);
  font-size: 14px;
}

.btn-header {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  white-space: nowrap;
  box-shadow: var(--shadow-primary);
  transition: transform var(--transition), box-shadow var(--transition);
  display: inline-flex;
  align-items: center;
}

.btn-header:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(236,64,122,0.38);
}

/* ============================================================
   PROGRESS BAR
   ============================================================ */
.progress-wrap {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: sticky;
  top: var(--header-h);
  z-index: 90;
}

.progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 4px;
  scrollbar-width: none;
}

.progress-steps::-webkit-scrollbar { display: none; }

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-section);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
  transition: all var(--transition);
}

.progress-step.active .step-circle {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 0 0 4px var(--primary-bg);
}

.progress-step.done .step-circle {
  background: var(--success);
  border-color: var(--success);
  color: white;
}

.step-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
}

.progress-step.active .step-label {
  color: var(--primary);
}

.progress-line {
  flex: 1;
  height: 2px;
  min-width: 20px;
  background: var(--border);
  margin: 0 4px;
  margin-bottom: 16px;
  transition: background var(--transition);
}

.progress-line.done {
  background: var(--success);
}

/* ============================================================
   STEP SECTIONS
   ============================================================ */
.step-section {
  display: none;
  padding: 32px 0 60px;
  min-height: calc(100vh - var(--header-h));
}

.step-section.active {
  display: block;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--primary-bg);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
}

.trust-item i {
  font-size: 14px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 56px;
}

.badge-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-bg);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
  border: 1px solid var(--primary-light);
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 38px;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 24px;
}

.hero-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
}

.hero-stat span {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}

.btn-hero {
  font-size: 17px;
  padding: 16px 28px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.hero-note {
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-note i {
  color: var(--primary);
}

/* Visual card */
.hero-visual {
  width: 100%;
}

.visual-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.visual-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.visual-header i {
  font-size: 20px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-text strong {
  display: block;
  font-size: 15px;
  color: var(--text-dark);
}

.step-text span {
  font-size: 13px;
  color: var(--text-light);
}

/* ============================================================
   BENEFITS SECTION
   ============================================================ */
.benefits-section {
  margin-bottom: 56px;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 26px;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 28px;
  line-height: 1.2;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.benefit-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 20px;
  color: var(--primary);
}

.benefit-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.benefit-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  margin-bottom: 48px;
}

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

.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
}

.t-stars {
  color: #f39c12;
  font-size: 16px;
  margin-bottom: 10px;
}

.testimonial-card p {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 14px;
  font-style: italic;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.t-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.t-author strong {
  display: block;
  font-size: 14px;
  color: var(--text-dark);
}

.t-author span {
  font-size: 12px;
  color: var(--text-light);
}

.hero-bottom-cta {
  text-align: center;
  padding: 32px 0;
  background: linear-gradient(135deg, var(--primary-bg), #fff0f5);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}

.btn-lg {
  font-size: 17px;
  padding: 16px 32px;
  border-radius: 50px;
}

.cta-note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-light);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 50px;
  transition: all var(--transition);
  white-space: nowrap;
  min-height: 48px;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(236,64,122,0.40);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary-bg);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--wa-green), var(--wa-dark));
  color: white;
  font-size: 18px;
  padding: 18px 32px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
  width: 100%;
  justify-content: center;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37,211,102,0.45);
}

.btn-whatsapp i {
  font-size: 22px;
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-light);
  cursor: pointer;
  padding: 8px 0;
  transition: color var(--transition);
  background: none;
  border: none;
  font-family: inherit;
}

.btn-text:hover {
  color: var(--primary);
}

/* ============================================================
   FORM STYLES
   ============================================================ */
.step-header {
  text-align: center;
  margin-bottom: 28px;
}

.step-icon-big {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: white;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-primary);
}

.step-header h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.step-header p {
  font-size: 15px;
  color: var(--text-medium);
}

.step-tip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff9c4;
  color: #6d4c00;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  margin-top: 14px;
  border: 1px solid #ffe082;
  text-align: left;
}

.step-tip i {
  color: var(--warning);
  flex-shrink: 0;
}

.form-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  max-width: 560px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group label i {
  color: var(--primary);
  width: 16px;
  text-align: center;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap input,
.input-wrap select {
  width: 100%;
  min-width: 0;
  padding: 13px 44px 13px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
  min-height: 50px;
}

.input-wrap input::placeholder {
  color: var(--text-light);
}

.input-wrap input:focus,
.input-wrap select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-bg);
}

/* Select custom arrow */
.input-wrap select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a7a9a' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.input-status {
  position: absolute;
  right: 14px;
  font-size: 16px;
  pointer-events: none;
}

.input-status.valid::after { content: '✅'; }
.input-status.invalid::after { content: '❌'; }

.field-help {
  display: block;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 5px;
  line-height: 1.5;
}

.field-error {
  display: block;
  font-size: 12px;
  color: var(--error);
  margin-top: 4px;
  min-height: 16px;
  font-weight: 500;
}

.form-group.error .input-wrap input,
.form-group.error .input-wrap select {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(231,76,60,0.12);
}

.form-group.success .input-wrap input,
.form-group.success .input-wrap select {
  border-color: var(--success);
  box-shadow: 0 0 0 3px rgba(46,204,113,0.12);
}

.form-security {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-medium);
  margin-bottom: 20px;
  border: 1px solid var(--border);
}

.form-security i {
  color: var(--success);
  flex-shrink: 0;
}

/* ============================================================
   LOADING SCREEN
   ============================================================ */
#step-loading {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

#step-loading.active {
  display: flex;
}

.loading-box {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  width: 100%;
  max-width: 440px;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 5px solid var(--primary-bg);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  margin: 0 auto 24px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-box h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.loading-box p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 28px;
}

.loading-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.loading-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  border: 1px solid var(--border);
  opacity: 0.5;
  transition: all 0.4s ease;
}

.loading-step.active {
  opacity: 1;
  border-color: var(--primary-light);
  background: var(--primary-bg);
}

.loading-step.done {
  opacity: 1;
  border-color: var(--success);
  background: rgba(46,204,113,0.08);
}

.ls-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--primary);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.loading-step.done .ls-icon {
  color: var(--success);
}

.ls-text strong {
  display: block;
  font-size: 14px;
  color: var(--text-dark);
}

.ls-text span {
  font-size: 12px;
  color: var(--text-light);
}

.ls-check {
  margin-left: auto;
  font-size: 16px;
  color: var(--text-light);
}

.loading-step.done .ls-check::after {
  content: '✅';
}

/* ============================================================
   APPROVAL BOX
   ============================================================ */
.approval-box {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.approval-icon {
  font-size: 64px;
  color: var(--success);
  margin-bottom: 16px;
  animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
  0%   { transform: scale(0.5); opacity: 0; }
  70%  { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.approval-box h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.approval-box p {
  font-size: 15px;
  color: var(--text-medium);
  margin-bottom: 22px;
}

.approval-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}

.approval-badges span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--primary-bg);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 50px;
  border: 1px solid var(--primary-light);
}

/* ============================================================
   PLANS
   ============================================================ */
.plans-help {
  text-align: center;
  font-size: 14px;
  color: var(--text-medium);
  margin-bottom: 24px;
  padding: 12px 16px;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.plans-help i {
  color: var(--primary);
  margin-right: 4px;
}

.plans-help a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}

.plan-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--border);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.plan-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.plan-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
  order: -1;
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: var(--shadow-primary);
}

.plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.plan-name {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.plan-price {
  text-align: right;
}

.price-value {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.price-period {
  font-size: 13px;
  color: var(--text-light);
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-medium);
}

.plan-features li i {
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.plan-features li i.fa-check { color: var(--success); }
.plan-features li i.fa-times { color: var(--error); }

.plan-features li.disabled {
  opacity: 0.45;
}

/* ============================================================
   STEP 4 – CONTACT
   ============================================================ */
.contact-header {
  text-align: center;
  margin-bottom: 28px;
}

.confetti-icon {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 14px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.contact-header h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.contact-header p {
  font-size: 15px;
  color: var(--text-medium);
  max-width: 400px;
  margin: 0 auto;
}

/* Summary card */
.summary-card {
  background: var(--primary-bg);
  border: 2px solid var(--primary-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.summary-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.summary-icon {
  font-size: 24px;
  color: var(--success);
  flex-shrink: 0;
}

.summary-info strong {
  display: block;
  font-size: 13px;
  color: var(--text-medium);
  font-weight: 600;
  margin-bottom: 2px;
}

.summary-info span {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
}

.summary-change button {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  padding: 0;
}

.summary-change button:hover {
  color: var(--primary-dark);
}

/* Next steps / Timeline */
.next-steps {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 20px;
}

.next-steps h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tl-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  padding-bottom: 20px;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  width: 2px;
  height: calc(100% - 20px);
  background: var(--border);
}

.tl-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: white;
  flex-shrink: 0;
  box-shadow: var(--shadow-primary);
  z-index: 1;
}

.tl-content strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.tl-content span {
  font-size: 13px;
  color: var(--text-light);
}

/* Calm box */
.calm-box {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 28px;
}

.calm-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calm-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.calm-item > i {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

.calm-item div strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.calm-item div span {
  font-size: 13px;
  color: var(--text-light);
}

/* WhatsApp CTA */
.whatsapp-cta {
  text-align: center;
  margin-bottom: 20px;
}

.wa-note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.wa-note i {
  color: var(--success);
}

.restart-wrap {
  text-align: center;
  padding-bottom: 20px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: 28px 0;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo .logo-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.footer-logo .logo-text {
  color: white;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: white;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   TOAST / NOTIFICATION
   ============================================================ */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--text-dark);
  color: white;
  padding: 14px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  white-space: nowrap;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  max-width: calc(100vw - 32px);
  white-space: normal;
  text-align: center;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

.toast.success { background: var(--success); }
.toast.error   { background: var(--error); }
.toast.info    { background: var(--primary); }

/* ============================================================
   SCROLL TO TOP BTN
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: var(--shadow-primary);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 80;
  border: none;
  cursor: pointer;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================
   RESPONSIVE – TABLET (≥ 600px)
   ============================================================ */
@media (min-width: 600px) {
  .header-phone { display: flex; }

  .hero-title { font-size: 44px; }

  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .calm-items {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .calm-item {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }
}

/* ============================================================
   RESPONSIVE – DESKTOP (≥ 900px)
   ============================================================ */
@media (min-width: 900px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 48px;
  }

  .hero-title {
    font-size: 52px;
  }

  .plans-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .plan-card.featured {
    order: unset;
    transform: scale(1.03);
  }

  .form-card {
    padding: 36px 32px;
  }
}

/* ============================================================
   SAFE AREA (iPhone notch)
   ============================================================ */
@supports (padding: env(safe-area-inset-bottom)) {
  .site-footer {
    padding-bottom: calc(28px + env(safe-area-inset-bottom));
  }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.hidden { display: none !important; }
