/* ──────────────────────────────────────────────────────────────────────
   Pakkathu Kadai · demo landing page
   Lifts the Flutter brand palette + adds web-only motion design.
   ────────────────────────────────────────────────────────────────────── */

:root {
  --pk-primary: #f97316;
  --pk-primary-mid: #fb923c;
  --pk-primary-dark: #c2410c;
  --pk-primary-soft: #fff7ed;
  --pk-accent: #fbbf24;
  --pk-accent-warm: #fde68a;
  --pk-success: #16a34a;
  --pk-success-soft: #dcfce7;
  --pk-danger: #dc2626;
  --pk-bg: #fffaf3;
  --pk-bg-deep: #fef3e2;
  --pk-surface: #ffffff;
  --pk-ink: #0b0f19;
  --pk-ink-soft: #1e293b;
  --pk-muted: #64748b;
  --pk-border: #f4e7d6;
  --pk-radius: 22px;
  --pk-radius-sm: 14px;
  --pk-shadow: 0 16px 50px rgba(249, 115, 22, 0.10);
  --pk-shadow-hover: 0 24px 64px rgba(249, 115, 22, 0.22);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--pk-bg);
  color: var(--pk-ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

a { color: var(--pk-primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── REVEAL ANIMATION ────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="100"] { transition-delay: 100ms; }
.reveal[data-delay="200"] { transition-delay: 200ms; }
.reveal[data-delay="300"] { transition-delay: 300ms; }
.reveal[data-delay="400"] { transition-delay: 400ms; }
.reveal[data-delay="500"] { transition-delay: 500ms; }
.reveal[data-delay="600"] { transition-delay: 600ms; }

/* ── HERO ────────────────────────────────────────────────────────────── */

.hero {
  background:
    radial-gradient(circle at 0% 0%, rgba(251, 191, 36, 0.18), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(194, 65, 12, 0.32), transparent 50%),
    linear-gradient(135deg, #fb923c 0%, var(--pk-primary) 45%, #ea580c 100%);
  background-size: 200% 200%;
  animation: heroShift 18s ease-in-out infinite alternate;
  color: #fff;
  padding: 32px 0 0;
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
}

@keyframes heroShift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.hero::before,
.hero::after,
.hero-orb {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 460px; height: 460px;
  top: -180px; right: -160px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.20) 0%, transparent 60%);
  animation: float 16s ease-in-out infinite;
}
.hero::after {
  width: 320px; height: 320px;
  bottom: -120px; left: -100px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.40) 0%, transparent 60%);
  animation: float 20s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 40px); }
}

.hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
  position: relative;
  z-index: 2;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.3px;
  color: #fff;
  text-decoration: none !important;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.36);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.kicker .dot {
  width: 8px;
  height: 8px;
  background: #fbbf24;
  border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7);
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7); }
  70%  { box-shadow: 0 0 0 12px rgba(251, 191, 36, 0); }
  100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  flex: 1;
  position: relative;
  z-index: 2;
  padding-bottom: 60px;
}

.hero-copy h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -1.5px;
  margin: 18px 0 22px;
}

.hero-copy h1 span {
  color: var(--pk-accent);
  position: relative;
  display: inline-block;
}
.hero-copy h1 span::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 8px;
  background: rgba(251, 191, 36, 0.25);
  border-radius: 2px;
  z-index: -1;
}

.hero-copy .sub {
  font-size: clamp(15px, 1.6vw, 17.5px);
  max-width: 540px;
  opacity: 0.94;
  font-weight: 500;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14.5px;
  cursor: pointer;
  border: 0;
  text-decoration: none !important;
  font-family: inherit;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 180ms ease,
              background 180ms ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary {
  background: var(--pk-ink);
  color: #fff;
  box-shadow: 0 8px 24px rgba(11, 15, 25, 0.35);
}
.btn-primary:hover { background: var(--pk-ink-soft); box-shadow: 0 14px 30px rgba(11, 15, 25, 0.45); }
.btn-white {
  background: #fff;
  color: var(--pk-primary-dark);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.30);
}
.btn-white:hover { background: var(--pk-primary-soft); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.28); }

/* HERO LOGO — the right half of the hero */
.hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-logo-img {
  width: min(420px, 90%);
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.25));
  animation: floatHero 6s ease-in-out infinite;
}
@keyframes floatHero {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(-1deg); }
}

