/*
Theme Name: Trading Toolbox
Theme URI: https://tradingtoolbox.com.au
Description: Custom child theme for Trading Toolbox - built on GeneratePress
Author: Trader IQ Pty Ltd
Author URI: https://tradingtoolbox.com.au
Template: generatepress
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: tradingtoolbox
*/

/* ══════════════════════════════════════════
   TRADING TOOLBOX DESIGN SYSTEM
   ══════════════════════════════════════════ */

/* ── HIDE GENERATEPRESS DEFAULTS ── */
.site-header { display: none !important; }
.entry-title { display: none !important; }
.site-footer { display: none !important; }
.site-info { display: none !important; }

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

:root {
  --dark: #0F1923;
  --dark-mid: #1A2736;
  --blue: #1B4DDB;
  --blue-light: #3366FF;
  --blue-soft: #EBF0FF;
  --accent: #00C2A8;
  --accent-soft: #E6FAF7;
  --white: #FFFFFF;
  --off-white: #F7F8FA;
  --gray-50: #F2F4F7;
  --gray-100: #E4E7EC;
  --gray-300: #98A2B3;
  --gray-500: #667085;
  --gray-700: #344054;
  --gray-900: #101828;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 17px;
    color: var(--gray-900);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ── NAVBAR ── */
.tt-navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-100);
  transition: all 0.3s ease;
}
.tt-navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 16px 32px;
}
.tt-logo {
  font-family: var(--font-display); font-size: 24px; font-weight: 400;
  color: var(--gray-900); text-decoration: none; letter-spacing: -0.5px;
}
.tt-logo span { color: var(--blue); }
.tt-logo-img { height: 36px; width: auto; }
.tt-nav-links { display: flex; gap: 32px; align-items: center; list-style: none; }
.tt-nav-links a {
  color: var(--gray-500); text-decoration: none; font-size: 18px;
  font-weight: 500; transition: color 0.25s;
}
.tt-nav-links a:hover { color: var(--gray-900); }
.tt-nav-cta {
  background: var(--dark) !important; color: var(--white) !important;
  padding: 10px 24px; border-radius: 8px;
  font-weight: 600 !important; font-size: 14px !important;
  transition: all 0.25s;
}
.tt-nav-cta:hover { background: var(--dark-mid) !important; transform: translateY(-1px); }

.tt-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.tt-hamburger span { display: block; width: 24px; height: 2px; background: var(--gray-900); margin: 5px 0; transition: all 0.3s; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--dark); color: var(--white);
  padding: 16px 32px; border-radius: 8px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: all 0.3s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(27,77,219,0.25); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--gray-700);
  padding: 16px 32px; border-radius: 8px;
  font-size: 15px; font-weight: 500; text-decoration: none;
border: 2px solid var(--gray-300); transition: all 0.3s;
}
.btn-secondary:hover { border-color: var(--gray-300); background: var(--gray-50); }

/* ── HERO ── */
.hero {
  padding: 160px 0 80px;
  background: var(--white) url('assets/images/hero-candles.svg') right center / contain no-repeat;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: var(--gray-100);
}
.hero-content { max-width: 720px; }
.hero h1 {
  font-family: var(--font-display); font-size: clamp(44px, 5.5vw, 70px);
  font-weight: 400; line-height: 1.08; letter-spacing: -1.5px;
  margin-bottom: 24px; color: var(--gray-900);
  opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
}
.hero h1 em { font-style: italic; color: var(--blue); }
.hero p {
  font-size: 18px; line-height: 1.7; color: var(--gray-500);
  max-width: 540px; margin-bottom: 40px;
  opacity: 0; animation: fadeUp 0.8s 0.4s forwards;
}
.hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.8s 0.6s forwards;
}

