*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #f8faff;
  --card-bg: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --accent-cyan: #06b6d4;
  --accent-violet: #7c3aed;
  --gradient-brand: linear-gradient(110deg, #4f46e5 8%, #7c3aed 52%, #0891b2);
}
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 72px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Manrope', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, #111827 4%, #4338ca 58%, #06b6d4 120%);
  box-shadow: 0 8px 20px rgba(67, 56, 202, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.15s ease;
}
.nav-link:hover { color: var(--ink); }
.btn-login {
  padding: 0.55rem 1.15rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: all 0.15s ease;
}
.btn-login:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}
.btn-dashboard {
  padding: 0.55rem 1.25rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25);
  transition: all 0.15s ease;
}
.btn-dashboard:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* Main Container */
main { flex: 1; }
.hero-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3.5rem;
  text-align: center;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(99, 102, 241, 0.2);
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.08);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}
.hero-title {
  font-family: 'Manrope', 'Inter', system-ui, sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.2rem;
}
.hero-gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

/* Shortener Input Form (Gshort.net style) */
.shorten-form-shell {
  max-width: 680px;
  margin: 0 auto 1.5rem;
  background: #fff;
  border: 1px solid #d8dee8;
  border-radius: 16px;
  padding: 6px;
  box-shadow: 0 12px 34px rgba(30, 41, 59, 0.07), 0 2px 4px rgba(15, 23, 42, 0.03);
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}
.shorten-form-shell:focus-within {
  border-color: #818cf8;
  box-shadow: 0 16px 40px rgba(79, 70, 229, 0.12), 0 0 0 4px rgba(99, 102, 241, 0.12);
}
.scissors-icon {
  flex-shrink: 0;
  margin-left: 14px;
  color: #94a3b8;
  width: 22px;
  height: 22px;
}
.shorten-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.05rem;
  padding: 0.9rem 1rem;
  background: transparent;
  color: var(--ink);
}
.shorten-input::placeholder { color: #94a3b8; }
.shorten-btn {
  flex-shrink: 0;
  background: linear-gradient(135deg, #4f46e5, #6366f1 52%, #0891b2 140%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.85rem 1.6rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25);
  transition: all 0.18s ease;
}
.shorten-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(79, 70, 229, 0.32);
}

.hero-advanced {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 3.5rem;
}
.check-icon {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #e0e7ff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}
.hero-advanced a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

/* Stats Grid (gshort.net layout) */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto 3.5rem;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}
.stat-card strong {
  display: block;
  font-family: 'Manrope', 'Inter', system-ui, sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}
.stat-card span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Trust Row */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 4rem;
}
.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.trust-row i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* Features Section */
.features-section {
  max-width: 1100px;
  margin: 0 auto 4.5rem;
  padding: 0 1.5rem;
}
.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-head h2 {
  font-family: 'Manrope', 'Inter', system-ui, sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.03);
  transition: all 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 14px 34px rgba(79, 70, 229, 0.08);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eef2ff, #ecfeff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.feature-card h3 {
  font-family: 'Manrope', 'Inter', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.feature-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

/* CTA Section */
.cta-banner {
  max-width: 1040px;
  margin: 0 auto 4.5rem;
  padding: 0 1.5rem;
}
.cta-inner {
  border-radius: 24px;
  background: radial-gradient(circle at 85% 20%, rgba(34, 211, 238, 0.2), transparent 30%),
              radial-gradient(circle at 5% 85%, rgba(124, 58, 237, 0.25), transparent 35%),
              #0f172a;
  padding: 3.5rem 2.5rem;
  text-align: center;
  color: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}
.cta-inner h2 {
  font-family: 'Manrope', 'Inter', system-ui, sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.cta-inner p {
  color: #94a3b8;
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto 2rem;
}
.cta-btn {
  display: inline-block;
  background: #fff;
  color: #0f172a;
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.15s ease;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}
.cta-btn:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 2.5rem 1.5rem;
  margin-top: auto;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}
.footer-links a:hover { color: var(--ink); }
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #10b981;
  margin-left: 4px;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}
.copyright {
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .header-inner { height: 64px; padding: 0 1rem; }
  .nav-link { display: none; }
  .hero-section { padding: 3rem 1rem 2rem; }
  .shorten-form-shell {
    flex-direction: column;
    padding: 8px;
    border-radius: 14px;
  }
  .scissors-icon { display: none; }
  .shorten-input {
    width: 100%;
    padding: 0.75rem 0.5rem;
    text-align: center;
    font-size: 0.95rem;
  }
  .shorten-btn {
    width: 100%;
    justify-content: center;
    padding: 0.8rem;
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .stat-card { padding: 1.2rem 0.6rem; }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .cta-inner { padding: 2.5rem 1.25rem; }
  .cta-inner h2 { font-size: 1.7rem; }
}
