/* =========================================
   ONELYNK — PREMIUM HOMEPAGE CSS
   Modern · Elegant · Original
   ========================================= */

/* ---- VARIABLES ---- */
:root {
  --c-bg: #f8f8fb;
  --c-bg-alt: #f2f2f8;
  --c-surface: #ffffff;
  --c-surface-raised: #ffffff;
  --c-border: rgba(0, 0, 0, 0.08);
  --c-border-mid: rgba(0, 0, 0, 0.12);

  --c-text: #0d0d12;
  --c-text-soft: #6b6b80;
  --c-text-muted: #9999b0;

  --c-blue: #1a56f0;
  --c-blue-deep: #0f3dcc;
  --c-blue-light: rgba(26, 86, 240, 0.08);
  --c-blue-glow: rgba(26, 86, 240, 0.18);

  --c-dark: #0a0a0f;
  --c-dark-surface: #111118;
  --c-dark-border: rgba(255, 255, 255, 0.08);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-blue: 0 8px 32px rgba(26, 86, 240, 0.28);

  --max: 1200px;
  --nav-h: 68px;

  --font-display: "Sora", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

/* ---- RESET ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}
ul {
  list-style: none;
}

/* ---- CONTAINER ---- */
.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 100px;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
}
.btn svg {
  flex: none;
  transition: transform 0.2s ease;
}
.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--c-blue);
  color: #fff;
  padding: 13px 26px;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: var(--c-blue-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(26, 86, 240, 0.38);
}

.btn-ghost {
  color: var(--c-text-soft);
  padding: 13px 24px;
  border: 1.5px solid var(--c-border-mid);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: var(--c-blue);
  color: var(--c-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-ghost-light {
  color: rgba(255, 255, 255, 0.7);
  padding: 13px 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}
.btn-ghost-light:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline {
  color: var(--c-text);
  padding: 13px 26px;
  border: 1.5px solid var(--c-border-mid);
}
.btn-outline:hover {
  border-color: var(--c-blue);
  color: var(--c-blue);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.82rem;
}
.btn-lg {
  padding: 15px 30px;
  font-size: 0.95rem;
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  top: 10px;
}

.nav-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 62px;
  padding: 8px 10px 8px 18px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  box-shadow:
    0 18px 48px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    min-height 0.25s ease;
}
.navbar.scrolled .nav-inner {
  min-height: 58px;
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 14px 36px rgba(15, 23, 42, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-text);
  letter-spacing: -0.01em;
  justify-self: start;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-self: center;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-text-soft);
  padding: 7px 14px;
  border-radius: 100px;
  transition: all 0.18s;
}
.nav-links a:hover {
  color: var(--c-text);
  background: rgba(0, 0, 0, 0.05);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}
.nav-login {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-text-soft);
  transition: color 0.18s;
}
.nav-login:hover {
  color: var(--c-text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
  justify-self: end;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.nav-toggle.open span:first-child {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.open span:last-child {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 88px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  padding: 20px 24px 28px;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--c-text-soft);
  transition: all 0.15s;
}
.mobile-menu a:hover {
  color: var(--c-text);
  background: rgba(0, 0, 0, 0.04);
}
.mobile-menu .btn-primary {
  margin-top: 12px;
  text-align: center;
  justify-content: center;
  border-radius: 100px;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(26, 86, 240, 0.18) 0%,
    transparent 70%
  );
  top: -100px;
  right: -100px;
}
.glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.12) 0%,
    transparent 70%
  );
  bottom: 0;
  left: -80px;
}
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 86, 240, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 86, 240, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(
    ellipse 80% 60% at 60% 40%,
    black 20%,
    transparent 80%
  );
}

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