/* ── CATEGORIES (3 cards) ── */
.categories { padding: 96px 0; background: var(--off-white); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  color: var(--blue); font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px;
}
.section-header h2 {
  font-family: var(--font-display); font-size: clamp(30px, 3.5vw, 42px);
  font-weight: 400; letter-spacing: -0.5px; color: var(--gray-900);
}
.cat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cat-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none; color: var(--gray-900);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer; display: flex; flex-direction: column;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  border-color: transparent;
}
.cat-img {
  width: 100%; height: 180px; object-fit: cover;
  transition: all 0.4s;
}
.cat-card:hover .cat-img { transform: scale(1.03); }
.cat-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.cat-body h3 {
  font-family: var(--font-display); font-size: 21px; font-weight: 400;
  margin-bottom: 8px; line-height: 1.3;
}
.cat-body p {
  font-size: 14px; color: var(--gray-500); line-height: 1.6;
  margin-bottom: 16px; flex: 1;
}
.cat-arrow {
  color: var(--blue); font-size: 14px; font-weight: 600;
  display: flex; align-items: center; gap: 6px; transition: gap 0.3s;
}
.cat-card:hover .cat-arrow { gap: 12px; }

/* ── AUTHORITY STRIP ── */
.authority { padding: 96px 0; background: var(--white); }
.auth-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.auth-item { text-align: center; }
.auth-icon {
  width: 52px; height: 52px; margin: 0 auto 20px;
  background: var(--blue-soft); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.auth-icon svg { width: 24px; height: 24px; stroke: var(--blue); fill: none; stroke-width: 1.8; }
.auth-item h3 {
  font-family: var(--font-display); font-size: 22px; font-weight: 400;
  margin-bottom: 8px; color: var(--gray-900);
}
.auth-item p { font-size: 15px; color: var(--gray-500); line-height: 1.6; max-width: 320px; margin: 0 auto; }

/* ── MONTHLY FREE TOOL ── */
.diagnostic { padding: 48px 0 96px; background: var(--white); }
.diag-inner {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: 20px;
  padding: 64px;
  display: flex; align-items: center; gap: 64px;
  position: relative; overflow: hidden;
  color: var(--gray-900);
}
.diag-inner::before {
  content: ''; position: absolute; top: -40%; right: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(27,77,219,0.04), transparent 70%);
}
.diag-content { flex: 1; position: relative; z-index: 1; }
.diag-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-soft); color: var(--blue);
  padding: 6px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 20px;
}
.diag-content h2 {
  font-family: var(--font-display); font-size: clamp(28px, 3vw, 38px);
  font-weight: 400; margin-bottom: 16px; line-height: 1.2;
}
.diag-content p {
  font-size: 16px; color: var(--gray-500); line-height: 1.7;
  margin-bottom: 32px; max-width: 480px;
}
.diag-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--dark); color: var(--white);
  padding: 16px 32px; border-radius: 8px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: all 0.3s; border: none; cursor: pointer;
}
.diag-btn:hover { background: var(--dark-mid); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(15,25,35,0.15); }
.diag-visual {
  width: 260px; height: 260px; flex-shrink: 0;
  background: var(--white); border-radius: 20px;
  border: 1px solid var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.diag-visual svg { width: 72px; height: 72px; stroke: var(--blue); fill: none; stroke-width: 1; opacity: 0.4; }
.diag-visual-img { background: transparent; border: none; }
.diag-visual-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }

/* ── FOOTER ── */
.tt-footer {
  padding: 64px 0 32px;
  background: var(--off-white);
  border-top: 1px solid var(--gray-100);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand p { color: var(--gray-500); font-size: 14px; line-height: 1.7; margin-top: 12px; max-width: 280px; }
.footer-logo { height: 90px; width: auto; margin-bottom: 4px; }
.footer-tagline { color: var(--gray-500); font-size: 13px; line-height: 1.6; max-width: 260px; }
.footer-disclaimer { color: var(--gray-300); font-size: 12px; font-style: italic; }
.footer-col h4 {
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--gray-700); margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--gray-500); text-decoration: none; font-size: 14px; transition: color 0.25s; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  border-top: 1px solid var(--gray-100);
  padding-top: 24px; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { color: var(--gray-300); font-size: 13px; }
