/* =============================================
   REAMP - Main Stylesheet
   ============================================= */

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

/* --- CSS Variables --- */
:root {
  --primary: #0369a1;
  --primary-light: #0ea5e9;
  --accent: #a1edb0;
  --accent-dark: #6dd88a;
  --neutral: #475569;
  --neutral-focus: #64748b;
  --base-100: #374151;
  --base-200: #1f2937;
  --base-300: #111827;
  --base-400: #0d1520;
  --text: #f9fafb;
  --text-muted: #94a3b8;
  --success: #22c55e;
  --warning: #facc15;
  --error: #ef4444;
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(161, 237, 176, 0.3);

  --font: 'Inter', sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --max-width: 1280px;
  --section-padding: 30px 0;
}

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

html {
  scroll-behavior: smooth;
  height: 100%;
  -webkit-font-smoothing: antialiased;
  scrollbar-gutter: stable;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(161, 237, 176, 0.3) transparent;
}

/* Webkit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(161, 237, 176, 0.25);
  border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(161, 237, 176, 0.45);
}

body {
  font-family: var(--font);
  background-color: var(--base-300);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
  height: 100%;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 300;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 400;
}

p {
  color: var(--text-muted);
  line-height: 1.75;
}

.accent-text {
  color: var(--accent);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--base-300) !important;
  border-color: var(--accent);
}

.btn-primary:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(161, 237, 176, 0.25);
}

.btn-outline {
  background-color: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* --- Section Utility --- */

.section {
  padding: var(--section-padding);
  position: relative;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title,
.page-content .section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin: 0 auto;
}

/* --- Divider --- */
.divider {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 20px auto;
}

/* --- Background Variants ---
   Scoped to .section so they override section-specific background rules
   (.cta-section, .features, .crm-section, etc.) regardless of source order. */
.section.bg-base-200 {
  background-color: var(--base-200);
}

.section.bg-base-300 {
  background-color: var(--base-300);
}

.section.bg-green {
  background: linear-gradient(135deg, #1a3d2e 0%, #0f2d1f 50%, var(--base-300) 100%);
}

/* --- Geometric Background Pattern --- */
.geo-pattern {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.geo-pattern svg {
  position: absolute;
  opacity: 0.06;
}

.geo-pattern svg.right {
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
}

.geo-pattern svg.left {
  left: -100px;
  top: 50%;
  transform: translateY(-50%);
}

/* --- Content above patterns --- */
.section>.container {
  position: relative;
  z-index: 1;
}

/* =============================================
   HEADER
   ============================================= */

.site-header {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo img {
  height: 32px;
  width: auto;
}

.site-logo svg {
  height: 32px;
  width: auto;
}

.menu-toggle {
  position: relative;
  z-index: 301;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}

.menu-toggle:hover span {
  background: var(--accent);
}

/* Hamburger → X */
.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-toggle.is-active span {
  background: var(--accent);
}

/* =============================================
   FOOTER
   ============================================= */

.site-footer {
  position: relative;
  background-color: var(--base-200);
  padding: 64px 0 40px;
  border-top: 1px solid var(--border);
  z-index: 20;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.footer-logo img {
  height: 36px;
  width: auto;
  margin: 0 auto;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s ease;
  border: 1px solid var(--border);
}

.footer-socials a:hover {
  background: rgba(161, 237, 176, 0.1);
  color: var(--accent);
  border-color: var(--border-accent);
}

.footer-socials svg {
  width: 18px;
  height: 18px;
}

/* wp_nav_menu outputs <ul class="menu"> - style the list as a clean grid */
.footer-links ul,
.footer-links .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--neutral-focus);
}

/* =============================================
   HERO SECTION
   ============================================= */

.hero {
  display: flex;
  padding-top: 32px;
  padding-bottom: 48px;
  align-items: center;
  background: linear-gradient(135deg, var(--base-400) 0%, var(--base-300) 60%, #0d2318 100%);
  overflow: hidden;
  position: relative;
}

.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

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

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  padding: 6px 14px;
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  background: rgba(161, 237, 176, 0.06);
}

.hero-title,
.page-content .hero-title {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-title .accent-text {
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 30%;
  height: 30%;
  background: rgba(161, 237, 176, 0.08);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* =============================================
   GET GROWING SECTION
   ============================================= */

.get-growing {
  background-color: var(--base-300);
}

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

.split-grid.reverse {
  direction: rtl;
}

.split-grid.reverse>* {
  direction: ltr;
}

.split-image {
  position: relative;
  overflow: hidden;
}

.split-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
}

.split-image::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 40%;
  height: 40%;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  opacity: 0.3;
  z-index: -1;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}

.checklist-item {
  display: flex;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--border);
}

.checklist-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--accent);
  margin-top: 2px;
}