/* Hero Text */
.hero-text {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-blue);
  background: var(--c-blue-light);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(26, 86, 240, 0.15);
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}
.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--c-blue);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--c-text);
  margin-bottom: 20px;
}
.headline-gradient {
  background: linear-gradient(
    135deg,
    var(--c-blue) 0%,
    #6366f1 60%,
    #8b5cf6 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--c-text-soft);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 32px;
  font-weight: 400;
}

/* Username Checker */
.username-checker {
  margin-bottom: 28px;
  max-width: 410px;
}
.checker-field {
  display: flex;
  align-items: center;
  background: var(--c-surface);
  border: 1.5px solid var(--c-border-mid);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  max-width: 410px;
}
.checker-field:focus-within {
  border-color: var(--c-blue);
  box-shadow:
    0 0 0 4px var(--c-blue-light),
    var(--shadow);
}
.checker-prefix {
  padding: 0 1px 0 7px;
  font-size: 0.92rem;
  color: var(--c-text-muted);
  white-space: nowrap;
  height: 56px;
  display: flex;
  align-items: center;
  background: transparent;
  flex: none;
  font-weight: 600;
}
.checker-field input {
  flex: 1;
  min-width: 0;
  height: 56px;
  padding: 0 1px 0 0;
  font-size: 0.98rem;
  color: var(--c-text);
  background: transparent;
  min-inline-size: 78px;
}
.checker-field input::placeholder {
  color: var(--c-text-muted);
}
.checker-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 40px;
  margin: 5px 4px 5px -18px;
  padding: 0 10px;
  background: var(--c-blue);
  color: #fff;
  border-radius: 9px;
  font-size: 0.84rem;
  font-weight: 600;
  font-family: var(--font-display);
  flex: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.checker-btn:hover {
  background: var(--c-blue-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 86, 240, 0.3);
}
.checker-btn svg {
  transition: transform 0.2s;
}
.checker-btn:hover svg {
  transform: translateX(2px);
}

.checker-note {
  min-height: 20px;
  margin-top: 10px;
  font-size: 0.84rem;
  padding-left: 4px;
}
.checker-note.is-success {
  color: #059669;
}
.checker-note.is-error {
  color: #dc2626;
}
.checker-note.is-loading {
  color: var(--c-blue);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
}
.proof-avatars {
  display: flex;
}
.proof-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}
.proof-avatar:first-child {
  margin-left: 0;
}
.proof-text {
  font-size: 0.84rem;
  color: var(--c-text-soft);
}
.proof-text strong {
  color: var(--c-text);
  font-weight: 600;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 660px;
}

/* --- RUANG FOTO PLACEHOLDER --- */
.image-placeholder-box {
  width: 100%;
  max-width: 340px;
  height: 600px;
  background: rgba(255, 255, 255, 0.4);
  border: 2px dashed var(--c-blue-light);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.image-placeholder-box:hover {
  border-color: var(--c-blue);
  background: rgba(255, 255, 255, 0.8);
}
.placeholder-content {
  text-align: center;
  color: var(--c-text-muted);
  padding: 20px;
}
.placeholder-content svg {
  margin-bottom: 16px;
  color: var(--c-blue);
  opacity: 0.7;
}
.placeholder-content span {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--c-text);
  margin-bottom: 8px;
}
.placeholder-content p {
  font-size: 0.75rem;
}

/* Phone Mockup */
.phone-mockup {
  position: relative;
  z-index: 2;
}
.phone-frame {
  width: 280px;
  background: linear-gradient(160deg, #1a1a28 0%, #0d0d18 100%);
  border-radius: 38px;
  padding: 16px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 32px 80px rgba(0, 0, 0, 0.4),
    0 8px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: float-phone 6s ease-in-out infinite;
}
@keyframes float-phone {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}
.phone-notch {
  width: 80px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin: 0 auto 12px;
}
.phone-screen {
  background: linear-gradient(160deg, #0f1117 0%, #161824 100%);
  border-radius: 28px;
  padding: 24px 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.profile-card {
  text-align: center;
  margin-bottom: 18px;
}
.profile-avatar {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}
.avatar-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a56f0 0%, #6366f1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
}
.avatar-verified {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 18px;
  height: 18px;
  background: var(--c-blue);
  border-radius: 50%;
  border: 2px solid #0f1117;
  font-size: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.profile-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}
.profile-bio {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}
.profile-tags {
  display: flex;
  gap: 4px;
  justify-content: center;
  flex-wrap: wrap;
}
.profile-tags span {
  font-size: 0.55rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.6);
  padding: 3px 8px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.link-list {
  display: grid;
  gap: 7px;
}
.link-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.15s;
}
.link-item:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateX(2px);
}
.link-item > svg {
  margin-left: auto;
  opacity: 0.4;
}
.link-featured {
  background: rgba(26, 86, 240, 0.2);
  border-color: rgba(26, 86, 240, 0.3);
}
.link-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0;
}
.link-icon-blue {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
}
.link-icon-pink {
  background: linear-gradient(135deg, #ec4899, #be185d);
}
.link-icon-green {
  background: linear-gradient(135deg, #10b981, #047857);
}
.link-icon-yellow {
  background: linear-gradient(135deg, #f59e0b, #b45309);
}

.phone-analytics-mini {
  margin-top: 14px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
}
.analytics-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
}
.analytics-label {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.45);
}
.analytics-value {
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}
.analytics-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 2px;
  overflow: hidden;
}
.analytics-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--c-blue), #6366f1);
  border-radius: 2px;
}