.footer-bottom a { color: var(--gray-300); text-decoration: none; font-size: 13px; margin-left: 24px; }
.footer-bottom a:hover { color: var(--blue); }

/* ── BREADCRUMBS ── */
.breadcrumb {
  font-size: 13px; color: var(--gray-300); margin-bottom: 16px;
}
.breadcrumb a { color: var(--gray-500); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { margin: 0 8px; }

/* ── PRODUCT LISTING ── */
.cat-header { padding: 100px 0 56px; border-bottom: 1px solid var(--gray-100); }
.cat-header-inner { max-width: 640px; }
.cat-header h1 {
  font-family: var(--font-display); font-size: clamp(34px, 4vw, 48px);
  font-weight: 400; line-height: 1.15; letter-spacing: -1px;
  margin-bottom: 16px;
}
.cat-header p { font-size: 17px; line-height: 1.7; color: var(--gray-500); }

.products-section { padding: 64px 0 96px; }
.product-count { font-size: 14px; color: var(--gray-300); margin-bottom: 32px; font-weight: 500; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: 12px; overflow: hidden;
  text-decoration: none; color: var(--gray-900);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.08); border-color: transparent; }
.product-img-wrap { position: relative; overflow: hidden; }
.product-img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.4s; }
.product-card:hover .product-img { transform: scale(1.03); }
.product-badge {
  position: absolute; top: 12px; right: 12px;
  padding: 5px 12px; border-radius: 6px;
  font-size: 13px; font-weight: 600; backdrop-filter: blur(8px);
}
.badge-price { background: rgba(255,255,255,0.9); color: var(--gray-900); border: 1px solid var(--gray-100); }
.badge-free { background: var(--accent); color: var(--white); }
.product-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.product-body h3 { font-family: var(--font-display); font-size: 20px; font-weight: 400; margin-bottom: 8px; line-height: 1.3; }
.product-body p { font-size: 14px; color: var(--gray-500); line-height: 1.6; margin-bottom: 20px; flex: 1; }
.product-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--blue); font-size: 14px; font-weight: 600; transition: gap 0.3s;
}
.product-card:hover .product-link { gap: 12px; }

/* ── INDIVIDUAL PRODUCT PAGE ── */
.product-header { padding: 100px 0 64px; }
.product-header-grid { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.product-info h1 {
  font-family: var(--font-display); font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 400; line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 16px;
}
.product-tagline { font-size: 17px; line-height: 1.7; color: var(--gray-500); margin-bottom: 28px; }
.product-description { margin-bottom: 0; }
.product-description p { font-size: 16px; line-height: 1.7; color: var(--gray-700); margin-bottom: 16px; }
.product-description ul { list-style: none; }
.product-description li {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 14px; font-size: 15px; line-height: 1.6; color: var(--gray-700);
  padding-left: 0;
}
.product-description li::before {
  content: '✓'; color: var(--blue); font-weight: 700; flex-shrink: 0; margin-top: 1px;
}
.product-benefits { list-style: none; }
.product-benefits li {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 14px; font-size: 15px; line-height: 1.6; color: var(--gray-700);
}
.benefit-icon {
  width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px;
  background: var(--blue-soft); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.benefit-icon svg { width: 13px; height: 13px; stroke: var(--blue); fill: none; stroke-width: 2.5; }

.purchase-box {
  background: var(--off-white); border: 1px solid var(--gray-100);
  border-radius: 16px; padding: 32px; position: sticky; top: 100px;
}
.purchase-price { font-family: var(--font-display); font-size: 40px; font-weight: 400; color: var(--gray-900); margin-bottom: 4px; }
.purchase-price-note { font-size: 13px; color: var(--gray-300); margin-bottom: 24px; }
.edd-purchase-area { margin-bottom: 20px; }
.edd-purchase-area .edd-add-to-cart,
.edd-purchase-area .edd-submit,
.purchase-btn-placeholder {
  display: block; width: 100%; padding: 16px 32px;
  background: var(--dark); color: var(--white); border: none; border-radius: 8px;
  font-family: var(--font-body); font-size: 16px; font-weight: 600;
  cursor: pointer; transition: all 0.3s; text-align: center; text-decoration: none;
}
.edd-purchase-area .edd-add-to-cart:hover,
.purchase-btn-placeholder:hover { background: var(--dark-mid); transform: translateY(-2px); }
.purchase-includes { padding-top: 20px; border-top: 1px solid var(--gray-100); }
.purchase-includes h4 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray-700); margin-bottom: 12px; }
.purchase-includes ul { list-style: none; }
.purchase-includes li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gray-500); margin-bottom: 8px; }
.purchase-includes li svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 2; flex-shrink: 0; }

