/* ========================================
   LANDING PAGE STYLES
   Professional Trading Platform Design
   ======================================== */

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

:root {
    /* Colors */
    --primary-cyan: #00d4ff;
    --primary-purple: #6366f1;
    --success-green: #10b981;
    --warning-yellow: #fbbf24;
    --danger-red: #ef4444;
    
    /* Background Colors */
    --bg-primary: #0f1419;
    --bg-secondary: #1a1f2e;
    --bg-tertiary: #242938;
    --bg-card: rgba(26, 31, 46, 0.6);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Border */
    --border-color: rgba(148, 163, 184, 0.1);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
    --spacing-3xl: 80px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
}

/* ========================================
   HERO SECTION - 3D Luxury Design
   ======================================== */
.hero-section {
    min-height: auto;
    padding: 100px clamp(32px, 7vw, 120px) 88px;
    background:
        radial-gradient(ellipse 80% 60% at 75% 15%, rgba(0, 212, 255, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse 60% 70% at 15% 85%, rgba(99, 102, 241, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse 45% 45% at 90% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 55%),
        linear-gradient(160deg, #07090f 0%, #0a0d18 50%, #060810 100%);
    position: relative;
    overflow: hidden;
}

/* Primary orb - top right, cyan */
.hero-section::before {
    content: '';
    position: absolute;
    top: -15%;
    right: -8%;
    width: clamp(300px, 45vw, 650px);
    height: clamp(300px, 45vw, 650px);
    background: radial-gradient(circle, rgba(0, 212, 255, 0.13) 0%, rgba(0, 212, 255, 0.03) 45%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: orb-drift-a 14s ease-in-out infinite alternate;
    z-index: 0;
}

/* Secondary orb - bottom left, purple */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: clamp(250px, 38vw, 550px);
    height: clamp(250px, 38vw, 550px);
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(99, 102, 241, 0.03) 45%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: orb-drift-b 18s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes orb-drift-a {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(-25px, 18px) scale(1.06); }
    100% { transform: translate(15px, -20px) scale(0.96); }
}
@keyframes orb-drift-b {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(20px, -14px) scale(1.04); }
    100% { transform: translate(-18px, 22px) scale(0.97); }
}

/* ---- Perspective SVG grid ---- */
.hero-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.hero-grid svg {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 130%;
    min-width: 900px;
    opacity: 0.04;
}

/* ---- Centre ambient orb ---- */
.hero-orb-center {
    position: absolute;
    top: 50%;
    left: 48%;
    transform: translate(-50%, -50%);
    width: clamp(200px, 35vw, 500px);
    height: clamp(200px, 35vw, 500px);
    background: radial-gradient(circle, rgba(99, 102, 241, 0.07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
    animation: orb-drift-a 20s ease-in-out infinite;
}

/* ---- Floating geometric shapes ---- */
.hero-geo {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}
.hero-geo-1 {
    width: clamp(50px, 5vw, 80px);
    height: clamp(50px, 5vw, 80px);
    top: 18%;
    left: 7%;
    border: 1px solid rgba(0, 212, 255, 0.16);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.04), rgba(99, 102, 241, 0.04));
    animation: geo-float-a 14s ease-in-out infinite;
}
.hero-geo-2 {
    width: clamp(30px, 3.5vw, 52px);
    height: clamp(30px, 3.5vw, 52px);
    top: 62%;
    left: 11%;
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.06), transparent 70%);
    animation: geo-float-b 10s ease-in-out infinite;
}
.hero-geo-3 {
    width: clamp(60px, 6vw, 96px);
    height: clamp(60px, 6vw, 96px);
    top: 9%;
    right: 5%;
    border: 1px solid rgba(99, 102, 241, 0.14);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.07), transparent);
    animation: geo-float-a 17s ease-in-out infinite reverse;
}
.hero-geo-4 {
    width: clamp(30px, 3vw, 50px);
    height: clamp(30px, 3vw, 50px);
    bottom: 20%;
    right: 9%;
    border: 1px solid rgba(0, 212, 255, 0.16);
    border-radius: 8px;
    transform: rotate(45deg);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), transparent);
    animation: geo-float-b 12s ease-in-out infinite;
}
.hero-geo-5 {
    width: clamp(20px, 2.5vw, 36px);
    height: clamp(20px, 2.5vw, 36px);
    top: 42%;
    left: 3.5%;
    border: 1px solid rgba(0, 212, 255, 0.22);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    background: rgba(0, 212, 255, 0.06);
    animation: geo-float-a 9s ease-in-out infinite;
}

@keyframes geo-float-a {
    0%   { transform: translateY(0px) rotate(0deg); }
    30%  { transform: translateY(-14px) rotate(4deg); }
    60%  { transform: translateY(-6px) rotate(-3deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}
@keyframes geo-float-b {
    0%   { transform: translateY(0px) rotate(0deg); }
    40%  { transform: translateY(-18px) rotate(-5deg); }
    70%  { transform: translateY(-8px) rotate(3deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* ---- Particle field ---- */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.hero-particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    will-change: transform, opacity;
    animation: particle-rise linear infinite;
}
@keyframes particle-rise {
    0%   { transform: translateY(0) scale(1);    opacity: 0; }
    8%   { opacity: 0.9; }
    88%  { opacity: 0.5; }
    100% { transform: translateY(-110px) scale(0.5); opacity: 0; }
}

/* ---- Shimmer sweep ---- */
/* translateX-based animation: compositor-only, no layout/paint cost */
.hero-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.012), transparent);
    pointer-events: none;
    z-index: 0;
    will-change: transform;
    animation: shimmer-sweep 10s ease-in-out infinite;
}
@keyframes shimmer-sweep {
    /* -140% = -70% of parent (element is 50% wide, so 70% parent = 140% self) */
    0%   { transform: translateX(-140%); }
    /* 300% = 150% of parent */
    100% { transform: translateX(300%); }
}

/* ---- Layout ---- */
.hero-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 9px var(--spacing-sm);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(99, 102, 241, 0.08));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 100px;
    color: var(--primary-cyan);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    box-shadow: 0 0 18px rgba(0, 212, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    animation: badge-pulse 3s ease-in-out infinite;
}
.hero-badge i { font-size: 1rem; }

/* opacity-only animation is compositor-friendly (replaces non-composited box-shadow) */
@keyframes badge-pulse {
    0%, 100% { opacity: 0.85; }
    50%       { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.05); opacity: 0.9; }
}

