/*
Theme Name: SocioSchedule
Theme URI: https://yoursite.com/socioschedule-theme
Author: Your Name
Author URI: https://yoursite.com
Description: A complete Buffer-style social media scheduling theme built for the SocioSchedule plugin. Features a stunning dark UI, PayPal checkout, pricing pages, and full SPA dashboard.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: socioschedule
Tags: dark, social-media, saas, scheduler, one-column, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ─────────────────────────────────────────────
   DESIGN SYSTEM — SocioSchedule Theme
   Aesthetic: Refined dark SaaS / editorial luxury
   Fonts: Syne (display) + DM Sans (body)
───────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300&display=swap');

:root {
  /* Core Palette */
  --bg:          #080a0f;
  --surface:     #0f1117;
  --surface-2:   #161b26;
  --surface-3:   #1e2535;
  --border:      #1f2638;
  --border-2:    #2a3347;

  /* Accent */
  --accent:      #3d8bfe;
  --accent-2:    #7c5cfc;
  --accent-glow: rgba(61,139,254,.2);
  --gradient:    linear-gradient(135deg, #3d8bfe 0%, #7c5cfc 100%);

  /* Status */
  --green:       #22c55e;
  --red:         #ef4444;
  --yellow:      #f59e0b;
  --orange:      #f97316;

  /* Text */
  --text:        #e2e8f0;
  --text-2:      #94a3b8;
  --text-3:      #64748b;
  --white:       #ffffff;

  /* Platform Colors */
  --facebook:    #1877f2;
  --instagram:   #e1306c;
  --twitter:     #1d9bf0;
  --linkedin:    #0a66c2;
  --reddit:      #ff4500;
  --pinterest:   #e60023;
  --tiktok:      #69c9d0;

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Spacing */
  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   18px;
  --radius-xl:   24px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,.4);
  --shadow:      0 4px 24px rgba(0,0,0,.5);
  --shadow-lg:   0 12px 48px rgba(0,0,0,.6);
  --shadow-accent: 0 8px 32px rgba(61,139,254,.3);

  /* Layout */
  --header-h:    70px;
  --sidebar-w:   260px;
  --container:   1180px;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-2); }

img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: var(--font-body); }
input, select, textarea { font-family: var(--font-body); }

/* ─── Noise Texture Overlay ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: .4;
}

/* ═══════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--white);
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-weight: 700; }
h4 { font-size: 1.2rem; font-weight: 600; }

p { color: var(--text-2); }

/* ═══════════════════════════════════════════
   LAYOUT UTILITIES
═══════════════════════════════════════════ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

.text-center { text-align: center; }
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .3px;
  border: none;
  cursor: pointer;
  transition: all .2s cubic-bezier(.4,0,.2,1);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(61,139,254,.45);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-2);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}

.btn-ghost {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--surface-3);
  color: var(--white);
}

.btn-lg { padding: 16px 36px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-full { width: 100%; justify-content: center; }

.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #dc2626; }

/* ═══════════════════════════════════════════
   HEADER / NAVIGATION
═══════════════════════════════════════════ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(8, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all .3s;
}

#site-header.scrolled {
  background: rgba(8, 10, 15, 0.96);
  box-shadow: 0 4px 32px rgba(0,0,0,.6);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  gap: 32px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-accent);
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.3px;
}

/* Main Nav */
.main-nav {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: all .15s;
  text-decoration: none;
}

.main-nav a:hover, .main-nav a.active {
  color: var(--white);
  background: var(--surface-2);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 22px;
  padding: 4px;
  margin-left: auto;
}

/* ═══════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 60px) 0 80px;
  position: relative;
  overflow: hidden;
}

/* Radial glow backgrounds */
.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(61,139,254,.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 60%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(124,92,252,.1) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(61,139,254,.1);
  border: 1px solid rgba(61,139,254,.25);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-trust-avatars {
  display: flex;
}

.hero-trust-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  margin-left: -8px;
}
.hero-trust-avatar:first-child { margin-left: 0; }

.hero-trust-text {
  font-size: 13px;
  color: var(--text-3);
}
.hero-trust-text strong { color: var(--text-2); }

/* Hero App Preview */
.hero-preview {
  position: relative;
}

.hero-preview-frame {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 80px rgba(61,139,254,.1);
  aspect-ratio: 16/10;
  position: relative;
}