.video-section { padding: 0 0 80px; }
.video-wrap { max-width: 800px; margin: 0 auto; border-radius: 12px; overflow: hidden; border: 1px solid var(--gray-100); box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.video-wrap iframe { width: 100%; aspect-ratio: 16/9; display: block; border: none; }

.how-it-works { padding: 80px 0; background: var(--off-white); border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); }
.how-it-works h2 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 34px); font-weight: 400; text-align: center; margin-bottom: 48px; }
.hiw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.hiw-item { text-align: center; }
.hiw-number { width: 44px; height: 44px; margin: 0 auto 16px; background: var(--blue-soft); color: var(--blue); border-radius: 50%; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.hiw-item h4 { font-size: 16px; font-weight: 600; color: var(--gray-900); margin-bottom: 8px; }
.hiw-item p { font-size: 14px; color: var(--gray-500); line-height: 1.6; max-width: 280px; margin: 0 auto; }

.examples-section { padding: 80px 0; }
.examples-section h2 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 34px); font-weight: 400; text-align: center; margin-bottom: 56px; }
.example-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 56px; }
.example-row:last-child { margin-bottom: 0; }
.example-row.reversed .example-img { order: 2; }
.example-row.reversed .example-text { order: 1; }
.example-img img { width: 100%; border-radius: 12px; border: 1px solid var(--gray-100); box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.example-text h3 { font-family: var(--font-display); font-size: 24px; font-weight: 400; margin-bottom: 12px; }
.example-text p { font-size: 15px; color: var(--gray-500); line-height: 1.7; }

.cta-section { padding: 64px 0 80px; border-top: 1px solid var(--gray-100); }
.cta-inner {
  background: var(--off-white); border: 1px solid var(--gray-100); border-radius: 16px;
  padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.cta-text h2 { font-family: var(--font-display); font-size: clamp(24px, 2.5vw, 32px); font-weight: 400; margin-bottom: 8px; }
.cta-text p { font-size: 15px; color: var(--gray-500); }
.cta-price-action { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.cta-price { font-family: var(--font-display); font-size: 36px; font-weight: 400; color: var(--gray-900); }
.cta-buy-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--dark); color: var(--white); padding: 16px 32px; border-radius: 8px;
  font-size: 15px; font-weight: 600; text-decoration: none; transition: all 0.3s; border: none; cursor: pointer;
}
.cta-buy-btn:hover { background: var(--dark-mid); transform: translateY(-2px); }

.product-disclaimer { padding: 0 0 32px; text-align: center; }
.product-disclaimer p { font-size: 12px; color: var(--gray-300); font-style: italic; max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* ── OPT-IN PAGE ── */
.optin-hero { padding: 100px 0 80px; min-height: 100vh; display: flex; align-items: center; }
.optin-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; }
.optin-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-soft); color: var(--blue);
  padding: 6px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 24px;
}
.optin-pitch h1 {
  font-family: var(--font-display); font-size: clamp(34px, 4vw, 48px);
  font-weight: 400; line-height: 1.15; letter-spacing: -1px;
  margin-bottom: 16px; color: var(--gray-900);
}
.optin-pitch h1 em { font-style: italic; color: var(--blue); }
.optin-subtitle { font-size: 17px; line-height: 1.7; color: var(--gray-500); margin-bottom: 36px; max-width: 480px; }
.optin-benefits { list-style: none; margin-bottom: 32px; }
.optin-benefits li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: 15px; line-height: 1.6; color: var(--gray-700); }
.optin-preview { margin-top: 8px; }
.optin-preview img { max-width: 100%; border-radius: 12px; border: 1px solid var(--gray-100); box-shadow: 0 4px 20px rgba(0,0,0,0.06); }

