/* ==========================================================================
   PromptPlaybook.ai -- Parent Brand Stylesheet
   Production-ready. No inline styles (CSP blocks them).
   ========================================================================== */

/* ==========================================================================
   1. Font Faces (self-hosted)
   ========================================================================== */

/* Inter -- 400 (regular) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
}

/* Inter -- 500 (medium) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-latin-500.woff2') format('woff2');
}

/* Inter -- 600 (semibold) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-latin-600.woff2') format('woff2');
}

/* Inter -- 700 (bold) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-latin-700.woff2') format('woff2');
}

/* Inter -- 800 (extrabold) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/inter-latin-800.woff2') format('woff2');
}

/* Playfair Display -- 600 (semibold) */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/playfair-display-latin-600.woff2') format('woff2');
}

/* Playfair Display -- 700 (bold) */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/playfair-display-latin-700.woff2') format('woff2');
}

/* JetBrains Mono -- 400 (regular) */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-latin-400.woff2') format('woff2');
}

/* JetBrains Mono -- 500 (medium) */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-latin-500.woff2') format('woff2');
}

/* ==========================================================================
   2. CSS Custom Properties
   ========================================================================== */

:root {
  --dark-bg: #0a0a0f;
  --dark-surface: #1a1a2e;
  --light-bg: #f8f9fb;
  --white: #ffffff;
  --accent: #3b82f6;
  --accent-hover: #60a5fa;
  --accent-glow: rgba(59, 130, 246, 0.3);
  --text-light: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dark: #1e293b;
  --text-dark-muted: #64748b;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: 12px;
  --border-light: #e2e8f0;
  --success: #15803d;
  --danger: #dc2626;
}

/* ==========================================================================
   3. Reset & Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

/* ==========================================================================
   4. Container & Utilities
   ========================================================================== */

.container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-label {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 16px;
}

.section {
  padding: 60px 0;
}

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

.section-light {
  background-color: var(--light-bg);
  --text-muted: #64748b;
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border-radius: 16px;
  padding: 32px;
}

/* ==========================================================================
   5. Navigation
   ========================================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease,
    border-bottom 0.3s ease;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.nav-logo {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: -0.5px;
}

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

.nav-links a {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

a.nav-cta {
  background-color: var(--accent);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

a.nav-cta:hover {
  background-color: var(--accent-hover);
  color: var(--white);
}

.nav-scrolled {
  background-color: rgba(10, 10, 15, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

/* Hamburger toggle (mobile only) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 10;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -8px;
}

.nav-toggle span::after {
  top: 8px;
}

/* Open state: X icon */
.nav.nav-open .nav-toggle span {
  background: transparent;
}

.nav.nav-open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav.nav-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background-color: rgba(10, 10, 15, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 8px 24px 20px;
  }

  .nav.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    font-size: 16px;
  }

  a.nav-cta {
    text-align: center;
    margin-top: 8px;
  }
}

/* ==========================================================================
   Progress Bar (blog pages)
   ========================================================================== */

.progress-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  z-index: 1001;
  pointer-events: none;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  transition: width 0.15s ease-out;
}

/* ==========================================================================
   Page Header (dark header for contact/legal pages)
   ========================================================================== */

.page-header {
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
  padding: 140px 24px 48px;
  text-align: center;
  color: var(--text-light);
}

.page-header h1 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 5vw, 42px);
  color: var(--text-light);
  margin: 0 0 8px;
}

.page-header p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0;
}

/* ==========================================================================
   6. Hero
   ========================================================================== */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 24px 80px;
  background-color: var(--dark-bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 30% 50%,
    rgba(59, 130, 246, 0.08) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 32px;
  position: relative;
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: clamp(40px, 8vw, 72px);
  line-height: 1.1;
  color: var(--text-light);
  max-width: 800px;
  margin-bottom: 24px;
  position: relative;
}

.hero-sub {
  font-size: clamp(16px, 2.5vw, 19px);
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 40px;
  position: relative;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 0 30px var(--accent-glow);
  position: relative;
}

.hero-cta:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  color: var(--white);
}

.hero-note {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 16px;
  position: relative;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 60px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}