/* Floating Cards */
.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  white-space: nowrap;
}
.float-card-icon {
  font-size: 1.1rem;
  flex: none;
}
.float-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.2;
}
.float-label {
  font-size: 0.68rem;
  color: var(--c-text-soft);
  margin-top: 1px;
}

.float-analytics {
  top: 30px;
  right: -30px;
  animation: float-card-1 5s ease-in-out infinite;
}
.float-visitor {
  bottom: 90px;
  left: -40px;
  animation: float-card-2 5.5s ease-in-out infinite 0.8s;
}
.float-ai {
  bottom: 20px;
  right: -20px;
  max-width: 200px;
  animation: float-card-3 6s ease-in-out infinite 0.3s;
}
.float-ai .float-card-info {
  max-width: 150px;
}
.float-ai-icon {
  font-size: 0.9rem;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--c-blue), #6366f1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex: none;
}

@keyframes float-card-1 {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.5deg);
  }
}
@keyframes float-card-2 {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(6px) rotate(-0.5deg);
  }
}
@keyframes float-card-3 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* =========================================
   TRUST SECTION
   ========================================= */
.trust-section {
  padding: 40px 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  background: var(--c-surface);
  overflow: hidden;
}
.trust-label {
  text-align: center;
  font-size: 0.78rem;
  color: var(--c-text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.trust-marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}
.trust-marquee {
  display: flex;
  gap: 20px;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.trust-marquee span {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--c-text-soft);
  white-space: nowrap;
}
.trust-dot {
  color: var(--c-border-mid) !important;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* --- HORIZONTAL SHOWCASE SCROLLER --- */
.showcase-section {
  padding: 80px 0;
  background: var(--c-bg-alt);
  overflow: hidden;
}
.scroller-wrapper {
  width: 100%;
  padding: 20px 0 40px;
  cursor: grab;
}
.scroller-wrapper:active {
  cursor: grabbing;
}
.scroller-track {
  display: flex;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2 + 24px));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.scroller-track::-webkit-scrollbar {
  display: none;
}
.showcase-card {
  flex: 0 0 340px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  scroll-snap-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.showcase-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--c-blue-light);
}
.sc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.sc-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.sc-info h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-text);
}
.sc-info p {
  font-size: 0.75rem;
  color: var(--c-blue);
  font-weight: 500;
}
.sc-quote {
  font-size: 0.9rem;
  color: var(--c-text-soft);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .showcase-card {
    flex: 0 0 280px;
    padding: 20px;
  }
}

/* =========================================
   SECTION COMMONS
   ========================================= */
.section-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-blue);
  background: var(--c-blue-light);
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid rgba(26, 86, 240, 0.15);
  margin-bottom: 18px;
}
.badge-dark {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.15);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--c-text);
  margin-bottom: 16px;
}
.section-title span {
  background: linear-gradient(135deg, var(--c-blue) 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-title.light {
  color: #fff;
}
.section-title.light span {
  background: linear-gradient(135deg, #93c5fd 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  font-size: 1rem;
  color: var(--c-text-soft);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}
.section-sub.light {
  color: rgba(255, 255, 255, 0.55);
}

/* =========================================
   FEATURES SECTION
   ========================================= */
.features-section {
  padding: 100px 0;
  background: var(--c-surface);
}

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--c-border);
}
.feature-split:last-of-type {
  border-bottom: none;
  margin-bottom: 80px;
}
.feature-split-reverse {
  direction: rtl;
}
.feature-split-reverse > * {
  direction: ltr;
}

.feature-number {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-blue);
  margin-bottom: 14px;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--c-text);
  margin-bottom: 16px;
}
.feature-desc {
  font-size: 0.95rem;
  color: var(--c-text-soft);
  line-height: 1.7;
  margin-bottom: 24px;
}
.feature-list {
  display: grid;
  gap: 10px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--c-text-soft);
}
.feature-list li::before {
  content: "";
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='7.5' fill='%23dcfce7' stroke='%2316a34a' stroke-width='0.5'/%3E%3Cpath d='M5 8l2 2 4-4' stroke='%2316a34a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/contain no-repeat;
  flex: none;
}