.hero-title {
    font-size: clamp(2.25rem, 4vw, 3.75rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* background-position animation is non-composited (triggers paint on every frame) — removed */
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.hero-actions {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    color: var(--text-primary);
    box-shadow: 0 4px 14px rgba(0, 212, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.6);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: rgba(0, 212, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-cyan);
    border: 2px solid var(--primary-cyan);
}

.btn-outline:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.125rem;
}

.hero-trust-badges {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.trust-item i {
    color: var(--primary-cyan);
    font-size: 1.125rem;
}

/* ---- Hero Chart - 3D card ---- */
.hero-chart {
    position: relative;
    z-index: 1;
    perspective: 1400px;
}

/* Glow halo behind the card */
.hero-chart::after {
    content: '';
    position: absolute;
    inset: -24px;
    border-radius: calc(var(--radius-xl) + 24px);
    background: radial-gradient(ellipse at 55% 45%, rgba(0, 212, 255, 0.1) 0%, rgba(99, 102, 241, 0.07) 50%, transparent 72%);
    filter: blur(18px);
    z-index: -1;
    pointer-events: none;
    animation: card-halo 7s ease-in-out infinite alternate;
}
@keyframes card-halo {
    0%   { opacity: 0.5; transform: scale(0.96); }
    100% { opacity: 1;   transform: scale(1.04); }
}

.chart-container {
    background: linear-gradient(145deg, rgba(17, 22, 36, 0.96), rgba(12, 15, 26, 0.98));
    border-radius: var(--radius-xl);
    padding: var(--spacing-md);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 28px 56px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(0, 212, 255, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: perspective(1400px) rotateY(-6deg) rotateX(3deg);
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.7s ease;
    position: relative;
    overflow: hidden;
}

/* Animated gradient border - cyan → purple */
.chart-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.7) 0%, rgba(99, 102, 241, 0.5) 50%, rgba(0, 212, 255, 0.7) 100%);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    /* background-position animation non-composited — removed, static gradient retained */
    pointer-events: none;
    z-index: 0;
}

.chart-container > * { position: relative; z-index: 1; }

.hero-chart:hover .chart-container {
    transform: perspective(1400px) rotateY(-1.5deg) rotateX(0.5deg) translateY(-8px);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(0, 212, 255, 0.28),
        0 0 60px rgba(0, 212, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
}

.chart-pair {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chart-price {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-xs);
    margin-top: 4px;
}

.price-value {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--text-primary);
}

.price-change {
    font-size: 0.875rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
}

.price-change.positive {
    color: var(--success-green);
    background: rgba(16, 185, 129, 0.1);
}

.price-change.negative {
    color: var(--danger-red);
    background: rgba(239, 68, 68, 0.1);
}

.prediction-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.prediction-label {
    font-size: 0.8125rem;
    color: var(--success-green);
    font-weight: 600;
    padding: 4px 10px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 6px;
}

.prediction-sentiment {
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prediction-sentiment.bullish {
    color: var(--success-green);
    background: rgba(16, 185, 129, 0.15);
}

.prediction-sentiment.bearish {
    color: var(--danger-red);
    background: rgba(239, 68, 68, 0.15);
}

.chart-canvas {
    height: 240px;
    margin-bottom: var(--spacing-md);
}

.chart-footer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-sm);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.chart-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 0.9375rem;
    color: var(--text-primary);
    font-weight: 700;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-section {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: var(--bg-primary);
    position: relative;
}

.section-header {
    max-width: 800px;
    margin: 0 auto var(--spacing-2xl);
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    background: linear-gradient(135deg, rgba(26, 31, 46, 0.6), rgba(22, 27, 40, 0.6));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(99, 102, 241, 0.05));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(99, 102, 241, 0.1));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 1;
}

.feature-icon i {
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    position: relative;
    z-index: 1;
}

.feature-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ========================================
   MARKETS SECTION
   ======================================== */
.markets-section {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.market-tabs {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.market-tab {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 12px 24px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.market-tab:hover {
    color: var(--text-primary);
    border-color: rgba(0, 212, 255, 0.3);
}

.market-tab.active {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    border-color: transparent;
    color: var(--text-primary);
    box-shadow: 0 4px 14px rgba(0, 212, 255, 0.4);
}

.market-tab i {
    font-size: 1.125rem;
}

.market-content {
    position: relative;
}

.market-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: none;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: auto;
    gap: var(--spacing-md);
}

.market-grid.active {
    display: grid;
    animation: fadeIn 0.4s ease forwards;
}

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

.market-card {
    background: linear-gradient(135deg, rgba(26, 31, 46, 0.8), rgba(22, 27, 40, 0.8));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
}

.market-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Clickable card link - preserves all existing card styles */
.market-predict-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    padding: 5px 14px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #00d4ff;
    border: 1px solid rgba(0, 212, 255, 0.35);
    border-radius: 20px;
    text-decoration: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.market-predict-btn:hover {
    background: rgba(0, 212, 255, 0.12);
    border-color: #00d4ff;
    color: #00d4ff;
    text-decoration: none;
}

.market-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xs);
}

.market-pair {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.market-change {
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
}

.market-change.positive {
    color: var(--success-green);
    background: rgba(16, 185, 129, 0.1);
}

.market-change.negative {
    color: var(--danger-red);
    background: rgba(239, 68, 68, 0.1);
}

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

.market-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
}

.market-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */
.final-cta-section {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.cta-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.cta-trust {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-muted);
    font-size: 0.875rem;
    flex-wrap: wrap;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ---- Tablet landscape / small desktop ---- */
@media (max-width: 1024px) {
    .hero-section {
        min-height: auto;
        padding: 60px var(--spacing-md) 48px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        padding: 0;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

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

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

    .hero-trust-badges {
        justify-content: center;
    }

    /* Flatten the 3D card on tablet */
    .chart-container {
        transform: perspective(1400px) rotateY(0deg) rotateX(1.5deg);
    }
    .hero-chart:hover .chart-container {
        transform: translateY(-6px);
    }

    /* Reduce hero-chart max-width on single column */
    .hero-chart {
        max-width: 580px;
        margin: 0 auto;
    }

    .hero-geo-3,
    .hero-geo-5 {
        display: none;
    }

    .section-title { font-size: 2rem; }
    .cta-title     { font-size: 2.25rem; }
}

/* ---- Tablet portrait ---- */
@media (max-width: 768px) {
    .hero-section {
        padding: 48px var(--spacing-sm) 40px;
        align-items: flex-start;
    }

    /* Disable heavy 3D for performance */
    .chart-container {
        transform: none !important;
        transition: transform 0.5s ease, box-shadow 0.5s ease;
    }
    .hero-chart:hover .chart-container {
        transform: translateY(-5px) !important;
    }
    .chart-container::before {
        animation-duration: 10s; /* slow the shimmer on mobile */
    }

    .hero-geo-1,
    .hero-geo-2,
    .hero-geo-3,
    .hero-geo-4,
    .hero-geo-5 {
        display: none;
    }
    .hero-grid svg {
        opacity: 0.025;
    }
    .hero-particles { display: none; }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
    .chart-footer {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .market-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: var(--spacing-xs);
    }
    .market-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .section-title { font-size: 1.75rem; }
    .cta-title     { font-size: 1.875rem; }
    .cta-actions   { flex-direction: column; }
}

/* ---- Mobile ---- */
@media (max-width: 640px) {
    .hero-section {
        padding: 40px var(--spacing-sm) 32px;
    }

    .hero-trust-badges {
        gap: var(--spacing-sm);
        justify-content: flex-start;
    }

    .price-value {
        font-size: 1.5rem;
    }

    .chart-canvas {
        height: 220px;
    }

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

/* ---- Small mobile ---- */
@media (max-width: 400px) {
    .hero-badge {
        font-size: 0.8125rem;
        padding: 7px 12px;
    }

    .hero-actions .btn {
        padding: 13px 20px;
        font-size: 0.9375rem;
    }

    .chart-canvas {
        height: 180px;
    }
}
/* ========================================
   NEW SECTIONS - ENHANCED LANDING PAGE
   ======================================== */

/* Stats Section */
.stats-section {
    padding: var(--spacing-2xl) var(--spacing-md);
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(99, 102, 241, 0.05));
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    min-height: 280px;
}

.stat-item:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.2);
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    border-radius: 50%;
    box-shadow: 0 8px 16px rgba(0, 212, 255, 0.3);
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 1.75rem;
    color: white;
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.stat-content .stat-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: var(--spacing-xs);
    flex-wrap: wrap;
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.stat-prefix,
.stat-suffix {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-cyan);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.stat-sublabel {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* ========================================
   TRUSTED BY / LOGO SLIDER SECTION
   ======================================== */

.trusted-by-section {
    padding: var(--spacing-xl) 0 var(--spacing-2xl);
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.trusted-by-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.15), transparent);
}

