:root {
  --bg-main: #020617;
  --bg-alt: #050816;
  --bg-elevated: #0b1220;
  --accent: #22c55e;
  --accent-soft: rgba(34, 197, 94, 0.15);
  --accent-alt: #38bdf8;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --border-subtle: #1f2933;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.9);
  --max-width: 1120px;
}

/* Global reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.97), rgba(2, 6, 23, 0.85));
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: radial-gradient(circle at 0 0, var(--accent), var(--accent-alt));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #020617;
  box-shadow: 0 10px 20px rgba(34, 197, 94, 0.5);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-weight: 600;
  font-size: 1.05rem;
}

.logo-tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Navigation */
.main-nav {
  position: relative;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--accent-alt));
  transition: width 160ms ease-out;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  padding: 0.3rem;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background-color: #e5e7eb;
}

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.15), transparent 60%),
              radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.18), transparent 55%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  color: var(--accent-alt);
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 3vw + 1rem, 3.1rem);
  margin: 0 0 0.75rem;
}

.highlight {
  background: linear-gradient(to right, #4ade80, #22c55e, #38bdf8);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 120ms ease-out, box-shadow 120ms ease-out, background 160ms ease,
              color 160ms ease, border-color 160ms ease;
}

.btn.primary {
  background: linear-gradient(135deg, #22c55e, #38bdf8);
  color: #020617;
  box-shadow: 0 18px 35px rgba(34, 197, 94, 0.5);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 45px rgba(34, 197, 94, 0.7);
}

.btn.ghost {
  background: transparent;
  color: var(--text-main);
  border-color: rgba(148, 163, 184, 0.4);
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 0.9);
  border-color: var(--accent-alt);
}

.btn.secondary {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.6);
  color: #e0f2fe;
}

.btn.secondary:hover {
  background: rgba(56, 189, 248, 0.2);
}

.btn.full-width {
  width: 100%;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-meta span {
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background-color: rgba(15, 23, 42, 0.7);
}

/* Hero showcase */
.hero-showcase {
  position: relative;
  display: grid;
  gap: 1rem;
}

.mockup-card {
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.25), transparent 60%),
              radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.3), transparent 55%),
              var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.mockup-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.mockup-card p {
  margin: 0 0 0.7rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.7rem;
  font-size: 0.7rem;
  background-color: var(--accent-soft);
  color: #bbf7d0;
}

.badge-outline {
  background: transparent;
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.7);
}

.secondary-card {
  margin-left: 10%;
}

.powered-tag {
  margin-top: 0.5rem;
  align-self: flex-start;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px dashed rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.8);
  font-size: 0.7rem;
  display: inline-flex;
  gap: 0.3rem;
  color: var(--text-muted);
}

.powered-tag strong {
  color: var(--text-main);
}

/* Sections */
.section {
  padding: 3.5rem 0;
  background-color: var(--bg-main);
}

.section.alt {
  background-color: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.card-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background-color: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.6);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.card p {
  margin-top: 0;
  margin-bottom: 0.7rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.83rem;
  color: var(--text-muted);
}

.card-list li {
  padding-left: 1em;
  margin-bottom: 0.25rem;
  position: relative;
}

.card-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.card-link {
  display: inline-flex;
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: var(--accent-alt);
}

.card-link::after {
  content: "↗";
  margin-left: 0.25rem;
}

/* Image tools layout */
.image-tools-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.image-tools-copy h3 {
  margin-top: 0;
}

.image-tools-preview {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.preview-window {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-soft);
}

.preview-header {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.8rem;
  background: linear-gradient(to right, #020617, #020617, #0b1120);
  gap: 0.4rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.dot.red { background-color: #f97373; }
.dot.yellow { background-color: #facc15; }
.dot.green { background-color: #4ade80; }

.preview-title {
  margin-left: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.preview-body {
  display: grid;
  grid-template-columns: 80px 1fr;
  background: #020617;
}

.preview-sidebar {
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.25), transparent 70%);
}

.preview-main {
  padding: 0.8rem;
  display: grid;
  gap: 0.6rem;
}

.preview-block {
  border-radius: 10px;
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.3), transparent 70%);
}

.preview-block.small {
  height: 26px;
}

.preview-caption {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Portfolio */
.portfolio-grid .portfolio-card {
  position: relative;
  padding-bottom: 1.6rem;
}

.tag {
  display: inline-flex;
  margin-top: 0.15rem;
  margin-bottom: 0.6rem;
  font-size: 0.72rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(148, 163, 184, 0.2);
  color: #e5e7eb;
}

.placeholder {
  border-style: dashed;
  border-color: rgba(148, 163, 184, 0.5);
}

/* About */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: start;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.about-list li {
  margin-bottom: 0.3rem;
  padding-left: 1.1em;
  position: relative;
}

.about-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.7rem;
}

.about-meta {
  display: grid;
  gap: 1rem;
}

.stat-card {
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.2), transparent 60%),
              var(--bg-elevated);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.contact-details li {
  margin-bottom: 0.3rem;
}

.contact-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-form {
  background-color: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.form-row {
  margin-bottom: 0.9rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.8rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background-color: #020617;
  color: var(--text-main);
  padding: 0.55rem 0.65rem;
  font-size: 0.85rem;
  font-family: inherit;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent-alt);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.5);
}

