/* =============================================
   PIPSIFY THEME - MAIN STYLESHEET
   Mobile-First & Professional
   ============================================= */

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

:root {
  --green: #00F5A0;
  --green-dim: #00c97f;
  --dark: #060A0F;
  --dark2: #0D1520;
  --dark3: #111d2e;
  --dark4: #162030;
  --text: #e8f4f0;
  --muted: #6b8fa8;
  --blue: #4FC3F7;
  --purple: #B388FF;
  --border: rgba(255,255,255,0.07);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--dark);
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  /* Room for bottom nav on mobile */
  padding-bottom: 0;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { font-family: inherit; }

/* ── UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 60px; }

/* ── PAGE / POST MAIN CONTENT ── */
.page-main {
  padding: 80px 60px;
}
.section-grid-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,245,160,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,245,160,0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none; z-index: 0;
}

/* ── SECTION HEADER ── */
.section-header { text-align: center; margin-bottom: 64px; position: relative; z-index: 2; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,245,160,0.07); border: 1px solid rgba(0,245,160,0.18);
  padding: 6px 16px; border-radius: 100px;
  font-size: 0.75rem; color: var(--green); font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800; letter-spacing: -1px; line-height: 1.15; margin-bottom: 16px;
}
.section-title .accent { color: var(--green); }
.section-sub { font-size: 1rem; color: var(--muted); font-weight: 300; max-width: 480px; margin: 0 auto; line-height: 1.7; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--green); color: #000;
  padding: 15px 28px; border-radius: 12px;
  font-weight: 700; font-size: 0.95rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 0 30px rgba(0,245,160,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
  border: none; cursor: pointer;
  min-height: 52px; /* Touch target */
  -webkit-tap-highlight-color: transparent;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 45px rgba(0,245,160,0.4); color: #000; }
.btn-primary:active { transform: scale(0.97); }

.btn-secondary {
  background: rgba(255,255,255,0.04); color: var(--text);
  padding: 15px 24px; border-radius: 12px;
  font-weight: 500; font-size: 0.95rem;
  border: 1px solid rgba(255,255,255,0.1);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background 0.2s;
  min-height: 52px;
  -webkit-tap-highlight-color: transparent;
}
.btn-secondary:hover { background: rgba(255,255,255,0.08); color: var(--text); }

.btn-outline-green {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: rgba(0,245,160,0.08); border: 1px solid rgba(0,245,160,0.25);
  color: var(--green); padding: 14px 28px; border-radius: 12px;
  font-weight: 600; font-size: 0.9rem;
  transition: background 0.2s, transform 0.2s;
  min-height: 52px;
  -webkit-tap-highlight-color: transparent;
}
.btn-outline-green:hover { background: rgba(0,245,160,0.14); transform: translateY(-2px); color: var(--green); }

/* =============================================
   NAVIGATION
   ============================================= */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(6,10,15,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 60px;
}
.site-logo {
  font-family: 'Syne', sans-serif; font-size: 1.5rem;
  font-weight: 800; color: #fff;
}
.site-logo span { color: var(--green); }

.nav-menu { display: flex; gap: 36px; align-items: center; }
.nav-menu a { color: var(--muted); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-menu a:hover { color: #fff; }
.nav-menu .nav-cta {
  background: var(--green); color: #000 !important;
  padding: 10px 22px; border-radius: 8px; font-weight: 600 !important;
  min-height: 44px; display: flex; align-items: center;
}
.nav-menu .nav-cta:hover { opacity: 0.88; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none;
  padding: 10px; margin: -10px -10px -10px 0;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }

/* Mobile Nav Overlay */
.mobile-nav {
  display: none; position: fixed; inset: 0;
  background: rgba(6,10,15,0.98);
  z-index: 999; flex-direction: column;
  align-items: center; justify-content: center; gap: 24px;
  padding-bottom: calc(80px + var(--safe-bottom));
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  font-family: 'Syne', sans-serif; font-size: 2rem;
  font-weight: 700; color: var(--text); transition: color 0.2s;
  min-height: 56px; display: flex; align-items: center;
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav a:hover { color: var(--green); }
.mobile-nav .m-cta {
  background: var(--green); color: #000 !important;
  padding: 16px 48px; border-radius: 14px; font-size: 1.2rem !important;
  margin-top: 8px;
}
.mobile-nav-close {
  position: absolute; top: calc(22px + var(--safe-top)); right: 24px;
  font-size: 1.8rem; color: var(--muted);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%; width: 44px; height: 44px;
  cursor: pointer; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

/* =============================================
   MOBILE BOTTOM NAV BAR (phones only)
   ============================================= */
.mobile-bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(13,21,32,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 10px 0 calc(10px + var(--safe-bottom));
  box-shadow: 0 -8px 32px rgba(0,0,0,0.5);
}
.mbn-inner {
  display: flex; justify-content: space-around; align-items: center;
}
.mbn-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  flex: 1; padding: 6px 4px;
  color: var(--muted); font-size: 0.65rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.4px;
  transition: color 0.2s;
  -webkit-tap-highlight-color: transparent;
  min-height: 48px; justify-content: center;
}
.mbn-item:hover, .mbn-item.active { color: var(--green); }
.mbn-icon { font-size: 1.3rem; line-height: 1; }
.mbn-item.mbn-cta {
  background: var(--green); color: #000; border-radius: 12px;
  margin: 0 8px; font-weight: 700; padding: 8px 6px;
}
.mbn-item.mbn-cta:hover { color: #000; opacity: 0.9; }

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
  position: relative; min-height: 90vh;
  display: flex; align-items: center;
  padding: 80px 60px; overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,245,160,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,245,160,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}
.hero-blob-1 {
  position: absolute; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(0,245,160,0.13) 0%, transparent 70%);
  top: -80px; right: 60px; border-radius: 50%;
  animation: blobPulse 6s ease-in-out infinite;
}
.hero-blob-2 {
  position: absolute; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(0,180,255,0.07) 0%, transparent 70%);
  bottom: 60px; left: 160px; border-radius: 50%;
  animation: blobPulse 8s ease-in-out infinite reverse;
}
@keyframes blobPulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.1);opacity:0.7} }