.trusted-by-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.trusted-by-label {
    font-size: 0.9375rem;
    color: #94a3b8; /* #64748b fails contrast on dark bg; #94a3b8 passes WCAG AA */
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 600;
    margin: 0;
}

/* Logo slider container */
.logo-slider {
    position: relative;
    overflow: hidden;
    padding: 12px 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.logo-slider + .logo-slider {
    margin-top: 8px;
}

.logo-slider-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: scroll-logos 45s linear infinite;
}

.logo-slider-reverse .logo-slider-track {
    animation: scroll-logos-reverse 40s linear infinite;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-logos-reverse {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Individual logo item */
.logo-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 32px;
    background: linear-gradient(135deg, rgba(26, 31, 46, 0.7), rgba(36, 41, 56, 0.5));
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    flex-shrink: 0;
    backdrop-filter: blur(8px);
}

.logo-item:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(99, 102, 241, 0.06));
    border-color: rgba(0, 212, 255, 0.25);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 212, 255, 0.12), 0 0 0 1px rgba(0, 212, 255, 0.1);
}

.logo-item .logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(99, 102, 241, 0.12));
    color: var(--primary-cyan);
    font-size: 22px;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.logo-item:hover .logo-icon {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(99, 102, 241, 0.2));
    transform: scale(1.1);
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.3);
}

.logo-item .logo-icon svg {
    fill: currentColor;
    width: 24px;
    height: 24px;
}

.logo-name {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.3px;
    transition: color 0.4s ease;
}

.logo-item:hover .logo-name {
    color: var(--text-primary);
}

/* Pause animation on hover */
.logo-slider:hover .logo-slider-track {
    animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
    .trusted-by-section {
        padding: var(--spacing-lg) 0 var(--spacing-xl);
    }

    .trusted-by-label {
        font-size: 0.8125rem;
        letter-spacing: 2px;
        padding: 0 var(--spacing-sm);
    }

    .logo-item {
        padding: 14px 22px;
        gap: 10px;
    }

    .logo-item .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 17px;
    }

    .logo-name {
        font-size: 0.875rem;
    }

    .logo-slider-track {
        gap: 16px;
        animation-duration: 30s;
    }
}

/* How It Works Section */
.how-it-works-section {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.how-it-works-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.steps-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    position: relative;
    z-index: 1;
    align-items: stretch;
}

.step-item {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    border-radius: 50%;
    font-size: 1.75rem;
    font-weight: 900;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.4);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.step-connector {
    position: absolute;
    top: 30px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple));
    z-index: 1;
}

.step-item:last-child .step-connector {
    display: none;
}

.step-content {
    background: linear-gradient(135deg, rgba(26, 31, 46, 0.6), rgba(22, 27, 40, 0.6));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all var(--transition-base);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 220px;
}

.step-content:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-4px);
}

.step-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(99, 102, 241, 0.1));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.step-icon i {
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.step-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

/* Live Predictions Feed */
.predictions-feed-section {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.predictions-feed {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: auto;
    gap: var(--spacing-md);
}

.prediction-item {
    background: linear-gradient(135deg, rgba(26, 31, 46, 0.8), rgba(22, 27, 40, 0.8));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    opacity: 1;
    transform: translateY(0);
    transition: all var(--transition-base);
}

.prediction-item:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.prediction-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--border-color);
}

.prediction-asset {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.prediction-asset i {
    font-size: 1.25rem;
    color: var(--primary-cyan);
}

.prediction-signal {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.prediction-signal.bullish {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success-green);
}

.prediction-signal.bearish {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger-red);
}

.prediction-signal.hold {
    background: rgba(251, 191, 36, 0.15);
    color: var(--warning-yellow);
}

.prediction-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.prediction-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.prediction-stat .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.prediction-stat .stat-value {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
}

.prediction-stat .stat-value.green {
    color: var(--success-green);
}

.prediction-stat .stat-value.red {
    color: var(--danger-red);
}

.prediction-timestamp {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.prediction-timestamp i {
    font-size: 0.875rem;
}

.feed-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* Testimonials Section */
.testimonials-section {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: var(--bg-primary);
}

.testimonials-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(26, 31, 46, 0.8), rgba(22, 27, 40, 0.8));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: var(--spacing-sm);
}

.testimonial-rating i {
    color: var(--warning-yellow);
    font-size: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.author-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    border-radius: 50%;
    font-weight: 700;
    color: white;
}

.author-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

/* Pricing Preview Section */
/* Pricing Section (Dynamic from upgrade page) */
.pricing-preview-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
}

.pricing-preview-section .pricing-section {
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.pricing-preview-section .pricing-container {
    position: relative;
}

.pricing-preview-section .pricing-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: pricingPulseGlow 4s ease-in-out infinite;
}

@keyframes pricingPulseGlow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

.pricing-preview-section .pricing-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Plan Card Styles - Matching upgrade.css exactly */
.pricing-preview-section .plan {
    background: linear-gradient(135deg, rgba(26, 31, 46, 0.9), rgba(22, 27, 40, 0.9)) !important;
    border: 2px solid rgba(99, 102, 241, 0.15) !important;
    border-radius: 20px;
    padding: 40px 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible !important;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    cursor: default;
    text-align: left;
}