.form-status {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  background-color: #020617;
  padding: 1.4rem 0 1.3rem;
}

.footer-inner {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-secondary {
  margin-top: 0.2rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-showcase {
    max-width: 420px;
    margin: 0 auto;
  }

  .card-grid,
  .image-tools-layout,
  .about-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .secondary-card {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .header-inner {
    align-items: center;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    right: 0;
    top: 110%;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    background-color: rgba(15, 23, 42, 0.98);
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    transform-origin: top right;
    transform: scaleY(0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 120ms ease-out, transform 120ms ease-out;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
  }
}

/* Make hero cards clickable without changing look */
.mockup-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.mockup-link:visited {
  color: inherit;
}

.mockup-card {
  cursor: pointer;
  transition: transform 150ms ease-out,
              box-shadow 150ms ease-out,
              border-color 150ms ease-out;
}

/* Smooth hover effect but same style */
.mockup-link:hover .mockup-card,
.mockup-link:focus-visible .mockup-card {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.95);
  border-color: rgba(148, 163, 184, 0.5);
}

/* Accessibility outline for keyboard users */
.mockup-link:focus-visible .mockup-card {
  outline: 2px solid var(--accent-alt);
  outline-offset: 3px;
}

/* Brand container */
.gn-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #e5e7eb;
}

/* Logo frame */
.gn-logo-wrap {
  padding: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.04),
              0 6px 18px rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Logo image */
.gn-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: block;
}

/* Text block */
.gn-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

/* Title */
.gn-title {
  font-weight: 600;
  font-size: 1.15rem;
  color: #ffffff;
}

/* Tagline (Blue • Blue) */
.gn-tagline {
  font-size: 0.8rem;
  font-weight: 400;
  color: #7dd3fc; /* light sky blue tone */
}
.gn-logo{
	    width: 74px;
    height: 74px;
    border-radius: 16px;
    display: block;
    border: 3px solid #ffffff;
}

.whatsapp-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 16px 30px rgba(22, 163, 74, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 80;
  color: #020617;
  font-size: 1.4rem;
  text-decoration: none;
}

.whatsapp-fab:hover {
  transform: translateY(-2px);
}

/* Hide on very small screens if you want */
@media (max-width: 420px) {
  .whatsapp-fab {
    width: 46px;
    height: 46px;
    bottom: 14px;
    right: 14px;
  }
}
.reviews-section{
  text-align:center;
  padding:40px 10px;
}

.reviews-section h2{
  font-size:26px;
  color:#ffffff;
}

.subtitle{
  color:#9fb4d9;
  margin-bottom:18px;
}

/* outer container */
.reviews-wrapper{
  overflow:hidden;
  width:100%;
}

/* moving strip */
.reviews-track{
  display:flex;
  gap:16px;
  animation: scroll 28s linear infinite;
}

/* card style */
.review-card{
  min-width:260px;
  background:#0F1A2A;
  border:1px solid #1e3359;
  color:white;
  border-radius:18px;
  padding:14px;
  box-shadow:0 8px 25px rgba(0,0,0,.35);
}

.review-card h3{
  margin:0 0 6px;
  font-size:17px;
}

.stars{
  color:#FFD84D;
  margin:0 0 8px;
}

/* animation */
@keyframes scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* ===========================
   REVIEW FORM – GROWNITI STYLE
   =========================== */

.review-form-section {
  max-width: 720px;
  margin: 48px auto 72px;
  padding: 24px 24px 28px;
  background: #050915;
  border-radius: 24px;
  border: 1px solid #22375f;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75);
  text-align: left;
}

/* Heading + subtitle */
.review-form-section h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 6px;
}

.review-form-section .subtitle {
  text-align: center;
  margin: 0 0 18px;
  font-size: 14px;
  color: #c0cbea;
}

