/* ==========================================================================
   BTC Universal Breakout - Modern Dark Cyber Theme
   Colors: Bitcoin Gold (#F7931A), Cyan (#00F2FE), Emerald (#00E676), Obsidian (#0A0E17)
   ========================================================================== */

:root {
    --bg-main: #07090e;
    --bg-surface: #0f1523;
    --bg-card: rgba(18, 26, 43, 0.7);
    --bg-card-hover: rgba(28, 38, 62, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(247, 147, 26, 0.35);
    
    --btc-gold: #F7931A;
    --btc-gold-glow: rgba(247, 147, 26, 0.3);
    --btc-gold-hover: #ffaa3b;
    --cyan-accent: #00F2FE;
    --cyan-glow: rgba(0, 242, 254, 0.25);
    --emerald-green: #00E676;
    --purple-glow: rgba(138, 43, 226, 0.2);
    --red-alert: #FF5252;

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --container-max: 1200px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    font-size: 16px;
    color-scheme: dark;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.selection-crypto ::selection {
    background: var(--btc-gold);
    color: #000;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Ambient Background Glows */
.glow-bg {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}
.glow-btc {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--btc-gold) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}
.glow-cyan {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--cyan-accent) 0%, transparent 70%);
    top: 40%;
    left: -200px;
}
.glow-purple {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #7928ca 0%, transparent 70%);
    bottom: 10%;
    right: -100px;
}

/* Announcement Bar */
.top-announcement {
    background: linear-gradient(90deg, rgba(247,147,26,0.15) 0%, rgba(0,242,254,0.15) 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 0.6rem 0;
    font-size: 0.875rem;
    position: relative;
    z-index: 20;
}
.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    text-align: center;
}
.pulse-indicator {
    width: 8px;
    height: 8px;
    background-color: var(--emerald-green);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 230, 118, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}
.announcement-link {
    color: var(--btc-gold);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.announcement-link:hover {
    color: #fff;
}
.announcement-link .arrow {
    transition: transform 0.2s;
}
.announcement-link:hover .arrow {
    transform: translateX(4px);
}

/* Site Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    transition: var(--transition);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.brand-img {
    border-radius: 8px;
    box-shadow: 0 0 15px var(--btc-gold-glow);
}
.brand-text {
    display: flex;
    flex-direction: column;
}
.brand-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    color: #fff;
}
.brand-badge {
    font-size: 0.7rem;
    font-family: var(--font-mono);
    color: var(--btc-gold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}
.nav-link {
    font-size: 0.925rem;
    font-weight: 500;
    color: var(--text-secondary);
}
.nav-link:hover {
    color: var(--btc-gold);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}
.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    text-align: center;
}
.btn-sm {
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
}
.btn-md {
    padding: 0.75rem 1.4rem;
    font-size: 0.95rem;
}
.btn-lg {
    padding: 0.9rem 1.75rem;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}
.btn-xl {
    padding: 1.1rem 2.2rem;
    font-size: 1.15rem;
    border-radius: var(--radius-md);
}
.btn-primary {
    background: linear-gradient(135deg, var(--btc-gold) 0%, #e07d0a 100%);
    color: #000;
    font-weight: 700;
    box-shadow: 0 4px 20px var(--btc-gold-glow);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--btc-gold-hover) 0%, #f7931a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(247, 147, 26, 0.45);
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    color: var(--btc-gold);
    border: 1px solid var(--btc-gold);
}
.btn-outline:hover {
    background: rgba(247, 147, 26, 0.1);
    color: #fff;
}
.btn-block {
    width: 100%;
}
.glow-btn {
    position: relative;
}
.btn-main-text {
    display: block;
    line-height: 1.2;
}
.btn-sub-text {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.85;
}
.icon {
    width: 18px;
    height: 18px;
}
.icon-sm {
    width: 16px;
    height: 16px;
}
.icon-lg {
    width: 22px;
    height: 22px;
}

/* Glassmorphism Panels */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: var(--transition);
}
.glass-card-nested {
    background: rgba(10, 15, 25, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

/* Typography Helpers */
.gradient-text {
    background: linear-gradient(135deg, #F7931A 0%, #FFD700 50%, #FFAB00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-btc { color: var(--btc-gold); }
.text-emerald { color: var(--emerald-green); }
.text-cyan { color: var(--cyan-accent); }
.font-mono { font-family: var(--font-mono); }

/* Section Layout */
.section {
    padding: 6rem 0;
    position: relative;
    z-index: 10;
}
.section-header {
    max-width: 760px;
    margin: 0 auto 3.5rem auto;
}
.section-badge {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background: rgba(247, 147, 26, 0.12);
    border: 1px solid rgba(247, 147, 26, 0.3);
    border-radius: 9999px;
    color: var(--btc-gold);
    font-size: 0.8rem;
    font-family: var(--font-mono);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}
.section-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}
.text-center { text-align: center; }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding: 4.5rem 0 5.5rem 0;
    position: relative;
    z-index: 10;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
}
.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}
.chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--btc-gold);
}
.hero-title {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 1.25rem;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 2rem;
}
.hero-metrics {
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    margin-bottom: 2.25rem;
    justify-content: space-between;
}
.metric-item {
    display: flex;
    flex-direction: column;
}
.metric-val {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
}
.metric-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.metric-divider {
    width: 1px;
    height: 35px;
    background: var(--border-color);
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

/* BTC Ticker Bar */
.btc-ticker-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(247, 147, 26, 0.05);
    border: 1px solid rgba(247, 147, 26, 0.25);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.25rem;
}
.ticker-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.btc-icon-badge {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--btc-gold) 0%, #cf780c 100%);
    color: #000;
    font-weight: 800;
    font-size: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px var(--btc-gold-glow);
}
.ticker-pair {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}
.ticker-price {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}
.ticker-right {
    text-align: right;
}
.ticker-status {
    font-size: 0.75rem;
    color: var(--emerald-green);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    justify-content: flex-end;
}
.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--emerald-green);
}
.ticker-change {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--emerald-green);
    font-weight: 600;
}