.pricing-preview-section .plan::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #00d4ff, #6366f1, #00d4ff);
    background-size: 200% 200%;
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    /* background-position animation non-composited — removed, static gradient on hover retained */
}

.pricing-preview-section .plan:hover::before {
    opacity: 1;
}

.pricing-preview-section .plan:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
}

.pricing-preview-section .plan-title {
    font-size: 1.875rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00d4ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

.pricing-preview-section .plan-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #6366f1);
    border-radius: 2px;
}

.pricing-preview-section .plan-price {
    font-size: 2rem;
    font-weight: 900;
    color: #faea38 !important;
    -webkit-text-fill-color: #faea38 !important;
    margin: 1.5rem 0 1rem 0;
    text-align: center;
    text-shadow: 0 3px 15px rgba(251, 233, 11, 0.4);
    position: relative;
    padding-top: 1rem;
}

.pricing-preview-section .plan-price::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
}

.pricing-preview-section .plan-features {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0;
    flex-grow: 1;
    text-align: left;
}

.pricing-preview-section .plan-features li {
    padding: 0.35rem 0;
    color: #b8b9d4;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    transition: all 0.2s ease;
}

.pricing-preview-section .plan-features li:hover {
    color: #ffffff;
    transform: translateX(8px);
}

.pricing-preview-section .plan-features li::before {
    content: '\2713';
    color: #4caf50;
    font-weight: bold;
    font-size: 1.1rem;
    min-width: 22px;
    height: 22px;
    background: rgba(76, 175, 80, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid rgba(76, 175, 80, 0.3);
    margin-top: 2px;
}

/* Popular Plan Highlight - Matching upgrade.css */
.pricing-preview-section .plan.popular {
    border-color: rgba(0, 212, 255, 0.5) !important;
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.2) !important;
    transform: scale(1.05);
    padding-top: 2rem;
}

.pricing-preview-section .plan.popular:hover {
    transform: translateY(-12px) scale(1.07);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.4) !important;
}

.pricing-preview-section .plan.popular::after {
    content: 'MOST POPULAR';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #00d4ff, #6366f1);
    color: white;
    padding: 8px 24px;
    font-size: 0.75rem;
    border-radius: 50px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
    z-index: 10;
    animation: pricingPopularPulse 2s ease-in-out infinite;
    white-space: nowrap;
}

@keyframes pricingPopularPulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
}

/* Current Plan Style - Matching upgrade.css */
.pricing-preview-section .plan.current-plan {
    background: linear-gradient(135deg, #2d2d3f, #1f1f2e) !important;
    border: 2px solid #00d4ff !important;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2),
        inset 0 0 20px rgba(0, 212, 255, 0.1),
        0 12px 40px rgba(0, 212, 255, 0.3) !important;
    opacity: 1;
    pointer-events: all;
}

.pricing-preview-section .plan.current-plan:hover {
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.3),
        inset 0 0 20px rgba(0, 212, 255, 0.15),
        0 12px 40px rgba(0, 212, 255, 0.5) !important;
}

/* Plan Action Buttons */
.pricing-preview-section .trial-form {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.pricing-preview-section .plan-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}