/* Link Manager Preview */
.link-manager-preview {
  background: var(--c-surface);
  border: 1.5px solid var(--c-border-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.lm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--c-border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-text-soft);
}
.lm-add {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--c-blue);
  background: var(--c-blue-light);
  padding: 5px 12px;
  border-radius: 100px;
  font-family: var(--font-display);
  cursor: pointer;
}
.lm-items {
  padding: 8px;
}
.lm-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
  cursor: grab;
}
.lm-item:hover {
  background: var(--c-bg);
}
.lm-drag {
  color: var(--c-text-muted);
  font-size: 0.75rem;
  cursor: grab;
  letter-spacing: -2px;
}
.lm-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  flex: none;
}
.lm-icon.ig {
  background: linear-gradient(
    135deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
}
.lm-icon.tk {
  background: #000;
}
.lm-icon.shop {
  background: #00af87;
}
.lm-icon.wa {
  background: #25d366;
}
.lm-info {
  flex: 1;
  min-width: 0;
}
.lm-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-text);
}
.lm-url {
  display: block;
  font-size: 0.7rem;
  color: var(--c-text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lm-stats {
  font-size: 0.72rem;
  color: var(--c-text-soft);
  white-space: nowrap;
}
.lm-toggle {
  width: 34px;
  height: 20px;
  background: var(--c-bg-alt);
  border-radius: 100px;
  position: relative;
  flex: none;
  border: 1px solid var(--c-border);
  cursor: pointer;
  transition: background 0.2s;
}
.lm-toggle::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background: white;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.lm-toggle.on {
  background: var(--c-blue);
  border-color: var(--c-blue);
}
.lm-toggle.on::after {
  transform: translateX(14px);
}
.lm-item-off {
  opacity: 0.5;
}

/* Analytics Preview */
.analytics-preview {
  background: var(--c-dark);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}
.ap-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.ap-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}
.ap-period {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
}
.ap-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.ap-stat {
  text-align: center;
}
.ap-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.ap-label {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 3px;
}
.ap-change {
  font-size: 0.68rem;
  font-weight: 700;
  margin-top: 4px;
}
.ap-change.positive {
  color: #34d399;
}

.ap-chart {
  margin-bottom: 20px;
}
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
}
.chart-bar {
  flex: 1;
  display: flex;
  align-items: flex-end;
  border-radius: 4px 4px 0 0;
  overflow: hidden;
}
.chart-bar-fill {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px 4px 0 0;
}
.chart-bar-fill.active {
  background: var(--c-blue);
}
.chart-labels {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.chart-labels span {
  flex: 1;
  text-align: center;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.3);
}

.ap-top-links {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
}
.ap-top-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ap-top-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.ap-top-item span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}
.ap-top-item span:last-child {
  color: rgba(255, 255, 255, 0.4);
  min-width: 28px;
  text-align: right;
}
.ap-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 2px;
  overflow: hidden;
}
.ap-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--c-blue), #6366f1);
  border-radius: 2px;
}

/* Feature Cards */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feat-card {
  background: var(--c-bg);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.22s ease;
}
.feat-card:hover {
  border-color: var(--c-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  background: var(--c-surface);
}
.feat-icon {
  width: 40px;
  height: 40px;
  background: var(--c-blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-blue);
  margin-bottom: 14px;
}
.feat-card h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 8px;
}
.feat-card p {
  font-size: 0.84rem;
  color: var(--c-text-soft);
  line-height: 1.6;
}

/* =========================================
   AI SECTION
   ========================================= */