.optin-form-wrap {
  background: var(--off-white); border: 1px solid var(--gray-100);
  border-radius: 16px; padding: 40px 36px;
}
.optin-form-wrap h3 { font-family: var(--font-display); font-size: 24px; font-weight: 400; margin-bottom: 8px; }
.optin-form-intro { font-size: 14px; color: var(--gray-500); line-height: 1.6; margin-bottom: 28px; }
.optin-form-wrap input[type="text"],
.optin-form-wrap input[type="email"],
.optin-form-wrap .mc-field-group input,
.placeholder-input {
  width: 100%; padding: 14px 16px; border: 1px solid var(--gray-100); border-radius: 8px;
  font-family: var(--font-body); font-size: 15px; color: var(--gray-900);
  background: var(--white); margin-bottom: 16px; transition: border-color 0.25s; outline: none;
}
.optin-form-wrap input:focus, .placeholder-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27,77,219,0.08); }
.optin-form-wrap input[type="submit"],
.optin-form-wrap .button,
.placeholder-btn {
  width: 100%; padding: 16px 32px; background: var(--dark); color: var(--white);
  border: none; border-radius: 8px; font-family: var(--font-body);
  font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.3s; margin-top: 4px;
}
.optin-form-wrap input[type="submit"]:hover, .placeholder-btn:hover { background: var(--dark-mid); transform: translateY(-2px); }
.optin-form-wrap label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.optin-reassurance { text-align: center; margin-top: 20px; font-size: 13px; color: var(--gray-300); }

.next-steps { padding: 64px 0 80px; border-top: 1px solid var(--gray-100); background: var(--off-white); }
.next-steps h2 { font-family: var(--font-display); font-size: clamp(24px, 2.5vw, 32px); font-weight: 400; text-align: center; margin-bottom: 48px; }
.steps-grid { display: flex; align-items: flex-start; justify-content: center; max-width: 800px; margin: 0 auto; }
.step-item { flex: 1; text-align: center; padding: 0 20px; }
.step-number { width: 40px; height: 40px; margin: 0 auto 16px; background: var(--blue-soft); color: var(--blue); border-radius: 50%; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.step-item h4 { font-size: 15px; font-weight: 600; color: var(--gray-900); margin-bottom: 8px; }
.step-item p { font-size: 14px; color: var(--gray-500); line-height: 1.6; }
.step-connector { width: 40px; height: 1px; background: var(--gray-100); flex-shrink: 0; margin-top: 20px; }

/* ── ARTICLES ── */
.articles-header { padding: 100px 0 48px; border-bottom: 1px solid var(--gray-100); }
.articles-header h1 { font-family: var(--font-display); font-size: clamp(34px, 4vw, 48px); font-weight: 400; letter-spacing: -1px; margin-bottom: 12px; }
.articles-header p { font-size: 17px; color: var(--gray-500); line-height: 1.7; max-width: 540px; }

.filter-bar { padding: 24px 0; border-bottom: 1px solid var(--gray-100); }
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; }
.filter-tab { padding: 8px 20px; border-radius: 100px; font-size: 14px; font-weight: 500; color: var(--gray-500); background: transparent; border: 1px solid var(--gray-100); cursor: pointer; transition: all 0.25s; text-decoration: none; }
.filter-tab:hover { border-color: var(--gray-300); color: var(--gray-700); }
.filter-tab.active { background: var(--dark); color: var(--white); border-color: var(--dark); }