.pricing-preview-section .btn-trial {
    background: linear-gradient(135deg, #6366f1, #00d4ff) !important;
    color: white !important;
    padding: 16px 24px !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    height: 56px !important;
    width: 100% !important;
    border: none !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

.pricing-preview-section .btn-trial:hover {
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.6) !important;
    transform: translateY(-2px) !important;
}

.pricing-preview-section .btn-buy-plan {
    width: 100% !important;
    background: linear-gradient(135deg, #00d4ff, #6366f1) !important;
    border: none !important;
    color: white !important;
    padding: 16px 24px !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.4) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    height: 56px !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

.pricing-preview-section .btn-buy-plan:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 32px rgba(0, 212, 255, 0.6) !important;
}

.pricing-preview-section .btn-current {
    background: linear-gradient(135deg, #6c757d, #5a6268) !important;
    border: none !important;
    color: white !important;
    cursor: not-allowed !important;
    padding: 16px 32px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    opacity: 1 !important;
    width: 100%;
    margin-top: auto;
    min-height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    box-shadow: none !important;
}

/* Responsive for pricing section */
@media (max-width: 1200px) {
    .pricing-preview-section .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .pricing-preview-section .plan {
        padding: 32px 24px;
    }
}

@media (max-width: 992px) {
    .pricing-preview-section .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .pricing-preview-section .plan.popular {
        transform: scale(1);
        padding-top: 2rem;
    }
}

@media (max-width: 640px) {
    .pricing-preview-section {
        padding: 40px 16px;
    }
    .pricing-preview-section .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .pricing-preview-section .plan {
        padding: 28px 20px;
    }
    .pricing-preview-section .plan.popular {
        transform: scale(1);
        padding-top: 2rem;
    }
}

/* FAQ Section */
.faq-section {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: var(--bg-primary);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.faq-item {
    background: linear-gradient(135deg, rgba(26, 31, 46, 0.6), rgba(22, 27, 40, 0.6));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: rgba(0, 212, 255, 0.3);
}

.faq-item.active {
    border-color: var(--primary-cyan);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.faq-question i {
    color: var(--primary-cyan);
    transition: transform var(--transition-base);
}

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

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

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

.faq-answer p {
    padding: 0 var(--spacing-md) var(--spacing-md);
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Enhanced CTA Section */
.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: linear-gradient(135deg, var(--danger-red), var(--warning-yellow));
    border-radius: 100px;
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    animation: pulse 2s ease-in-out infinite;
}

.cta-guarantee {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-md);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(99, 102, 241, 0.05));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.guarantee-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    border-radius: 50%;
}

.guarantee-icon i {
    font-size: 2rem;
    color: white;
}

.guarantee-text strong {
    display: block;
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.guarantee-text p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
}

.cta-trust i {
    color: var(--success-green);
    margin-right: 4px;
}

/* Responsive - New Sections */
@media (max-width: 1200px) {
    .predictions-feed {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 1024px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .stat-item {
        min-height: 240px;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .step-connector {
        display: none;
    }

    .step-content {
        min-height: auto;
    }

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

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

@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    .stat-item {
        padding: var(--spacing-md);
        min-height: 200px;
    }

    .stat-icon {
        width: 56px;
        height: 56px;
    }

    .stat-icon i {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-prefix,
    .stat-suffix {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .stat-sublabel {
        font-size: 0.6875rem;
    }

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

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

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

    .cta-guarantee {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .stats-container {
        grid-template-columns: 1fr;
    }

    .stat-item {
        min-height: auto;
        padding: var(--spacing-md);
    }

    .predictions-feed {
        grid-template-columns: 1fr;
    }

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

    .prediction-details {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   HOME ONLY - RESPONSIVE OVERRIDES
   All new rules scoped to .tp-home (index.html)
   No shared/base styles are modified below.
   ================================================ */

/* ── Overflow guard ──────────────────────────────
   Prevents the large decorative ::before circles
   in hero/CTA/how-it-works from causing H-scroll.
   overflow-x: hidden alone does NOT affect
   position:fixed modals (they clip to viewport).
   ─────────────────────────────────────────────── */
.tp-home .hero-section,
.tp-home .final-cta-section,
.tp-home .how-it-works-section {
    overflow-x: hidden;
}

/* ── Fluid typography ────────────────────────────
   Replaces fixed-px jumps between breakpoints with
   smooth scaling. clamp(min, preferred, max).
   ─────────────────────────────────────────────── */
.tp-home .hero-title {
    font-size: clamp(1.75rem, 4.5vw + 0.5rem, 3.5rem);
}

.tp-home .section-title {
    font-size: clamp(1.5rem, 3.5vw + 0.5rem, 2.5rem);
}

.tp-home .cta-title {
    font-size: clamp(1.75rem, 4vw + 0.5rem, 3rem);
}

.tp-home .stat-number {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}

/* ── Responsive media ────────────────────────────
   Ensure any images/videos added in future are safe
   ─────────────────────────────────────────────── */
.tp-home img,
.tp-home video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ════════════════════════════════════════════════
   BREAKPOINT: 1440px - Large desktop
   ════════════════════════════════════════════════ */
@media (min-width: 1440px) {
    .tp-home .features-section,
    .tp-home .markets-section,
    .tp-home .how-it-works-section,
    .tp-home .predictions-feed-section,
    .tp-home .testimonials-section,
    .tp-home .faq-section,
    .tp-home .final-cta-section {
        padding-left: var(--spacing-2xl);
        padding-right: var(--spacing-2xl);
    }
}

/* ════════════════════════════════════════════════
   BREAKPOINT: 1024px - Tablet landscape / small desktop
   ════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    /* Reduce hero container top margin when stacked */
    .tp-home .hero-container {
        margin-top: var(--spacing-xl);
        margin-bottom: 0;
    }

    /* Center hero text when it goes to single column */
    .tp-home .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .tp-home .hero-actions {
        justify-content: center;
    }

    .tp-home .hero-trust-badges {
        justify-content: center;
    }
}

/* ════════════════════════════════════════════════
   BREAKPOINT: 768px - Tablet portrait
   ════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .tp-home .hero-container {
        margin-top: var(--spacing-lg);
        margin-bottom: 0;
    }

    /* ── CRITICAL MOBILE FIX: kill 3D transform on hero chart ── */
    .tp-home .hero-chart {
        width: 100%;
        max-width: 100%;
        perspective: none;
        overflow: visible;
    }
    .tp-home .chart-container {
        transform: none !important;
        -webkit-transform: none !important;
        box-shadow:
            0 12px 32px rgba(0, 0, 0, 0.45),
            0 0 0 1px rgba(0, 212, 255, 0.14),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }
    .tp-home .hero-chart:hover .chart-container {
        transform: translateY(-5px) !important;
        -webkit-transform: translateY(-5px) !important;
    }
    .tp-home .hero-chart::after {
        display: none; /* remove blur halo on mobile - performance */
    }

    /* Hide scrollbar on market tabs while keeping scroll */
    .tp-home .market-tabs {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .tp-home .market-tabs::-webkit-scrollbar {
        display: none;
    }

    /* FAQ question text wrapping */
    .tp-home .faq-question h3 {
        font-size: 1rem;
        line-height: 1.4;
        padding-right: var(--spacing-xs);
    }

    /* Fix pricing grid - inline style was overriding media query;
       now that inline style is removed from the template, these
       !important rules ensure breakpoints win over the base
       .pricing-preview-section .pricing-grid { !important } rule. */
    .tp-home .pricing-preview-section .pricing-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    .tp-home .section-description {
        font-size: 1rem;
    }
}

/* ════════════════════════════════════════════════
   BREAKPOINT: 480px - Large mobile  (NEW)
   ════════════════════════════════════════════════ */
@media (max-width: 480px) {

    /* Hero */
    .tp-home .hero-section {
        min-height: auto;
        padding: 40px 16px 48px;
    }

    .tp-home .hero-container {
        margin-top: var(--spacing-md);
        gap: var(--spacing-lg);
    }

    .tp-home .hero-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .tp-home .hero-description {
        font-size: 1rem;
        line-height: 1.6;
    }

    .tp-home .hero-actions {
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .tp-home .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.9375rem;
    }

    .tp-home .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .tp-home .hero-trust-badges {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }

    /* Hero chart */
    .tp-home .chart-canvas {
        height: 180px;
    }

    .tp-home .chart-footer {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xs);
    }

    /* Stats section */
    .tp-home .stats-section {
        padding: var(--spacing-lg) var(--spacing-xs);
    }

    /* Reduce horizontal padding on all major sections */
    .tp-home .features-section,
    .tp-home .markets-section,
    .tp-home .how-it-works-section,
    .tp-home .predictions-feed-section,
    .tp-home .testimonials-section,
    .tp-home .faq-section,
    .tp-home .final-cta-section {
        padding-left: var(--spacing-xs);
        padding-right: var(--spacing-xs);
    }

    .tp-home .trusted-by-section {
        padding-left: 0;
        padding-right: 0;
    }

    /* Section header spacing */
    .tp-home .section-header {
        margin-bottom: var(--spacing-lg);
    }

    /* Market tabs - smaller tap targets */
    .tp-home .market-tabs {
        gap: var(--spacing-xs);
    }

    .tp-home .market-tab {
        padding: 10px 16px;
        font-size: 0.875rem;
        flex-shrink: 0;
    }

    /* Market grid: single column on very small screens */
    .tp-home .market-grid {
        grid-template-columns: 1fr !important;
    }

    /* Steps */
    .tp-home .step-number {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }

    .tp-home .step-icon {
        width: 56px;
        height: 56px;
    }

    .tp-home .step-icon i {
        font-size: 1.5rem;
    }

    /* Feature cards */
    .tp-home .feature-icon {
        width: 52px;
        height: 52px;
    }

    .tp-home .feature-icon i {
        font-size: 1.5rem;
    }

    /* Testimonials slider */
    .tp-home .testimonials-slide {
        padding: 0 var(--spacing-xs);
    }

    .tp-home .slider-arrow {
        width: 40px;
        height: 40px;
    }

    .tp-home .slider-dot {
        width: 8px;
        height: 8px;
    }

    .tp-home .slider-controls {
        gap: var(--spacing-sm);
        margin-top: var(--spacing-lg);
    }

    /* Pricing: single column */
    .tp-home .pricing-preview-section .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: var(--spacing-md) !important;
    }

    .tp-home .pricing-preview-section {
        padding: var(--spacing-xl) var(--spacing-xs);
    }

    /* FAQ */
    .tp-home .faq-question {
        padding: var(--spacing-sm);
    }

    .tp-home .faq-answer p {
        padding: 0 var(--spacing-sm) var(--spacing-sm);
    }

    /* CTA */
    .tp-home .cta-actions {
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .tp-home .cta-trust {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        text-align: center;
    }

    /* Hide bullet-separator spans (plain text nodes wrapped in <span>•</span>) */
    .tp-home .cta-trust span:not([class]) {
        display: none;
    }

    .tp-home .cta-guarantee {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
}

/* ════════════════════════════════════════════════
   BREAKPOINT: 360px - Very small mobile
   ════════════════════════════════════════════════ */
@media (max-width: 360px) {
    /* Hide icons in market tabs to save horizontal space */
    .tp-home .market-tab i {
        display: none;
    }

    .tp-home .market-tab {
        padding: 8px 12px;
        font-size: 0.8125rem;
    }

    .tp-home .cta-guarantee {
        padding: var(--spacing-xs);
    }

    .tp-home .guarantee-icon {
        width: 48px;
        height: 48px;
    }

    .tp-home .guarantee-icon i {
        font-size: 1.5rem;
    }

    .tp-home .slider-controls {
        gap: var(--spacing-xs);
    }
}

/* ════════════════════════════════════════════════════════════
   Economic Calendar - Home Page Section
   ════════════════════════════════════════════════════════════ */
/* transform+opacity is compositor-friendly; replaces non-composited box-shadow ripple */
@keyframes econ-live-pulse {
    0%        { transform: scale(1);   opacity: 1; }
    70%, 100% { transform: scale(2.2); opacity: 0; }
}
@keyframes econ-home-spin { to { transform: rotate(360deg); } }
.econ-spin-home {
    width: 16px; height: 16px;
    border: 2px solid rgba(0,212,255,0.15);
    border-top-color: #00d4ff;
    border-radius: 50%;
    animation: econ-home-spin 0.8s linear infinite;
    flex-shrink: 0;
}
.econ-home-section {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
    background: var(--bg-primary);
}
.econ-home-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 60% at 15% 50%, rgba(0,212,255,0.04) 0%, transparent 55%),
        radial-gradient(ellipse 50% 50% at 85% 50%, rgba(99,102,241,0.04) 0%, transparent 55%);
    pointer-events: none;
}
.econ-home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Header */
.econ-home-header {
    text-align: center;
    margin-bottom: 40px;
}
.econ-home-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 16px;
    background: rgba(16,185,129,0.08);
    border: 1px solid rgba(16,185,129,0.25);
    border-radius: 50px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
    color: #10b981;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.econ-home-dot {
    width: 7px; height: 7px;
    background: #10b981;
    border-radius: 50%;
    will-change: transform, opacity;
    animation: econ-live-pulse 1.6s ease-in-out infinite;
}
.econ-home-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #f1f5f9;
    margin: 0 0 14px;
    line-height: 1.2;
}
.econ-home-sub {
    font-size: 15px;
    color: #64748b;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Feature pills */
.econ-home-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 44px;
}
.econ-home-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
}
.econ-home-pill i { color: #00d4ff; }

/* Grid of event cards */
.econ-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
    justify-content: center;
    gap: 16px;
    margin-bottom: 44px;
}
.econ-home-loading,
.econ-home-empty {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 48px 24px;
    color: #475569;
    font-size: 14px;
}
.econ-home-empty i { font-size: 22px; color: #334155; }

/* Individual event card */
.econ-home-card {
    position: relative;
    padding: 20px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-left: 3px solid var(--accent, #00d4ff);
    border-radius: 14px;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    cursor: default;
}
.econ-home-card:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.04);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.06);
}
.econ-home-card-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.econ-home-flag { font-size: 18px; line-height: 1; }
.econ-home-impact {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 3px 8px;
    border: 1px solid;
    border-radius: 50px;
    background: transparent;
    opacity: 0.85;
}
.econ-home-day {
    margin-left: auto;
    font-size: 10px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.econ-home-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #e2e8f0;
    line-height: 1.4;
    margin-bottom: 14px;
}
.econ-home-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #475569;
}
.econ-home-time i { color: #00d4ff; margin-right: 4px; }

/* CTA row */
.econ-home-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.econ-home-btn.primary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg, #00d4ff, #6366f1);
    color: #fff;
    transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(0,212,255,0.2);
}
.econ-home-btn.primary:hover {
    opacity: 0.92;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,212,255,0.3);
    color: #fff;
    text-decoration: none;
}
.econ-home-note {
    font-size: 12px;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 5px;
}
.econ-home-note i { color: #334155; }

/* ========================================
   SIGNAL OF THE DAY SECTION
   ======================================== */
.sotd-section {
    padding: 70px 40px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, #0b0f16 50%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.sotd-section::before {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.sotd-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Header */
.sotd-header {
    text-align: center;
    margin-bottom: 40px;
}

.sotd-top-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.25);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--warning-yellow);
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.sotd-top-badge .sotd-fire {
    animation: sotdPulse 2s ease-in-out infinite;
}