.hero-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 60px;
  width: 100%; max-width: 1200px; margin: 0 auto; position: relative; z-index: 2;
}
.hero-content { flex: 1; max-width: 580px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,245,160,0.08); border: 1px solid rgba(0,245,160,0.2);
  padding: 7px 14px; border-radius: 100px;
  font-size: 0.78rem; color: var(--green); font-weight: 500;
  margin-bottom: 28px; letter-spacing: 0.4px;
}
.badge-dot {
  width: 6px; height: 6px; background: var(--green);
  border-radius: 50%; animation: blinkDot 1.5s infinite;
}
@keyframes blinkDot { 0%,100%{opacity:1} 50%{opacity:0.25} }

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -1.5px; margin-bottom: 24px;
}
.hero-title .accent { color: var(--green); }
.hero-title .dim { color: rgba(232,244,240,0.42); }

.hero-desc {
  font-size: 1.05rem; color: var(--muted);
  line-height: 1.75; max-width: 470px;
  margin-bottom: 40px; font-weight: 300;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }

.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.stat-item .stat-num {
  font-family: 'Syne', sans-serif; font-size: 1.6rem;
  font-weight: 800; color: #fff; line-height: 1;
}
.stat-item .stat-num span { color: var(--green); }
.stat-item .stat-label { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }
.stat-divider { width: 1px; background: rgba(255,255,255,0.08); align-self: stretch; }