.ai-section {
  position: relative;
  background: var(--c-dark);
  padding: 100px 0;
  overflow: hidden;
}
.ai-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ai-glow {
  position: absolute;
  width: 800px;
  height: 600px;
  background: radial-gradient(
    ellipse,
    rgba(26, 86, 240, 0.15) 0%,
    transparent 65%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.ai-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ai-features {
  margin-top: 36px;
  display: grid;
  gap: 24px;
}
.ai-feat {
  display: flex;
  gap: 14px;
}
.ai-feat-icon {
  width: 24px;
  height: 24px;
  color: var(--c-blue);
  font-size: 0.75rem;
  flex: none;
  margin-top: 2px;
  background: rgba(26, 86, 240, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-feat strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.ai-feat p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  margin: 0;
}

/* AI Panel */
.ai-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}
.ai-panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}
.ai-panel-dot {
  width: 8px;
  height: 8px;
  background: var(--c-blue);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(26, 86, 240, 0.6);
  animation: pulse-dot 2s infinite;
}
.ai-chat {
  padding: 20px;
  display: grid;
  gap: 14px;
}
.ai-msg {
  max-width: 85%;
}
.ai-msg-user {
  background: var(--c-blue);
  color: #fff;
  padding: 10px 14px;
  border-radius: 14px 14px 4px 14px;
  font-size: 0.84rem;
  line-height: 1.5;
  margin-left: auto;
}
.ai-msg-bot {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 14px;
  border-radius: 4px 14px 14px 14px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}
.ai-typing-indicator {
  display: flex;
  gap: 4px;
  align-items: center;
  height: 16px;
}
.ai-typing-indicator span {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: typing-bounce 1.2s ease-in-out infinite;
}
.ai-typing-indicator span:nth-child(2) {
  animation-delay: 0.15s;
}
.ai-typing-indicator span:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes typing-bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-4px);
    opacity: 1;
  }
}
.ai-response {
  display: none;
}

.ai-suggestions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ai-suggestion {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--c-blue);
  background: rgba(26, 86, 240, 0.12);
  border: 1px solid rgba(26, 86, 240, 0.2);
  padding: 5px 12px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font-display);
}
.ai-suggestion:hover {
  background: rgba(26, 86, 240, 0.22);
}

.ai-input-area {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
.ai-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  outline: none;
  transition: border-color 0.2s;
}
.ai-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}
.ai-input:focus {
  border-color: rgba(26, 86, 240, 0.5);
}
.ai-send {
  width: 36px;
  height: 36px;
  background: var(--c-blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex: none;
  cursor: pointer;
  transition: all 0.15s;
}
.ai-send:hover {
  background: var(--c-blue-deep);
  transform: scale(1.05);
}

/* =========================================
   TEMPLATES SECTION
   ========================================= */
.templates-section {
  padding: 100px 0;
  background: var(--c-bg);
  overflow: hidden;
}

.templates-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}
.templates-scroll::-webkit-scrollbar {
  display: none;
}

.template-card {
  flex: none;
  width: 200px;
  border: 1.5px solid var(--c-border-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-surface);
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: var(--shadow-sm);
}
.template-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-blue);
}
.template-card.active {
  border-color: var(--c-blue);
  box-shadow:
    0 0 0 3px var(--c-blue-light),
    var(--shadow);
}
.template-preview {
  height: 260px;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.template-preview.creator {
  background: linear-gradient(160deg, #0a0a14 0%, #111827 100%);
}
.template-preview.business {
  background: linear-gradient(160deg, #f0f4ff 0%, #e8ecff 100%);
}
.template-preview.portfolio {
  background: linear-gradient(160deg, #faf5ff 0%, #ede9fe 100%);
}
.template-preview.store {
  background: linear-gradient(160deg, #f0fdf4 0%, #dcfce7 100%);
}
.template-preview.event {
  background: linear-gradient(160deg, #fff7ed 0%, #fed7aa 100%);
}

.tp-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a56f0, #6366f1);
  margin-bottom: 4px;
}
.tp-name {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}
.template-preview:not(.creator) .tp-name {
  color: var(--c-text);
}
.tp-role {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.5);
}
.template-preview:not(.creator) .tp-role {
  color: var(--c-text-soft);
}
.tp-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}
.tp-tags span {
  font-size: 0.52rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.7);
}
.tp-links {
  display: grid;
  gap: 5px;
  width: 100%;
}
.tp-link {
  text-align: center;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.6rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.tp-link.dark {
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
}
.tp-link.blue {
  background: var(--c-blue);
  color: #fff;
  border-color: var(--c-blue);
}
.template-preview:not(.creator) .tp-link {
  background: rgba(0, 0, 0, 0.06);
  color: var(--c-text-soft);
  border-color: rgba(0, 0, 0, 0.08);
}
.template-preview:not(.creator) .tp-link.dark {
  background: var(--c-text);
  color: #fff;
}
.template-preview:not(.creator) .tp-link.blue {
  background: var(--c-blue);
  color: #fff;
}

.tp-logo-placeholder {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--c-blue), #6366f1);
  margin-bottom: 4px;
}
.tp-biz-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-text);
}

