/* ==========================================================================
   MAIN STYLES (Swan-Gold Design)
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: inherit;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

section {
  padding: 100px 0;
  position: relative;
}

/* Eyebrow badge */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cobalt);
  font-weight: 600;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "//";
  color: var(--mint);
  font-weight: 700;
}

.section-head {
  max-width: 680px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--cobalt);
  color: #fff;
  box-shadow: 0 8px 22px -6px rgba(47, 93, 255, 0.5);
}

.btn-primary:hover {
  background: var(--cobalt-dark);
  box-shadow: 0 10px 28px -4px rgba(47, 93, 255, 0.65);
  transform: translateY(-2px);
}

.btn-amber {
  background: var(--amber);
  color: #1a1200;
  box-shadow: 0 8px 22px -6px rgba(255, 183, 74, 0.5);
}

.btn-amber:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -4px rgba(255, 183, 74, 0.65);
}

.btn-ghost-dark {
  border-color: var(--line-dark);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost-dark:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-ghost-light {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}

.btn-ghost-light:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ---------- HERO SECTION ---------- */
.hero {
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(47,93,255,0.38), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 0%, rgba(47,230,176,0.15), transparent 55%),
    var(--ink);
  color: #fff;
  padding: 165px 0 110px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(32px, 4.4vw, 54px);
  margin-bottom: 22px;
  color: #fff;
}

.hero h1 .hl {
  color: var(--mint);
  position: relative;
}

.hero p.lead {
  font-size: clamp(16px, 1.8vw, 18.5px);
  color: var(--muted-dark);
  max-width: 520px;
  margin-bottom: 34px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  color: #fff;
  line-height: 1.2;
}

.hero-stats div span {
  font-size: 13px;
  color: var(--muted-dark);
}

/* Browser Mockup */
.browser {
  background: var(--ink-card);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--line-dark);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.browser-url {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 7px;
  padding: 6px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted-dark);
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.browser-url .dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(47, 230, 176, 0.6);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

.browser-url .caret {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: var(--mint);
  animation: blink 1s steps(1) infinite;
  margin-left: 1px;
  flex-shrink: 0;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 230, 176, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(47, 230, 176, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 230, 176, 0); }
}

@keyframes blink {
  50% { opacity: 0; }
}

.browser-body {
  padding: 26px 22px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blk {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.blk::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.09), transparent);
  transform: translateX(-100%);
  animation: sheen 2.6s ease-in-out infinite;
}