/* Calc Card */
.hero-visual { flex-shrink: 0; position: relative; }
.calc-card {
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: 20px; padding: 28px; width: 300px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5); position: relative;
}
.calc-card::before {
  content: ''; position: absolute;
  top: -1px; left: 30px; right: 30px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
}
.calc-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.calc-card-title { font-family: 'Syne', sans-serif; font-size: 0.88rem; font-weight: 700; color: #fff; }
.calc-live-badge {
  background: rgba(0,245,160,0.1); color: var(--green);
  font-size: 0.68rem; padding: 3px 10px; border-radius: 100px; font-weight: 600;
}
.calc-field { margin-bottom: 12px; }
.calc-field-label { font-size: 0.7rem; color: var(--muted); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.5px; }
.calc-field-input {
  background: var(--dark3); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px; padding: 9px 13px;
  display: flex; justify-content: space-between;
  font-size: 0.88rem; color: #fff; font-weight: 500;
}
.calc-field-input .unit { font-size: 0.72rem; color: var(--muted); }
.calc-result {
  background: linear-gradient(135deg, rgba(0,245,160,0.1), rgba(0,245,160,0.04));
  border: 1px solid rgba(0,245,160,0.2);
  border-radius: 12px; padding: 14px; margin-top: 16px; text-align: center;
}
.calc-result-label { font-size: 0.7rem; color: var(--green); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 5px; }
.calc-result-value { font-family: 'Syne', sans-serif; font-size: 1.7rem; font-weight: 800; color: #fff; }
.calc-result-sub { font-size: 0.7rem; color: var(--muted); margin-top: 2px; }

.float-chip {
  position: absolute; background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 10px 14px;
  white-space: nowrap; box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.float-chip-label { color: var(--muted); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.float-chip-val { color: var(--green); font-weight: 700; font-size: 0.88rem; }
.float-chip-1 { top: -22px; left: -90px; animation: chipFloat 4s ease-in-out infinite; }
.float-chip-2 { bottom: 12px; right: -80px; animation: chipFloat 5s ease-in-out infinite reverse; }
@keyframes chipFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* =============================================
   TOOLS SECTION
   ============================================= */
.tools-section {
  padding: 110px 60px; position: relative; overflow: hidden;
}
.tools-section::before {
  content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,245,160,0.2), transparent);
}
.tools-glow {
  position: absolute; width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(0,245,160,0.06) 0%, transparent 70%);
  top: 0; left: 50%; transform: translateX(-50%); pointer-events: none;
}
.tools-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px; max-width: 1100px; margin: 0 auto;
  position: relative; z-index: 2;
}

.tool-card {
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: 20px; padding: 32px 28px;
  position: relative; overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  display: block;
  -webkit-tap-highlight-color: transparent;
  touch-action: pan-y;
}
.tool-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.13); }
.tool-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; opacity: 0; transition: opacity 0.3s;
}
.tool-card:hover::before { opacity: 1; }
.tool-card-glow {
  position: absolute; width: 200px; height: 200px;
  border-radius: 50%; top: -60px; right: -60px;
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.tool-card:hover .tool-card-glow { opacity: 1; }

.card-green::before { background: linear-gradient(90deg, var(--green), transparent); }
.card-green .tool-card-glow { background: radial-gradient(circle, rgba(0,245,160,0.1), transparent 70%); }
.card-blue::before { background: linear-gradient(90deg, var(--blue), transparent); }
.card-blue .tool-card-glow { background: radial-gradient(circle, rgba(79,195,247,0.1), transparent 70%); }
.card-purple::before { background: linear-gradient(90deg, var(--purple), transparent); }
.card-purple .tool-card-glow { background: radial-gradient(circle, rgba(179,136,255,0.1), transparent 70%); }

.tool-icon-box {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px; font-size: 1.4rem;
}
.icon-green { background: rgba(0,245,160,0.1); border: 1px solid rgba(0,245,160,0.2); }
.icon-blue  { background: rgba(79,195,247,0.1); border: 1px solid rgba(79,195,247,0.2); }
.icon-purple{ background: rgba(179,136,255,0.1); border: 1px solid rgba(179,136,255,0.2); }

.tool-card-tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 8px; }
.tag-green { color: var(--green); }
.tag-blue  { color: var(--blue); }
.tag-purple{ color: var(--purple); }

.tool-card-name { font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: 12px; letter-spacing: -0.3px; }
.tool-card-desc { font-size: 0.86rem; color: var(--muted); line-height: 1.65; font-weight: 300; margin-bottom: 24px; }

.tool-preview {
  background: var(--dark3); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px; padding: 14px 16px; margin-bottom: 22px;
}
.tool-preview-row { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; }
.tool-preview-row + .tool-preview-row { border-top: 1px solid rgba(255,255,255,0.04); margin-top: 8px; padding-top: 10px; }
.tool-preview-key { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.4px; }
.tool-preview-val { font-size: 0.84rem; font-weight: 600; color: #fff; }
.val-green  { color: var(--green); }
.val-blue   { color: var(--blue); }
.val-purple { color: var(--purple); }

.tool-card-cta { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; font-weight: 600; transition: gap 0.2s; }
.cta-green  { color: var(--green); }
.cta-blue   { color: var(--blue); }
.cta-purple { color: var(--purple); }
.tool-card:hover .tool-card-cta { gap: 13px; }
.cta-arrow {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s;
}
.arrow-green  { background: rgba(0,245,160,0.15); }
.arrow-blue   { background: rgba(79,195,247,0.15); }
.arrow-purple { background: rgba(179,136,255,0.15); }
.tool-card:hover .cta-arrow { transform: translateX(3px); }

.tools-bottom { text-align: center; margin-top: 52px; position: relative; z-index: 2; }
.tools-bottom p { color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; font-weight: 300; }

/* =============================================
   WHY PIPSIFY SECTION
   ============================================= */
.why-section { padding: 110px 60px; position: relative; overflow: hidden; }
.why-section::before {
  content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,245,160,0.15), transparent);
}
.why-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  max-width: 1100px; margin: 0 auto; position: relative; z-index: 2;
}
.why-left .section-header { text-align: left; margin-bottom: 40px; }
.why-left .section-sub { margin: 0; }