.hero-logo-glow {
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 224, 130, 0.5) 0%, transparent 65%);
  filter: blur(40px);
  pointer-events: none;
  animation: glow 4s ease-in-out infinite alternate;
}
@keyframes glow {
  from { opacity: 0.6; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1.08); }
}

/* ── SECTION HEADERS ─────────────────────────────────────────────────── */

section { padding: 100px 0; position: relative; }
section.tight { padding: 64px 0; }
section.compact { padding: 40px 0 80px; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pk-primary-soft);
  border: 1px solid #fed7aa;
  color: var(--pk-primary-dark);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(30px, 4.5vw, 46px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -1px;
  margin: 18px 0 14px;
}
.section-title em {
  color: var(--pk-primary-dark);
  font-style: normal;
  position: relative;
  white-space: nowrap;
}
.section-title em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 5px;
  background: var(--pk-accent);
  border-radius: 4px;
  transform-origin: left;
  animation: underlineGrow 1.2s cubic-bezier(0.16, 1, 0.3, 1) 600ms backwards;
}
@keyframes underlineGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.section-sub {
  color: var(--pk-muted);
  font-size: 16px;
  max-width: 760px;
  font-weight: 500;
}

/* ── WHAT WE DO ──────────────────────────────────────────────────────── */

.what-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.what-card {
  background: var(--pk-surface);
  border: 1px solid var(--pk-border);
  border-radius: var(--pk-radius);
  padding: 26px;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 280ms ease,
              border-color 280ms ease;
  position: relative;
  overflow: hidden;
}
.what-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0) 0%, rgba(249, 115, 22, 0.08) 100%);
  opacity: 0;
  transition: opacity 280ms ease;
}
.what-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--pk-shadow);
  border-color: #fed7aa;
}
.what-card:hover::before { opacity: 1; }

.what-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--pk-primary-soft);
  color: var(--pk-primary-dark);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 16px;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.what-card:hover .what-icon { transform: scale(1.08) rotate(-3deg); }

.what-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 6px;
  position: relative;
}

.what-card p {
  margin: 0;
  color: var(--pk-muted);
  font-size: 13.5px;
  position: relative;
}

/* ── ZONE BAR ────────────────────────────────────────────────────────── */

.zone-bar {
  background: linear-gradient(135deg, #0b0f19 0%, #1e293b 100%);
  color: #fff;
  border-radius: 28px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(11, 15, 25, 0.35);
}
.zone-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(249, 115, 22, 0.32), transparent 60%);
  pointer-events: none;
}
.zone-bar::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.10);
  pointer-events: none;
}

.zone-flag {
  width: 72px;
  height: 72px;
  background: var(--pk-primary);
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 32px;
  position: relative;
  z-index: 1;
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.45);
  animation: floatHero 4s ease-in-out infinite;
}