.articles-section { padding: 48px 0 96px; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card {
  background: var(--white); border: 1px solid var(--gray-100); border-radius: 12px;
  overflow: hidden; text-decoration: none; color: var(--gray-900);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); display: flex; flex-direction: column;
}
.article-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.08); border-color: transparent; }
.article-img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.4s; }
.article-card:hover .article-img { transform: scale(1.03); }
.article-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.article-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.article-category { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--blue); }
.article-date { font-size: 12px; color: var(--gray-300); }
.article-body h3 { font-family: var(--font-display); font-size: 20px; font-weight: 400; line-height: 1.3; margin-bottom: 8px; }
.article-body p { font-size: 14px; color: var(--gray-500); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.article-link { color: var(--blue); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.3s; }
.article-card:hover .article-link { gap: 12px; }
.load-more-wrap { text-align: center; padding-top: 48px; }
.load-more-btn { display: inline-flex; padding: 14px 32px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--gray-700); background: var(--white); border: 1px solid var(--gray-100); cursor: pointer; text-decoration: none; transition: all 0.25s; }
.load-more-btn:hover { border-color: var(--gray-300); background: var(--gray-50); }

/* ── INDIVIDUAL ARTICLE ── */
.article-header { padding: 100px 0 40px; border-bottom: 1px solid var(--gray-100); }
.article-header-inner { max-width: 720px; }
.article-header h1 { font-family: var(--font-display); font-size: clamp(32px, 4vw, 44px); font-weight: 400; line-height: 1.2; letter-spacing: -0.5px; margin-bottom: 16px; }
.article-header-meta { display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--gray-500); }
.article-header-category { color: var(--blue); font-weight: 600; text-decoration: none; }
.meta-dot { color: var(--gray-300); }
.featured-image { padding: 40px 0 0; }
.featured-image img { width: 100%; max-height: 480px; object-fit: cover; border-radius: 12px; border: 1px solid var(--gray-100); }

.article-layout { padding: 48px 0 96px; display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.article-content h2 { font-family: var(--font-display); font-size: 28px; font-weight: 400; margin: 40px 0 16px; line-height: 1.3; }
.article-content h3 { font-family: var(--font-display); font-size: 22px; font-weight: 400; margin: 32px 0 12px; }
.article-content p { font-size: 16px; line-height: 1.8; color: var(--gray-700); margin-bottom: 20px; }
.article-content ul, .article-content ol { margin: 0 0 20px 24px; }
.article-content li { font-size: 16px; line-height: 1.8; color: var(--gray-700); margin-bottom: 8px; }
.article-content blockquote { border-left: 3px solid var(--blue); padding: 16px 24px; margin: 24px 0; background: var(--blue-soft); border-radius: 0 8px 8px 0; }
.article-content blockquote p { color: var(--gray-900); margin-bottom: 0; font-style: italic; }
.article-content img { width: 100%; border-radius: 8px; margin: 24px 0; border: 1px solid var(--gray-100); }

.sidebar { position: sticky; top: 100px; }
.sidebar-card { background: var(--off-white); border: 1px solid var(--gray-100); border-radius: 12px; padding: 24px; margin-bottom: 24px; }
.sidebar-free-tool .sidebar-badge { display: inline-flex; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; background: var(--accent); color: var(--white); }
.sidebar-webinar .sidebar-badge { display: inline-flex; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; background: var(--blue); color: var(--white); }
.sidebar-featured-tool .sidebar-badge { display: inline-flex; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; background: var(--blue-soft); color: var(--blue); }
.sidebar-card h4 { font-family: var(--font-display); font-size: 20px; font-weight: 400; margin-bottom: 8px; }
.sidebar-card p { font-size: 14px; color: var(--gray-500); line-height: 1.6; margin-bottom: 16px; }
.webinar-date { font-size: 13px; color: var(--blue); font-weight: 600; margin-bottom: 12px; }
.sidebar-btn { display: block; text-align: center; padding: 12px 24px; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; transition: all 0.25s; }
.sidebar-btn-primary { background: var(--dark); color: var(--white); }
.sidebar-btn-primary:hover { background: var(--dark-mid); }
.sidebar-btn-secondary { background: var(--white); color: var(--gray-700); border: 1px solid var(--gray-100); }
.sidebar-btn-secondary:hover { border-color: var(--gray-300); }

.related-articles { padding: 64px 0 80px; border-top: 1px solid var(--gray-100); background: var(--off-white); }
.related-articles h2 { font-family: var(--font-display); font-size: clamp(24px, 2.5vw, 30px); font-weight: 400; margin-bottom: 32px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--gray-900); transition: all 0.4s; }
.related-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.08); }
.related-img { width: 100%; height: 180px; object-fit: cover; transition: transform 0.4s; }
.related-card:hover .related-img { transform: scale(1.03); }
.related-body { padding: 20px; }
.related-category { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--blue); display: block; margin-bottom: 8px; }
.related-body h3 { font-family: var(--font-display); font-size: 18px; font-weight: 400; line-height: 1.3; margin-bottom: 8px; }
.related-body p { font-size: 13px; color: var(--gray-500); line-height: 1.6; }