.why-features { display: flex; flex-direction: column; gap: 20px; margin-top: 40px; }
.why-feature {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: 16px; padding: 20px 22px;
  transition: border-color 0.3s, transform 0.3s;
}
.why-feature:hover { border-color: rgba(0,245,160,0.2); transform: translateX(4px); }
.why-feature-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(0,245,160,0.08); border: 1px solid rgba(0,245,160,0.18);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.why-feature-title { font-family: 'Syne', sans-serif; font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.why-feature-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.6; font-weight: 300; }

/* Right side visual */
.why-right { position: relative; }
.why-visual-card {
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: 24px; padding: 36px; position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}
.why-visual-card::before {
  content: ''; position: absolute; top: -1px; left: 30px; right: 30px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
}
.why-chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.why-chart-title { font-family: 'Syne', sans-serif; font-size: 0.9rem; font-weight: 700; color: #fff; }
.why-chart-badge {
  background: rgba(0,245,160,0.1); color: var(--green);
  font-size: 0.7rem; padding: 4px 12px; border-radius: 100px; font-weight: 600;
}
.why-bars { display: flex; align-items: flex-end; gap: 10px; height: 140px; margin-bottom: 16px; }
.why-bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.why-bar {
  width: 100%; border-radius: 6px 6px 0 0;
  background: rgba(0,245,160,0.15);
  transition: background 0.2s;
}
.why-bar.active { background: var(--green); }
.why-bar-label { font-size: 0.65rem; color: var(--muted); text-align: center; }

.why-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.why-metric {
  background: var(--dark3); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px; padding: 14px 16px;
}
.why-metric-val { font-family: 'Syne', sans-serif; font-size: 1.3rem; font-weight: 800; color: #fff; }
.why-metric-val span { color: var(--green); }
.why-metric-label { font-size: 0.72rem; color: var(--muted); margin-top: 3px; }

/* =============================================
   TESTIMONIALS SECTION
   ============================================= */
.testimonials-section { padding: 110px 60px; position: relative; overflow: hidden; }
.testimonials-section::before {
  content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,245,160,0.15), transparent);
}
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px; max-width: 1100px; margin: 0 auto; position: relative; z-index: 2;
}
.testi-card {
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: 20px; padding: 30px 28px;
  position: relative; overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
  touch-action: pan-y;
}
.testi-card:hover { transform: translateY(-4px); border-color: rgba(0,245,160,0.15); }
.testi-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,245,160,0.2), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.testi-card:hover::before { opacity: 1; }