@keyframes sotdPulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.2); }
}

.sotd-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 10px;
}

.sotd-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Main Card */
.sotd-card {
    background: rgba(22, 27, 40, 0.85);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 24px;
    padding: 36px 40px;
    display: grid;
    grid-template-columns: 1fr 1.8fr 1fr;
    gap: 32px;
    align-items: center;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 212, 255, 0.08);
    position: relative;
    overflow: hidden;
    animation: sotdSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

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

.sotd-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-cyan), var(--primary-purple), transparent);
    opacity: 0.6;
}

/* Left: Symbol Info */
.sotd-symbol-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.sotd-icon-ring {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(99, 102, 241, 0.12));
    border: 1px solid rgba(0, 212, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary-cyan);
}

.sotd-symbol-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.sotd-cat-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.sotd-cat-badge.crypto      { background: rgba(0,212,255,0.1); color: var(--primary-cyan); }
.sotd-cat-badge.forex       { background: rgba(99,102,241,0.1); color: var(--primary-purple); }
.sotd-cat-badge.stock       { background: rgba(16,185,129,0.1); color: var(--success-green); }
.sotd-cat-badge.commodities { background: rgba(251,191,36,0.1); color: var(--warning-yellow); }

.sotd-action-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.sotd-action-pill.buy  {
    background: rgba(16, 185, 129, 0.15);
    border: 1.5px solid rgba(16, 185, 129, 0.4);
    color: var(--success-green);
}

.sotd-action-pill.sell {
    background: rgba(239, 68, 68, 0.15);
    border: 1.5px solid rgba(239, 68, 68, 0.4);
    color: var(--danger-red);
}

/* Center: Stats */
.sotd-stats-col {
    position: relative;
}