/* Hero Showcase Card */
.showcase-card {
    overflow: hidden;
    position: relative;
}
.showcase-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    background: rgba(10, 14, 23, 0.8);
    border-bottom: 1px solid var(--border-color);
}
.window-controls {
    display: flex;
    gap: 6px;
}
.window-controls .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27c93f; }
.window-title {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
}
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-family: var(--font-mono);
    color: var(--emerald-green);
    background: rgba(0, 230, 118, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}
.ping-dot {
    width: 6px;
    height: 6px;
    background: var(--emerald-green);
    border-radius: 50%;
}
.showcase-img-container {
    position: relative;
    background: #000;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.showcase-img {
    width: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}
.showcase-overlay-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 0.6rem 0.9rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.showcase-overlay-badge.top-right {
    top: 15px;
    right: 15px;
}
.showcase-overlay-badge.bottom-left {
    bottom: 15px;
    left: 15px;
}
.badge-icon {
    font-size: 1.2rem;
}
.badge-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
}
.badge-desc {
    font-size: 0.7rem;
    color: var(--text-muted);
}
.showcase-footer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(10, 14, 23, 0.9);
    border-top: 1px solid var(--border-color);
    padding: 0.5rem;
    gap: 0.4rem;
}
.thumb-btn {
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.75rem;
    padding: 0.5rem 0.25rem;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 500;
    transition: var(--transition);
}
.thumb-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}
.thumb-btn.active {
    background: rgba(247, 147, 26, 0.15);
    border-color: rgba(247, 147, 26, 0.35);
    color: var(--btc-gold);
}

/* ==========================================================================
   4-in-1 Engine Section
   ========================================================================== */
.engine-tabs-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.engine-tabs-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.engine-tab-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    color: var(--text-secondary);
}
.engine-tab-btn:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}
.engine-tab-btn.active {
    background: rgba(247, 147, 26, 0.1);
    border-color: var(--btc-gold);
    color: #fff;
    box-shadow: 0 0 20px var(--btc-gold-glow);
}
.tab-number {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--btc-gold);
}
.tab-meta strong {
    display: block;
    font-size: 1rem;
    font-family: var(--font-heading);
}
.tab-meta small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.engine-tab-pane {
    display: none;
    padding: 2.5rem;
}
.engine-tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.tab-pane-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    align-items: center;
}
.pane-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--cyan-accent);
    background: rgba(0, 242, 254, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}
.pane-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}
.pane-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}
.pane-features {
    list-style: none;
    margin-bottom: 1.5rem;
}
.pane-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    font-size: 0.925rem;
    color: var(--text-secondary);
}
.pane-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--btc-gold);
    font-weight: bold;
}
.pane-features strong {
    color: #fff;
}
.pane-code-box {
    background: #080c14;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--cyan-accent);
    line-height: 1.5;
}