/* Layout */
.review-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-form .form-row,
.review-form .rating-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Labels */
.review-form label,
.review-form .rating-row span {
  font-size: 13px;
  color: #c6d4f5;
}

/* Inputs, selects, textarea */
.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  box-sizing: border-box;
  background: #0b1627;
  color: #ffffff;
  border-radius: 14px;
  border: 1px solid #283f6a;
  padding: 9px 12px;
  font-size: 14px;
  line-height: 1.4;
  outline: none;
}

.review-form textarea {
  min-height: 110px;
  resize: vertical;
}

/* Focus state */
.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
  border-color: #39d68b;
  box-shadow: 0 0 0 1px rgba(57, 214, 139, 0.35);
}

/* Rating row */
.rating-row {
  margin-top: 4px;
}

.rating-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rating-options label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #071325;
  border: 1px solid transparent;
  font-size: 13px;
  cursor: pointer;
  color: #dde7ff;
}

.rating-options input[type="radio"] {
  accent-color: #39d68b;
}

/* Highlight selected rating (simple trick) */
.rating-options input[type="radio"]:checked + span {
  font-weight: 600;
}

/* Submit button */
.btn-review-submit {
  margin-top: 10px;
  padding: 11px 18px;
  border-radius: 999px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(90deg, #39d68b, #45e7ff);
  color: #04101f;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.7);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
}

.btn-review-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
  opacity: 0.97;
}

.btn-review-submit:active {
  transform: translateY(0);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.7);
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .review-form-section {
    margin: 32px 16px 56px;
    padding: 20px 16px 24px;
  }

  .rating-options {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-review-submit {
    width: 100%;
    text-align: center;
  }
}
/* ---- Center + shrink submit button ---- */

.btn-review-submit {
  width: auto;                /* shrink to fit text */
  padding: 10px 22px;         /* comfy but not huge */
  display: block;             /* allows centering */
  margin: 14px auto 0;        /* centers & adds spacing */
}

.review-form {
  max-width: 640px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Make submit button smaller and centered */
.btn-review-submit {
  align-self: center;
  margin-top: 1.5rem;
  padding: 0.8rem 2.5rem;
  border-radius: 999px;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(90deg, #22c55e, #22d3ee);
  color: #0b1120;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-review-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.5);
}

.btn-review-submit:active {
  transform: translateY(0);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

/* Status message styles */
.form-status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.2em; /* reserve space */
}

.form-status.is-success {
  color: #4ade80;
}

.form-status.is-error {
  color: #f97373;
}

.form-status.is-sending {
  color: #e5e7eb;
  opacity: 0.8;
}
/* Footer nav pills */
.grow-footer-nav{
  display:flex;
  justify-content:center;
  gap:10px;
  padding: 10px 12px 18px;
  flex-wrap:wrap;
}

/* Pill button style (match your theme) */
.grow-pill{
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: #eaf4ff;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.grow-pill:hover{ transform: translateY(-1px); background: rgba(255,255,255,.10); }
.grow-pill:active{ transform: translateY(0px); }

.grow-pill--solid{
  background: linear-gradient(90deg, rgba(64,196,255,.35), rgba(136,86,255,.35));
  border-color: rgba(255,255,255,.22);
}

/* ===== Modal ===== */
.legal-modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.legal-modal.is-open{ display:block; }

.legal-modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
}

.legal-modal__content{
  position: relative;
  max-width: 720px;
  width: min(92vw, 720px);
  margin: 10vh auto;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(20, 24, 38, .92);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  padding: 18px 18px 14px;
  color: #eaf4ff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.legal-modal__title{
  margin: 0 42px 10px 0;
  font-size: 18px;
  font-weight: 700;
}

.legal-modal__body{
  font-size: 14px;
  line-height: 1.55;
  color: rgba(234,244,255,.92);
  max-height: min(60vh, 520px);
  overflow: auto;
  padding-right: 6px;
}

.legal-modal__body h4{
  margin: 14px 0 6px;
  font-size: 14px;
  color: #ffffff;
}
.legal-modal__body p, .legal-modal__body li{
  margin: 8px 0;
}

.legal-modal__actions{
  display:flex;
  justify-content:flex-end;
  padding-top: 12px;
}

.legal-modal__close{
  position:absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: #eaf4ff;
  font-size: 20px;
  cursor: pointer;
}

/* Mobile: better fit */
@media (max-width: 480px){
  .legal-modal__content{ margin: 8vh auto; padding: 14px 14px 12px; }
  .legal-modal__title{ font-size: 16px; }
  .grow-pill{ font-size: 13px; padding: 9px 12px; }
}