.blk.fill { background: linear-gradient(135deg, var(--cobalt), #6C8CFF); }
.blk.fill.alt { background: linear-gradient(135deg, var(--mint), #1fae86); }
.blk.fill.amber { background: linear-gradient(135deg, var(--amber), #d68f2a); }
.blk.fill::after { display: none; }

@keyframes sheen {
  0% { transform: translateX(-120%); }
  60%, 100% { transform: translateX(120%); }
}

.row { display: flex; gap: 12px; }
.row.top { align-items: center; }
.grow { flex: 1; min-width: 0; }
.h-14 { height: 14px; } .h-10 { height: 10px; } .h-64 { height: 64px; } .h-90 { height: 90px; } .h-38 { height: 38px; }
.w-40 { width: 40%; } .w-60 { width: 60%; } .w-70 { width: 70%; } .w-30 { width: 30%; }

/* ---------- TRUST PILLS ---------- */
.trust {
  padding: 48px 0;
  background: var(--paper-card);
  border-bottom: 1px solid var(--line);
}

.trust p {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.pill:hover {
  transform: translateY(-2px);
  border-color: var(--cobalt);
}

/* ---------- SERVICES TABS (LAYANAN) ---------- */
.tabs-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-card);
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.04);
}

.tab-list {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-right: 1px solid var(--line);
}

.tab-btn {
  text-align: left;
  background: none;
  border: none;
  border-left: 3px solid transparent;
  padding: 20px 22px;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  transition: background .15s ease, color .15s ease;
}

.tab-btn .dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
  margin-right: 12px;
  vertical-align: middle;
  transition: background 0.2s ease;
}

.tab-btn.active {
  color: var(--ink);
  background: var(--paper-card);
  border-left-color: var(--cobalt);
}

.tab-btn.active .dot {
  background: var(--mint);
}

.tab-btn:hover {
  color: var(--ink);
}

.tab-panels {
  padding: 44px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadein .3s ease;
}

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

.tab-panel h3 {
  font-size: clamp(20px, 2.6vw, 26px);
  margin-bottom: 12px;
}

.tab-panel > p {
  color: var(--muted);
  font-size: 15.5px;
  margin-bottom: 28px;
  max-width: 580px;
  line-height: 1.6;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.feat .chk {
  color: var(--cobalt);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- PROCESS STEPS (PROSES) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.step {
  background: var(--paper-card);
  padding: 34px 26px;
  position: relative;
  transition: background 0.2s ease;
}

.step:hover {
  background: #fdfdfd;
}

.step .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--cobalt);
  display: block;
  margin-bottom: 22px;
}

.step h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.step p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- ENHANCED PORTFOLIO (PORTOFOLIO) ---------- */
.portfolio-filter-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.port-filter-btn {
  background: var(--paper-card);
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.port-filter-btn:hover {
  border-color: var(--cobalt);
  color: var(--ink);
  transform: translateY(-2px);
}

.port-filter-btn.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 6px 18px -4px rgba(14, 23, 41, 0.4);
}

.port-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.port-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-card);
  display: flex;
  flex-direction: column;
  transition: transform .3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow .3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color .3s ease;
  position: relative;
  box-shadow: 0 4px 18px -4px rgba(0, 0, 0, 0.04);
}

.port-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px -14px rgba(14, 23, 41, 0.2);
  border-color: rgba(47, 93, 255, 0.4);
}

.port-browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #0d1527;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.port-dots {
  display: flex;
  gap: 5px;
}

.port-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.port-dots span:nth-child(1) { background: #ff5f56; }
.port-dots span:nth-child(2) { background: #ffbd2e; }
.port-dots span:nth-child(3) { background: #27c93f; }

.port-url {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted-dark);
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 10px;
  border-radius: 6px;
}

.port-dot-live {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
}

.port-type-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--mint);
  letter-spacing: 0.04em;
}

/* Real image showcase container */
.port-img-wrap {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: #0b1324;
}

.port-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.port-card:hover .port-img {
  transform: scale(1.05);
}

.port-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 23, 41, 0) 50%, rgba(14, 23, 41, 0.65) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 14px 18px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.port-card:hover .port-img-overlay {
  opacity: 1;
}

.port-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(14, 23, 41, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 11.5px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.port-info {
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.port-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.port-industry {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cobalt);
  letter-spacing: 0.05em;
}

.port-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
  line-height: 1.3;
}

.port-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.port-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.port-tag-item {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
}

.port-card-footer {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.port-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--cobalt);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.port-cta-link:hover {
  color: var(--cobalt-dark);
  gap: 10px;
}

/* ---------- PRICING (HARGA) ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-card);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-card.pop {
  border-color: var(--cobalt);
  box-shadow: 0 22px 50px -18px rgba(47, 93, 255, 0.35);
  transform: translateY(-4px);
}

.badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--cobalt);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
}

.price-card h3 {
  font-size: 21px;
  margin-bottom: 6px;
}

.price-card .sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

.price-card .from-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--cobalt);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 4px;
}

.price-card .amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 2.4vw, 30px);
  margin-bottom: 24px;
  word-break: break-word;
}

.price-card .amount span {
  font-size: 13px;
  color: var(--muted);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
}

.price-list {
  flex: 1;
  margin-bottom: 28px;
}

.price-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  padding: 9px 0;
  color: var(--ink);
  border-bottom: 1px dashed var(--line);
}

.price-list li:last-child {
  border-bottom: none;
}

.price-list li .chk {
  color: var(--cobalt);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  flex-shrink: 0;
}

.price-disclaimer {
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 32px;
}

/* ---------- FAQ ACCORDION ---------- */
.faq-list {
  max-width: 780px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 4px;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s ease;
}

.faq-q:hover {
  color: var(--cobalt);
}

.faq-q .icon {
  font-family: 'JetBrains Mono', monospace;
  color: var(--cobalt);
  font-size: 20px;
  flex-shrink: 0;
  transition: transform .25s ease;
}

.faq-item.open .faq-q .icon {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-a p {
  padding: 0 4px 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 680px;
}

/* ---------- CTA FINAL & CONTACT FORM ---------- */
.cta-final {
  background:
    radial-gradient(ellipse 700px 400px at 90% 10%, rgba(255, 183, 74, 0.18), transparent 60%),
    radial-gradient(ellipse 600px 400px at 10% 90%, rgba(47, 93, 255, 0.2), transparent 60%),
    var(--ink);
  color: #fff;
  text-align: center;
  padding: 110px 0 96px;
}

.cta-final h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 16px;
  color: #fff;
}

.cta-final p {
  color: var(--muted-dark);
  font-size: 16.5px;
  max-width: 540px;
  margin: 0 auto 34px;
  line-height: 1.6;
}

.cta-final .hero-ctas {
  justify-content: center;
}

.contact-form-wrap {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
  background: var(--ink-card);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  padding: 34px 30px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.6);
}

.contact-form-wrap h4 {
  color: #fff;
  font-size: 16px;
}

.contact-form-wrap .field {
  margin-bottom: 18px;
}

.contact-form-wrap label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'JetBrains Mono', monospace;
}

.contact-form-wrap input,
.contact-form-wrap textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14.5px;
  padding: 12px 14px;
  border-radius: 9px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-form-wrap input::placeholder,
.contact-form-wrap textarea::placeholder {
  color: var(--muted-dark);
}

.contact-form-wrap textarea {
  min-height: 100px;
  resize: vertical;
}

.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus {
  outline: none;
  border-color: var(--cobalt);
  background: rgba(255, 255, 255, 0.1);
}

.contact-form-wrap button {
  width: 100%;
  margin-top: 8px;
}

.form-msg {
  margin-top: 14px;
  font-size: 13.5px;
  text-align: center;
  min-height: 18px;
}

.form-msg.ok { color: var(--mint); }
.form-msg.err { color: #FF8B95; }

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s cubic-bezier(0.2, 0.8, 0.2, 1), transform .6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- RESPONSIVE BREAKPOINTS ---------- */
@media (max-width: 980px) {
  section { padding: 84px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding-top: 130px; }
  .browser { max-width: 520px; }
  .tabs-wrap { grid-template-columns: 1fr; }
  .tab-list {
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-right: none;
    border-bottom: 1px solid var(--line);
    scrollbar-width: thin;
  }
  .tab-btn {
    border-left: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    padding: 16px 20px;
  }
  .tab-btn.active {
    border-left-color: transparent;
    border-bottom-color: var(--cobalt);
  }
  .tab-panels { padding: 34px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .port-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin: 0 auto; }
  .price-grid .price-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  section { padding: 64px 0; }
  .wrap { padding: 0 20px; }
  .hero { padding-top: 100px; padding-bottom: 74px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .hero-stats { gap: 20px 28px; }
  .hero-stats div strong { font-size: 22px; }
  .feat-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { padding: 26px 20px; }
  .port-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .price-grid .price-card:last-child { grid-column: auto; }
  .tab-panels { padding: 24px 18px; }
  .contact-form-wrap { padding: 24px 18px; }
  .cta-final { padding: 74px 0 60px; }
  .section-head { margin-bottom: 36px; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 26px; }
  .browser-body { padding: 20px 16px 24px; }
}