.testi-stars { display: flex; gap: 3px; margin-bottom: 18px; }
.testi-stars span { color: #FFD700; font-size: 0.9rem; }
.testi-quote {
  font-size: 0.9rem; color: var(--text); line-height: 1.7;
  font-weight: 300; margin-bottom: 24px; font-style: italic;
}
.testi-quote::before { content: '"'; color: var(--green); font-size: 1.5rem; line-height: 0; vertical-align: -0.4em; margin-right: 4px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 0.9rem; color: #000;
  flex-shrink: 0;
}
.testi-name { font-family: 'Syne', sans-serif; font-size: 0.88rem; font-weight: 700; color: #fff; }
.testi-handle { font-size: 0.74rem; color: var(--muted); margin-top: 1px; }

/* =============================================
   FAQ SECTION
   ============================================= */
.faq-section { padding: 110px 60px; position: relative; overflow: hidden; }
.faq-section::before {
  content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,245,160,0.15), transparent);
}
.faq-inner { max-width: 780px; margin: 0 auto; position: relative; z-index: 2; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.is-open { border-color: rgba(0,245,160,0.25); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 24px; cursor: pointer;
  font-family: 'Syne', sans-serif; font-size: 0.95rem;
  font-weight: 700; color: #fff; gap: 16px;
  background: none; border: none; width: 100%; text-align: left;
  min-height: 64px; /* Touch target */
  -webkit-tap-highlight-color: transparent;
}
.faq-icon {
  width: 30px; height: 30px; flex-shrink: 0;
  background: rgba(0,245,160,0.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green); font-size: 1.2rem; font-weight: 300;
  transition: transform 0.3s, background 0.3s;
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); background: rgba(0,245,160,0.2); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.3s; }
.faq-item.is-open .faq-answer { max-height: 200px; }
.faq-answer-inner {
  padding: 0 24px 22px; font-size: 0.88rem;
  color: var(--muted); line-height: 1.75; font-weight: 300;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--dark2); border-top: 1px solid var(--border);
  padding: 70px 60px 32px;
}
.footer-top {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 56px;
}
.footer-brand .site-logo { font-size: 1.4rem; margin-bottom: 16px; display: block; }
.footer-brand-desc { font-size: 0.86rem; color: var(--muted); line-height: 1.7; font-weight: 300; max-width: 280px; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 10px; }
.footer-social {
  width: 40px; height: 40px; border-radius: 9px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 0.85rem; transition: background 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.footer-social:hover { background: rgba(0,245,160,0.1); color: var(--green); }

.footer-col-title { font-family: 'Syne', sans-serif; font-size: 0.82rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 0.86rem; color: var(--muted); transition: color 0.2s; font-weight: 300; min-height: 36px; display: flex; align-items: center; }
.footer-links a:hover { color: var(--green); }

.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 0.82rem; color: var(--muted); font-weight: 300; }
.footer-copy span { color: var(--green); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.82rem; color: var(--muted); transition: color 0.2s; }
.footer-bottom-links a:hover { color: #fff; }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
.anim-fade-up { animation: fadeUp 0.6s ease both; }
.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.2s; }
.anim-delay-3 { animation-delay: 0.3s; }
.anim-delay-4 { animation-delay: 0.4s; }

/* =============================================
   RESPONSIVE - TABLET (≤1024px)
   ============================================= */

/* =============================================
   RESPONSIVE - TABLET (≤1024px)
   ============================================= */
/* =============================================
   INNER PAGE WRAPPER — Tools / Trading Plan / Blog
   ============================================= */
.inner-page-wrapper {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .inner-page-wrapper {
    max-width: 1280px;
    padding: 0 60px;
  }
}

@media (min-width: 1400px) {
  .inner-page-wrapper {
    max-width: 1320px;
    padding: 0 80px;
  }
}

/* =============================================
   RESPONSIVE - DESKTOP MEDIUM (≤1024px)
   ============================================= */