.hero-preview-bar {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-preview-dots {
  display: flex;
  gap: 6px;
}

.hero-preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.hero-preview-dot:nth-child(1) { background: #ef4444; }
.hero-preview-dot:nth-child(2) { background: #f59e0b; }
.hero-preview-dot:nth-child(3) { background: #22c55e; }

.hero-preview-url {
  flex: 1;
  background: var(--surface-3);
  border-radius: var(--radius-sm);
  padding: 4px 12px;
  font-size: 11px;
  color: var(--text-3);
  text-align: center;
  margin: 0 20px;
}

.hero-preview-screen {
  display: grid;
  grid-template-columns: 180px 1fr;
  height: calc(100% - 42px);
}

.preview-sidebar {
  background: var(--surface-2);
  border-right: 1px solid var(--border);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.preview-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  margin-bottom: 12px;
}
.preview-logo-icon {
  width: 24px;
  height: 24px;
  background: var(--gradient);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.preview-logo-text {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: var(--white);
}

.preview-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
}
.preview-nav-item.active {
  background: var(--accent);
  color: #fff;
}

.preview-main { padding: 16px; overflow: hidden; }

.preview-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.preview-stat {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
}
.preview-stat-val { font-size: 14px; font-weight: 800; color: var(--white); font-family: var(--font-display); }
.preview-stat-label { font-size: 9px; color: var(--text-3); margin-top: 2px; }

.preview-posts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.preview-post {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.preview-post-icon { font-size: 12px; }
.preview-post-text { font-size: 10px; color: var(--text-2); flex: 1; }
.preview-post-badge {
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 100px;
  font-weight: 700;
}
.preview-post-badge.scheduled { background: rgba(61,139,254,.15); color: var(--accent); }
.preview-post-badge.published { background: rgba(34,197,94,.15); color: var(--green); }

/* Floating feature pills on hero */
.hero-float-pill {
  position: absolute;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: 100px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
}

.hero-float-pill-1 { top: -16px; right: 20%; animation-delay: 0s; }
.hero-float-pill-2 { bottom: 10%; right: -20px; animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ═══════════════════════════════════════════
   PLATFORM STRIP
═══════════════════════════════════════════ */
.platforms-strip {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.platforms-strip-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 24px;
}

.platforms-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.platform-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-2);
  transition: all .2s;
  border-right: 1px solid var(--border);
}
.platform-chip:first-child { border-left: 1px solid var(--border); }
.platform-chip span { font-size: 20px; }
.platform-chip:hover { color: var(--white); background: var(--surface-2); }

/* ═══════════════════════════════════════════
   FEATURES SECTION
═══════════════════════════════════════════ */
.features-section {
  padding: 100px 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-top: 60px;
}

.feature-card {
  background: var(--surface);
  padding: 40px 36px;
  transition: background .2s;
}

.feature-card:hover { background: var(--surface-2); }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-accent);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════ */
.how-section {
  padding: 100px 0;
  position: relative;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 60px;
  position: relative;
}

.how-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-2), var(--accent), var(--border-2), transparent);
}

.how-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.how-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  margin: 0 auto 20px;
  transition: all .2s;
}

.how-step:hover .how-step-num {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.how-step h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.how-step p {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
   STATS BANNER
═══════════════════════════════════════════ */
.stats-section {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 32px 24px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label { font-size: 14px; color: var(--text-3); }

/* ═══════════════════════════════════════════
   PRICING SECTION
═══════════════════════════════════════════ */
.pricing-section {
  padding: 100px 0;
  position: relative;
}

.pricing-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(124,92,252,.08) 0%, transparent 70%);
  pointer-events: none;
}

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 32px 0 48px;
}

.billing-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-3);
  transition: color .2s;
}
.billing-label.active { color: var(--white); }

/* Toggle Switch */
.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  cursor: pointer;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--surface-3);
  border: 1px solid var(--border-2);
  border-radius: 100px;
  transition: background .3s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 4px;
  top: 3px;
  background: var(--text-3);
  border-radius: 50%;
  transition: all .3s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--accent); border-color: var(--accent); }
.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(22px);
  background: #fff;
}

.save-badge {
  display: inline-flex;
  padding: 3px 10px;
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.25);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: .3px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.plan-card {
  background: var(--surface);
  padding: 36px 28px;
  position: relative;
  transition: background .2s;
  display: flex;
  flex-direction: column;
}
.plan-card:hover { background: var(--surface-2); }

.plan-card.popular {
  background: linear-gradient(180deg, rgba(61,139,254,.08) 0%, var(--surface) 100%);
}

.plan-popular-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 0 0 var(--radius) var(--radius);
  letter-spacing: .5px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: var(--shadow-accent);
}

.plan-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.plan-price {
  font-family: var(--font-display);
  margin: 20px 0 4px;
}
.plan-price .amount {
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.plan-price .period {
  font-size: 14px;
  color: var(--text-3);
  font-weight: 400;
}
.plan-price .free-label {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-2);
}

.plan-savings { font-size: 12px; color: var(--green); margin-bottom: 8px; min-height: 18px; }
.plan-desc { font-size: 13px; color: var(--text-3); margin-bottom: 24px; line-height: 1.5; }

.plan-divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  margin-bottom: 28px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.4;
}

.plan-features li .check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(34,197,94,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ═══════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════ */
.testimonials-section {
  padding: 100px 0;
  overflow: hidden;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .2s;
}
.testimonial-card:hover {
  border-color: var(--border-2);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: var(--yellow);
  font-size: 14px;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-name { font-size: 14px; font-weight: 700; color: var(--white); }
.testimonial-role { font-size: 12px; color: var(--text-3); }

/* ═══════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════ */
.cta-section {
  padding: 100px 0;
}

.cta-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(61,139,254,.06) 0%, transparent 60%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.cta-sub {
  font-size: 17px;
  color: var(--text-2);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-3);
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
#site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--text-3); transition: color .15s; }
.footer-col ul li a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-3);
}

