/*
 Theme Name:   TracePath Child
 Template:     astra
 Author:       TracePath Team
 Version:      2.0
 Description:  Premium Light-Green TracePath Marketing Theme
*/

@import url("../astra/style.css");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

/* ========================================================
   1. CSS Custom Properties – TracePath Light-Green Palette
   ======================================================== */
:root {
  /* Backgrounds */
  --bg-canvas:     #F8FAF9;
  --bg-section:    #FFFFFF;
  --bg-dark:       #061C14;

  /* Text */
  --text-heading:  #042319;
  --text-body:     #4B5563;
  --text-label:    #059669;
  --text-white:    #FFFFFF;

  /* Brand Accents */
  --emerald:       #059669;
  --mint-glow:     #A3E615;
  --lime:          #84CC16;

  /* Card */
  --card-bg:       rgba(255, 255, 255, 0.75);
  --card-border:   rgba(163, 230, 53, 0.20);
  --card-shadow:   0 10px 30px rgba(6, 38, 26, 0.06);

  /* Pricing Cards */
  --plan-free:     #111827;
  --plan-starter:  #1E40AF;
  --plan-standard: #059669;

  /* Transitions */
  --ease:          cubic-bezier(0.22, 1, 0.36, 1);
}

/* ========================================================
   2. Base Reset & Body
   ======================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body.tracepath-landing {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-canvas);
  color: var(--text-body);
  overflow-x: hidden;
  /* Hide Astra's default header on landing */
}

body.tracepath-landing #masthead,
body.tracepath-landing .ast-above-header-wrap,
body.tracepath-landing .ast-below-header-wrap,
body.tracepath-landing footer.site-footer {
  display: none !important;
}

body.tracepath-landing .site-content,
body.tracepath-landing #page {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ========================================================
   3. Navigation Bar
   ======================================================== */
.tp-nav {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(248, 250, 249, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(163, 230, 53, 0.15);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.tp-nav.scrolled {
  background: rgba(248, 250, 249, 0.97);
  box-shadow: 0 4px 24px rgba(6, 38, 26, 0.06);
}

.tp-logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text-heading);
  text-decoration: none;
}

.tp-logo span { color: var(--emerald); }

.tp-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.tp-nav-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
  text-decoration: none;
  transition: color 0.2s;
}

.tp-nav-links a:hover { color: var(--emerald); }

.tp-nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tp-btn-ghost {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-heading);
  text-decoration: none;
  transition: color 0.2s;
}

.tp-btn-ghost:hover { color: var(--emerald); }

.tp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
  background: var(--text-heading);
  color: var(--text-white);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
  box-shadow: 0 4px 16px rgba(4, 35, 25, 0.25);
}

.tp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(4, 35, 25, 0.30);
  background: var(--emerald);
  color: var(--text-white);
}

/* ========================================================
   Language Switcher
   ======================================================== */
.tp-lang-switcher {
  position: relative;
  display: inline-block;
}

.tp-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(5, 150, 105, 0.25);
  background: rgba(5, 150, 105, 0.06);
  color: var(--text-heading);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  white-space: nowrap;
}

.tp-lang-btn:hover {
  border-color: var(--emerald);
  background: rgba(5, 150, 105, 0.10);
}

.tp-lang-chevron {
  font-size: 0.65rem;
  transition: transform 0.2s;
}

.tp-lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 200px;
  max-height: 320px;
  overflow-y: auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(6, 38, 26, 0.13);
  border: 1px solid rgba(163, 230, 53, 0.15);
  z-index: 9999;
  padding: 0.4rem 0;
}

.tp-lang-dropdown.tp-lang-open { display: block; }

.tp-lang-dropdown button {
  width: 100%;
  text-align: left;
  padding: 0.55rem 1rem;
  background: none;
  border: none;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-body);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  font-family: 'Inter', sans-serif;
}