.tp-work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  width: 100%;
}
.tp-work {
  height: 50px;
  border-radius: 6px;
}
.blue-work {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}
.pink-work {
  background: linear-gradient(135deg, #ec4899, #9d174d);
}
.green-work {
  background: linear-gradient(135deg, #34d399, #059669);
}
.gray-work {
  background: linear-gradient(135deg, #94a3b8, #64748b);
}

.tp-products {
  display: grid;
  gap: 8px;
  width: 100%;
}
.tp-product {
  display: flex;
  gap: 8px;
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  padding: 6px 8px;
}
.tp-product-img {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  background: linear-gradient(135deg, #a7f3d0, #34d399);
  flex: none;
}
.tp-product-img.teal {
  background: linear-gradient(135deg, #67e8f9, #0891b2);
}
.tp-product-info {
  display: grid;
  gap: 1px;
}
.tp-product-info span {
  font-size: 0.6rem;
  color: var(--c-text);
  font-weight: 500;
}
.tp-product-info span:last-child {
  color: var(--c-blue);
  font-weight: 700;
}

.tp-event-date {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: #c2410c;
  line-height: 1;
  margin-bottom: 2px;
}

.template-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-top: 1px solid var(--c-border);
}
.template-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-text);
}
.template-badge {
  font-size: 0.62rem;
  font-weight: 700;
  background: var(--c-blue-light);
  color: var(--c-blue);
  padding: 3px 8px;
  border-radius: 100px;
}

.templates-cta {
  text-align: center;
  margin-top: 40px;
}

/* =========================================
   CUSTOMIZATION SECTION
   ========================================= */
.custom-section {
  padding: 100px 0;
  background: var(--c-surface);
}
.custom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.custom-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.custom-option {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--c-border-mid);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-text-soft);
  cursor: pointer;
  transition: all 0.18s;
}
.custom-option:hover {
  border-color: var(--c-blue);
  color: var(--c-blue);
}
.custom-option.active {
  background: var(--c-blue);
  color: #fff;
  border-color: var(--c-blue);
}

.editor-preview {
  display: flex;
  border: 1.5px solid var(--c-border-mid);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 420px;
}
.editor-sidebar {
  width: 160px;
  border-right: 1px solid var(--c-border);
  background: var(--c-bg);
  padding: 16px;
  flex: none;
  overflow-y: auto;
}
.es-section-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: 10px;
}
.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.15s;
  position: relative;
}
.swatch:hover {
  transform: scale(1.15);
}
.swatch.active::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-color: inherit;
}
.swatch.active {
  outline: 2.5px solid var(--c-text);
  outline-offset: 2px;
}
.font-options,
.btn-styles {
  display: grid;
  gap: 4px;
}
.font-opt,
.btn-style {
  padding: 6px 10px;
  font-size: 0.72rem;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  color: var(--c-text-soft);
  transition: all 0.15s;
}
.font-opt:hover,
.btn-style:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--c-text);
}
.font-opt.active,
.btn-style.active {
  background: var(--c-blue);
  color: #fff;
}