.zone-meta { position: relative; z-index: 1; }
.zone-meta .kicker {
  background: rgba(249, 115, 22, 0.22);
  border-color: rgba(249, 115, 22, 0.45);
  color: #fed7aa;
}
.zone-meta .kicker .dot { background: #fbbf24; }
.zone-meta h3 {
  margin: 10px 0 4px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.5px;
}
.zone-meta p { margin: 0; color: #cbd5e1; font-size: 14px; }

.zone-stats {
  display: flex;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.zone-stat {
  text-align: right;
  position: relative;
}
.zone-stat .num {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--pk-accent);
  display: block;
  line-height: 1;
}
.zone-stat .lbl {
  font-size: 10.5px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #cbd5e1;
  margin-top: 6px;
}

/* ── DASHBOARDS ──────────────────────────────────────────────────────── */

.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  margin-top: 44px;
}

.dash-card {
  background: var(--pk-surface);
  border: 1px solid var(--pk-border);
  border-radius: var(--pk-radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 320ms ease;
  position: relative;
  overflow: hidden;
}
.dash-card:hover { transform: translateY(-8px); box-shadow: var(--pk-shadow-hover); }

.dash-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--pk-primary), var(--pk-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 480ms cubic-bezier(0.16, 1, 0.3, 1);
}
.dash-card:hover::before { transform: scaleX(1); }

.dash-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.dash-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 24px;
  flex-shrink: 0;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.dash-card:hover .dash-icon { transform: scale(1.05) rotate(-4deg); }
.dash-icon.tone-orange { background: #fff7ed; color: #c2410c; }
.dash-icon.tone-purple { background: #f3e8ff; color: #7e22ce; }
.dash-icon.tone-blue   { background: #dbeafe; color: #1d4ed8; }
.dash-icon.tone-pink   { background: #fce7f3; color: #be185d; }
.dash-icon.tone-green  { background: #dcfce7; color: #15803d; }

.dash-card h3 {
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 4px;
  letter-spacing: -0.3px;
}

.dash-card .role {
  font-size: 11.5px;
  color: var(--pk-muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.dash-card p {
  color: var(--pk-muted);
  font-size: 13.5px;
  margin: 6px 0 20px;
  flex-grow: 1;
}

.creds {
  background: var(--pk-bg);
  border: 1px solid var(--pk-border);
  border-radius: var(--pk-radius-sm);
  padding: 6px;
  margin-bottom: 16px;
  font-size: 12.5px;
}

.creds-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 160ms ease;
  position: relative;
}
.creds-row:hover { background: #fff; }
.creds-row + .creds-row { margin-top: 2px; }

.creds-label {
  color: var(--pk-muted);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.8px;
  flex-shrink: 0;
  width: 70px;
}

.creds-value {
  font-family: 'SFMono-Regular', Menlo, monospace;
  color: var(--pk-ink);
  font-weight: 700;
  font-size: 12.5px;
  word-break: break-all;
  flex-grow: 1;
  text-align: right;
}

.copy-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--pk-muted);
  font-size: 14px;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
  flex-shrink: 0;
}
.creds-row:hover .copy-ico {
  background: var(--pk-primary);
  color: #fff;
}
.creds-row.copied .copy-ico {
  background: var(--pk-success);
  color: #fff;
}
.creds-row.copied .copy-ico::before {
  content: '✓';
  font-weight: 900;
  font-size: 13px;
}
.creds-row:not(.copied) .copy-ico::before { content: '⧉'; }

.creds.signup {
  background: linear-gradient(135deg, var(--pk-success-soft), #f0fdf4);
  border-color: #86efac;
  padding: 14px;
}
.creds.signup .note {
  color: #166534;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.creds.signup .note::before {
  content: '✨';
  font-size: 18px;
  flex-shrink: 0;
}

.dash-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 18px;
  background: var(--pk-primary);
  color: #fff !important;
  border-radius: var(--pk-radius-sm);
  font-weight: 800;
  font-size: 13.5px;
  text-decoration: none !important;
  transition: background 160ms ease, transform 160ms ease;
  margin-top: auto;
}
.dash-link:hover { background: var(--pk-primary-dark); transform: translateX(2px); }
.dash-link .arrow {
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.dash-link:hover .arrow { transform: translateX(4px); }

/* ── DOWNLOAD APPS ───────────────────────────────────────────────────── */

.download {
  background: var(--pk-surface);
  border-top: 1px solid var(--pk-border);
  border-bottom: 1px solid var(--pk-border);
  position: relative;
  overflow: hidden;
}

.download::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 26px;
  margin-top: 44px;
  position: relative;
  z-index: 1;
}

.dl-card {
  background: linear-gradient(135deg, var(--pk-primary) 0%, var(--pk-primary-dark) 100%);
  color: #fff;
  border-radius: 28px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(249, 115, 22, 0.35);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 320ms ease;
}
.dl-card:hover { transform: translateY(-6px); box-shadow: 0 36px 80px rgba(249, 115, 22, 0.50); }

.dl-card.dp {
  background: linear-gradient(135deg, #0b0f19 0%, #1e293b 100%);
  box-shadow: 0 30px 60px rgba(11, 15, 25, 0.45);
}
.dl-card.dp:hover { box-shadow: 0 36px 80px rgba(11, 15, 25, 0.60); }

.dl-card::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  pointer-events: none;
}

.dl-card .phone {
  font-size: 40px;
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
  animation: floatHero 5s ease-in-out infinite;
}

.dl-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.3px;
  position: relative;
}
.dl-card .role {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.78);
  display: block;
  margin-bottom: 16px;
  position: relative;
}
.dl-card p {
  font-size: 13.5px;
  opacity: 0.92;
  margin: 0 0 24px;
  position: relative;
  line-height: 1.55;
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  border-radius: 999px;
  background: #fff;
  color: var(--pk-primary-dark);
  font-weight: 900;
  text-decoration: none !important;
  font-size: 14.5px;
  position: relative;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 180ms ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.30);
}
.dl-card.dp .dl-btn { color: #0b0f19; }
.dl-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(0, 0, 0, 0.40); }
.dl-btn small {
  display: block;
  font-size: 10px;
  font-weight: 800;
  opacity: 0.55;
  line-height: 1;
  margin-top: 2px;
  letter-spacing: 0.4px;
}

.dl-card .creds-mini {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 16px;
  padding: 6px;
  font-size: 12.5px;
  margin-top: 18px;
  position: relative;
  backdrop-filter: blur(8px);
}
.dl-card .creds-mini .row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 160ms ease;
  position: relative;
}
.dl-card .creds-mini .row:hover { background: rgba(255, 255, 255, 0.10); }
.dl-card .creds-mini .row + .row { margin-top: 2px; }

.dl-card .creds-mini .lbl {
  color: rgba(255, 255, 255, 0.70);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.8px;
  flex-shrink: 0;
  width: 70px;
}
.dl-card .creds-mini .val {
  font-family: 'SFMono-Regular', Menlo, monospace;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  word-break: break-all;
  flex-grow: 1;
  text-align: right;
}
.dl-card .creds-mini .copy-ico {
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
}
.dl-card .creds-mini .row:hover .copy-ico {
  background: rgba(255, 255, 255, 0.20);
  color: #fff;
}
.dl-card .creds-mini .row.copied .copy-ico {
  background: var(--pk-accent);
  color: var(--pk-ink);
}

/* ── TIP STRIP ───────────────────────────────────────────────────────── */

.tip {
  background: #fff;
  border: 1px solid var(--pk-border);
  border-left: 5px solid var(--pk-primary);
  border-radius: var(--pk-radius-sm);
  padding: 18px 22px;
  margin-top: 24px;
  font-size: 13.5px;
  color: var(--pk-ink);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.08);
}
.tip.success { border-left-color: var(--pk-success); }
.tip strong { color: var(--pk-primary-dark); }
.tip.success strong { color: var(--pk-success); }
.tip code {
  background: var(--pk-primary-soft);
  padding: 2px 8px;
  border-radius: 6px;
  font-family: 'SFMono-Regular', Menlo, monospace;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--pk-primary-dark);
}