.hero-stat {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border-radius: 16px;
  padding: 24px 32px;
  text-align: center;
  min-width: 160px;
}

.hero-stat-num {
  font-weight: 800;
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   7. Problem Section
   ========================================================================== */

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

.problem-text p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dark-muted);
  margin-bottom: 20px;
}

.comparison-card {
  background-color: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.comparison-side {
  padding: 28px;
}

.comparison-side--before {
  border-bottom: 1px solid var(--border-light);
}

.comparison-label {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.comparison-label--before {
  color: var(--danger);
}

.comparison-label--after {
  color: var(--success);
}

.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--text-dark-muted);
}

.comparison-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   8. Solution Section (Feature Grid)
   ========================================================================== */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.feature-card {
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  background-color: var(--white);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.feature-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark-muted);
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 48px;
}

.callout {
  text-align: center;
  padding: 40px;
  font-size: 19px;
  font-style: italic;
  color: var(--text-dark-muted);
  max-width: 700px;
  margin: 40px auto 0;
}

/* ==========================================================================
   9. Featured Playbook (dark section)
   ========================================================================== */

.playbook-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.playbook-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border-radius: 16px;
  padding: 28px;
}

.playbook-card h3 {
  color: var(--text-light);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
}

.playbook-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.playbook-price {
  text-align: center;
  margin-top: 48px;
}

.playbook-price-amount {
  font-size: 56px;
  font-weight: 800;
  color: var(--text-light);
}

.price-old {
  text-decoration: line-through;
  opacity: 0.5;
  font-size: 0.6em;
  margin-right: 8px;
}

.playbook-price-note {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 4px;
}

.playbook-cta-wrap {
  text-align: center;
  margin-top: 24px;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
}

/* ==========================================================================
   10. Trust Section
   ========================================================================== */

.trust-list {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.trust-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
}

.trust-item:last-child {
  border-bottom: none;
}

.trust-item-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.trust-item h3 {
  font-weight: 700;
  font-size: 17px;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.trust-item p {
  font-size: 15px;
  color: var(--text-dark-muted);
  line-height: 1.6;
}

.trust-closing {
  text-align: center;
  padding-top: 48px;
  font-size: 19px;
  font-style: italic;
  color: var(--text-dark-muted);
}

/* ==========================================================================
   11. Footer
   ========================================================================== */

.footer {
  background-color: var(--dark-bg);
  color: var(--text-muted);
  padding: 80px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand-name {
  font-weight: 700;
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.footer-brand-tagline {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-col h4 {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  padding: 4px 0;
  font-size: 14px;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

.footer-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.5;
  margin-top: 16px;
}

/* ==========================================================================
   12. Blog Listing
   ========================================================================== */

.blog-header {
  text-align: center;
  padding: 140px 24px 60px;
  background-color: var(--dark-bg);
  color: var(--text-light);
}

.blog-header h1 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 42px;
  margin-bottom: 12px;
}

.blog-header p {
  color: var(--text-muted);
  font-size: 17px;
}

.blog-list {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding: 60px 24px;
}

.blog-card {
  padding: 32px 0;
  border-bottom: 1px solid var(--border-light);
}

.blog-card:last-child {
  border-bottom: none;
}

.blog-card-date {
  font-size: 13px;
  color: var(--text-dark-muted);
  font-weight: 500;
  margin-bottom: 8px;
}

.blog-card h2 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.blog-card h2 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card h2 a:hover {
  color: var(--accent);
}

.blog-card p {
  font-size: 15px;
  color: var(--text-dark-muted);
  line-height: 1.6;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  margin-top: 12px;
}

/* ==========================================================================
   13. Blog Article
   ========================================================================== */

.article-header {
  text-align: center;
  padding: 140px 24px 48px;
  background-color: var(--dark-bg);
  color: var(--text-light);
}

.article-header h1 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 5vw, 40px);
  max-width: 720px;
  margin: 0 auto 16px;
  line-height: 1.3;
}

.article-meta {
  font-size: 14px;
  color: var(--text-muted);
}

.article {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding: 48px 24px 80px;
}

.article p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-dark-muted);
  margin-bottom: 24px;
}