.tp-lang-dropdown button:hover {
  background: rgba(5, 150, 105, 0.07);
  color: var(--emerald);
}

/* Scrollbar for language dropdown */
.tp-lang-dropdown::-webkit-scrollbar { width: 4px; }
.tp-lang-dropdown::-webkit-scrollbar-track { background: transparent; }
.tp-lang-dropdown::-webkit-scrollbar-thumb { background: rgba(5, 150, 105, 0.3); border-radius: 4px; }

/* ========================================================
   AI Translation Notice Bar
   ======================================================== */
.tp-ai-notice-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(163, 230, 53, 0.15);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: slideUp 0.35s cubic-bezier(0, 0, 0.2, 1);
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.tp-ai-notice-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tp-ai-notice-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563EB;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.tp-ai-notice-text {
  font-size: 0.72rem;
  font-weight: 600;
  color: #4B5563;
  margin: 0;
  line-height: 1.4;
}

.tp-ai-notice-label { color: #2563EB; }

.tp-ai-notice-divider {
  width: 1px;
  height: 1rem;
  background: #E5E7EB;
  flex-shrink: 0;
}

.tp-ai-notice-powered {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.tp-ai-notice-powered-label {
  font-size: 0.6rem;
  font-weight: 700;
  color: #9CA3AF;
  letter-spacing: 0.08em;
}

.tp-ai-notice-logo { height: 0.875rem; }

.tp-ai-notice-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #9CA3AF;
  font-size: 0.875rem;
  padding: 0.25rem;
  transition: color 0.2s;
}
.tp-ai-notice-close:hover { color: #111; }

/* ========================================================
   4. Hero Section
   ======================================================== */
.tp-hero {
  min-height: 100vh;
  padding-top: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-canvas);
  background-image: url("assets/images/hero_background.png");
  background-size: cover;
  background-position: center;
}

/* Soft overlay so text is readable on hero image */
.tp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
    rgba(248, 250, 249, 0.82) 0%,
    rgba(248, 250, 249, 0.60) 60%,
    rgba(5, 150, 105, 0.08) 100%);
  z-index: 1;
}

.tp-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
}

.tp-hero-kicker {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 9999px;
  background: rgba(5, 150, 105, 0.10);
  border: 1px solid rgba(5, 150, 105, 0.25);
  color: var(--text-label);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.tp-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text-heading);
  margin-bottom: 1.5rem;
}

.tp-hero h1 em {
  font-style: normal;
  color: var(--emerald);
}

.tp-hero-desc {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-body);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.tp-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.tp-btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 9999px;
  background: var(--text-heading);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(4, 35, 25, 0.22);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}

.tp-btn-dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(4, 35, 25, 0.28);
  background: var(--emerald);
  color: #fff;
}

.tp-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(5, 150, 105, 0.30);
  color: var(--text-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.2s;
}

.tp-btn-outline:hover {
  transform: translateY(-3px);
  border-color: var(--emerald);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.15);
  color: var(--emerald);
}

/* Hero Dashboard Mockup Frame */
.tp-hero-frame {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}

.tp-hero-frame .frame-glow {
  position: absolute;
  inset: -8px;
  background: linear-gradient(135deg, rgba(5,150,105,0.18), rgba(163,230,53,0.12));
  border-radius: 2.5rem;
  filter: blur(24px);
  z-index: 0;
}

.tp-hero-frame .frame-shell {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.90);
  border: 1px solid rgba(163,230,53,0.25);
  border-radius: 2rem;
  box-shadow: 0 32px 80px rgba(6, 38, 26, 0.12);
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.frame-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  background: var(--bg-canvas);
  border-bottom: 1px solid rgba(163,230,53,0.15);
}