/* ── CONTACT PAGE ── */
.contact-header { padding: 100px 0 56px; border-bottom: 1px solid var(--gray-100); }
.contact-header h1 { font-family: var(--font-display); font-size: clamp(34px, 4vw, 48px); font-weight: 400; letter-spacing: -1px; margin-bottom: 12px; }
.contact-header p { font-size: 17px; color: var(--gray-500); line-height: 1.7; max-width: 520px; }
.contact-section { padding: 64px 0 96px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-form-wrap h2 { font-family: var(--font-display); font-size: 28px; font-weight: 400; margin-bottom: 8px; }
.contact-form-intro { font-size: 15px; color: var(--gray-500); line-height: 1.6; margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-input, .form-textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--gray-100); border-radius: 8px; font-family: var(--font-body); font-size: 15px; color: var(--gray-900); background: var(--white); outline: none; transition: border-color 0.25s; }
.form-input:focus, .form-textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27,77,219,0.08); }
.form-textarea { min-height: 140px; resize: vertical; }
.form-select { width: 100%; padding: 14px 16px; border: 1px solid var(--gray-100); border-radius: 8px; font-family: var(--font-body); font-size: 15px; color: var(--gray-900); background: var(--white); outline: none; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2398A2B3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form-submit { display: inline-flex; background: var(--dark); color: var(--white); padding: 16px 32px; border-radius: 8px; font-family: var(--font-body); font-size: 15px; font-weight: 600; border: none; cursor: pointer; transition: all 0.3s; }
.form-submit:hover { background: var(--dark-mid); transform: translateY(-2px); }
.response-note { margin-top: 8px; padding: 16px 20px; background: var(--blue-soft); border-radius: 8px; font-size: 14px; color: var(--gray-700); line-height: 1.6; }

.connect-card { background: var(--off-white); border: 1px solid var(--gray-100); border-radius: 12px; padding: 28px; margin-bottom: 20px; transition: all 0.3s; }
.connect-card:hover { border-color: var(--gray-300); }
.connect-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.connect-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.connect-icon svg { width: 22px; height: 22px; fill: none; stroke-width: 1.8; }
.connect-icon-discord { background: #5865F2; }
.connect-icon-discord svg { stroke: var(--white); }
.connect-icon-email { background: var(--blue-soft); }
.connect-icon-email svg { stroke: var(--blue); }
.connect-icon-social { background: var(--accent-soft); }
.connect-icon-social svg { stroke: var(--accent); }
.connect-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 400; }
.connect-card p { font-size: 14px; color: var(--gray-500); line-height: 1.6; margin-bottom: 14px; }
.connect-link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: 14px; font-weight: 600; text-decoration: none; transition: gap 0.3s; }
.connect-link:hover { gap: 10px; }