/* ── TOAST ───────────────────────────────────────────────────────────── */

.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--pk-ink);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 20px 50px rgba(11, 15, 25, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1),
              opacity 400ms ease;
  z-index: 1000;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast::before {
  content: '';
  width: 22px;
  height: 22px;
  background: var(--pk-success);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #fff;
  background-image: linear-gradient(var(--pk-success), var(--pk-success));
  background-clip: content-box;
}
.toast .check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--pk-success);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 900;
  font-size: 13px;
}

/* ── FOOTER ──────────────────────────────────────────────────────────── */

footer {
  background: var(--pk-ink);
  color: #cbd5e1;
  padding: 48px 0 32px;
  text-align: center;
  font-size: 13.5px;
}
footer .footer-brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
footer .brand-mark { box-shadow: none; }
footer .brand span { color: #fff; font-size: 18px; }
footer p { margin: 14px 0 0; opacity: 0.75; max-width: 640px; margin-left: auto; margin-right: auto; }
footer a { color: var(--pk-accent); }
footer .footer-credit {
  margin-top: 18px;
  font-size: 12px;
  opacity: 0.5;
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────── */

@media (max-width: 920px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .hero-cta { justify-content: center; }
  .hero-logo-img { width: min(320px, 70%); }
}

@media (max-width: 720px) {
  section { padding: 64px 0; }
  .hero { padding: 24px 0 0; }
  .hero-row { margin-bottom: 32px; }
  .zone-bar {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 20px;
    padding: 28px;
  }
  .zone-stats {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 22px;
  }
  .zone-stat { text-align: left; }
  .creds-row, .dl-card .creds-mini .row { flex-wrap: wrap; }
  .creds-label, .dl-card .creds-mini .lbl { width: auto; }
  .creds-value, .dl-card .creds-mini .val { text-align: left; }
}

/* Reduced motion respect — turn off animations for users who request it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