.checklist-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}

.checklist-item p {
  font-size: 0.9rem;
  margin: 0;
}

/* =============================================
   FEATURES SECTION (Tabbed)
   ============================================= */

.features {
  background-color: var(--base-200);
}

.features-header {
  text-align: center;
  margin-bottom: 32px;
}

.features-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}

.feature-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-tab {
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
}

.feature-tab:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.feature-tab.active {
  background: rgba(161, 237, 176, 0.08);
  border-color: var(--border-accent);
  color: var(--accent);
}

.feature-panels {
  position: relative;
}

.feature-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.feature-panel.active {
  display: grid;
}

.feature-screenshot {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.feature-screenshot img {
  width: 100%;
}

.feature-content h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.feature-content p {
  font-size: 1rem;
  line-height: 1.75;
}

/* =============================================
   FROM LEAD TO DEED (Slider)
   ============================================= */

.lead-to-deed {
  background:
    url('/wp-content/themes/reamp/assets/images/reamp-logo-bg-pattern.png') center/auto repeat,
    /*linear-gradient(180deg, var(--base-300) 0%, #0f2d1a 50%, #0a2014 100%);*/
    #0a2014;
  overflow: hidden;
}

.lead-to-deed-header {
  text-align: center;
  margin-bottom: 32px;
}

.pipeline-slider {
  position: relative;
}

.pipeline-slides {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 25vh;
}

.pipeline-slide {
  display: none;
}

.pipeline-slide.active {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  animation: fadeInSlide 0.6s ease forwards;
}

.pipeline-nav {
  position: relative;
  display: flex;
  gap: 12px;
  z-index: 20;
  justify-content: center;
  width: 100%;
  height: content;
  margin-top: 20px;
  margin-bottom: 20px;
}

.pipeline-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-family: var(--font);
  margin: 2px;
}

.pipeline-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pipeline-btn svg {
  width: 18px;
  height: 18px;
}

.pipeline-stage-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pipeline-stage {
  transition: all;
  display: block;
}

.stage-card {
  transition: all;
  background: rgba(161, 237, 176, 0.08);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
}

.stage-card h3 {
  transition: all;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.stage-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stage-items li {
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.stage-items li:last-child {
  border-bottom: none;
}

.stage-illustration {
  transition: all;
  display: flex;
  max-width: 480px;
  width: 100%;
}

.pipeline-caption {
  text-align: center;
  margin-top: 24px;
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* =============================================
   CRM SECTION
   ============================================= */

.crm-section {
  background-color: var(--base-300);
}

.crm-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--base-200);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
}

.crm-card .logo-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  opacity: 0.8;
}

.crm-card h2 {
  margin-bottom: 24px;
}

.crm-card p {
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
}

.crm-card p strong {
  color: var(--text);
}

/* =============================================
   WHY WE BUILT IT
   ============================================= */