.frame-dots { display: flex; gap: 0.4rem; }
.frame-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.frame-dots span:nth-child(1) { background: #FC7D7D; }
.frame-dots span:nth-child(2) { background: #FDBC42; }
.frame-dots span:nth-child(3) { background: #53D65E; }

.frame-url {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 1.2rem;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid rgba(163,230,53,0.20);
  font-size: 0.72rem;
  font-weight: 700;
  color: #9CA3AF;
}

.frame-url .lock { color: #10B981; font-size: 0.65rem; }

.frame-body {
  height: 810px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F0FAF5 0%, #E8F5EE 100%);
  color: var(--text-body);
  font-size: 0.875rem;
  font-weight: 500;
}

.frame-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ========================================================
   5. Stats Bar
   ======================================================== */
.tp-stats {
  background: var(--bg-section);
  border-top: 1px solid rgba(163,230,53,0.12);
  border-bottom: 1px solid rgba(163,230,53,0.12);
  padding: 2.5rem 2rem;
}

.tp-stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.tp-stat-value {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--text-heading);
  letter-spacing: -0.04em;
}

.tp-stat-value span { color: var(--emerald); }

.tp-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-body);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* ========================================================
   6. Features Section
   ======================================================== */
.tp-features {
  padding: 7rem 2rem;
  background: var(--bg-canvas);
}

.tp-section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.tp-section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-label);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.tp-section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--text-heading);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.tp-section-header p {
  font-size: 1.0625rem;
  color: var(--text-body);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

.tp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: 1100px;
  margin: 0 auto;
}

.tp-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  border-radius: 1.5rem;
  padding: 2.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.tp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(6, 38, 26, 0.10);
}

.tp-card-icon {
  width: 52px; height: 52px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.tp-card-icon.green  { background: rgba(5, 150, 105, 0.10); }
.tp-card-icon.lime   { background: rgba(163, 230, 53, 0.15); }
.tp-card-icon.teal   { background: rgba(20, 184, 166, 0.10); }

.tp-card h3 {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.tp-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ========================================================
   7. Resources / Blog Section
   ======================================================== */
.tp-resources {
  padding: 7rem 2rem;
  background: var(--bg-section);
  overflow: hidden;
}

.tp-resources-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.tp-resources-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.tp-resources-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--text-heading);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.tp-resources-header h2 span { color: var(--text-body); font-weight: 400; }

.tp-resources-header p {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-top: 0.5rem;
  max-width: 420px;
}

.tp-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--emerald);
  text-decoration: none;
  white-space: nowrap;
  transition: gap 0.2s;
}

.tp-link-arrow:hover { gap: 0.7rem; color: var(--emerald); }

.tp-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.tp-blog-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.3s var(--ease);
}

.tp-blog-card:hover { transform: translateY(-6px); }

.tp-blog-thumb {
  aspect-ratio: 16/10;
  border-radius: 1.5rem;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: var(--bg-canvas);
  border: 1px solid rgba(163,230,53,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D1FAE5;
  font-size: 3rem;
  position: relative;
}

.tp-blog-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.tp-blog-card:hover .tp-blog-thumb img { transform: scale(1.06); }

.tp-blog-date {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(8px);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tp-blog-card h3 {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.6rem;
  line-height: 1.3;
  transition: color 0.2s;
}

.tp-blog-card:hover h3 { color: var(--emerald); }

.tp-blog-card p {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tp-blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tp-blog-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tp-blog-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(5,150,105,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--emerald);
}

.tp-blog-byline {
  font-size: 0.65rem;
  font-weight: 800;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tp-blog-empty {
  grid-column: 1 / -1;
  padding: 5rem 2rem;
  text-align: center;
  border: 2px dashed rgba(163,230,53,0.20);
  border-radius: 2rem;
}

.tp-blog-empty p {
  font-size: 1rem;
  font-weight: 600;
  color: #9CA3AF;
}

/* ========================================================
   8. Pricing Section
   ======================================================== */
.tp-pricing {
  background: var(--bg-dark);
  color: var(--text-white);
  padding: 7rem 2rem;
}

.tp-pricing-inner { max-width: 1100px; margin: 0 auto; }

.tp-pricing .tp-section-header h2 { color: var(--text-white); }
.tp-pricing .tp-section-header p  { color: rgba(255,255,255,0.60); }
.tp-pricing .tp-section-label     { color: var(--mint-glow); }

/* Toggle */
.tp-billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255,255,255,0.60);
}

.tp-billing-toggle .active-label { color: var(--text-white); }

.tp-toggle-wrap {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
}

.tp-toggle-wrap input { opacity: 0; width: 0; height: 0; }

.tp-toggle-slider {
  position: absolute;
  inset: 0;
  background: #1F2937;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.25s;
}

.tp-toggle-slider::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.25s;
}