.editor-canvas {
  flex: 1;
  background: linear-gradient(160deg, #e8f0fe 0%, #f0e7fd 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.canvas-phone {
  background: #fff;
  border-radius: 24px;
  padding: 20px 16px;
  width: 160px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.canvas-avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a56f0, #6366f1);
}
.canvas-name {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-text);
}
.canvas-link {
  width: 100%;
  padding: 8px;
  text-align: center;
  font-size: 0.62rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.canvas-link.btn-rounded {
  background: #1a56f0;
  color: #fff;
  border-radius: 8px;
}
.canvas-link.btn-rounded.outline {
  background: transparent;
  color: #1a56f0;
  border: 1.5px solid #1a56f0;
}

/* =========================================
   PRICING SECTION
   ========================================= */
.pricing-section {
  padding: 100px 0;
  background: var(--c-bg);
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}
.price-card {
  background: var(--c-surface);
  border: 1.5px solid var(--c-border-mid);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  transition: all 0.22s ease;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.price-featured {
  border-color: var(--c-blue);
  background: linear-gradient(160deg, #f0f4ff 0%, var(--c-surface) 60%);
  box-shadow:
    0 0 0 1px var(--c-blue),
    var(--shadow);
}
.price-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-blue);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  white-space: nowrap;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}
.price-plan {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
}
.price-amount span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-text-soft);
  letter-spacing: 0;
}
.price-desc {
  font-size: 0.84rem;
  color: var(--c-text-soft);
  line-height: 1.6;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--c-border);
}
.price-features {
  display: grid;
  gap: 9px;
  margin-bottom: 28px;
}
.price-features li {
  font-size: 0.84rem;
  color: var(--c-text-soft);
}
.price-features li:has(✓) {
  color: var(--c-text);
}
.price-btn {
  width: 100%;
  justify-content: center;
  border-radius: var(--radius);
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
  position: relative;
  background: var(--c-dark);
  padding: 120px 0;
  overflow: hidden;
  text-align: center;
}
.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cta-glow-1 {
  position: absolute;
  width: 700px;
  height: 500px;
  background: radial-gradient(
    ellipse,
    rgba(26, 86, 240, 0.2) 0%,
    transparent 65%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
.cta-glow-2 {
  position: absolute;
  width: 400px;
  height: 300px;
  background: radial-gradient(
    ellipse,
    rgba(99, 102, 241, 0.15) 0%,
    transparent 65%
  );
  bottom: 0;
  right: 0;
  border-radius: 50%;
}
.cta-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 20px;
}
.cta-title span {
  background: linear-gradient(135deg, #93c5fd 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta-checker {
  margin-bottom: 24px;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
}
.cta-field {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.2s;
  max-width: 430px;
  margin: 0 auto;
}
.cta-field:focus-within {
  border-color: rgba(26, 86, 240, 0.6);
  box-shadow: 0 0 0 4px rgba(26, 86, 240, 0.15);
}
.cta-prefix {
  padding: 0 1px 0 8px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
  height: 58px;
  display: flex;
  align-items: center;
  flex: none;
  font-weight: 600;
}
.cta-field input {
  flex: 1;
  min-width: 0;
  height: 58px;
  padding: 0 1px 0 0;
  background: transparent;
  color: #fff;
  font-size: 0.98rem;
  min-inline-size: 84px;
}
.cta-field input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}
.cta-field .checker-btn {
  margin: 5px 4px 5px -18px;
  height: 40px;
  border-radius: 9px;
  font-size: 0.84rem;
  padding: 0 10px;
}
.cta-links {
  margin-top: 12px;
}

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-section {
  padding: 100px 0;
  background: var(--c-bg);
}
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.faq-item.open {
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px var(--c-blue-light);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-text);
  cursor: pointer;
  transition: color 0.15s;
}
.faq-q:hover {
  color: var(--c-blue);
}
.faq-icon {
  flex: none;
  color: var(--c-text-muted);
  transition:
    transform 0.25s ease,
    color 0.15s;
}
.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: var(--c-blue);
}
.faq-a {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--c-text-soft);
  line-height: 1.7;
}
.faq-item.open .faq-a {
  display: block;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--c-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 32px;
}
.footer-logo {
  color: #fff;
}
.footer-logo span {
  color: #fff;
}
.footer-tagline {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  margin: 14px 0 20px;
  max-width: 220px;
}
.footer-contact-link {
  display: inline-flex;
  width: fit-content;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.18s;
}
.footer-contact-link:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.15s;
}
.footer-col a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-bottom span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.15s;
}
.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* =========================================
   ANIMATIONS & UTILITIES
   ========================================= */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}
.delay-2 {
  transition-delay: 0.15s;
}
.delay-3 {
  transition-delay: 0.3s;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */

/* Tablet (768px) */
@media (max-width: 768px) {
  .container {
    width: min(100%, calc(100% - 32px));
  }

  .nav-inner {
    gap: 20px;
    width: min(100%, calc(100% - 32px));
    padding: 8px 10px 8px 16px;
  }
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .mobile-menu.open {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    min-height: 560px;
  }
  .hero {
    padding: calc(var(--nav-h) + 64px) 0 48px;
    min-height: auto;
  }

  .feature-split {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
    padding-bottom: 48px;
  }
  .feature-split-reverse {
    direction: ltr;
  }

  .feature-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .ai-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ai-visual {
    display: none;
  }

  .custom-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .custom-visual {
    display: none;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
  }
  .hero-headline {
    font-size: clamp(2rem, 4vw, 2.8rem);
  }
  .cta-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
  }

  .features-section,
  .templates-section,
  .custom-section,
  .pricing-section,
  .cta-section,
  .ai-section,
  .faq-section {
    padding: 60px 0;
  }
}

/* Mobile (480px) */
@media (max-width: 480px) {
  .container {
    width: min(100%, calc(100% - 24px));
  }

  .navbar {
    top: 10px;
  }

  .mobile-menu {
    left: 16px;
    right: 16px;
    top: 78px;
  }

  .nav-cta .btn {
    display: none;
  }

  .hero-headline {
    font-size: clamp(1.75rem, 3.5vw, 2.2rem);
  }
  .hero-sub {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .feature-cards {
    grid-template-columns: 1fr;
  }

  .feat-card {
    padding: 18px;
  }

  .section-title {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  }

  .checker-field {
    flex-direction: column;
    align-items: stretch;
  }
  .checker-prefix {
    border-right: none;
    border-bottom: 1px solid var(--c-border);
    height: auto;
    padding: 10px 14px;
  }
  .checker-field input {
    height: 48px;
  }
  .checker-btn {
    width: 100%;
    margin: 10px 0;
    justify-content: center;
  }

  .float-card {
    width: calc(100% - 24px);
    max-width: 280px;
  }
  .float-analytics {
    top: 18px;
    right: 4px;
    bottom: auto;
    left: auto;
  }
  .float-visitor {
    bottom: 92px;
    left: 0;
    top: auto;
    right: auto;
  }
  .float-ai {
    bottom: 28px;
    right: 0;
    left: auto;
    top: auto;
  }

  .templates-scroll {
    padding: 8px 0 20px;
  }

  .cta-title {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
  }
  .cta-sub {
    font-size: 0.9rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .footer-bottom-links {
    gap: 12px;
  }

  .faq-list {
    max-width: 100%;
  }
  .faq-q {
    padding: 16px;
    font-size: 0.9rem;
  }
  .faq-a {
    padding: 0 16px 16px;
    font-size: 0.85rem;
  }

  .price-card {
    padding: 24px;
  }
}

/* Large Screen (1100px) */
@media (max-width: 1100px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .hero-visual {
    order: 0;
  }
  .phone-frame {
    width: 260px;
  }
  .float-analytics {
    right: 20px;
    top: -20px;
  }
  .float-visitor {
    left: 10px;
  }
  .float-ai {
    right: 10px;
  }

  .feature-split,
  .feature-split-reverse {
    grid-template-columns: 1fr;
    gap: 48px;
    direction: ltr;
  }

  .ai-grid,
  .custom-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: calc(var(--nav-h) + 64px) 0 60px;
  }

  .hero-headline {
    font-size: 2.4rem;
  }

  .feature-cards {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 32px);
  }

  .hero-headline {
    font-size: 2rem;
  }
  .hero-sub {
    font-size: 0.95rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .checker-prefix {
    display: flex;
    padding-left: 14px;
    padding-right: 4px;
    font-size: 0.82rem;
  }

  .feature-cards {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .section-title {
    font-size: 1.8rem;
  }
  .cta-title {
    font-size: 1.8rem;
  }
}

/* =========================================
   MOBILE POLISH
   ========================================= */
@media (max-width: 768px) {
  .hero-content {
    gap: 32px;
  }

  .hero-text,
  .hero-sub,
  .cta-sub,
  .cta-content {
    max-width: 100%;
  }

  .hero-social-proof {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .section-header {
    margin-bottom: 44px;
  }

  .trust-section {
    padding: 28px 0;
  }

  .trust-label {
    margin-bottom: 14px;
  }

  .trust-marquee {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: calc(var(--nav-h) + 56px) 0 40px;
  }

  .hero-visual {
    min-height: 510px;
  }

  .phone-frame {
    width: 232px;
    border-radius: 32px;
    padding: 13px;
  }

  .phone-screen {
    border-radius: 24px;
    padding: 20px 13px 16px;
  }

  .hero-badge {
    margin-bottom: 18px;
  }

  .hero-headline {
    line-height: 1.12;
    margin-bottom: 16px;
  }

  .hero-sub {
    margin-bottom: 24px;
  }

  .username-checker,
  .hero-actions {
    margin-bottom: 24px;
  }

  .hero-social-proof {
    align-items: flex-start;
    gap: 10px;
  }

  .proof-text {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .checker-field,
  .cta-field {
    border-radius: 16px;
  }

  .checker-field input,
  .cta-field input {
    width: 100%;
    padding: 0 14px;
  }

  .cta-field {
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    gap: 10px;
  }

  .cta-prefix {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    height: auto;
    padding: 0 4px 10px;
  }

  .cta-field .checker-btn {
    width: 100%;
    height: 46px;
    margin: 0;
    justify-content: center;
  }

  .trust-label,
  .trust-marquee span {
    font-size: 0.8rem;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