.why-built {
  background: linear-gradient(135deg, #1a3d2e 0%, #0f2d1f 70%);
}

.why-content {
  max-width: 520px;
}

.why-content .section-label {
  color: var(--accent);
}

.why-content p {
  margin-bottom: 20px;
}

.why-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* =============================================
   CTA SECTION
   ============================================= */

.cta-section {
  background-color: var(--base-200);
  position: relative;
  overflow: hidden;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cta-inner--centered {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-content {
  position: relative;
  padding-left: 24px;
  border-left: 3px solid var(--accent);
}

.cta-content h2 {
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1rem;
  margin-bottom: 32px;
}

.cta-image {
  position: relative;
}

.cta-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* =============================================
   PAGE TEMPLATE (Simple)
   ============================================= */

.page-hero {
  padding: 48px 0 28px;
  background: linear-gradient(135deg, var(--base-400) 0%, var(--base-300) 80%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
}

.page-hero .container .hero-content {
  display: block;
}

/* Decorative SVG background pattern on interior pages */
.page-bg-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.page-bg-pattern svg {
  position: absolute;
  opacity: 0.12;
}

/* Pattern-specific positioning */
.page-bg-pattern[data-pattern="hexagons"] svg,
.page-bg-pattern[data-pattern="rings"] svg {
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
}

.page-bg-pattern[data-pattern="scattered"] svg {
  right: 0;
  top: 0;
}

.page-bg-pattern[data-pattern="dots"] svg,
.page-bg-pattern[data-pattern="diagonal"] svg,
.page-bg-pattern[data-pattern="crosshatch"] svg {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  opacity: 0.08;
}

/* Soft gradient fade at edges for seamless blending */
.page-bg-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--base-300) 0%, transparent 15%, transparent 85%, var(--base-300) 100%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .page-bg-pattern {
    opacity: 0.6;
  }
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-content {
  padding: 30px 0;
  background-color: var(--base-300);
  overflow: hidden;
}

.page-content h1 {
  margin-bottom: 32px;
}

.page-content-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* =============================================
   GUTENBERG BLOCK ALIGNMENTS
   ============================================= */

/* Wide blocks break out of content width but stay within the theme max-width */
.alignwide {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

/* Full-width blocks break out to the viewport edge.
   overflow-x: hidden on html/body prevents any scrollbar from this. */
.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* On interior pages, constrain alignfull/alignwide so they don't
   cause horizontal overflow or push buttons off-screen. */
.page-content .alignfull,
.page-content .alignwide {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* Gutenberg custom-width buttons shouldn't exceed the content area */
.page-content .wp-block-button__width-25,
.page-content .wp-block-button__width-50,
.page-content .wp-block-button__width-75,
.page-content .wp-block-button__width-100 {
  width: auto;
  max-width: 100%;
}

.page-content .wp-block-button__width-50 {
  width: 50%;
}

.page-content .wp-block-button__width-100 {
  width: 100%;
}

/* Prevent any block from introducing horizontal scroll */
.wp-block {
  max-width: 100%;
}

.wp-block>* {
  max-width: 100%;
}

.page-content h2 {
  font-size: 1.2rem;
  margin: 48px 0 16px;
  color: var(--text);
}

.page-content h3 {
  font-size: 1rem;
  margin: 32px 0 12px;
  color: var(--text);
}

.page-content p {
  margin-bottom: 20px;
}

.page-content ul,
.page-content ol {
  margin: 16px 0 24px 24px;
  color: var(--text-muted);
}

.page-content ul {
  list-style: disc;
}

.page-content ol {
  list-style: decimal;
}

.page-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.page-content a {
  color: var(--accent);
  text-decoration: none;
  text-underline-offset: 3px;
}

.page-content a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.page-content strong {
  color: var(--text);
  font-weight: 600;
}

/* =============================================
   scroll animations
   ============================================= */

[data-animate] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate="fade-up"] {
  transform: translatey(40px);
}

[data-animate="fade-down"] {
  transform: translatey(-40px);
}

[data-animate="fade-left"] {
  transform: translatex(40px);
}

[data-animate="fade-right"] {
  transform: translatex(-40px);
}

[data-animate="fade"] {
  transform: none;
}

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

/* stagger delays for lists of items */
[data-animate-delay="1"] {
  transition-delay: 0.1s;
}

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

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

[data-animate-delay="4"] {
  transition-delay: 0.4s;
}

[data-animate-delay="5"] {
  transition-delay: 0.5s;
}

/* =============================================
   responsive
   ============================================= */

@media (max-width: 1024px) {

  .hero-grid,
  .split-grid,
  .features-layout,
  .pipeline-slides,
  .pipeline-slide,
  .pipeline-slider,
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split-grid.reverse {
    direction: ltr;
  }

  .feature-tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .feature-panel.active {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 32px 0;
  }

  .container {
    padding: 0 20px;
  }

  .hero-title,
  .page-content .hero-title {
    font-size: 2.4rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .crm-card {
    padding: 40px 24px;
  }

  .footer-links {
    gap: 16px;
  }
}

/* =============================================
   wordpress admin bar offset
   ============================================= */

/* desktop admin bar is 32px tall */
.admin-bar .site-header {
  top: 32px;
}

.admin-bar .hero {
  padding-top: calc(64px + 32px);
}

/* mobile admin bar is 46px tall */
@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }

  .admin-bar .hero {
    padding-top: calc(64px + 46px);
  }
}

.video-embed,
.wp-block-embed,
.wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 ratio */
  height: 0;
  overflow: hidden;
}

.video-embed iframe,
.wp-block-embed iframe,
.wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* feature panel alpine transitions */
.panel-enter {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.panel-enter-start {
  opacity: 0;
  transform: translatey(8px);
}

.panel-enter-end {
  opacity: 1;
  transform: translatey(0);
}

/* feature video */
.feature-video {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  background: var(--base-300);
}

.feature-video video {
  width: 100%;
  display: block;
}

[x-cloak] {
  display: none !important;
}

.feature-panels {
  position: relative;
  min-height: 400px;
  /* adjust to match your video height */
}

.feature-panel {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 48px;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

@keyframes fadeinslide {
  from {
    opacity: 0;
    transform: translatey(15px);
  }

  to {
    opacity: 1;
    transform: translatey(0);
  }
}

/* =============================================
   features - mobile
   ============================================= */

@media (max-width: 768px) {

  .features-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* tabs scroll horizontally */
  .feature-tabs {
    flex-direction: column;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding-bottom: 4px;
    margin-bottom: 24px;
  }

  .feature-tabs::-webkit-scrollbar {
    display: none;
  }

  .feature-tab {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  /* panels stack vertically */
  .feature-panels {
    min-height: unset;
  }

  .feature-panel {
    grid-template-columns: 1fr;
    gap: 24px;
    position: relative;
    /* override absolute positioning on mobile */
  }

  .feature-panel.panel-active {
    position: relative;
  }

  /* video full width */
  .feature-video {
    width: 100%;
  }

  /* content below video */
  .feature-content {
    padding: 0;
  }

  .feature-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }

  .pipeline-stage {
    width: 100%;
  }

  .pipeline-slide.active {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .features-to-pipeline-transition,
  .pipeline-to-crm-transition,
  .growing-to-features-transition,
  .why-to-amped-transition {
    height: 0;
  }
}

.features-to-pipeline-transition {
  height: 200px;
  position: relative;

  background:
    /* 1. top fade (matches section above) */
    linear-gradient(to bottom, var(--base-200), #0a2014) no-repeat;
  /* 3. the image, fixed so it meshes on scroll */
}

.pipeline-to-crm-transition {
  height: 200px;
  position: relative;

  background:
    /* 1. top fade (matches section above) */
    linear-gradient(to bottom, #0a2014, var(--base-300)) no-repeat;
  /* 3. the image, fixed so it meshes on scroll */
}

.growing-to-features-transition {
  height: 200px;
  position: relative;

  background:
    /* 1. top fade (matches section above) */
    linear-gradient(to bottom, var(--base-300), var(--base-200)) no-repeat;
  /* 3. the image, fixed so it meshes on scroll */
}

.why-to-amped-transition {
  height: 200px;
  position: relative;

  background:
    /* 1. top fade (matches section above) */
    linear-gradient(to bottom, #0f2d1f, var(--base-200)) no-repeat;
  /* 3. the image, fixed so it meshes on scroll */
}

/* =============================================
   FULLSCREEN MENU
   ============================================= */

/* Prevent FOUC before Alpine initializes */
[x-cloak] {
  display: none !important;
}

/* Alpine transition classes */
.fullscreen-enter,
.fullscreen-leave {
  transition: opacity 0.3s ease;
}

.fullscreen-enter-start,
.fullscreen-leave-end {
  opacity: 0;
}

.fullscreen-enter-end,
.fullscreen-leave-start {
  opacity: 1;
}

.fullscreen-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(13, 21, 32, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
}

.fullscreen-menu__bar {
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.fullscreen-menu__bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fullscreen-menu__inner {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 24px 24px 48px;
}

.fullscreen-menu__panel {
  width: 100%;
}

.fullscreen-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* Top-level items - stagger animation */
.fullscreen-menu-list>li {
  opacity: 0;
  transform: translateY(12px);
  animation: fullscreen-item-in 0.35s ease-out forwards;
}

.fullscreen-menu-list>li:nth-child(1) {
  animation-delay: 0.06s;
}

.fullscreen-menu-list>li:nth-child(2) {
  animation-delay: 0.10s;
}

.fullscreen-menu-list>li:nth-child(3) {
  animation-delay: 0.14s;
}

.fullscreen-menu-list>li:nth-child(4) {
  animation-delay: 0.18s;
}

.fullscreen-menu-list>li:nth-child(5) {
  animation-delay: 0.22s;
}

.fullscreen-menu-list>li:nth-child(6) {
  animation-delay: 0.26s;
}

.fullscreen-menu-list>li:nth-child(7) {
  animation-delay: 0.30s;
}

.fullscreen-menu-list>li:nth-child(8) {
  animation-delay: 0.34s;
}

.fullscreen-menu-list>li:nth-child(n+9) {
  animation-delay: 0.38s;
}

@keyframes fullscreen-item-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Links */
.fullscreen-menu-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius);
  transition: color 0.18s ease, background 0.18s ease;
}

/* Parent items: link + toggle sit side by side */
.menu-item-row {
  display: flex;
  align-items: stretch;
}

.menu-item-row>a {
  flex: 1 1 auto;
  min-width: 0;
}

.fullscreen-menu-list a:hover,
.fullscreen-menu-list a.is-current {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.04);
}

.menu-link-text {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Submenu toggle button */
.submenu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  flex-shrink: 0;
  padding: 0;
  margin-left: 2px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.submenu-toggle:hover,
.submenu-toggle[aria-expanded="true"] {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(161, 237, 176, 0.3);
}

.submenu-toggle svg {
  transition: transform 0.2s ease;
}

/* Submenus */
.sub-menu {
  list-style: none;
  margin: 0;
  padding: 2px 0 4px 0;
}

.sub-menu li {
  opacity: 0;
  transform: translateX(-8px);
  animation: submenu-item-in 0.25s ease-out forwards;
}

.sub-menu li:nth-child(1) {
  animation-delay: 0.04s;
}

.sub-menu li:nth-child(2) {
  animation-delay: 0.07s;
}

.sub-menu li:nth-child(3) {
  animation-delay: 0.10s;
}

.sub-menu li:nth-child(4) {
  animation-delay: 0.13s;
}

.sub-menu li:nth-child(5) {
  animation-delay: 0.16s;
}

.sub-menu li:nth-child(n+6) {
  animation-delay: 0.19s;
}

@keyframes submenu-item-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.sub-menu a {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text-muted);
  padding: 10px 16px 10px 24px;
}

/* Depth 2 sub-items: indent further under their parent */
.sub-menu--depth-2 a {
  font-size: 0.875rem;
  padding-left: 48px;
  color: var(--text-muted);
}

.sub-menu a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

/* Active sub-item: accent color + dot indicator */
.sub-menu a.is-current {
  color: var(--accent);
  background: rgba(161, 237, 176, 0.08);
  font-weight: 500;
}

/* Small dot that sits as a flex child before the link text */
.menu-current-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Custom logo - match existing sizing */
.site-logo .custom-logo-link img {
  height: 32px;
  width: auto;
}

/* =============================================
   BREADCRUMBS
   ============================================= */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs__sep {
  opacity: 0.5;
}

/* =============================================
   PAGE HEADER (interior pages)
   ============================================= */

.page-header {
  margin-bottom: 24px;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.page-excerpt {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.page-featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  border: 1px solid var(--border);
}

.page-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* =============================================
   BLOG LISTING & SIDEBAR LAYOUT
   ============================================= */

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.content-wrapper.has-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.content-main {
  min-width: 0;
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.post-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--base-200);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.post-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.post-card__thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

.post-card__body {
  padding: 28px;
}

.post-card__title {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.post-card__title a {
  color: var(--text);
  text-decoration: none;
}

.post-card__title a:hover {
  color: var(--accent);
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.post-card__meta a {
  color: var(--text-muted);
  text-decoration: none;
}

.post-card__meta a:hover {
  color: var(--accent);
}

.post-card__excerpt {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.post-card__readmore {
  font-size: 0.875rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.post-card__readmore:hover {
  color: var(--accent-dark);
}

/* Pagination */
.pagination,
av.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.pagination .page-numbers:hover {
  border-color: var(--border-accent);
  color: var(--text);
}

.pagination .page-numbers.current {
  background: rgba(161, 237, 176, 0.08);
  border-color: var(--border-accent);
  color: var(--accent);
}

.pagination .page-numbers.dots {
  border: none;
}

/* =============================================
   SIDEBAR
   ============================================= */

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.widget {
  background: var(--base-200);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.widget-title,
.widget .widget-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.widget ul li:last-child {
  border-bottom: none;
}

.widget a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.widget a:hover {
  color: var(--accent);
}

.widget input[type="search"],
.widget input[type="text"],
.widget input[type="email"] {
  width: 100%;
  padding: 10px 12px;
  background: var(--base-300);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.875rem;
}

/* =============================================
   SINGLE POST
   ============================================= */

.single-post {
  margin-bottom: 24px;
}

.post-featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  border: 1px solid var(--border);
}

.post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.post-meta-hero,
.post-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.post-content {
  line-height: 1.8;
}

.post-content h2,
.post-content h3 {
  margin-top: 2em;
}

.post-footer {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-tags a {
  font-size: 0.75rem;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.post-tags a:hover {
  border-color: var(--border-accent);
  color: var(--accent);
}

/* Post navigation (prev/next) */
.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.post-navigation a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.post-navigation a:hover {
  color: var(--accent);
}

/* =============================================
   COMMENTS
   ============================================= */

.comments-area {
  margin-top: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.comments-title {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 24px;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.comment-list .children {
  list-style: none;
  padding-left: 32px;
  margin-top: 24px;
}

.comment-body {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.comment-author {
  font-weight: 500;
}

.comment-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.comment-reply-link {
  font-size: 0.8125rem;
  color: var(--accent);
}

.comment-respond {
  margin-top: 32px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--base-300);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.9rem;
  font-family: var(--font);
  margin-bottom: 12px;
}

.comment-form label {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.comment-form .submit {
  padding: 10px 24px;
  background: var(--accent);
  color: var(--base-300);
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.comment-form .submit:hover {
  background: var(--accent-dark);
}

/* =============================================
   FOOTER WIDGETS
   ============================================= */

.footer-widgets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.footer-widget-title {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
  .content-wrapper.has-sidebar {
    grid-template-columns: 1fr;
  }

  .sidebar {
    order: -1;
  }
}

@media (max-width: 768px) {
  .page-title {
    font-size: 1.75rem;
  }

  .post-card__body {
    padding: 20px;
  }

  .post-navigation {
    flex-direction: column;
  }

  .footer-widgets {
    flex-direction: column;
  }

  .fullscreen-menu-list a {
    font-size: 1.25rem;
    padding: 16px 8px;
  }

  .footer-links ul,
  .footer-links .menu {
    gap: 16px;
  }
}

/* =============================================
   REUSABLE COMPONENTS
   ============================================= */

/* --- Section Header --- */
.section-header {
  margin-bottom: 32px;
}

.section-header--center {
  text-align: center;
}

.section-header--left {
  text-align: left;
  max-width: 640px;
}

.section-header--center .section-subtitle {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Feature Grid --- */
.feature-grid-section {
  padding: var(--section-padding);
}

.feature-grid {
  display: grid;
  gap: 24px;
}

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

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

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

.feature-card {
  background: var(--base-200);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.feature-card--linked {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
}

.feature-card--linked:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.feature-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
}

.feature-card__cta svg {
  transition: transform 0.2s ease;
}

.feature-card--linked:hover .feature-card__cta svg {
  transform: translateX(3px);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(161, 237, 176, 0.08);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
}

/* When an emoji is used instead of SVG, bump the font size */
.feature-card__icon:not(:has(svg)) {
  font-size: 1.5rem;
  line-height: 1;
}

.feature-card__title {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.feature-card__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Testimonial --- */
.testimonial-section {
  padding: var(--section-padding);
}

.testimonial-grid {
  display: grid;
  gap: 24px;
}

.testimonial-grid--1 {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
}

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

.testimonial-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.testimonial-card {
  background: var(--base-200);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-rating {
  display: flex;
  gap: 2px;
  color: var(--accent);
}

.testimonial-rating svg {
  width: 16px;
  height: 16px;
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  margin: 0;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}

.testimonial-author__info {
  display: flex;
  flex-direction: column;
}

.testimonial-author__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.testimonial-author__role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* --- FAQ --- */
.faq-section {
  padding: var(--section-padding);
}

.faq-container {
  max-width: 800px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--base-200);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.is-open {
  border-color: var(--border-accent);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  flex-shrink: 0;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.faq-icon svg {
  width: 20px;
  height: 20px;
}

.faq-icon--close {
  color: var(--accent);
}

.faq-answer {
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.9375rem;
  margin: 0;
}

/* --- Pricing Card --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--base-200);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-2px);
}

.pricing-card--featured {
  border-color: var(--border-accent);
  background: rgba(161, 237, 176, 0.04);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--base-300);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card__plan {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.pricing-card__price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.pricing-card__price {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.pricing-card__period {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.pricing-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-card__features {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  flex: 1;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.pricing-card__features li:last-child {
  border-bottom: none;
}

.pricing-card__check {
  flex-shrink: 0;
  color: var(--accent);
  display: flex;
}

.pricing-card__check svg {
  width: 18px;
  height: 18px;
}

.pricing-card__cta {
  text-align: center;
}

/* --- Comparison Table --- */
.comparison-section {
  padding: var(--section-padding);
}

.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
}

.comparison-table th {
  background: var(--base-200);
  font-weight: 600;
  color: var(--text);
  padding: 20px 24px;
}

.comparison-table th.is-highlighted {
  color: var(--accent);
}

.comparison-table td.is-highlighted {
  background: rgba(161, 237, 176, 0.03);
}

.comparison-table td.comparison-feature {
  color: var(--text);
  font-weight: 500;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.comparison-yes {
  color: var(--accent);
  display: inline-flex;
}

.comparison-yes svg {
  width: 20px;
  height: 20px;
}

.comparison-no {
  color: var(--text-muted);
  opacity: 0.4;
  display: inline-flex;
}

.comparison-no svg {
  width: 20px;
  height: 20px;
}

/* --- Component Responsive --- */
@media (max-width: 1024px) {
  .feature-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 768px) {

  .feature-grid--2,
  .feature-grid--3,
  .feature-grid--4 {
    grid-template-columns: 1fr;
  }

  .testimonial-grid--2,
  .testimonial-grid--3 {
    grid-template-columns: 1fr;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px 16px;
    font-size: 0.875rem;
  }

  .pricing-card {
    padding: 32px 24px;
  }
}