.article h2 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--text-dark);
  margin-top: 48px;
  margin-bottom: 16px;
}

.article h3 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--text-dark);
  margin-top: 32px;
  margin-bottom: 12px;
}

.article ul,
.article ol {
  padding-left: 24px;
  margin-bottom: 24px;
}

.article li {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-dark-muted);
  margin-bottom: 8px;
}

.article blockquote {
  border-left: 4px solid var(--accent);
  padding: 16px 24px;
  margin: 32px 0;
  background-color: var(--light-bg);
  border-radius: 0 8px 8px 0;
}

.article blockquote p {
  font-size: 17px;
  font-style: italic;
  margin-bottom: 0;
}

/* ==========================================================================
   14. TL;DR Toggle
   ========================================================================== */

.tldr {
  background-color: var(--light-bg);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  margin-bottom: 40px;
  overflow: hidden;
}

.tldr-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-dark);
}

.tldr-toggle:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.tldr-icon {
  transition: transform 0.3s ease;
}

.tldr.expanded .tldr-icon {
  transform: rotate(180deg);
}

.tldr-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.tldr.expanded .tldr-content {
  max-height: 500px;
}

.tldr-content-inner {
  padding: 0 24px 24px;
}

.tldr-content-inner p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark-muted);
}

/* ==========================================================================
   15. Article Tables
   ========================================================================== */

.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

.article table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

.article th {
  background-color: var(--light-bg);
  padding: 12px 16px;
  font-weight: 700;
  font-size: 14px;
  text-align: left;
  border-bottom: 2px solid var(--border-light);
}

.article td {
  padding: 12px 16px;
  font-size: 15px;
  border-bottom: 1px solid var(--border-light);
}

.article tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   16. References
   ========================================================================== */

.references {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid var(--border-light);
}

.references h2 {
  font-size: 22px;
  margin-bottom: 16px;
}

.references ol {
  padding-left: 24px;
}

.references li {
  font-size: 14px;
  color: var(--text-dark-muted);
  margin-bottom: 8px;
  line-height: 1.5;
}

/* ==========================================================================
   17. Scroll Animations
   ========================================================================== */

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate][data-delay="1"] {
  transition-delay: 0.1s;
}

[data-animate][data-delay="2"] {
  transition-delay: 0.2s;
}

[data-animate][data-delay="3"] {
  transition-delay: 0.3s;
}

/* ==========================================================================
   18. Responsive -- min-width: 640px
   ========================================================================== */

@media (min-width: 640px) {
  .hero-stats {
    flex-direction: row;
  }

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

  .playbook-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   19. Responsive -- min-width: 768px
   ========================================================================== */

@media (min-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 100px 0;
  }
}

/* ==========================================================================
   20. Responsive -- min-width: 1024px
   ========================================================================== */

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

/* ==========================================================================
   21. Page-top (legal/contact pages with fixed nav)
   ========================================================================== */

.page-top {
  padding-top: 120px;
}

/* ==========================================================================
   22. Contact Form
   ========================================================================== */

.contact-form {
  max-width: 500px;
  margin: 32px 0 0;
}

.contact-form label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  font-size: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  margin-bottom: 20px;
  transition: border-color 0.2s ease;
  background: #fff;
  color: var(--text-dark);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 16px 40px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.contact-form button:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.contact-form.hidden {
  display: none;
}

.honeypot {
  display: none !important;
}

.contact-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}

.contact-success.visible {
  display: block;
}

.contact-success h2 {
  color: #38a169;
  margin-bottom: 12px;
}

.contact-success p {
  color: var(--text-muted);
  font-size: 17px;
}

.back-link {
  display: inline-block;
  margin-top: 48px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border: 2px solid var(--accent);
  border-radius: 10px;
  transition: all 0.2s ease;
}

.back-link:hover {
  background: var(--accent);
  color: var(--white);
}

/* ==========================================================================
   24. Performance: reduce GPU cost on mobile
   ========================================================================== */

@media (max-width: 767px) {
  .glass-card {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-scrolled {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background-color: rgba(10, 10, 15, 0.95);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