.sotd-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.sotd-stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 16px 18px;
    transition: border-color 0.2s;
}

.sotd-stat-box:hover {
    border-color: rgba(0, 212, 255, 0.2);
}

.sotd-stat-label {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.sotd-stat-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.sotd-stat-value.tp   { color: var(--success-green); }
.sotd-stat-value.sl   { color: var(--danger-red); }
.sotd-stat-value.rr   { color: var(--primary-cyan); }

/* Blur / Lock overlay for non-premium */
.sotd-stats-col.locked .sotd-stat-value {
    filter: blur(7px);
    user-select: none;
}

.sotd-lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 20, 0.7);
    backdrop-filter: blur(4px);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 2;
}

.sotd-lock-overlay i {
    font-size: 1.4rem;
    color: var(--primary-cyan);
}

.sotd-lock-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.sotd-unlock-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 6px 18px rgba(0, 212, 255, 0.25);
}

.sotd-unlock-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}

/* Right: Confidence + CTA */
.sotd-right-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.sotd-conf-wrap {
    width: 100%;
    text-align: right;
}

.sotd-conf-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.sotd-conf-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sotd-conf-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.sotd-conf-bar {
    width: 100%;
    height: 7px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 6px;
}

.sotd-conf-fill {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple));
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.sotd-conf-level {
    font-size: 0.72rem;
    font-weight: 600;
    text-align: right;
}

.sotd-conf-level.high    { color: var(--success-green); }
.sotd-conf-level.medium  { color: var(--warning-yellow); }
.sotd-conf-level.low,
.sotd-conf-level.very\ low { color: var(--danger-red); }

.sotd-captured-ago {
    font-size: 0.72rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.sotd-fresh-note {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: -8px;
}

.sotd-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.25);
    white-space: nowrap;
}

.sotd-view-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 212, 255, 0.35);
    color: #fff;
    text-decoration: none;
}

/* Footer note */
.sotd-footer-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Fallback note */
.sotd-fallback-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Performance teaser link */
.sotd-perf-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.sotd-perf-link a {
    color: var(--primary-cyan);
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}

.sotd-perf-link a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ── SOTD Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
    .sotd-section { padding: 50px 20px; }
    .sotd-card {
        grid-template-columns: 1fr;
        padding: 28px 24px;
        gap: 22px;
    }
    .sotd-symbol-col {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
    }
    .sotd-right-col { align-items: flex-start; }
    .sotd-conf-wrap { text-align: left; }
    .sotd-conf-header { justify-content: space-between; }
    .sotd-conf-level { text-align: left; }
    .sotd-view-btn { width: 100%; justify-content: center; }
    .sotd-fresh-note { justify-content: center; }
}

@media (max-width: 600px) {
    .sotd-section { padding: 40px 14px; }
    .sotd-card { padding: 20px 14px; border-radius: 16px; gap: 18px; }
    .sotd-stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .sotd-stat-box { padding: 12px 14px; border-radius: 10px; }
    .sotd-stat-value { font-size: 1rem; }
    .sotd-title { font-size: 1.7rem; }
    .sotd-symbol-name { font-size: 1.2rem; }
    .sotd-icon-ring { width: 46px; height: 46px; font-size: 1.1rem; border-radius: 12px; }
    .sotd-conf-value { font-size: 1.2rem; }
    .sotd-top-badge { font-size: 0.7rem; }
}

@media (max-width: 400px) {
    .sotd-stats-grid { grid-template-columns: 1fr; gap: 8px; }
    .sotd-card { padding: 16px 12px; }
    .sotd-stat-value { font-size: 0.95rem; }
    .sotd-title { font-size: 1.5rem; }
    .sotd-perf-link { flex-direction: column; gap: 4px; text-align: center; }
    .sotd-footer-note { font-size: 0.72rem; flex-direction: column; gap: 4px; text-align: center; }
}

@media (max-width: 768px) {
    .econ-home-section { padding: 60px 0 50px; }
    .econ-home-container { padding: 0 16px; }
    .econ-home-title { font-size: 1.9rem; }
    .econ-home-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SECTION ENHANCEMENTS - 3D Animations & Premium Styling
   All scoped to .tp-home so no other page is affected.
   ============================================================ */

/* ── Stats section - animated bg orb + 3D hover tilt ── */
.tp-home .stats-section { position: relative; overflow: hidden; }
.tp-home .stats-section::before {
    content: "";
    position: absolute;
    top: -40%; left: 50%;
    transform: translateX(-50%);
    width: clamp(400px, 60vw, 900px);
    height: clamp(400px, 60vw, 900px);
    background: radial-gradient(circle, rgba(99,102,241,0.07) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    animation: orb-drift-a 20s ease-in-out infinite;
}
.tp-home .stat-item {
    transition: transform 0.45s cubic-bezier(0.23,1,0.32,1), box-shadow 0.45s ease, border-color 0.3s ease;
    cursor: default;
}
.tp-home .stat-item:hover {
    transform: perspective(800px) rotateY(-5deg) rotateX(3deg) translateY(-8px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.45), 0 0 0 1px rgba(0,212,255,0.22), 0 0 40px rgba(0,212,255,0.07);
    border-color: rgba(0,212,255,0.25);
}
.tp-home .stat-icon { animation: icon-float 5s ease-in-out infinite; }
@keyframes icon-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-5px); }
}

/* ── Features section - 3D hover cards + top-border sweep ── */
.tp-home .features-section { position: relative; overflow: hidden; }
.tp-home .features-section::before {
    content: "";
    position: absolute; top: -20%; right: -10%;
    width: clamp(300px,40vw,700px); height: clamp(300px,40vw,700px);
    background: radial-gradient(circle, rgba(0,212,255,0.06) 0%, transparent 65%);
    border-radius: 50%; pointer-events: none;
    animation: orb-drift-b 22s ease-in-out infinite;
}
.tp-home .features-section::after {
    content: "";
    position: absolute; bottom: -20%; left: -5%;
    width: clamp(200px,30vw,500px); height: clamp(200px,30vw,500px);
    background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, transparent 65%);
    border-radius: 50%; pointer-events: none;
    animation: orb-drift-a 17s ease-in-out infinite alternate;
}
.tp-home .feature-card {
    transition: transform 0.45s cubic-bezier(0.23,1,0.32,1), box-shadow 0.45s ease, border-color 0.3s ease;
}
.tp-home .feature-card::after {
    content: "";
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.23,1,0.32,1);
}
.tp-home .feature-card:hover {
    transform: perspective(900px) rotateY(-4deg) rotateX(2deg) translateY(-8px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,212,255,0.2), 0 0 40px rgba(0,212,255,0.06);
    border-color: transparent;
}
.tp-home .feature-card:hover::after { transform: scaleX(1); }
.tp-home .feature-card:hover .feature-icon {
    box-shadow: 0 0 20px rgba(0,212,255,0.3);
    transform: scale(1.08);
}
.tp-home .feature-icon { transition: transform 0.4s ease, box-shadow 0.4s ease; }