/* ── PRIVACY POLICY ── */
.policy-header { padding: 100px 0 48px; border-bottom: 1px solid var(--gray-100); }
.policy-header h1 { font-family: var(--font-display); font-size: clamp(34px, 4vw, 48px); font-weight: 400; letter-spacing: -1px; margin-bottom: 12px; }
.policy-header p { font-size: 15px; color: var(--gray-300); }
.policy-section { padding: 56px 0 96px; }
.policy-content { max-width: 720px; }
.policy-content h2 { font-family: var(--font-display); font-size: 26px; font-weight: 400; margin: 40px 0 14px; }
.policy-content h2:first-of-type { margin-top: 0; }
.policy-content p { font-size: 15px; line-height: 1.8; color: var(--gray-700); margin-bottom: 16px; }
.policy-content ul { margin: 0 0 16px 24px; }
.policy-content li { font-size: 15px; line-height: 1.8; color: var(--gray-700); margin-bottom: 6px; }
.policy-content a { color: var(--blue); text-decoration: none; }
.policy-content a:hover { text-decoration: underline; }

/* ── MINIMAL FOOTER (opt-in pages) ── */
.optin-footer { padding: 32px 0; border-top: 1px solid var(--gray-100); text-align: center; }
.optin-footer p { font-size: 13px; color: var(--gray-300); line-height: 1.8; }
.optin-footer a { color: var(--gray-500); text-decoration: none; }
.optin-footer a:hover { color: var(--blue); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .cat-grid, .product-grid, .article-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .product-header-grid { grid-template-columns: 1fr; }
  .purchase-box { position: static; max-width: 440px; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .example-row { grid-template-columns: 1fr; gap: 24px; }
  .example-row.reversed .example-img { order: 1; }
  .example-row.reversed .example-text { order: 2; }
  .optin-grid { grid-template-columns: 1fr; gap: 40px; }
  .optin-hero { min-height: auto; }
  .optin-form-wrap { max-width: 480px; }
  .diag-inner { flex-direction: column; text-align: center; padding: 48px 32px; }
  .diag-content p { margin-left: auto; margin-right: auto; }
  .diag-visual { width: 200px; height: 200px; }
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .steps-grid { flex-direction: column; align-items: center; gap: 24px; }
  .step-connector { width: 1px; height: 24px; }
}
@media (max-width: 768px) {
  .tt-nav-links { display: none; }
  .tt-hamburger { display: block; }
  .hero { padding: 90px 0 60px; }
  .cat-grid, .product-grid, .article-grid, .related-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .auth-grid, .hiw-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; text-align: center; padding: 32px 24px; }
  .cta-price-action { flex-direction: column; }
  .cat-header, .articles-header, .contact-header, .policy-header, .article-header { padding-top: 90px; }
  .product-header { padding: 90px 0 48px; }
  .optin-hero { padding: 90px 0 48px; }
  .optin-form-wrap { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
}
/* Increase card body text */
.cat-body p {
    font-size: 16px;
}
/* Reduce gap between cards and authority strip */
.categories {
    padding-bottom: 48px;
}

/* Reduce gap between authority strip and free tool section */
.authority {
    padding-bottom: 35px;
}
/* Make Contact match other nav links */
.tt-nav-cta {
    background: transparent !important;
    color: var(--gray-500) !important;
    padding: 0 !important;
    border-radius: 0 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
}
.tt-nav-cta:hover {
    background: transparent !important;
    color: var(--gray-900) !important;
    transform: none !important;
}
/* Hide sidebar on WooCommerce pages */
.woocommerce .widget-area,
.woocommerce #secondary {
    display: none !important;
}

/* Make product content full width */
.woocommerce #primary {
    width: 100% !important;
    max-width: 100% !important;
}
.product-short-desc {
    font-size: 14px;
    color: #000000;
    line-height: 1.6;
    margin: 8px 0 12px;
    padding: 0 8px;
}
.single-product .product_meta {
    display: none;
}