/* ============================================
   Inkurlink.id — Modern Landing Page
   ============================================ */

:root {
  --bg: #09090b;
  --bg-elevated: #111113;
  --bg-card: #18181b;
  --bg-muted: #f4f4f5;
  --surface: #ffffff;
  --text: #fafafa;
  --text-dark: #09090b;
  --text-muted: #a1a1aa;
  --text-muted-dark: #71717a;
  --border: rgba(255, 255, 255, 0.08);
  --border-dark: #e4e4e7;
  --accent: #6366f1;
  --accent-2: #8b5cf6;
  --accent-3: #06b6d4;
  --gradient: linear-gradient(135deg, #6366f1, #8b5cf6, #06b6d4);
  --gradient-text: linear-gradient(135deg, #818cf8, #a78bfa, #22d3ee);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.4);
  --radius: 20px;
  --radius-sm: 12px;
  --font: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Cursor glow ---- */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

body:hover .cursor-glow { opacity: 1; }

/* ---- Reveal animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="60"]  { transition-delay: 0.06s; }
.reveal[data-delay="80"]  { transition-delay: 0.08s; }
.reveal[data-delay="120"] { transition-delay: 0.12s; }
.reveal[data-delay="150"] { transition-delay: 0.15s; }
.reveal[data-delay="160"] { transition-delay: 0.16s; }
.reveal[data-delay="180"] { transition-delay: 0.18s; }
.reveal[data-delay="240"] { transition-delay: 0.24s; }
.reveal[data-delay="300"] { transition-delay: 0.30s; }
.reveal[data-delay="320"] { transition-delay: 0.32s; }
.reveal[data-delay="360"] { transition-delay: 0.36s; }
.reveal[data-delay="400"] { transition-delay: 0.40s; }
.reveal[data-delay="420"] { transition-delay: 0.42s; }

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s var(--ease);
  border: 1.5px solid transparent;
  cursor: pointer;
}

.btn-fill {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.35);
}

.btn-fill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.5);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: var(--border);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-alt {
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
  box-shadow: 0 4px 24px rgba(139, 92, 246, 0.35);
}

.btn-alt:hover {
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.5);
}

.btn-white {
  background: #fff;
  color: var(--text-dark);
  font-weight: 700;
}

.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: all 0.4s var(--ease);
}

.header.scrolled {
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  z-index: 101;
}

.brand-mark {
  width: 36px; height: 36px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}

.brand-logo {
  width: auto;
  height: 42px;
  max-width: 140px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.brand-name {
  line-height: 1.2;
}

.brand-tld {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav a:hover { color: var(--text); }

.nav-cta {
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--text) !important;
  padding: 9px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.14) !important;
}

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.menu-btn.active span:first-child { transform: rotate(45deg) translate(5px, 6px); }
.menu-btn.active span:last-child  { transform: rotate(-45deg) translate(5px, -6px); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 80px;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 500px; height: 500px;
  background: rgba(99, 102, 241, 0.18);
  top: -100px; right: -100px;
}

.hero-orb-2 {
  width: 400px; height: 400px;
  background: rgba(139, 92, 246, 0.14);
  bottom: 0; left: -80px;
  animation-delay: -3s;
}

.hero-orb-3 {
  width: 300px; height: 300px;
  background: rgba(6, 182, 212, 0.1);
  top: 40%; left: 40%;
  animation-delay: -5s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.05); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  padding: 6px 14px 6px 10px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.pill-dot {
  width: 7px; height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 32px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 24px;
}

.metric strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric span {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.metric-line {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* Hero media */
.hero-frame {
  position: relative;
}

.hero-frame > img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.float-card {
  position: absolute;
  background: rgba(24, 24, 27, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  animation: cardFloat 5s ease-in-out infinite;
}

.float-card-a { bottom: -18px; left: -24px; }
.float-card-b { top: 28px; right: -24px; animation-delay: -2.5s; }

.float-icon {
  width: 40px; height: 40px;
  background: rgba(99, 102, 241, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.float-card b { display: block; font-size: 0.88rem; }
.float-card small { font-size: 0.75rem; color: var(--text-muted); }

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

/* ---- Sections ---- */
.section {
  padding: 110px 0;
  position: relative;
}

.section-dark {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-muted {
  background: var(--bg-muted);
  color: var(--text-dark);
}

.section-muted .eyebrow { color: var(--accent); }
.section-muted .feat { background: var(--surface); border-color: var(--border-dark); }
.section-muted .feat p { color: var(--text-muted-dark); }
.section-muted .feat-n-alt { color: rgba(139, 92, 246, 0.2); }
.section-muted .feat:hover { border-color: rgba(99, 102, 241, 0.3); box-shadow: 0 8px 32px rgba(0,0,0,0.06); }

.section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-head p,
.split-text p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.section-muted .section-head p,
.section-muted .split-text p { color: var(--text-muted-dark); }

.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-2);
  margin-bottom: 12px;
}

.eyebrow-light { color: #a78bfa; }

/* ---- Bento grid ---- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.35s var(--ease);
}

.bento-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.bento-wide { grid-column: span 1; }

.bento-icon {
  width: 44px; height: 44px;
  background: rgba(99, 102, 241, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #818cf8;
  margin-bottom: 18px;
}

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

.bento-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.bento-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- Products ---- */
.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.product {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s var(--ease);
  display: block;
}

.product:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: var(--shadow-lg);
}

.product-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.product:hover .product-img img { transform: scale(1.06); }

.product-hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 9, 11, 0.85), transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  font-weight: 700;
  font-size: 0.92rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.product:hover .product-hover { opacity: 1; }

.product-info { padding: 28px; }

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  margin-bottom: 12px;
}

.tag-alt {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
}

.product-info h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.product-info > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.65;
}

.product-info li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 4px 0 4px 18px;
  position: relative;
}

.product-info li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #818cf8;
  font-weight: 600;
}

/* ---- Split layout ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 64px;
}

.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }

.split-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.split-text .btn { margin-top: 24px; }

.split-img img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.section-muted .split-img img {
  border-color: var(--border-dark);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

/* ---- Feature grid ---- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 26px 22px;
  transition: all 0.3s var(--ease);
}

.feat:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-3px);
}

.feat-n {
  font-size: 1.8rem;
  font-weight: 900;
  color: rgba(99, 102, 241, 0.15);
  line-height: 1;
  margin-bottom: 12px;
  display: block;
}

.feat-n-alt { color: rgba(6, 182, 212, 0.2); }

.feat h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feat p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- CTA ---- */
.cta {
  position: relative;
  text-align: center;
  padding: 80px 48px;
  border-radius: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
}

.cta-orb {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta h2 {
  position: relative;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.cta p {
  position: relative;
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.cta-btns {
  position: relative;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--border);
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 14px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.86rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--text); }

.footer-bar {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-grid, .split, .split-reverse { grid-template-columns: 1fr; gap: 48px; }
  .split-reverse { direction: ltr; }
  .hero-media { max-width: 540px; margin: 0 auto; }
  .bento { grid-template-columns: 1fr 1fr; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .menu-btn { display: flex; }

  .nav {
    position: fixed;
    inset: 0;
    background: rgba(9, 9, 11, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
  }

  .nav.open { opacity: 1; pointer-events: all; }
  .nav a { font-size: 1.1rem; }

  .product-row { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .float-card-a { left: 0; }
  .float-card-b { right: 0; }
  .cta { padding: 56px 24px; }
  .hero-metrics { flex-wrap: wrap; gap: 16px; }
  .metric-line { display: none; }
}

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