.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a { font-size: 13px; color: var(--text-3); }
.footer-links a:hover { color: var(--text); }

/* ═══════════════════════════════════════════
   CARDS & COMPONENTS
═══════════════════════════════════════════ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

/* Alert / Notice */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.alert-info { background: rgba(61,139,254,.08); border: 1px solid rgba(61,139,254,.2); color: var(--text-2); }
.alert-success { background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.2); color: var(--green); }
.alert-danger { background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.2); color: var(--red); }

/* Pill badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
}
.badge-accent { background: rgba(61,139,254,.15); color: var(--accent); }
.badge-green { background: rgba(34,197,94,.15); color: var(--green); }
.badge-red { background: rgba(239,68,68,.15); color: var(--red); }
.badge-yellow { background: rgba(245,158,11,.15); color: var(--yellow); }

/* Loading spinner */
.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border-2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════
   FORM ELEMENTS
═══════════════════════════════════════════ */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 8px;
  letter-spacing: .2px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 16px;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

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

/* ═══════════════════════════════════════════
   MODAL
═══════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(8px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-xl);
  padding: 36px;
  width: 100%;
  max-width: 480px;
  transform: translateY(20px) scale(.97);
  transition: all .25s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.modal-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-3);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .15s;
}
.modal-close:hover { color: var(--white); border-color: var(--border-2); }

/* ═══════════════════════════════════════════
   TOAST NOTIFICATIONS
═══════════════════════════════════════════ */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  pointer-events: auto;
  animation: toast-in .3s cubic-bezier(.4,0,.2,1) forwards;
}

.toast.success { border-color: rgba(34,197,94,.3); }
.toast.error   { border-color: rgba(239,68,68,.3); }

.toast-icon { font-size: 18px; flex-shrink: 0; }
.toast-msg { flex: 1; }
.toast-close { opacity: .5; cursor: pointer; flex-shrink: 0; font-size: 16px; }
.toast-close:hover { opacity: 1; }

@keyframes toast-in {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════
   PAGE TEMPLATES
═══════════════════════════════════════════ */

/* --- Full-width page (app / pricing) --- */
.page-full-width #site-footer,
.page-full-width #site-header { display: none; }

.page-full-width body { padding: 0; }

/* ─── Single Post ─── */
.post-container {
  max-width: 720px;
  margin: calc(var(--header-h) + 60px) auto 80px;
  padding: 0 24px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  font-size: 13px;
  color: var(--text-3);
}

.post-tag {
  display: inline-flex;
  padding: 3px 10px;
  background: var(--accent-glow);
  border: 1px solid rgba(61,139,254,.2);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.post-content h2 { margin: 40px 0 16px; font-size: 1.6rem; }
.post-content h3 { margin: 32px 0 12px; font-size: 1.3rem; }
.post-content p  { margin-bottom: 20px; color: var(--text-2); font-size: 16px; line-height: 1.8; }
.post-content ul, .post-content ol { margin: 20px 0; padding-left: 24px; color: var(--text-2); line-height: 1.8; }
.post-content li { margin-bottom: 8px; }
.post-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 16px 24px;
  background: var(--surface-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0;
  color: var(--text);
  font-style: italic;
}
.post-content code {
  background: var(--surface-2);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}
.post-content pre {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  overflow-x: auto;
  margin: 28px 0;
}
.post-content img { border-radius: var(--radius); margin: 28px auto; }

/* ─── Sidebar widget ─── */
.widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}
.widget-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

/* ─── WordPress Core Alignments ─── */
.alignnone  { margin: 1em 0; }
.aligncenter { display: block; margin: 2em auto; text-align: center; }
.alignright { float: right; margin: 0 0 1em 1em; }
.alignleft  { float: left; margin: 0 1em 1em 0; }

/* ─── Comments ─── */
#comments { margin-top: 60px; border-top: 1px solid var(--border); padding-top: 40px; }
.comment-list { list-style: none; }
.comment { padding: 20px 0; border-bottom: 1px solid var(--border); }
.comment-author .fn { font-weight: 700; color: var(--white); font-size: 14px; }
.comment-meta { font-size: 12px; color: var(--text-3); margin: 4px 0 12px; }
.comment-content p { font-size: 14px; color: var(--text-2); }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .how-steps { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .how-steps::before { display: none; }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-preview { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .platforms-row { flex-wrap: wrap; justify-content: center; }
  .platform-chip { border: 1px solid var(--border); border-radius: var(--radius); margin: 4px; }
  .how-steps { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-box { padding: 48px 24px; }
  .plans-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-section { padding: calc(var(--header-h) + 40px) 0 60px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-cta { flex-direction: column; }
  .how-steps { grid-template-columns: 1fr; }
}

/* ─── Animated Entrance ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─── WP Admin Bar Offset ─── */
.admin-bar #site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar #site-header { top: 46px; } }

/* ─── Accessibility ─── */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  overflow: hidden;
  position: absolute;
  word-wrap: normal !important;
}

/* ─── Selection ─── */
::selection {
  background: var(--accent-glow);
  color: var(--white);
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 100px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }
