/* ============================================
   Ken Halper - Global Macro Strategist
   Warm Gray + Orange Theme
   ============================================ */

/* CSS Variables */
:root {
    /* Primary Colors */
    --orange: #e67e22;
    --orange-light: #f39c12;
    --orange-dark: #d35400;

    /* Neutrals - Warm Grays */
    --gray-50: #faf9f7;
    --gray-100: #f5f4f1;
    --gray-200: #e8e6e1;
    --gray-300: #d3d0c9;
    --gray-400: #a8a49b;
    --gray-500: #7d796f;
    --gray-600: #5c584f;
    --gray-700: #3d3a33;
    --gray-800: #2a2722;
    --gray-900: #1a1815;

    /* Accent Colors */
    --positive: #27ae60;
    --negative: #e74c3c;
    --info: #3498db;

    /* Asset Colors */
    --btc-color: #f7931a;
    --gold-color: #ffd700;
    --spx-color: #4a90d9;
    --dxy-color: #2ecc71;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 30px rgba(230, 126, 34, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--gray-900);
}

.highlight {
    color: var(--orange);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(230, 126, 34, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--gray-800);
    border: 2px solid var(--gray-300);
}

.btn-secondary:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

.btn-xl {
    padding: 22px 48px;
    font-size: 18px;
    border-radius: 12px;
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(250, 249, 247, 0.95);
    backdrop-filter: blur(20px);
    transition: all var(--transition-normal);
}

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

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo-name {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.5px;
}

.logo-tagline {
    font-size: 11px;
    font-weight: 500;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a:not(.btn) {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.nav-links a:not(.btn):hover {
    color: var(--orange);
}

.btn-nav {
    padding: 12px 24px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(230, 126, 34, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(230, 126, 34, 0.05) 0%, transparent 50%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(230, 126, 34, 0.1);
    border: 1px solid rgba(230, 126, 34, 0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--orange-dark);
    margin-bottom: 24px;
}

.hero-badge i {
    color: var(--orange);
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--gray-900);
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
}

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

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.market-connection-visual {
    position: relative;
    width: 400px;
    height: 400px;
}

.connection-hub {
    position: relative;
    width: 100%;
    height: 100%;
}

.hub-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    z-index: 2;
}

.hub-center span {
    font-size: 14px;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
}

.hub-node {
    position: absolute;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    z-index: 2;
}

.hub-node:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.hub-node i {
    font-size: 20px;
}

.hub-node span {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-700);
}

.node-btc { top: 0; left: 50%; transform: translateX(-50%); }
.node-btc i { color: var(--btc-color); }

.node-gold { top: 50%; right: 0; transform: translateY(-50%); }
.node-gold i { color: var(--gold-color); }

.node-spx { bottom: 0; left: 50%; transform: translateX(-50%); }
.node-spx i { color: var(--spx-color); }

.node-dxy { top: 50%; left: 0; transform: translateY(-50%); }
.node-dxy i { color: var(--dxy-color); }

.connection-lines {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.pulse-line {
    stroke: var(--orange);
    stroke-width: 2;
    stroke-dasharray: 8 4;
    opacity: 0.4;
    animation: pulse-dash 2s linear infinite;
}

@keyframes pulse-dash {
    to { stroke-dashoffset: -24; }
}

/* ============================================
   Trust Bar
   ============================================ */
.trust-bar {
    padding: 30px 0;
    background: white;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.trust-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.trust-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.trust-items {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
}

.trust-item i {
    font-size: 18px;
    color: var(--orange);
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--gray-900);
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ============================================
   Philosophy Section
   ============================================ */
.philosophy-section {
    padding: var(--section-padding);
    background: white;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.philosophy-card {
    padding: 40px;
    border-radius: 16px;
    transition: all var(--transition-normal);
}

.philosophy-card.problem {
    background: linear-gradient(135deg, #fef5f3 0%, #fdf2f0 100%);
    border: 1px solid rgba(231, 76, 60, 0.1);
}

.philosophy-card.solution {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid rgba(39, 174, 96, 0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.philosophy-card.problem .card-icon {
    background: rgba(231, 76, 60, 0.1);
}

.philosophy-card.problem .card-icon i {
    font-size: 28px;
    color: var(--negative);
}

.philosophy-card.solution .card-icon {
    background: rgba(39, 174, 96, 0.1);
}

.philosophy-card.solution .card-icon i {
    font-size: 28px;
    color: var(--positive);
}

.philosophy-card h3 {
    font-size: 24px;
    margin-bottom: 24px;
}

.philosophy-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.philosophy-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--gray-700);
}

.philosophy-card.problem .philosophy-list i {
    color: var(--negative);
    margin-top: 3px;
}

.philosophy-card.solution .philosophy-list i {
    color: var(--positive);
    margin-top: 3px;
}

.philosophy-quote {
    text-align: center;
    padding: 40px;
    background: var(--gray-100);
    border-radius: 16px;
    border-left: 4px solid var(--orange);
}

.philosophy-quote blockquote {
    font-family: var(--font-display);
    font-size: 22px;
    font-style: italic;
    color: var(--gray-800);
    line-height: 1.6;
    margin-bottom: 16px;
}

.philosophy-quote cite {
    font-size: 14px;
    font-weight: 600;
    color: var(--orange);
    font-style: normal;
}

/* ============================================
   Markets Section
   ============================================ */
.markets-section {
    padding: var(--section-padding);
    background: var(--gray-100);
}

.market-tabs {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.tab-nav {
    display: flex;
    border-bottom: 1px solid var(--gray-200);
}

.tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px;
    background: none;
    border: none;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-500);
    cursor: pointer;
    transition: all var(--transition-normal);
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
}

.tab-btn:hover {
    color: var(--gray-800);
    background: var(--gray-50);
}

.tab-btn.active {
    color: var(--orange);
    border-bottom-color: var(--orange);
    background: white;
}

.tab-btn i {
    font-size: 18px;
}

.market-panel {
    display: none;
    padding: 50px;
}

.market-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.panel-info h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.panel-info p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 24px;
}

.panel-metrics {
    display: flex;
    gap: 30px;
    margin-bottom: 24px;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--orange);
}

.metric-label {
    font-size: 13px;
    color: var(--gray-500);
}

.panel-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.panel-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--gray-700);
}

.panel-points li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--orange);
    border-radius: 50%;
}

/* Panel Visuals */
.panel-visual {
    display: flex;
    justify-content: center;
}

.regime-meter {
    width: 100%;
    max-width: 300px;
    padding: 30px;
    background: var(--gray-50);
    border-radius: 16px;
}

.meter-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-align: center;
}

.meter-bar {
    position: relative;
    height: 12px;
    background: linear-gradient(90deg, var(--negative) 0%, var(--gray-300) 50%, var(--positive) 100%);
    border-radius: 6px;
    margin-bottom: 12px;
}

.meter-pointer {
    position: absolute;
    top: -8px;
    width: 28px;
    height: 28px;
    background: white;
    border: 3px solid var(--gray-800);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: var(--shadow-md);
    transition: left 0.5s ease;
}

.meter-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--gray-500);
}

.correlation-display {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.corr-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.corr-pair {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    min-width: 70px;
}

.corr-bar {
    flex: 1;
    height: 10px;
    background: var(--gray-200);
    border-radius: 5px;
    overflow: hidden;
}

.corr-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 0.5s ease;
}

.corr-fill.positive {
    background: linear-gradient(90deg, var(--positive), #58d68d);
}

.corr-fill.negative {
    background: linear-gradient(90deg, var(--negative), #ec7063);
}

.corr-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-800);
    min-width: 50px;
    text-align: right;
}

.risk-gauge {
    width: 100%;
    max-width: 280px;
    padding: 30px;
    background: var(--gray-50);
    border-radius: 16px;
}

.gauge-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-align: center;
}

.gauge-visual {
    display: flex;
    gap: 8px;
}

.gauge-segment {
    flex: 1;
    padding: 16px 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    transition: all var(--transition-normal);
}

.gauge-segment.low {
    background: rgba(231, 76, 60, 0.1);
    color: var(--negative);
}

.gauge-segment.medium {
    background: rgba(0, 0, 0, 0.05);
    color: var(--gray-500);
}

.gauge-segment.high {
    background: rgba(39, 174, 96, 0.1);
    color: var(--positive);
}

.gauge-segment.active {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.gauge-segment.medium.active {
    background: rgba(230, 126, 34, 0.15);
    color: var(--orange);
}

.dollar-indicator {
    padding: 40px;
    background: var(--gray-50);
    border-radius: 16px;
    text-align: center;
}

.dxy-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.dxy-value .value {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--gray-900);
}

.dxy-value .change {
    font-size: 16px;
    font-weight: 600;
}

.dxy-value .change.positive {
    color: var(--positive);
}

.dxy-value .change.negative {
    color: var(--negative);
}

.dxy-label {
    font-size: 14px;
    color: var(--gray-500);
}

/* ============================================
   Signals Section
   ============================================ */
.signals-section {
    padding: var(--section-padding);
    background: white;
}

.signals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.signal-card {
    position: relative;
    padding: 40px;
    background: var(--gray-50);
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
}

.signal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.signal-card.featured {
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.05) 0%, rgba(230, 126, 34, 0.02) 100%);
    border-color: rgba(230, 126, 34, 0.3);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--orange);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}

.signal-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.signal-icon i {
    font-size: 24px;
    color: var(--orange);
}

.signal-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.signal-card p {
    font-size: 15px;
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.6;
}

.signal-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.signal-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-700);
}

.signal-features li i {
    color: var(--positive);
    font-size: 12px;
}

/* ============================================
   Education Section
   ============================================ */
.education-section {
    padding: var(--section-padding);
    background: var(--gray-900);
    color: white;
}

.education-section .section-label {
    color: var(--orange-light);
}

.education-section .section-title {
    color: white;
}

.education-section .section-subtitle {
    color: var(--gray-400);
}

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

.edu-card {
    padding: 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all var(--transition-normal);
}

.edu-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(230, 126, 34, 0.3);
    transform: translateY(-4px);
}

.edu-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 16px;
}

.edu-card h3 {
    font-size: 18px;
    color: white;
    margin-bottom: 12px;
}

.edu-card p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 20px;
}

.edu-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.topic {
    padding: 6px 12px;
    background: rgba(230, 126, 34, 0.15);
    border-radius: 20px;
    font-size: 12px;
    color: var(--orange-light);
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
    padding: var(--section-padding);
    background: var(--gray-100);
}

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

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 36px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-stars i {
    color: var(--orange);
    font-size: 14px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
}

.author-title {
    font-size: 13px;
    color: var(--gray-500);
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
    padding: var(--section-padding);
    background: white;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--gray-50);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    background: var(--gray-100);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: none;
    border: none;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    text-align: left;
    cursor: pointer;
}

.faq-question i {
    color: var(--orange);
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 24px;
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-900) 100%);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 18px;
    color: var(--gray-400);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-note {
    margin-top: 20px;
    font-size: 14px;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ============================================
   Contact Form Section
   ============================================ */
.contact-section {
    padding: var(--section-padding);
    background: var(--gray-100);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: start;
}

.contact-info .section-title {
    margin: 12px 0 16px;
    font-size: 32px;
}

.contact-desc {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--gray-600);
}

.contact-detail i {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--orange);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

/* Form */
.contact-form-wrap {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--gray-800);
    background: var(--gray-50);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(230,126,34,0.12);
    background: #fff;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #e74c3c;
}

.contact-submit {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 15px;
    gap: 8px;
}

.form-feedback {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    display: none;
}

.form-feedback.success {
    background: #f0fff6;
    border: 1px solid #27ae60;
    color: #27ae60;
    display: block;
}

.form-feedback.error {
    background: #fff5f5;
    border: 1px solid #e74c3c;
    color: #e74c3c;
    display: block;
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 24px; }
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 60px 0 30px;
    background: var(--gray-900);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.footer-logo .logo-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: white;
}

.footer-logo .logo-tagline {
    font-size: 12px;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-500);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--orange);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.copyright {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 10px;
}

.disclaimer {
    font-size: 12px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Cheat Sheet Section
   ============================================ */
.cheatsheet-section {
    background: var(--gray-900);
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.cheatsheet-section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

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

.cs-label {
    color: var(--orange) !important;
    background: rgba(230, 126, 34, 0.12);
    border: 1px solid rgba(230, 126, 34, 0.25);
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.cheatsheet-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 20px;
}

.cs-highlight {
    color: var(--orange);
}

.cheatsheet-desc {
    font-size: 17px;
    line-height: 1.7;
    color: var(--gray-400);
    margin-bottom: 32px;
}

.cheatsheet-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
}

.cheatsheet-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-300);
    font-size: 15px;
}

.cheatsheet-features li i {
    color: var(--orange);
    font-size: 13px;
    flex-shrink: 0;
}

.cs-btn {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 24px rgba(230, 126, 34, 0.35);
    font-size: 15px;
    padding: 16px 32px;
}

.cs-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(230, 126, 34, 0.5);
}

.cheatsheet-note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cheatsheet-note i {
    color: var(--orange);
    opacity: 0.7;
}

/* Preview Card */
.preview-card {
    background: var(--gray-800);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(230, 126, 34, 0.1);
    border-bottom: 1px solid rgba(230, 126, 34, 0.2);
}

.preview-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-300);
    letter-spacing: 0.5px;
}

.preview-brand {
    font-size: 12px;
    color: var(--orange);
    font-weight: 700;
    letter-spacing: 1px;
}

.preview-table {
    padding: 8px 0;
}

.preview-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    align-items: center;
    gap: 8px;
}

.preview-row:last-child {
    border-bottom: none;
}

.preview-head {
    background: rgba(255,255,255,0.03);
}

.preview-head span {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.preview-head span:first-child {
    text-align: left;
}

.row-label {
    font-size: 13px;
    color: var(--gray-400);
    font-weight: 500;
}

.cell {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    font-family: monospace;
}

.cell.pos { color: var(--positive); }
.cell.neg { color: var(--negative); }
.cell.neu { color: var(--gray-500); }

.preview-blur {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--gray-800));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 16px;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-500);
}

.preview-blur i {
    font-size: 12px;
    color: var(--orange);
    opacity: 0.7;
}

/* ============================================
   5 Signs Guide Section
   ============================================ */
.guide-section {
    background: var(--gray-100);
    padding: var(--section-padding);
    position: relative;
}

.guide-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e67e22' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.guide-subtitle {
    font-size: 16px;
    line-height: 1.75;
    color: var(--gray-600);
    margin-bottom: 48px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ============================================
   5 Signs Tabs
   ============================================ */
.signs-tabs {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

/* Tab navigation bar */
.signs-tab-nav {
    display: flex;
    border-bottom: 1px solid var(--gray-200);
}

.signs-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 14px;
    background: none;
    border: none;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-500);
    cursor: pointer;
    transition: all var(--transition-normal);
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
}

.signs-tab:hover {
    color: var(--gray-800);
    background: var(--gray-50);
}

.signs-tab.active {
    color: var(--orange);
    border-bottom-color: var(--orange);
    background: white;
}

.tab-num {
    font-size: 13px;
    font-weight: 700;
    opacity: 0.65;
}

.signs-tab.active .tab-num {
    opacity: 1;
}

.signs-tab i {
    font-size: 18px;
}

/* Mobile select fallback — hidden on desktop */
.signs-tab-select {
    display: none;
}

/* Tab panels */
.signs-tab-panels {
    margin-top: 0;
}

.signs-panel {
    display: none;
    background: #fff;
    border-top: 4px solid;
    animation: tabFadeIn 0.2s ease;
}

.signs-panel.active {
    display: block;
}

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Panel inner layout (shared with slide structure) */
.slide-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 32px;
    border-bottom: 1px solid var(--gray-100);
}


.slide-meta {
    flex: 1;
}

.slide-counter {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.slide-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
    line-height: 1.25;
}

.slide-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.slide-content {
    padding: 28px 32px;
}

/* Read more button */
.sign-read-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
    padding: 9px 20px;
    border: 2px solid var(--orange);
    border-radius: 8px;
    background: transparent;
    color: var(--orange);
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.sign-read-more:hover {
    background: var(--orange);
    color: #fff;
}

.sign-read-more i {
    font-size: 11px;
    transition: transform 0.25s ease;
}

.signs-panel.expanded .sign-read-more i {
    transform: rotate(180deg);
}

/* Expandable content — hidden by default */
.sign-expandable {
    display: none;
    margin-top: 24px;
}

.signs-panel.expanded .sign-expandable {
    display: block;
    animation: tabFadeIn 0.25s ease;
}

.sign-intro {
    font-size: 15px;
    line-height: 1.75;
    color: var(--gray-700);
    margin: 20px 0 20px;
}

.sign-why-box {
    background: var(--gray-50);
    border-left: 3px solid;
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    margin-bottom: 20px;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--gray-700);
}

.sign-why-box strong {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.sign-watchlist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 20px;
}

.sign-watchlist li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-700);
}

.sign-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 7px;
}

.sign-quote-block {
    background: var(--dark);
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 20px;
}

.sign-quote-block p {
    font-family: var(--font-display);
    font-size: 15px;
    font-style: italic;
    line-height: 1.65;
    color: #fff;
}

.sign-quote-block cite {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: var(--orange);
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.sign-action-box {
    border-radius: 10px;
    padding: 16px 20px;
    border: 1.5px solid;
    font-size: 14px;
    line-height: 1.65;
    color: var(--gray-700);
}

.sign-action-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.guide-pdf-row {
    text-align: center;
    margin-top: 28px;
}

.guide-pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-500);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.guide-pdf-link:hover {
    color: var(--orange);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .panel-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .signals-grid {
        grid-template-columns: 1fr;
    }

    .calls-grid {
        grid-template-columns: 1fr;
    }

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

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .cheatsheet-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .cheatsheet-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 16px 24px 24px;
        border-top: 1px solid var(--gray-100);
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        z-index: 100;
    }

    .nav-links.mobile-open {
        display: flex;
    }

    .nav-links a:not(.btn) {
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid var(--gray-100);
        font-size: 16px;
    }

    .nav-links .btn-nav {
        margin-top: 16px;
        width: 100%;
        justify-content: center;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }

    .tab-nav {
        flex-wrap: wrap;
    }

    .tab-btn {
        flex: 1 1 50%;
    }

    /* Signs tabs — reduce padding on mobile */
    .signs-tab {
        padding: 14px 14px;
        font-size: 12.5px;
        gap: 8px;
    }

    .tab-label {
        font-size: 12.5px;
    }

    .slide-header {
        padding: 20px 20px;
    }

    .slide-content {
        padding: 20px 20px;
    }

    .market-panel {
        padding: 30px;
    }

    .education-grid {
        grid-template-columns: 1fr;
    }

    .trust-content {
        flex-direction: column;
        text-align: center;
    }

    .trust-items {
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

/* Signs tabs: swap to select dropdown on very small screens */
@media (max-width: 560px) {
    .signs-tab-nav .signs-tab {
        display: none;
    }

    .signs-tab-select {
        display: block;
        width: 100%;
        padding: 12px 16px;
        font-family: var(--font-body);
        font-size: 15px;
        font-weight: 500;
        color: var(--gray-800);
        background: #fff;
        border: 2px solid var(--gray-200);
        border-radius: 10px;
        cursor: pointer;
        margin-bottom: 0;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 14px center;
        padding-right: 40px;
    }

    .signs-tab-nav {
        border-bottom: none;
        padding-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 30px;
    }

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

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

    .philosophy-card {
        padding: 28px;
    }

    .cta-title {
        font-size: 32px;
    }
}