@media (max-width: 1024px) {
  .nav-inner { padding: 16px 32px; }
  .hero-section { padding: 60px 32px; }
  .tools-section, .why-section, .testimonials-section, .faq-section, .site-footer { padding-left: 32px; padding-right: 32px; }
  .hero-inner { gap: 40px; }
  .calc-card { width: 260px; }
  .float-chip { display: none; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .why-inner { gap: 48px; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr; }
}

/* =============================================
   RESPONSIVE - MOBILE (≤768px)
   ============================================= */
@media (max-width: 768px) {

  /* Prevent horizontal overflow globally */
  html, body {
    overflow-x: hidden;
    width: 100%;
  }
  * { box-sizing: border-box; max-width: 100%; }

  .inner-page-wrapper {
    max-width: 100%;
    padding: 0 20px;
  }

  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }

  /* ── CONTAINER FIX ── */
  .container {
    padding: 0 16px;
    max-width: 100%;
  }

  /* ── PAGE / POST MAIN CONTENT ── */
  .page-main {
    padding: 40px 18px;
  }

  /* ── NAV ── */
  .nav-inner { padding: 14px 16px; }
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .mobile-bottom-nav { display: block; }

  /* ── HERO ── */
  .hero-section {
    padding: 40px 16px 56px;
    min-height: auto;
  }
  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  .hero-content { max-width: 100%; width: 100%; }
  .hero-badge { font-size: 0.72rem; padding: 6px 12px; }
  .hero-title {
    font-size: clamp(1.85rem, 8.5vw, 2.5rem);
    letter-spacing: -0.8px;
    line-height: 1.1;
    word-break: break-word;
  }
  .hero-desc {
    font-size: 0.92rem;
    max-width: 100%;
    margin-bottom: 28px;
    line-height: 1.7;
  }
  .hero-btns {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
    width: 100%;
  }
  .hero-btns .btn-primary,
  .hero-btns .btn-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .hero-stats {
    gap: 16px;
    flex-wrap: wrap;
  }
  .stat-item .stat-num { font-size: 1.2rem; }
  .stat-item .stat-label { font-size: 0.72rem; }

  /* Hero visual — full width centered */
  .hero-visual {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .calc-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 20px 16px;
  }
  .float-chip { display: none; }

  /* Blobs — smaller on mobile so they don't overflow */
  .hero-blob-1 { width: 280px; height: 280px; top: -40px; right: -40px; }
  .hero-blob-2 { width: 180px; height: 180px; }

  /* ── SECTION HEADER ── */
  .section-title {
    font-size: clamp(1.6rem, 7vw, 2rem);
    letter-spacing: -0.5px;
    line-height: 1.15;
  }
  .section-sub { font-size: 0.9rem; max-width: 100%; }
  .section-header { margin-bottom: 36px; }

  /* ── TOOLS SECTION ── */
  .tools-section { padding: 64px 16px; }
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
    padding: 0;
  }
  .tool-card {
    padding: 22px 18px;
    width: 100%;
  }
  .tool-preview { display: block; }
  .tools-bottom { margin-top: 36px; }
  .tools-bottom p { font-size: 0.85rem; }

  /* ── WHY SECTION ── */
  .why-section { padding: 64px 16px; }
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
  .why-left .section-header { text-align: center; }
  .why-left .section-sub { margin: 0 auto; }
  .why-features { gap: 14px; margin-top: 28px; }
  .why-feature { padding: 16px 16px; gap: 14px; }
  .why-feature-icon { width: 40px; height: 40px; font-size: 1rem; flex-shrink: 0; }
  .why-feature-title { font-size: 0.9rem; }
  .why-feature-desc { font-size: 0.8rem; }

  /* Why right visual */
  .why-visual-card { padding: 24px 20px; }
  .why-bars { height: 110px; }
  .why-metrics { gap: 10px; }
  .why-metric { padding: 12px 14px; }
  .why-metric-val { font-size: 1.1rem; }

  /* ── TESTIMONIALS ── */
  .testimonials-section {
    padding: 64px 0 64px 16px;
  }
  .testimonials-grid {
    grid-template-columns: repeat(3, 82vw);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 0 16px 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 100vw;
  }
  .testimonials-grid::-webkit-scrollbar { display: none; }
  .testi-card {
    scroll-snap-align: start;
    min-width: 0;
    padding: 22px 20px;
  }
  .testi-quote { font-size: 0.85rem; }

  /* ── FAQ ── */
  .faq-section { padding: 64px 16px; }
  .faq-inner { max-width: 100%; }
  .faq-question {
    padding: 16px 18px;
    font-size: 0.85rem;
    min-height: 58px;
  }
  .faq-answer-inner { padding: 0 18px 18px; font-size: 0.85rem; }

  /* ── FOOTER ── */
  .site-footer { padding: 48px 16px 28px; }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-brand { grid-column: span 2; }
  .footer-brand-desc { max-width: 100%; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding-top: 20px;
  }
  .footer-bottom-links { justify-content: center; flex-wrap: wrap; gap: 14px; }
  .footer-copy { font-size: 0.78rem; }
}

/* =============================================
   RESPONSIVE - SMALL PHONE (≤480px)
   ============================================= */
@media (max-width: 480px) {

  /* Hero */
  .hero-title { font-size: 1.8rem; letter-spacing: -0.5px; }
  .hero-section { padding: 32px 14px 52px; }
  .hero-badge { font-size: 0.68rem; }
  .hero-stats { gap: 10px; }
  .stat-divider { display: none; }
  .stat-item .stat-num { font-size: 1.1rem; }

  /* Page / Post main content */
  .page-main { padding: 32px 16px; }

  /* Sections */
  .tools-section, .why-section, .faq-section { padding-top: 52px; padding-bottom: 52px; }
  .section-title { font-size: 1.6rem; }

  /* Calc card fields */
  .calc-field-input { font-size: 0.82rem; padding: 8px 11px; }
  .calc-result-value { font-size: 1.45rem; }

  /* Tool cards */
  .tool-card { padding: 18px 14px; }
  .tool-icon-box { width: 44px; height: 44px; margin-bottom: 16px; }
  .tool-card-name { font-size: 1.05rem; }
  .tool-card-desc { font-size: 0.82rem; margin-bottom: 18px; }

  /* Why feature */
  .why-feature { flex-direction: column; gap: 10px; }
  .why-feature-icon { width: 38px; height: 38px; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: repeat(3, 88vw); }
  .testimonials-section { padding-left: 14px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand { grid-column: span 1; }
  .site-footer { padding: 40px 14px 24px; }
  .footer-col-title { font-size: 0.78rem; margin-bottom: 14px; }
  .footer-links a { font-size: 0.82rem; min-height: 32px; }

  /* Mobile nav */
  .mobile-nav a { font-size: 1.7rem; }
  .mobile-nav .m-cta { font-size: 1rem !important; padding: 14px 36px; }

  /* FAQ */
  .faq-question { font-size: 0.82rem; padding: 14px 16px; }
}

/* =============================================
   EXTRA SMALL (≤360px) — very small phones
   ============================================= */
@media (max-width: 360px) {
  .hero-title { font-size: 1.6rem; }
  .hero-section { padding: 28px 12px 48px; }
  .tools-section, .why-section, .faq-section { padding-left: 12px; padding-right: 12px; }
  .tool-card { padding: 16px 12px; }
  .site-footer { padding-left: 12px; padding-right: 12px; }
  .faq-section { padding-left: 12px; padding-right: 12px; }
  .nav-inner { padding: 12px 14px; }
  .testimonials-grid { grid-template-columns: repeat(3, 92vw); padding: 0 12px 16px; }
}

/* =============================================
   TRUST / STATS SECTION
   ============================================= */
.trust-section {
  padding: 80px 0;
  background: var(--dark);
  position: relative;
}
.trust-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,245,160,.15), transparent);
}

/* Numbers strip */
.trust-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 48px;
  margin: 0 auto 48px;
  max-width: 900px;
}
.trust-num-item {
  flex: 1;
  text-align: center;
}
.trust-num {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
}
.trust-num span {
  font-size: 1.6rem;
  color: var(--green);
}
.trust-num-label {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.trust-num-divider {
  width: 1px;
  height: 56px;
  background: var(--border);
  flex-shrink: 0;
  margin: 0 32px;
}

/* Feature cards */
.trust-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 auto 40px;
  max-width: 1320px;
}
.trust-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 26px;
  transition: border-color .25s, transform .25s;
}
.trust-card:hover {
  border-color: rgba(0,245,160,.2);
  transform: translateY(-3px);
}
.trust-card-center {
  border-color: rgba(0,245,160,.18);
  background: linear-gradient(145deg, #0d1a14, var(--dark2));
  position: relative;
}
.trust-card-center::before {
  content: '✦ Most Used';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.trust-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.trust-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(0,245,160,.1);
  border: 1px solid rgba(0,245,160,.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.trust-card-badge {
  background: rgba(0,245,160,.08);
  border: 1px solid rgba(0,245,160,.15);
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: .5px;
}
.trust-card-title {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}
.trust-card-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Pairs strip */
.trust-pairs-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1320px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.trust-pairs-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  flex-shrink: 0;
}
.trust-pairs-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.trust-pairs-list span {
  background: var(--dark2);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 5px 13px;
  border-radius: 100px;
  transition: border-color .2s, color .2s;
}
.trust-pairs-list span:last-child {
  color: var(--green);
  border-color: rgba(0,245,160,.2);
}

/* ── TRUST SECTION MOBILE ── */
@media (max-width: 768px) {
  .trust-section { padding: 52px 16px; }
  .trust-numbers {
    flex-wrap: wrap;
    gap: 0;
    padding: 24px 20px;
    border-radius: 16px;
  }
  .trust-num-item { width: 50%; padding: 16px 8px; }
  .trust-num { font-size: 2.2rem; }
  .trust-num-divider { display: none; }
  .trust-cards { grid-template-columns: 1fr; gap: 12px; }
  .trust-card { padding: 22px 20px; }
  .trust-card-center { margin-top: 16px; }
  .trust-pairs-strip { gap: 10px; }
  .trust-pairs-list span { font-size: 0.7rem; padding: 4px 10px; }
}
@media (max-width: 480px) {
  .trust-num { font-size: 1.9rem; }
  .trust-num-item { padding: 14px 6px; }
}
