/* ==========================================================================
   DYSHORT — LANDING PAGE (index.css)
   ========================================================================== */

:root{
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  --ink: #0e1a15;           
  --ink-soft: #1c2b23;
  --body-text: #3f4a43;     
  --muted: #6d7871;         

  --bg: #faf9f5;            
  --surface: #ffffff;       
  --surface-alt: #f1f3ee;   
  --border: #e4e6df;
  --border-strong: #cfd3c7;

  --primary: #0f7a52;       
  --primary-dark: #0b5f3f;
  --primary-tint: #e6f3ec;
  --on-primary: #ffffff;

  --danger: #c1352b;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(14,26,21,.06), 0 1px 1px rgba(14,26,21,.04);
  --shadow-md: 0 10px 26px -10px rgba(14,26,21,.16);
  --shadow-lg: 0 30px 60px -20px rgba(14,26,21,.22);

  --container: 1160px;
  --ease: cubic-bezier(.22,.8,.28,1);
}

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

html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}
html{
  max-width:100%;width:100vw;}
body{
  font-family: var(--font-display);
  background: var(--bg);color: var(--body-text);max-width:100%;overflow-x:hidden;
  width:100vw;line-height:1.6;font-size:16px;-webkit-font-smoothing:antialiased;}
img, svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; -webkit-tap-highlight-color:transparent; }
button{ font:inherit; cursor:pointer; -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
ul{ list-style:none; }
p, h1, h2, h3, h4{ overflow-wrap:break-word; word-break:break-word; }
h1,h2,h3,h4{ color:var(--ink); font-weight:800; letter-spacing:-0.02em; line-height:1.15; }
:focus-visible{ outline:2px solid var(--primary); outline-offset:3px; border-radius:4px; }
.hero > div, .features-grid > *, .steps-grid > *, .testi-grid > *,
.explore-grid > *, .footer-grid > *, .mock-stats > *, .cta-row > *{ min-width:0; }
.wrap{ width:100%; max-width:var(--container); margin:0 auto; padding:0 24px; }
.eyebrow{
  display:inline-flex; align-items:center; justify-content: center; gap:8px;
  font-family:var(--font-mono); font-size:12.5px; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase; color:var(--primary);
  margin-bottom:14px;
}
.eyebrow::before{ content:""; width:16px; height:1.5px; background:var(--primary); display:inline-block; }

.section-head{ max-width:640px; margin:0 auto 48px; text-align:center; }
.section-head h2{ font-size:clamp(26px,3.6vw,38px); margin-bottom:14px; }
.section-head p{ color:var(--muted); font-size:16px; }

section{ padding:88px 0; }

[data-reveal]{ opacity:0; transform:translateY(16px); transition:opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].in-view{ opacity:1; transform:none; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  height:48px; padding:0 24px; border-radius:var(--radius-pill);
  font-weight:700; font-size:14.5px; border:1px solid transparent;
  transition:transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
  white-space:nowrap;
}
.btn svg{ width:17px; height:17px; }
.btn:active{ transform:scale(.97); }

.btn-primary{ background:var(--primary); color:var(--on-primary); box-shadow:0 8px 16px -8px rgba(15,122,82,.55); }
.btn-primary:hover{ background:var(--primary-dark); transform:translateY(-1px); }

.btn-ghost{ background:transparent; color:var(--ink); border-color:var(--border-strong); }
.btn-ghost:hover{ border-color:var(--primary); color:var(--primary); }

.btn-text{ height:auto; padding:0; color:var(--ink); font-weight:700; }
.btn-text:hover{ color:var(--primary); }

.btn-on-dark{ background:var(--primary); color:var(--on-primary); box-shadow:0 8px 16px -8px rgba(0,0,0,.45); }
.btn-on-dark:hover{ background:#149a67; transform:translateY(-1px); }

.btn-ghost-on-dark{ background:transparent; color:#fff; border-color:rgba(255,255,255,.25); }
.btn-ghost-on-dark:hover{ border-color:#fff; }

.btn-block{ width:100%; }
.btn-sm{ height:40px; padding:0 18px; font-size:13.5px; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav{
  position:sticky; top:0; z-index:600; 
  background:rgba(250,249,245,.86);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid transparent;
  transition:border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.nav.is-scrolled{ border-color:var(--border); box-shadow:0 6px 20px -14px rgba(14,26,21,.3); }
.nav-inner{
  width:100%; max-width:var(--container); margin:0 auto; padding:0 24px;
  height:74px; display:flex; align-items:center; justify-content:space-between; gap:24px;
}
.brand{ display:flex; align-items:center; gap:10px; font-weight:800; font-size:20px; color:var(--ink); flex-shrink:0; }
.brand-mark{
  width:34px; height:34px; border-radius:10px; background:var(--ink);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.brand-mark svg{ width:18px; height:18px; color:var(--primary); }
.brand-word{ white-space:nowrap; }
.brand b{ color:var(--primary); font-weight:800; }

.nav-links{ display:flex; align-items:center; gap:36px; }
.nav-links a{
  position:relative; font-size:14.5px; font-weight:600; color:var(--body-text);
  padding:6px 0; transition:color .2s;
}
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:0; height:2px; width:0;
  background:var(--primary); transition:width .22s var(--ease);
}
.nav-links a:hover{ color:var(--ink); }
.nav-links a:hover::after{ width:100%; }

.nav-actions{ display:flex; align-items:center; gap:10px; flex-shrink:0; }

.nav-toggle{
  display:none; width:40px; height:40px; border-radius:10px; border:1px solid var(--border-strong);
  background:var(--surface); align-items:center; justify-content:center; flex-shrink:0;
  flex-direction:column; gap:4px; position:relative; z-index:602;
}
.nav-toggle span{
  display:block; width:16px; height:2px; border-radius:2px; background:var(--ink);
  transition:transform .25s var(--ease), opacity .2s var(--ease), width .2s var(--ease);
}
.nav-toggle.is-open span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity:0; }
.nav-toggle.is-open span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }
.drawer-backdrop{
  position:fixed; left:0; right:0; bottom:0; top:74px; background:rgba(14,26,21,.32); z-index:598;
  opacity:0; visibility:hidden; transition:opacity .22s var(--ease);
}
.drawer-backdrop.is-open{ opacity:1; visibility:visible; }
.drawer{
  position:fixed; top:86px; left:50%; right:auto; 
  width:calc(100vw - 32px); max-width:320px;
  max-height:calc(100vh - 106px); overflow-y:auto;
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg); z-index:599;
  padding:14px; display:flex; flex-direction:column; gap:4px;
  opacity:0; visibility:hidden; 
  transform:translate(-50%, -8px);
  transition:opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.drawer.is-open{ 
  opacity:1; visibility:visible; 
  transform:translate(-50%, 0); 
}
.drawer a{
  display:block; padding:13px 16px; font-weight:600; font-size:14.5px; color:var(--ink);
  background:var(--surface-alt); border-radius:12px; transition:background .18s, color .18s;
  text-align: center;}
.drawer a:hover{ background:var(--primary-tint); color:var(--primary); }
.drawer hr{ border:0; border-top:1px solid var(--border); margin:8px 6px; }
.drawer .btn{ margin-top:2px; }
@media (max-width:960px){
  .nav-links{ display:none; }
  .nav-toggle{ display:flex; }
  .nav-actions .btn-ghost, .nav-actions .btn-primary { display:none; }
}
@media (max-width:360px){
  .drawer{ width:calc(100vw - 24px); top:80px; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  padding:88px 0 64px;
  display:grid; grid-template-columns:1.05fr 1fr; gap:56px; align-items:center;
}
.hero h1{ font-size:clamp(34px,4.6vw,54px); margin-bottom:20px; }
.hero h1 em{ font-style:normal; color:var(--primary); }
.hero-sub{ font-size:17.5px; color:var(--muted); max-width:490px; margin-bottom:32px; }
.hero-cta{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; margin-bottom:28px; }
.hero-trust{ display:flex; align-items:center; gap:18px; flex-wrap:wrap; font-size:13.5px; color:var(--muted); font-weight:600; }
.hero-trust span{ display:flex; align-items:center; gap:7px; }
.hero-trust svg{ width:15px; height:15px; color:var(--primary); }

.mock{
  border:1px solid var(--border); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg); overflow:hidden; transform:rotate(1deg);
}

.quick-shorten{
  display:flex; align-items:center; gap:8px;
  background:var(--surface); border:1.5px solid var(--border); border-radius:var(--radius-pill);
  padding:6px 6px 6px 22px; margin-bottom:14px; box-shadow:var(--shadow-sm);
  transition:border-color .2s, box-shadow .2s;
}
.quick-shorten:focus-within{ border-color:var(--primary); box-shadow:0 0 0 4px var(--primary-tint); }
.quick-shorten-input{
  flex:1; min-width:0; border:none; background:transparent; outline:none;
  font-size:14.5px; color:var(--ink); padding:12px 0;
}
.quick-shorten-input::placeholder{ color:var(--muted); }
.quick-shorten-btn{
  flex-shrink:0; border:none; cursor:pointer; white-space:nowrap;
  background:var(--primary); color:var(--on-primary); font-weight:700; font-size:13.5px;
  padding:13px 22px; border-radius:var(--radius-pill); transition:background .2s, transform .2s;
}
.quick-shorten-btn:hover{ background:#149a67; transform:translateY(-1px); }
.quick-shorten-error{
  color:var(--danger); font-size:12.5px; font-weight:600; margin:-4px 4px 14px 22px;
}
@media (max-width:520px){
  .quick-shorten{ flex-direction:column; align-items:stretch; padding:14px; border-radius:var(--radius-lg); gap:10px; }
  .quick-shorten-input{ padding:6px 8px; }
  .quick-shorten-btn{ width:100%; padding:13px; }
}
.mock-bar{
  display:flex; align-items:center; gap:10px; padding:14px 16px;
  background:var(--surface-alt); border-bottom:1px solid var(--border);
}
.mock-dots{ display:flex; gap:6px; }
.mock-dots span{ width:8px; height:8px; border-radius:50%; background:var(--border-strong); }
.mock-url{
  flex:1; display:flex; align-items:center; gap:8px;
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-pill);
  padding:7px 14px; font-family:var(--font-mono); font-size:12.5px; color:var(--body-text);
  min-width:0; white-space:nowrap; overflow:hidden;
}
.mock-url svg{ width:12px; height:12px; color:var(--primary); flex-shrink:0; }
.mock-body{ padding:22px; display:flex; flex-direction:column; gap:20px; text-align:left; }
.mock-link-row{
  display:flex; align-items:center; gap:12px; padding:14px; border:1px solid var(--border);
  border-radius:var(--radius-md); background:var(--surface-alt);
}
.mock-link-icon{ width:36px; height:36px; border-radius:10px; background:var(--primary-tint); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.mock-link-icon svg{ width:17px; height:17px; color:var(--primary); }
.mock-link-text{ flex:1; min-width:0; }
.mock-link-text .slug{ font-family:var(--font-mono); font-size:13.5px; color:var(--ink); font-weight:700; }
.mock-link-text .dest{ font-size:12px; color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mock-badge{
  font-family:var(--font-mono); font-size:10.5px; font-weight:700; letter-spacing:.04em;
  color:var(--primary); background:var(--primary-tint); padding:4px 9px; border-radius:var(--radius-pill); flex-shrink:0;
}
.mock-badge-live{ display:inline-flex; align-items:center; gap:5px; }
.mock-badge-live .live-dot{
  width:6px; height:6px; border-radius:50%; background:var(--primary);
  animation: mockLivePulse 1.6s ease-in-out infinite;
}
@keyframes mockLivePulse{
  0%, 100% { opacity:1; transform:scale(1); }
  50% { opacity:.35; transform:scale(.7); }
}
.mock-chart-head{ display:flex; align-items:baseline; justify-content:space-between; margin-bottom:12px; }
.mock-chart-head span:first-child{ font-size:12.5px; font-weight:700; color:var(--ink); }
.mock-chart-head span:last-child{ font-size:11.5px; color:var(--muted); font-family:var(--font-mono); }
.mock-chart{ display:flex; align-items:flex-end; gap:8px; height:64px; }
.mock-chart i{ flex:1; background:linear-gradient(180deg,var(--primary),var(--primary-dark)); border-radius:5px 5px 2px 2px; opacity:.9; }
.mock-stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.mock-stats div{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-sm); padding:10px 12px; text-align:center; }
.mock-stats b{ display:block; font-size:16px; color:var(--ink); font-family:var(--font-mono); }
.mock-stats span{ font-size:11px; color:var(--muted); }

@media (max-width:960px){
  .hero{ grid-template-columns:1fr; padding-top:56px; text-align:center; }
  .hero-sub{ margin-left:auto; margin-right:auto; }
  .hero-cta,.hero-trust{ justify-content:center; }
  .mock{ transform:none; max-width:460px; margin:0 auto; }
}
@media (max-width:520px){
  .wrap{ padding: 0 16px; } 
  .hero h1{ font-size:clamp(22px, 7vw, 32px); } 
  .hero-sub{ font-size:15px; }
  .section-head h2{ font-size:clamp(22px,6vw,28px); }
}

/* ==========================================================================
   LOGO STRIP & FEATURES & DLL
   ========================================================================== */
.strip{ padding:26px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.strip-inner{ display:flex; align-items:center; justify-content:center; gap:14px; flex-wrap:wrap; text-align:center; }
.strip-inner p{ font-size:13.5px; color:var(--muted); font-weight:600; }

.feature-card{
  padding:30px; transition:transform .22s var(--ease);
  text-align: center; display: flex;
  flex-direction: column;align-items: center;}
.feature-card:hover{ transform:translateY(-4px); }
.feature-icon{ width:46px; height:46px; border-radius:12px; background:var(--primary-tint); display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.feature-icon svg{ width:22px; height:22px; color:var(--primary); }
.feature-card h3{ font-size:18px; margin-bottom:8px; }
.feature-card p{ font-size:14.5px; color:var(--muted); line-height:1.65; }
/* ==========================================================================
   CAROUSEL (fitur, cara kerja, testimoni) — geser ke samping dengan
   scroll-snap native + panah/dot navigasi lewat JS.
   ========================================================================== */
.carousel{ position:relative; }
.carousel-arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  width:44px; height:44px; border-radius:50%; border:1px solid var(--border);
  background:var(--surface); box-shadow:var(--shadow-sm); cursor:pointer;
  display:flex; align-items:center; justify-content:center; z-index:5;
  transition:opacity .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.carousel-arrow svg{ width:18px; height:18px; color:var(--ink); }
.carousel-arrow:hover{ box-shadow:var(--shadow-md); transform:translateY(-50%) scale(1.06); }
.carousel-arrow:disabled{ opacity:.3; cursor:default; pointer-events:none; }
.carousel-prev{ left:-10px; }
.carousel-next{ right:-10px; }
@media (max-width:860px){ .carousel-arrow{ display:none; } }

.carousel-dots{ display:flex; gap:8px; justify-content:center; margin-top:22px; }
.carousel-dots button{
  width:8px; height:8px; border-radius:50%; border:none; padding:0; background:var(--border-strong);
  cursor:pointer; transition:background .2s var(--ease), transform .2s var(--ease); flex-shrink:0;
}
.carousel-dots button.is-active{ background:var(--primary); transform:scale(1.35); }

.features-grid{
  display:grid; grid-template-columns:repeat(4, 1fr); gap:24px;
}
.steps-grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; position:relative;
}
.testi-grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:24px;
}
@media (max-width:960px){
  .features-grid{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width:720px){
  .features-grid, .steps-grid, .testi-grid{ grid-template-columns:1fr; }
}

.step{ 
  padding:28px; 
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-num{
  width:38px; height:38px; border-radius:10px; background:var(--ink); color:#fff;
  display:flex; align-items:center; justify-content:center; font-family:var(--font-mono);
  font-weight:700; font-size:14px; margin-bottom:18px;
}
.step h3{ font-size:16.5px; margin-bottom:8px; }
.step p{ font-size:14px; color:var(--muted); line-height:1.65; }
.testi-card{
  padding:26px; display:flex; flex-direction:column; gap:16px;
  text-align: center;
  align-items: center;
}
.testi-stars{ display:flex; gap:3px; justify-content:center; }
.testi-stars svg{ width:15px; height:15px; color:var(--primary); }
.testi-quote{ font-size:14.5px; color:var(--body-text); line-height:1.7; }
.testi-person{ 
  display:flex; align-items:center; flex-direction:column; gap:10px; 
  margin-top:auto; padding-top:14px; border-top:1px solid var(--border); width: 100%;
}
.testi-avatar{
  width:38px; height:38px; border-radius:50%; background:var(--ink); color:#fff;
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:13px; flex-shrink:0;
}
.testi-name{ font-weight:700; font-size:13.5px; color:var(--ink); }
.testi-role{ font-size:12px; color:var(--muted); }
.explore-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.explore-card{
  padding:32px;
  display:flex; flex-direction:column; gap:14px;
  text-align: center;
  align-items: center;
}
.explore-card .feature-icon{ margin-bottom:2px; }
.explore-card h3{ font-size:19px; }
.explore-card p{ font-size:14.5px; color:var(--muted); line-height:1.65; flex:1; }
.explore-card a.btn { align-self: center !important; }
@media (max-width:760px){ .explore-grid{ grid-template-columns:1fr; } }
.dark-zone{ background:#0a0f0c; color:#cdd6d0; }
.cta{ padding:44px 0 36px; text-align:center; }
.cta h2{ color:#fff; font-size:clamp(18px, 2.6vw, 24px); margin-bottom:10px; }
.cta p{ color:#a9b6ae; font-size:13px; max-width:460px; margin:0 auto 18px; }
.cta-row{ display:flex; align-items:center; justify-content:center; gap:12px; flex-wrap:wrap; }
.footer{ padding:56px 0 28px; border-top:1px solid rgba(255,255,255,.08); text-align: center; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; margin-bottom:44px; }
.footer-brand{ display:flex; align-items:center; justify-content:center; gap:10px; font-weight:800; font-size:18px; color:#fff; margin-bottom:14px; }
.footer-brand .brand-mark{ background:rgba(255,255,255,.08); }
.footer-brand .brand-word{ white-space:nowrap; }
.footer-brand b{ color:var(--primary); }
.footer-desc{ font-size:13.5px; line-height:1.75; color:#93a099; max-width:280px; margin:0 auto 20px; }
.footer-social{ display:flex; gap:10px; justify-content:center; }
.footer-social a{
  width:36px; height:36px; border-radius:9px; border:1px solid rgba(255,255,255,.12);
  display:flex; align-items:center; justify-content:center; transition:border-color .2s, transform .2s;
}
.footer-social svg{ width:16px; height:16px; color:#cdd6d0; }
.footer-social a:hover{ border-color:var(--primary); transform:translateY(-2px); }

.footer-col h4{ color:#fff; font-size:12.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; margin-bottom:16px; }
.footer-col a{ display:block; font-size:14px; color:#a9b6ae; padding:6px 0; transition:color .2s; }
.footer-col a:hover{ color:#fff; }
.footer-bottom{
  padding-top:24px; border-top:1px solid rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center; flex-direction:column; gap:12px;
  font-size:13px; color:#7f8c85; text-align: center;
}
.footer-bottom a{ color:#7f8c85; }
.footer-bottom a:hover{ color:#fff; }
@media (max-width:520px){
  .cta h2{ font-size:clamp(18px, 5vw, 24px); }
  .cta p{ font-size: 13.5px; }
}
@media (max-width:860px){
  .footer-grid{ grid-template-columns:1fr 1fr; gap:32px; }
}
@media (max-width:560px){
  .footer-grid{ grid-template-columns:1fr; }
  .footer-bottom{ flex-direction:column; align-items:center; }
  section{ padding:64px 0; }
  .cta{ padding:64px 0 48px; }
}