/* ── Markets section - card lift + glow ── */
.tp-home .markets-section { position: relative; overflow: hidden; }
.tp-home .markets-section::before {
    content: "";
    position: absolute; bottom: -30%; right: -5%;
    width: clamp(300px,40vw,650px); height: clamp(300px,40vw,650px);
    background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, transparent 65%);
    border-radius: 50%; pointer-events: none;
    animation: orb-drift-a 19s ease-in-out infinite;
}
.tp-home .market-card {
    transition: transform 0.4s cubic-bezier(0.23,1,0.32,1), box-shadow 0.4s ease, border-color 0.3s ease;
}
.tp-home .market-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,212,255,0.18), 0 0 30px rgba(0,212,255,0.05);
    border-color: rgba(0,212,255,0.2);
}

/* ── How It Works - step ring pulse + card hover ── */
.tp-home .how-it-works-section { position: relative; overflow: hidden; }
.tp-home .how-it-works-section::before {
    content: "";
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: clamp(400px,55vw,900px); height: clamp(400px,55vw,900px);
    background: radial-gradient(circle, rgba(0,212,255,0.05) 0%, transparent 65%);
    border-radius: 50%; pointer-events: none;
    animation: orb-drift-b 25s ease-in-out infinite alternate;
}
.tp-home .step-card,
.tp-home .step-content {
    transition: transform 0.4s cubic-bezier(0.23,1,0.32,1), box-shadow 0.4s ease;
}
.tp-home .step-card:hover,
.tp-home .step-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,212,255,0.18);
}
.tp-home .step-number { position: relative; }
.tp-home .step-number::after {
    content: "";
    position: absolute; inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(0,212,255,0.3);
    animation: step-ring-pulse 3s ease-out infinite;
}
@keyframes step-ring-pulse {
    0%   { transform: scale(1);   opacity: 0.8; }
    70%  { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ── Predictions feed - 3D hover ── */
.tp-home .prediction-feed-card {
    transition: transform 0.4s cubic-bezier(0.23,1,0.32,1), box-shadow 0.4s ease, border-color 0.3s ease;
}
.tp-home .prediction-feed-card:hover {
    transform: perspective(800px) rotateY(-3deg) rotateX(1.5deg) translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,212,255,0.18);
    border-color: rgba(0,212,255,0.2);
}

/* ── Testimonials - glassmorphism hover tilt ── */
.tp-home .testimonials-section { position: relative; overflow: hidden; }
.tp-home .testimonials-section::before {
    content: "";
    position: absolute; top: -20%; left: 50%;
    transform: translateX(-50%);
    width: clamp(400px,60vw,900px); height: clamp(400px,60vw,900px);
    background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, transparent 65%);
    border-radius: 50%; pointer-events: none;
    animation: orb-drift-a 23s ease-in-out infinite alternate;
}
.tp-home .testimonial-card {
    transition: transform 0.45s cubic-bezier(0.23,1,0.32,1), box-shadow 0.45s ease, border-color 0.3s ease;
}
.tp-home .testimonial-card:hover {
    transform: perspective(900px) rotateY(-4deg) rotateX(2deg) translateY(-8px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.45), 0 0 0 1px rgba(0,212,255,0.2), 0 0 40px rgba(99,102,241,0.06);
    border-color: rgba(0,212,255,0.2);
}

/* ── Pricing cards - hover tilt + featured pulse ── */
.tp-home .pricing-card {
    transition: transform 0.45s cubic-bezier(0.23,1,0.32,1), box-shadow 0.45s ease;
}
.tp-home .pricing-card:hover {
    transform: perspective(900px) rotateY(-3deg) rotateX(2deg) translateY(-8px);
    box-shadow: 0 24px 56px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,212,255,0.2);
}
.tp-home .pricing-card.featured,
.tp-home .pricing-card.popular {
    animation: pricing-glow 4s ease-in-out infinite alternate;
}
@keyframes pricing-glow {
    0%   { box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,212,255,0.3),  0 0 30px rgba(0,212,255,0.08); }
    100% { box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(99,102,241,0.4), 0 0 50px rgba(99,102,241,0.12); }
}

/* ── Final CTA - dramatic animated orbs ── */
.tp-home .final-cta-section { position: relative; overflow: hidden; }
.tp-home .final-cta-section::before {
    content: "";
    position: absolute; top: -30%; right: -10%;
    width: clamp(300px,50vw,700px); height: clamp(300px,50vw,700px);
    background: radial-gradient(circle, rgba(0,212,255,0.1) 0%, transparent 65%);
    border-radius: 50%; pointer-events: none;
    animation: orb-drift-a 16s ease-in-out infinite alternate;
}
.tp-home .final-cta-section::after {
    content: "";
    position: absolute; bottom: -20%; left: -5%;
    width: clamp(250px,40vw,600px); height: clamp(250px,40vw,600px);
    background: radial-gradient(circle, rgba(99,102,241,0.1) 0%, transparent 65%);
    border-radius: 50%; pointer-events: none;
    animation: orb-drift-b 20s ease-in-out infinite alternate;
}

/* ── Logo slider - fade edges + logo hover ── */
.tp-home .logo-item {
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.tp-home .logo-item:hover {
    transform: translateY(-4px) scale(1.06);
}

/* ── Section header - static gradient underline (background-position animation non-composited) ── */
.tp-home .section-header::after {
    content: "";
    display: block;
    width: 80px; height: 3px;
    margin: var(--spacing-sm) auto 0;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple));
    border-radius: 4px;
}

/* ── Mobile overflow - nuclear fix ──────────────────────────
   Ensures nothing bleeds out of the viewport regardless of
   what black-dashboard.css sets on wrapper / main-panel.
   ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .tp-home {
        overflow-x: hidden;
        width: 100%;
    }
    .tp-home .hero-section {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 48px 20px 56px;
        box-sizing: border-box;
    }
    .tp-home .hero-container {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }
    .tp-home .hero-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    .tp-home .hero-title {
        font-size: clamp(1.6rem, 7vw, 2.4rem);
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    .tp-home .hero-description {
        font-size: 0.95rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    /* Hide heavy background elements on small screens */
    .tp-home .hero-grid { display: none; }
    .tp-home .hero-shimmer { display: none; }
}

/* ── Touch devices: skip 3D transforms ── */
@media (hover: none) {
    .tp-home .feature-card:hover,
    .tp-home .stat-item:hover,
    .tp-home .market-card:hover,
    .tp-home .testimonial-card:hover,
    .tp-home .pricing-card:hover,
    .tp-home .prediction-feed-card:hover,
    .tp-home .step-card:hover,
    .tp-home .step-content:hover {
        transform: none;
    }
}