.tp-toggle-wrap input:checked + .tp-toggle-slider { background: var(--emerald); }
.tp-toggle-wrap input:checked + .tp-toggle-slider::after { transform: translateX(24px); }

.tp-save-badge {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 9999px;
  background: rgba(5,150,105,0.2);
  border: 1px solid rgba(5,150,105,0.4);
  color: #34D399;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* Plans Grid */
.tp-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  align-items: start;
}

.tp-plan-card {
  border-radius: 1.75rem;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.tp-plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 64px rgba(0,0,0,0.30);
}

.tp-plan-card.free     { background: var(--plan-free);     border: 1px solid rgba(255,255,255,0.08); }
.tp-plan-card.starter  { background: var(--plan-starter);  border: 1px solid rgba(96,165,250,0.30); box-shadow: 0 24px 64px rgba(30,64,175,0.40); transform: translateY(-12px); }
.tp-plan-card.standard { background: var(--plan-standard); border: 1px solid rgba(52,211,153,0.30); }

.tp-plan-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  background: linear-gradient(90deg, #F59E0B, #EF4444);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(239,68,68,0.40);
}

.tp-plan-name {
  font-size: 1.0625rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}

.tp-plan-price-wrap { margin-bottom: 0.5rem; min-height: 72px; display: flex; flex-direction: column; justify-content: center; }

.tp-plan-price {
  font-size: 2.75rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.tp-plan-currency { font-size: 1.5rem; opacity: 0.75; }
.tp-plan-period   { font-size: 0.875rem; font-weight: 500; opacity: 0.65; }

.tp-plan-billed-note {
  font-size: 0.7rem;
  font-weight: 700;
  color: #34D399;
  margin-top: 0.25rem;
}

.tp-plan-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.tp-plan-dpp {
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.tp-plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex: 1;
}

.tp-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
}

.tp-plan-features li::before {
  content: "✓";
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.tp-plan-cta {
  display: block;
  text-align: center;
  padding: 0.875rem 1rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}

.tp-plan-card.free     .tp-plan-cta { background: rgba(255,255,255,0.10); color: #fff; border: 1px solid rgba(255,255,255,0.15); }
.tp-plan-card.starter  .tp-plan-cta { background: #fff; color: #1E40AF; }
.tp-plan-card.standard .tp-plan-cta { background: #fff; color: #059669; }

.tp-plan-cta:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  color: inherit;
}

/* ========================================================
   9. Footer
   ======================================================== */
.tp-footer {
  background: var(--bg-section);
  border-top: 1px solid rgba(163,230,53,0.12);
  padding: 5rem 2rem 2rem;
}

.tp-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.tp-footer-brand-logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text-heading);
  margin-bottom: 1rem;
  text-decoration: none;
  display: block;
}

.tp-footer-brand-logo span { color: var(--emerald); }

.tp-footer-brand-desc {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 280px;
}

.tp-footer-col h4 {
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-heading);
  margin-bottom: 1.25rem;
}

.tp-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }

.tp-footer-col ul li a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
  text-decoration: none;
  transition: color 0.2s;
}

.tp-footer-col ul li a:hover { color: var(--emerald); }