/* Pane Graphics Simulation */
.graphic-box {
    background: #060910;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.box-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--emerald-green);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}
.box-bottom {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--red-alert);
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 0.5rem;
}
.price-flow {
    padding: 2rem 0;
    position: relative;
}
.candle-cluster {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    justify-content: center;
    height: 100px;
}
.candle {
    width: 16px;
    border-radius: 2px;
    position: relative;
}
.candle::before {
    content: "";
    position: absolute;
    width: 2px;
    height: 130%;
    left: 7px;
    top: -15%;
    z-index: 0;
}
.c-green { background-color: var(--emerald-green); }
.c-green::before { background-color: var(--emerald-green); }
.c-red { background-color: var(--red-alert); }
.c-red::before { background-color: var(--red-alert); }
.h-40 { height: 40px; }
.h-60 { height: 60px; }
.h-50 { height: 50px; }
.h-45 { height: 45px; }
.h-70 { height: 90px; }
.breakout-candle {
    box-shadow: 0 0 15px rgba(0, 230, 118, 0.6);
}
.breakout-flag {
    position: absolute;
    top: -25px;
    left: -35px;
    white-space: nowrap;
    background: var(--emerald-green);
    color: #000;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 3px;
}
.grid-levels {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
}
.level {
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
}
.level.tp3 { background: rgba(0, 230, 118, 0.25); color: var(--emerald-green); }
.level.tp2 { background: rgba(0, 230, 118, 0.15); color: var(--emerald-green); }
.level.tp1 { background: rgba(0, 230, 118, 0.1); color: var(--emerald-green); }
.level.entry { background: rgba(247, 147, 26, 0.2); color: var(--btc-gold); font-weight: bold; }
.level.sl { background: rgba(255, 82, 82, 0.15); color: var(--red-alert); }

/* ==========================================================================
   Live Performance & Verification
   ========================================================================== */
.performance-card {
    padding: 3rem;
    margin-bottom: 2.5rem;
}
.highlight-border {
    border-color: var(--border-highlight);
}
.performance-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
}
.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    background: rgba(0, 230, 118, 0.12);
    border: 1px solid rgba(0, 230, 118, 0.3);
    border-radius: 9999px;
    color: var(--emerald-green);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}
.perf-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.perf-desc {
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
}
.perf-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}
.perf-metric-box {
    background: rgba(10, 14, 23, 0.7);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.85rem;
    text-align: center;
}
.box-num {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--btc-gold);
}
.box-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
}
.perf-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.signal-preview-frame {
    background: #080c14;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.frame-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1rem;
    background: rgba(15, 23, 42, 0.9);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.75rem;
    font-family: var(--font-mono);
}
.external-link {
    color: var(--btc-gold);
}
.signal-img {
    width: 100%;
    object-fit: contain;
}
.frame-footer {
    padding: 0.75rem 1rem;
    background: rgba(10, 14, 23, 0.95);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.verified-tag {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: var(--emerald-green);
    font-weight: 600;
}
.auto-update-text {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Backtest Gallery Grid */
.backtest-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.backtest-card {
    padding: 1.5rem;
}
.backtest-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.backtest-card-header h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #fff;
}
.backtest-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}
.backtest-thumb:hover {
    transform: scale(1.02);
    border-color: var(--btc-gold);
}
.backtest-caption {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.85rem;
    line-height: 1.5;
}

/* ==========================================================================
   Features Grid
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.feature-card {
    padding: 2rem;
    transition: var(--transition);
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}
.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.btc-glow { background: rgba(247, 147, 26, 0.15); color: var(--btc-gold); }
.cyan-glow { background: rgba(0, 242, 254, 0.15); color: var(--cyan-accent); }
.emerald-glow { background: rgba(0, 230, 118, 0.15); color: var(--emerald-green); }
.purple-glow { background: rgba(138, 43, 226, 0.15); color: #c084fc; }
.amber-glow { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.red-glow { background: rgba(255, 82, 82, 0.15); color: var(--red-alert); }
.feature-svg {
    width: 24px;
    height: 24px;
}
.feature-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}
.feature-desc {
    color: var(--text-secondary);
    font-size: 0.925rem;
    line-height: 1.6;
}

/* ==========================================================================
   Interactive Calculator
   ========================================================================== */
.calc-wrapper {
    padding: 3.5rem;
}
.calc-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    margin-top: 2.5rem;
}
.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}
.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.input-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.input-label-row label {
    font-size: 0.925rem;
    font-weight: 600;
    color: #fff;
}
.val-display {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--btc-gold);
}
.custom-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    outline: none;
}
.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--btc-gold);
    cursor: pointer;
    box-shadow: 0 0 10px var(--btc-gold-glow);
    transition: var(--transition);
}
.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}
.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
}
.calc-results {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(247, 147, 26, 0.3);
}
.results-heading {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 1.25rem;
}
.result-highlight {
    background: rgba(247, 147, 26, 0.08);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    text-align: center;
    margin-bottom: 1.5rem;
}
.result-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-family: var(--font-mono);
}
.result-val {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 800;
}
.result-sub {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--emerald-green);
    font-family: var(--font-mono);
}
.results-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.stat-mini {
    background: rgba(0, 0, 0, 0.4);
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    text-align: center;
}
.stat-label {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}
.stat-num {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
}
.calc-disclaimer {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==========================================================================
   Setup Steps
   ========================================================================== */
.setup-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}
.setup-step {
    padding: 1.75rem 1.25rem;
    position: relative;
}
.step-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--btc-gold);
    background: rgba(247, 147, 26, 0.15);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}
.step-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 0.75rem;
}
.step-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.step-desc code {
    font-family: var(--font-mono);
    color: var(--cyan-accent);
    background: rgba(0,0,0,0.4);
    padding: 2px 5px;
    border-radius: 3px;
}
.step-link {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--btc-gold);
    font-weight: 600;
}
.step-link:hover {
    color: #fff;
}
.broker-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}
.broker-icon {
    font-size: 2.5rem;
}
.broker-text h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0.25rem;
}
.broker-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-container {
    max-width: 860px;
}
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    overflow: hidden;
}
.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.35rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}
.faq-question:hover {
    color: var(--btc-gold);
}
.faq-icon {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--btc-gold);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    padding: 0 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}
.faq-item.active .faq-answer {
    padding-bottom: 1.35rem;
}

/* ==========================================================================
   Final CTA Banner
   ========================================================================== */
.cta-card {
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
    border-color: var(--border-highlight);
}
.cta-glow-circle {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--btc-gold-glow) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.cta-logo {
    margin: 0 auto 1.5rem auto;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 25px var(--btc-gold-glow);
}
.cta-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.cta-subtitle {
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    color: var(--text-secondary);
    font-size: 1.15rem;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.cta-footer-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: #040609;
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem 0;
    position: relative;
    z-index: 10;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}
.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 1rem 0 1.5rem 0;
    max-width: 400px;
}
.footer-social-links {
    display: flex;
    gap: 0.75rem;
}
.social-btn {
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.social-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}
.footer-links-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.footer-col-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 1rem;
}
.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.footer-list a {
    color: var(--text-muted);
    font-size: 0.875rem;
}
.footer-list a:hover {
    color: var(--btc-gold);
}
.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}
.risk-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.copyright {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Sticky Mobile Bar & Lightbox
   ========================================================================== */
.sticky-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    z-index: 99;
    justify-content: space-between;
    gap: 0.75rem;
}
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.92);
    z-index: 999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.lightbox-modal.active {
    display: flex;
}
.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 40px rgba(0,0,0,0.8);
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-title {
        font-size: 2.75rem;
    }
    .engine-tabs-nav {
        grid-template-columns: repeat(2, 1fr);
    }
    .tab-pane-grid {
        grid-template-columns: 1fr;
    }
    .performance-grid {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .calc-grid {
        grid-template-columns: 1fr;
    }
    .setup-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(7, 9, 14, 0.98);
        flex-direction: column;
        padding: 1.5rem;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-menu.active {
        display: flex;
    }
    .mobile-toggle {
        display: flex;
    }
    .header-actions .btn {
        display: none;
    }
    .hero-title {
        font-size: 2.25rem;
    }
    .hero-metrics {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    .metric-divider {
        display: none;
    }
    .engine-tabs-nav {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .backtest-summary-grid {
        grid-template-columns: 1fr;
    }
    .perf-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .setup-grid {
        grid-template-columns: 1fr;
    }
    .sticky-mobile-bar {
        display: flex;
    }
    .cta-title {
        font-size: 2rem;
    }
    .calc-wrapper, .performance-card {
        padding: 1.5rem;
    }
}