.tp-footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(163,230,53,0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.tp-footer-copy {
  font-size: 0.7rem;
  font-weight: 800;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tp-footer-social { display: flex; gap: 1.25rem; }

.tp-footer-social a {
  font-size: 1rem;
  color: #9CA3AF;
  text-decoration: none;
  transition: color 0.2s;
}

.tp-footer-social a:hover { color: var(--emerald); }

/* ========================================================
   10. Animations & Utilities
   ======================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.tp-hidden { display: none !important; }

/* ========================================================
   12. Testimonials Section
   ======================================================== */
.tp-testimonials {
  padding: 7rem 2rem;
  background: var(--bg-canvas);
}

.tp-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  max-width: 1100px;
  margin: 0 auto;
}

.tp-testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  border-radius: 1.5rem;
  padding: 2.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
}

.tp-testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1.25rem;
  left: 1.75rem;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(5, 150, 105, 0.12);
  line-height: 1;
  pointer-events: none;
}

.tp-testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(6, 38, 26, 0.10);
}

.tp-testimonial-card p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.tp-testimonial-card cite {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--emerald);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ========================================================
   13. FAQ Section
   ======================================================== */
.tp-faq {
  padding: 7rem 2rem;
  background: var(--bg-section);
}

.tp-faq-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tp-faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1.25rem;
  padding: 1.75rem 2rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow 0.3s var(--ease), border-color 0.2s, transform 0.25s var(--ease);
}

.tp-faq-item:hover {
  border-color: rgba(5, 150, 105, 0.35);
  box-shadow: 0 12px 32px rgba(5, 150, 105, 0.08);
  transform: translateX(4px);
}

.tp-faq-item h3 {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tp-faq-item h3::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  flex-shrink: 0;
}

.tp-faq-item p {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ========================================================
   14. Newsletter Section
   ======================================================== */
.tp-newsletter {
  padding: 7rem 2rem;
  background: linear-gradient(135deg, #F0FAF5 0%, var(--bg-canvas) 100%);
  position: relative;
  overflow: hidden;
}

.tp-newsletter::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5,150,105,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.tp-newsletter-embed {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

/* Style embed forms (Mailchimp etc.) to match theme */
.tp-newsletter-embed form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.5rem;
}

.tp-newsletter-embed input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 0.875rem 1.5rem;
  border: 1.5px solid rgba(5, 150, 105, 0.25);
  border-radius: 9999px;
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: var(--text-heading);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tp-newsletter-embed input[type="email"]:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}

.tp-newsletter-embed input[type="submit"],
.tp-newsletter-embed button[type="submit"] {
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  background: var(--text-heading);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(4, 35, 25, 0.20);
}

.tp-newsletter-embed input[type="submit"]:hover,
.tp-newsletter-embed button[type="submit"]:hover {
  background: var(--emerald);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(5, 150, 105, 0.30);
}

/* ========================================================
   15. Responsive
   ======================================================== */
@media (max-width: 1024px) {
  .tp-features-grid,
  .tp-blog-grid,
  .tp-plans-grid { grid-template-columns: repeat(2, 1fr); }
  .tp-testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .tp-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .tp-footer-inner { grid-template-columns: 1fr 1fr; }
  .tp-plan-card.starter { transform: none; }
}

@media (max-width: 640px) {
  .tp-features-grid,
  .tp-blog-grid,
  .tp-plans-grid,
  .tp-stats-inner,
  .tp-testimonials-grid { grid-template-columns: 1fr; }
  .tp-nav-links { display: none; }
  .tp-footer-inner { grid-template-columns: 1fr; }
  .tp-hero h1 { font-size: 2.25rem; }
  .tp-resources-header { flex-direction: column; align-items: flex-start; }
  .tp-faq-grid { gap: 0.875rem; }
  .tp-newsletter-embed form { flex-direction: column; align-items: center; }
  .tp-newsletter-embed input[type="email"] { width: 100%; min-width: unset; }
}
