:root{--blue:#0B67E5;--teal:#1C90F2;--gold:#D6A52A;--danger:#D84A4A;--black:#000;--white:#fff;--navy:#051129;--navy2:#0B2552;--royal:#1350A3;--ink:#10213a;--muted:#6b7b90;--light:#EBF4FA;--soft-blue:#B3D0EA;--line:#d5e4f0;--shadow:0 18px 50px rgba(11,103,229,.16)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--ink);background:#fff}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.container{width:min(1180px,calc(100% - 40px));margin:auto}.site-header{background:var(--navy);color:#fff;position:relative;z-index:10}.topbar{height:76px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:21px;white-space:nowrap}.brand img{width:34px;height:34px}.main-nav{display:flex;gap:24px;margin-left:auto}.main-nav a{font-size:14px;color:#d9e8f7;transition:.2s}.main-nav a:hover{color:#fff}.header-actions{display:flex;gap:9px}.mobile-toggle{display:none;margin-left:auto;background:transparent;border:0;color:#fff;font-size:25px}.market-strip{border-top:1px solid rgba(255,255,255,.08);background:#081A33}.market-scroll{height:50px;display:flex;align-items:center;overflow:auto;gap:0}.market-scroll span{min-width:190px;padding:0 20px;border-right:1px solid rgba(255,255,255,.08);font-size:12px}.market-scroll em{font-style:normal;color:#8aa7c5}.market-scroll i{font-style:normal;margin-left:10px}.up{color:#74d6a1}.down{color:#ff8d8d}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;border:1px solid transparent;padding:12px 18px;font-weight:750;cursor:pointer;transition:.2s}.btn:hover{transform:translateY(-2px);box-shadow:0 10px 25px rgba(11,103,229,.25)}.btn-primary{background:linear-gradient(135deg,var(--blue),#1C90F2);color:#fff}.btn-red{background:var(--danger);color:#fff}.btn-ghost{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.25);color:#fff}.btn-sm{padding:9px 13px;font-size:13px}.btn-lg{padding:14px 21px;font-size:15px}.btn-disabled{background:#d9e7f2;color:#8192a4;cursor:not-allowed}.hero-section{background:radial-gradient(circle at 70% 25%,#1350A3 0,#0B2552 30%,#051129 62%);color:#fff;position:relative;overflow:hidden}.hero-bg{position:absolute;inset:0;background:linear-gradient(120deg,transparent 0 55%,rgba(21,153,163,.12) 70%,transparent 85%)}.hero-grid{min-height:520px;display:grid;grid-template-columns:1fr 1.2fr;align-items:center;gap:35px;position:relative}.hero-copy h1,.inner-hero h1{font-size:clamp(46px,5.4vw,76px);line-height:.94;margin:12px 0 22px;letter-spacing:-2.5px}.hero-copy p,.inner-hero p{font-size:18px;line-height:1.6;color:#c5d7ea;max-width:600px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0 13px}.hero-copy small,.backtest-section small{display:block;color:#86a0ba;font-size:11px}.eyebrow{font-size:11px;font-weight:850;letter-spacing:1.2px;color:#6fc7ff}.eyebrow.blue{color:var(--blue)}.hero-visual{position:relative;min-height:440px;display:grid;place-items:center}.gold-art{width:100%;max-height:470px;filter:drop-shadow(0 25px 40px rgba(0,0,0,.35))}.glass-card{background:rgba(4,26,56,.8);backdrop-filter:blur(13px);border:1px solid rgba(98,177,255,.4);border-radius:16px;box-shadow:0 30px 80px rgba(0,0,0,.35)}.control-panel{position:absolute;right:0;top:80px;width:280px;padding:14px}.panel-title{display:flex;justify-content:space-between;font-size:11px;color:#bdd7ee;padding:3px 6px 10px}.panel-title strong{color:#fff}.control-row{display:flex;justify-content:space-between;align-items:center;padding:12px 8px;border-top:1px solid rgba(255,255,255,.08);font-size:13px}.toggle{display:inline-block;width:38px;height:22px;border-radius:99px;background:#b6c7d9;position:relative}.toggle:after{content:"";width:16px;height:16px;background:white;border-radius:50%;position:absolute;top:3px;left:3px;transition:.2s}.toggle.on{background:var(--teal)}.toggle.on:after{left:19px}.backtest-section{background:linear-gradient(180deg,#071b35,#082443);color:#fff;padding:46px 0}.split{display:grid;grid-template-columns:.75fr 1.25fr;gap:45px;align-items:center}.backtest-section h2,.light-section h2{font-size:40px;margin:8px 0 12px;letter-spacing:-1.2px}.backtest-section p{color:#c6d8e8;font-size:18px;line-height:1.55;max-width:420px}.chart-card{position:relative;border:1px solid #2d5d87;border-radius:13px;overflow:hidden;background:#051129}.play-button{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);width:86px;height:86px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--blue),#1C90F2);font-size:34px;box-shadow:0 0 40px rgba(33,166,255,.5)}.fake-player{position:absolute;left:0;right:0;bottom:0;padding:12px 16px;background:rgba(0,0,0,.5);display:flex;gap:12px;align-items:center}.track{height:3px;background:#6a7c8d;flex:1}.track i{display:block;width:36%;height:100%;background:#1C90F2}.light-section{background:#f6fbff;padding:58px 0}.section-intro{color:var(--muted);font-size:16px;margin-top:-5px}.feature-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:26px}.feature-card{display:flex;align-items:center;gap:16px;background:linear-gradient(135deg,#fff,#edf7ff);border:1px solid #d5e7f5;border-radius:14px;padding:20px;box-shadow:0 7px 20px rgba(34,92,145,.06);transition:.2s}.feature-card:hover{background:linear-gradient(135deg,var(--blue),var(--teal));color:#fff;transform:translateY(-4px);box-shadow:var(--shadow)}.feature-card:hover p{color:#e5f6ff}.feature-card .icon,.icon{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:#e2f0ff;color:var(--blue);font-weight:900;flex:0 0 auto}.feature-card h3{margin:0 0 4px}.feature-card p{margin:0;color:var(--muted);font-size:14px;line-height:1.45}.feature-card .toggle,.feature-card .select-pill,.feature-card .arrow{margin-left:auto}.select-pill{background:#fff;border:1px solid #cde0f0;border-radius:10px;padding:10px 14px;color:var(--blue);font-weight:800}.arrow{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--blue);font-size:25px}.products-section{background:#fff}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:24px}.product-card{border:1px solid var(--line);border-radius:15px;background:#fff;overflow:hidden;display:flex;min-height:250px;box-shadow:0 7px 20px rgba(34,92,145,.05);transition:.2s}.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#9fc8ec}.product-card.featured{border-color:#8bb9e1}.product-thumb{width:40%;min-width:128px;background:#0B2552;padding:10px;display:grid;place-items:center}.product-body{padding:22px;display:flex;flex-direction:column;align-items:flex-start}.product-body>span,.article-grid article>span{font-size:10px;color:var(--blue);font-weight:850;letter-spacing:.6px}.product-body h3{font-size:21px;margin:7px 0}.product-body p{font-size:13px;color:var(--muted);line-height:1.45;flex:1}.price-row{display:flex;align-items:baseline;gap:4px;margin:9px 0 13px}.price-row strong{font-size:24px}.muted{display:block;padding:22px;background:#f7fbfe}.big{width:58px;height:58px;font-size:25px}.news-section{padding-top:22px;padding-bottom:25px;background:#eef8ff}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px}.section-head a{color:var(--blue);font-weight:800;font-size:13px}.headline-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:15px;border-top:1px solid #cfe0ef}.headline{display:flex;gap:12px;padding:18px 18px 10px;border-right:1px solid #cfe0ef}.headline span{color:var(--blue)}.headline small{display:block;color:#8090a1;margin-top:4px}.learn-section{background:#fff;padding-top:35px}.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:22px}.article-grid article{border:1px solid var(--line);border-radius:13px;padding:14px;transition:.2s}.article-grid article:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.article-grid img{height:125px;width:100%;object-fit:cover;border-radius:10px;margin-bottom:12px}.article-grid h3{margin:7px 0}.article-grid p{color:var(--muted);font-size:13px;line-height:1.45}.article-grid small{display:block;background:#eef5fa;padding:8px;border-radius:7px;text-align:center;color:#8594a5}.footer{background:var(--navy);color:#c2d4e7;padding:45px 0 20px}.footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:30px}.footer h4{color:#fff;margin:0 0 12px}.footer a{display:block;font-size:13px;margin:9px 0;color:#c2d4e7}.footer p{font-size:13px;max-width:330px;line-height:1.6}.footer-bottom{border-top:1px solid rgba(255,255,255,.08);margin-top:25px;padding-top:18px;font-size:12px}.inner-hero{background:radial-gradient(circle at 70% 40%,#145b9b 0,#0B2552 45%,#051129 100%);color:#fff;padding:70px 0}.inner-hero.short{padding:60px 0}.inner-product-img{max-width:420px;margin-left:auto}.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.price-card{border:1px solid var(--line);border-radius:16px;padding:28px;background:#fff;box-shadow:0 10px 30px rgba(15,51,87,.06)}.price-card.featured{border:2px solid var(--blue);transform:scale(1.02)}.big-price{font-size:40px;font-weight:900;margin:10px 0}.price-card p,.price-card li{color:var(--muted);font-size:14px;line-height:1.55}.price-card ul{padding-left:18px;min-height:120px}.auth-section,.checkout-section,.dashboard-shell{background:#f4f9fd;min-height:560px;padding:55px 0}.auth-card,.checkout-card,.order-summary,.form-card{width:min(560px,calc(100% - 40px));margin:auto;background:#fff;border:1px solid var(--line);border-radius:16px;padding:30px;box-shadow:var(--shadow)}.auth-card h1,.form-card h1{margin:7px 0}.auth-card p{color:var(--muted)}form label{display:block;font-weight:750;font-size:13px;margin:13px 0}input,textarea,select{width:100%;margin-top:7px;border:1px solid #cbdceb;border-radius:9px;padding:12px 13px;font:inherit;background:#fff;color:var(--ink);outline:none}input:focus,textarea:focus,select:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(11,103,229,.10)}.auth-card form .btn{width:100%;margin-top:10px}.auth-foot{text-align:center}.auth-foot a{color:var(--blue);font-weight:800}.checkout-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.checkout-card,.order-summary{width:100%;margin:0}.summary-row{display:flex;justify-content:space-between;padding:15px 0;border-top:1px solid var(--line)}.summary-row.total{font-size:20px}.flash{width:min(1120px,calc(100% - 40px));margin:14px auto;border-radius:10px;padding:12px 15px;font-size:14px;position:relative;z-index:20}.flash.success{background:#e9f8ef;color:#17693a;border:1px solid #bde7ce}.flash.error{background:#fff0f0;color:#8b2929;border:1px solid #f1c2c2}.flash.warning{background:#fff7e6;color:#7b5b14;border:1px solid #ead598}.dash-nav{background:#fff;border-bottom:1px solid var(--line);display:flex;gap:5px;padding:0 calc((100% - min(1180px,calc(100% - 40px)))/2);overflow:auto}.dash-nav a{padding:16px 18px;border-bottom:3px solid transparent;white-space:nowrap;font-size:14px;font-weight:750}.dash-nav a.active{color:var(--blue);border-color:var(--blue)}.dash-welcome{display:flex;justify-content:space-between;gap:25px;align-items:center;margin-bottom:25px}.dash-welcome h1,.admin-top h1{font-size:38px;margin:7px 0}.dash-welcome p,.admin-top p{color:var(--muted);margin:0}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:22px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;box-shadow:0 8px 20px rgba(15,51,87,.05)}.stat-card span{display:block;color:var(--muted);font-size:13px}.stat-card strong{display:block;font-size:32px;margin-top:6px}.table-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;box-shadow:0 8px 20px rgba(15,51,87,.05)}.table-card h2{margin:0}.table-wrap{overflow:auto}.table-wrap table{width:100%;border-collapse:collapse;margin-top:14px;font-size:13px}.table-wrap th,.table-wrap td{text-align:left;padding:13px 10px;border-bottom:1px solid #e7eef5;vertical-align:middle}.table-wrap th{font-size:11px;color:#718197;text-transform:uppercase;letter-spacing:.5px}.table-wrap td small{display:block;color:#8694a4;margin-top:3px}.status{display:inline-block;padding:5px 9px;border-radius:99px;font-size:11px;font-weight:850;text-transform:capitalize}.status.pending{background:#fff3d9;color:#806012}.status.approved,.status.active{background:#e3f7ed;color:#21724a}.status.rejected,.status.suspended{background:#ffe8e8;color:#9f3838}.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.download-grid{display:grid;gap:15px}.download-card,.empty-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;display:flex;gap:18px;align-items:center}.download-card div:nth-child(2){flex:1}.download-card h3{margin:0 0 5px}.download-card p{margin:0;color:var(--muted)}.form-card.wide{width:100%;max-width:850px;margin:0}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.admin-layout{display:grid;grid-template-columns:245px 1fr;min-height:720px;background:#f4f9fd}.admin-sidebar{background:var(--navy);color:#d7e8f7;padding:22px 14px}.admin-brand{display:flex;align-items:center;gap:11px;padding:6px 8px 20px;border-bottom:1px solid rgba(255,255,255,.08)}.admin-brand img{width:36px}.admin-brand small{display:block;color:#7fa1c4;font-size:11px;margin-top:3px}.admin-sidebar nav{margin-top:18px}.admin-sidebar nav a{display:block;padding:12px;border-radius:9px;margin:4px 0;font-size:13px}.admin-sidebar nav a:hover,.admin-sidebar nav a.active{background:linear-gradient(135deg,var(--blue),var(--teal));color:#fff}.admin-content{padding:28px;min-width:0}.admin-top{display:flex;justify-content:space-between;gap:25px;align-items:center;margin-bottom:22px}.admin-stats{grid-template-columns:repeat(4,1fr)}.admin-details{background:#fff;border:1px solid var(--line);border-radius:13px;padding:15px 18px;margin-bottom:18px}.admin-details summary{cursor:pointer;font-weight:850;color:var(--blue)}.admin-form{margin-top:14px}.admin-card-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.admin-product-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px}.check{display:flex;align-items:center;gap:8px}.check input{width:auto;margin:0}.inline-actions{display:flex;gap:5px;margin:0}.mini{border:0;border-radius:7px;padding:6px 8px;cursor:pointer;font-size:11px}.mini.approve{background:#dff5e8;color:#20754b}.mini.reject{background:#ffe3e3;color:#9a3434}.installer{background:radial-gradient(circle at 50% 0,#145d9c,#07192f 60%);min-height:100vh;padding:40px}.install-card{max-width:760px;margin:auto;background:#fff;border-radius:18px;padding:35px;box-shadow:0 35px 80px rgba(0,0,0,.35)}.install-card>img{width:62px}.install-note{margin-top:18px;background:#f4f8fb;border-radius:9px;padding:13px;color:#5f7185;font-size:13px}
@media(max-width:980px){.main-nav{position:absolute;left:20px;right:20px;top:70px;background:#0a2446;border:1px solid #1b4772;border-radius:12px;padding:15px;display:none;flex-direction:column}.main-nav.open{display:flex}.mobile-toggle{display:block}.header-actions{display:none}.hero-grid,.split{grid-template-columns:1fr}.hero-grid{padding:45px 0}.hero-visual{min-height:380px}.control-panel{right:5%;top:50px}.product-grid,.article-grid,.pricing-grid{grid-template-columns:1fr 1fr}.admin-layout{grid-template-columns:1fr}.admin-sidebar{position:relative}.admin-sidebar nav{display:flex;overflow:auto;gap:4px}.admin-sidebar nav a{white-space:nowrap}.admin-card-grid{grid-template-columns:1fr}.admin-stats{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:680px){.container{width:min(100% - 24px,1180px)}.topbar{height:68px}.hero-copy h1,.inner-hero h1{font-size:45px}.hero-grid{min-height:auto}.hero-visual{min-height:310px}.control-panel{position:relative;right:auto;top:auto;width:92%;margin-top:-55px}.feature-grid,.product-grid,.article-grid,.pricing-grid,.checkout-grid,.stats-grid,.admin-stats,.form-row{grid-template-columns:1fr}.product-card{min-height:230px}.headline-grid{grid-template-columns:1fr}.headline{border-right:0;border-bottom:1px solid #cfe0ef}.footer-grid{grid-template-columns:1fr}.dash-welcome,.admin-top{align-items:flex-start;flex-direction:column}.admin-content{padding:18px 12px}.play-button{width:66px;height:66px}.backtest-section h2,.light-section h2{font-size:33px}.site-header .market-scroll span{min-width:165px}.auth-section,.checkout-section,.dashboard-shell{padding:32px 0}.auth-card,.checkout-card,.order-summary,.form-card{padding:22px}.install-card{padding:24px}.installer{padding:20px 12px}}

/* === Reference-image fidelity update (2026-10-07) === */
.compact-section{width:min(1100px,calc(100% - 40px))}
.ref-hero{min-height:455px;background:radial-gradient(circle at 68% 32%,#1268bd 0,#0b3768 26%,#0B2552 57%,#051129 100%)}
.hero-grid-overlay{position:absolute;inset:0;opacity:.26;background-image:linear-gradient(rgba(74,174,255,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(74,174,255,.12) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(90deg,transparent 0,#000 42%,#000 100%)}
.ref-hero .hero-grid{min-height:455px;grid-template-columns:.92fr 1.08fr;gap:20px}
.ref-hero .hero-copy{padding:42px 0 54px;z-index:2}
.ref-hero .hero-copy h1{font-size:clamp(48px,4.7vw,70px);line-height:.93;max-width:550px;margin:0 0 16px;letter-spacing:-3px}
.ref-hero .hero-copy p{font-size:17px;margin:0;color:#d7e5f3}
.ref-hero .hero-actions{margin:20px 0 11px}
.circle-play{width:25px;height:25px;border-radius:50%;border:1px solid rgba(255,255,255,.65);display:inline-grid;place-items:center;font-size:9px}
.reference-visual{min-height:410px}
.reference-visual .gold-art{width:108%;max-width:none;transform:translateX(-2%);filter:drop-shadow(0 28px 55px rgba(0,0,0,.4)) drop-shadow(0 0 30px rgba(29,154,255,.28))}
.reference-visual .control-panel{right:1%;top:83px;width:270px}
.control-icon{display:inline-grid;place-items:center;width:27px;height:27px;border-radius:6px;background:#125fae;color:#fff;margin-right:8px}
.reference-backtest{grid-template-columns:.72fr 1.28fr;gap:35px}
.backtest-section{padding:34px 0 32px;background:radial-gradient(circle at 80% 20%,rgba(25,113,196,.22),transparent 42%),linear-gradient(180deg,#06162d,#071e3b)}
.backtest-copy h2{font-size:38px;margin:6px 0 8px}
.backtest-copy p{font-size:17px;max-width:310px;margin:0 0 22px}
.backtest-copy .btn{margin-bottom:9px}
.chart-card{min-height:280px}
.chart-card>img{width:100%;height:280px;object-fit:cover}
.trade-marker{position:absolute;font-size:21px;text-shadow:0 3px 8px #000}.trade-marker.sell{color:#ff5e44}.trade-marker.buy{color:#1C90F2}.s1{left:23%;top:34%}.s2{right:18%;top:22%}.b1{left:13%;top:55%}.b2{left:43%;top:63%}.b3{right:28%;top:50%}
.controls-section{padding:28px 0 30px;background:#f5fbff}.controls-section h2{font-size:37px;margin:0 0 3px}.reference-features{margin-top:17px;gap:12px}.reference-features .feature-card{min-height:104px;padding:17px 19px;border-radius:10px;background:linear-gradient(135deg,#fff 0,#f6fbff 62%,#dcefff 100%)}.reference-features .feature-card:before{content:"";position:absolute}.reference-features .feature-card{position:relative;overflow:hidden}.reference-features .feature-card:after{content:"";position:absolute;width:150px;height:80px;right:-35px;bottom:-28px;border-radius:50%;border:12px solid rgba(33,145,225,.08);transform:rotate(-15deg);pointer-events:none}.section-note{text-align:center;font-size:10px;color:#7b8b9c;margin-top:13px}
.products-section{padding:24px 0 20px}.products-section h2{font-size:37px;margin:2px 0 2px}.section-intro.narrow{max-width:600px}.reference-products{margin-top:16px;gap:10px}.reference-products .product-card{min-height:190px;border-radius:9px}.reference-products .product-thumb{width:37%;min-width:118px}.reference-products .product-body{padding:14px}.reference-products .product-body h3{font-size:18px;margin:4px 0}.reference-products .product-body p{margin:0 0 8px;font-size:12px}.product-cta{font-size:12px;padding:9px 13px;border-radius:6px;width:100%}.reference-coming{display:flex;padding:14px;align-items:flex-start;gap:12px;background:#f7fbfe}.reference-coming .product-body{padding:0}.reference-coming .btn-disabled{width:100%;padding:8px;font-size:11px}.reference-coming .big{width:48px;height:48px;min-width:48px}
.news-section{padding:12px 0 10px;background:#eff9ff}.micro-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.micro-head p{font-size:11px;color:#6f8297;margin:3px 0}.micro-head>a{color:var(--blue);font-size:11px;font-weight:800}.headline-grid{margin-top:7px}.headline{padding:11px 14px 8px;font-size:11px}.headline small{font-size:10px}
.learn-section{padding:14px 0 22px}.learn-section h2{font-size:34px;margin:2px 0 0}.reference-articles{margin-top:12px;gap:12px}.reference-articles article{padding:10px;border-radius:9px}.reference-articles img{height:92px;margin-bottom:8px}.reference-articles h3{font-size:14px;margin:4px 0}.reference-articles p{font-size:11px;margin:0 0 8px}.reference-articles small{padding:6px;font-size:10px}
.site-header .topbar{height:72px}.site-header .market-scroll{height:46px}.site-header .container{width:min(1120px,calc(100% - 40px))}.site-header .main-nav a{font-size:13px}.site-header .brand{font-size:20px}.site-header .brand img{width:32px;height:32px}
@media(max-width:980px){.ref-hero .hero-grid{grid-template-columns:1fr}.reference-visual .gold-art{width:100%;transform:none}.reference-visual .control-panel{right:4%}.reference-backtest{grid-template-columns:1fr}.chart-card>img{height:auto}.chart-card{min-height:0}}
@media(max-width:680px){.compact-section{width:min(100% - 24px,1100px)}.ref-hero .hero-copy h1{font-size:46px}.reference-visual{min-height:310px}.reference-visual .control-panel{position:relative;right:auto;top:auto;margin:-65px auto 0}.micro-head{align-items:flex-start;flex-direction:column;gap:5px}.reference-coming{display:flex}.chart-card>img{min-height:220px;object-fit:cover}}

/* === Super Admin Email Marketing (V7) === */
.email-admin-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}.email-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.email-card-head p,.deliverability-card p{color:var(--muted);margin:5px 0 0;font-size:13px}.field-help{display:block;color:var(--muted);margin-top:6px;font-weight:500}.inline-test-form{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end;border-top:1px solid var(--line);margin-top:20px;padding-top:16px}.inline-test-form label{margin:0}.btn-ghost-dark{background:#eef6fc;border:1px solid #c6dced;color:var(--blue)}.deliverability-list{display:grid;gap:10px;margin-top:16px}.deliverability-list div{padding:12px 13px;background:#f7fbfe;border:1px solid var(--line);border-radius:10px}.deliverability-list b{display:block;color:var(--ink);font-size:13px}.deliverability-list span{display:block;color:var(--muted);font-size:12px;margin-top:3px;line-height:1.45}.notice-small{padding:12px;background:#fff8e8;border:1px solid #eddba8;border-radius:9px;line-height:1.5}.contact-tools{display:grid;grid-template-columns:1fr 1fr .8fr;gap:14px;margin:18px 0}.tool-box{background:#f7fbfe;border:1px solid var(--line);padding:14px;border-radius:11px}.tool-box label{margin:0 0 10px}.compact-tool{display:flex;flex-direction:column;justify-content:space-between}.compact-tool p{margin:0 0 12px;color:var(--ink)}.mini-select{width:auto;min-width:105px;margin:0;padding:6px 8px;font-size:11px}.spam-result{margin:15px 0;background:#eef8ff;border:1px solid #bfdcf4;padding:15px;border-radius:10px}.spam-result strong{color:var(--blue)}.spam-result ul{margin:10px 0 0;padding-left:20px;color:var(--muted);font-size:13px}.campaign-actions,.queue-actions{display:flex;gap:8px;flex-wrap:wrap}.queue-actions form{margin:0}.campaign-form textarea{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;line-height:1.55}
@media(max-width:980px){.email-admin-grid,.contact-tools{grid-template-columns:1fr}}@media(max-width:680px){.inline-test-form{grid-template-columns:1fr}.email-card-head{flex-direction:column}.campaign-actions{flex-direction:column}.campaign-actions .btn{width:100%}}

/* === V10 Fixed Header + Homepage Editor === */
.has-fixed-site-header{padding-top:118px}
.site-header{position:fixed;top:0;left:0;right:0;width:100%;z-index:99999;box-shadow:0 5px 18px rgba(3,18,36,.14)}
html{scroll-padding-top:130px}
.homepage-editor{display:grid;gap:18px;padding-bottom:90px}
.homepage-editor .form-card h2{margin:0 0 18px;font-size:22px}
.image-edit-row{display:grid;grid-template-columns:220px 1fr;gap:18px;align-items:center;margin-top:14px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#f7fbfe}
.image-edit-row img{width:220px;height:125px;object-fit:cover;border-radius:9px;background:var(--navy)}
.image-edit-row.small{grid-template-columns:150px 1fr}.image-edit-row.small img{width:150px;height:85px}
.image-edit-row label{margin:0}.image-edit-row small{display:block;margin-top:7px;color:var(--muted);font-weight:500}
.article-admin-block{padding-top:15px;margin-top:15px;border-top:1px solid var(--line)}
.sticky-save{position:fixed;right:28px;bottom:24px;z-index:10020;background:#fff;padding:10px;border:1px solid var(--line);border-radius:14px;box-shadow:0 14px 40px rgba(3,28,54,.22)}
@media(max-width:680px){.has-fixed-site-header{padding-top:118px}.site-header{position:fixed;top:0;left:0;right:0;width:100%}.image-edit-row,.image-edit-row.small{grid-template-columns:1fr}.image-edit-row img,.image-edit-row.small img{width:100%;height:170px}.sticky-save{left:12px;right:12px;bottom:12px}.sticky-save .btn{width:100%}html{scroll-padding-top:122px}}


/* === V11 Clean URLs + CMS/SEO Pages === */
.cms-hero{min-height:360px;display:flex;align-items:center}.cms-hero .split{align-items:center}.cms-hero-image{max-height:300px;object-fit:contain}.cms-content{padding-top:10px;padding-bottom:40px}.cms-copy{max-width:900px;font-size:17px;line-height:1.8;color:#42556a;white-space:normal}.cms-product-list{margin-top:32px}.cms-contact-card{margin:30px 0 0}.cms-contact-card a{color:var(--blue);font-weight:800}.admin-content .table-card form{display:inline}.inline-actions{align-items:center;flex-wrap:wrap}.inline-actions .mini{text-decoration:none}.main-nav a{white-space:nowrap}

/* === V14 AlgoGrid brand + hardened fixed header === */
html{scroll-padding-top:var(--algogrid-header-height,118px)}
body.has-fixed-site-header{padding-top:var(--algogrid-header-height,118px)!important}
body.has-fixed-site-header>.site-header,body>.site-header{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;z-index:2147483000!important;transform:translateZ(0);will-change:transform;background:var(--navy)!important;box-shadow:0 7px 22px rgba(5,17,41,.20)!important}
.site-header .market-strip{background:#081A33}
.site-header .main-nav a:hover,.site-header .main-nav a:focus{color:#fff}
.btn-primary{background:linear-gradient(135deg,var(--blue),var(--teal))}
.eyebrow,.eyebrow.blue{color:var(--blue)}
.toggle.on{background:var(--teal)}
.feature-card:hover{background:linear-gradient(135deg,var(--blue),var(--royal));color:#fff}
.admin-sidebar nav a:hover,.admin-sidebar nav a.active{background:linear-gradient(135deg,var(--blue),var(--teal));color:#fff}
@media(max-width:680px){body.has-fixed-site-header{padding-top:var(--algogrid-header-height,114px)!important}}

/* === V15 Reference-layout fidelity update === */
:root{
  --ref-navy:#04152d;
  --ref-navy-2:#071d3a;
  --ref-blue:#0b67e5;
  --ref-bright:#149bff;
  --ref-light:#eef7fd;
  --ref-line:#cfe0ee;
}
body{background:#fff}
.container{width:min(1120px,calc(100% - 36px))}

/* Header: compact two-row reference proportions */
.site-header{background:#04152d!important;border-bottom:1px solid rgba(255,255,255,.05)}
.site-header .topbar{height:64px!important;gap:20px}
.site-header .brand{font-size:20px!important}
.site-header .brand img{width:31px!important;height:31px!important}
.site-header .main-nav{gap:28px}
.site-header .main-nav a{font-size:12px!important;color:#d9e8f8}
.site-header .header-actions .btn{border-radius:8px;padding:8px 12px;font-size:12px}
.site-header .market-strip{background:#061a36!important;border-top:1px solid rgba(255,255,255,.07)}
.site-header .market-scroll{height:42px!important}
.site-header .market-scroll span{min-width:175px;padding:0 18px;font-size:11px}
body.has-fixed-site-header{padding-top:var(--algogrid-header-height,106px)!important}
html{scroll-padding-top:calc(var(--algogrid-header-height,106px) + 12px)}

/* Hero */
.ref-hero{min-height:430px;background:
 radial-gradient(circle at 76% 35%,rgba(20,155,255,.30),transparent 28%),
 radial-gradient(circle at 58% 80%,rgba(11,103,229,.22),transparent 36%),
 linear-gradient(115deg,#03132b 0%,#05214b 47%,#061b37 100%)}
.ref-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,14,31,.96) 0%,rgba(2,14,31,.78) 35%,rgba(2,14,31,.10) 68%,rgba(2,14,31,.22) 100%);pointer-events:none}
.ref-hero:after{content:"";position:absolute;inset:0;opacity:.14;background-image:linear-gradient(rgba(57,163,255,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(57,163,255,.12) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(90deg,transparent 15%,#000 55%,#000 100%)}
.ref-hero .hero-grid{min-height:430px;grid-template-columns:.86fr 1.14fr;gap:12px}
.ref-hero .hero-copy{position:relative;z-index:5;padding:30px 0 34px}
.ref-hero .hero-copy h1{font-size:clamp(48px,5vw,68px);line-height:.92;letter-spacing:-3px;margin:0 0 14px;max-width:500px}
.ref-hero .hero-copy p{font-size:17px;line-height:1.45;margin:0;color:#d4e2f1;max-width:460px}
.ref-hero .hero-actions{margin:22px 0 12px;gap:10px}
.ref-hero .btn-lg{min-height:46px;border-radius:8px;padding:12px 18px}
.ref-hero .hero-copy small{font-size:10px;color:#7f9bb9}
.reference-visual{min-height:430px;position:relative;z-index:3;overflow:visible}
.reference-visual .gold-art{width:116%;max-width:none;max-height:440px;object-fit:contain;transform:translateX(-2%);filter:drop-shadow(0 25px 40px rgba(0,0,0,.28))}
.reference-visual .control-panel{right:0;top:106px;width:276px;padding:11px 13px;border-radius:12px;background:rgba(5,28,61,.84);border-color:rgba(73,170,255,.52);box-shadow:0 20px 50px rgba(0,0,0,.28)}
.reference-visual .panel-title{font-size:9px;padding:2px 4px 8px}
.reference-visual .control-row{padding:10px 5px;font-size:11px}
.reference-visual .control-icon{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:6px;background:#0b67e5;color:#fff;margin-right:6px}
.reference-visual .toggle{width:34px;height:18px}.reference-visual .toggle:after{width:12px;height:12px}.reference-visual .toggle.on:after{left:19px}

/* Backtest */
.backtest-section{padding:26px 0 28px;background:linear-gradient(180deg,#06182f 0%,#071f3e 100%)}
.reference-backtest{grid-template-columns:.72fr 1.28fr;gap:28px}
.reference-backtest .backtest-copy h2{font-size:34px;line-height:1;margin:6px 0 10px}
.reference-backtest .backtest-copy p{font-size:16px;max-width:320px;line-height:1.35;margin:0 0 18px}
.reference-backtest .backtest-copy .btn{border-radius:8px;padding:11px 16px}
.reference-backtest .backtest-copy small{margin-top:8px;font-size:9px}
.chart-card{border-radius:10px;border-color:#2d5f8e;box-shadow:0 16px 35px rgba(0,0,0,.20)}
.chart-card>img{width:100%;height:265px;object-fit:cover}
.chart-card .play-button{width:72px;height:72px;font-size:27px}
.chart-card .fake-player{padding:9px 12px;font-size:11px}

/* Light reference sections */
.light-section{background:#f2f8fc}
.compact-section{width:min(1060px,calc(100% - 36px))}
.controls-section{padding:20px 0 14px;background:#f4f9fd}
.controls-section h2,.products-section h2,.learn-section h2{font-size:32px;line-height:1.05;margin:0 0 4px;letter-spacing:-1px}
.section-intro{font-size:13px;margin:0;color:#50647c}
.reference-features{gap:10px;margin-top:13px}
.reference-features .feature-card{min-height:92px;padding:12px 14px;border-radius:9px;background:linear-gradient(135deg,#fff 0%,#eef7fd 72%,#e3f2ff 100%);position:relative;overflow:hidden}
.reference-features .feature-card:after{content:"";position:absolute;right:-35px;bottom:-35px;width:160px;height:85px;border:14px solid rgba(20,155,255,.08);border-radius:50%}
.reference-features .feature-card .icon{width:42px;height:42px}
.reference-features .feature-card h3{font-size:13px;margin-bottom:3px}.reference-features .feature-card p{font-size:11px;line-height:1.3;max-width:260px}
.reference-features .select-pill{font-size:12px;padding:8px 14px;z-index:2}.reference-features .arrow{width:32px;height:32px;z-index:2}.reference-features .toggle{z-index:2}
.section-note{text-align:center;font-size:9px;color:#70859a;margin-top:8px}

.products-section{padding:16px 0 14px;background:#fff}
.products-section .eyebrow{font-size:9px}
.products-section .narrow{max-width:520px}
.reference-products{grid-template-columns:1.15fr 1fr 1fr;gap:10px;margin-top:12px}
.reference-products .product-card{min-height:182px;border-radius:8px;box-shadow:0 4px 16px rgba(34,92,145,.05)}
.reference-products .product-thumb{width:38%;min-width:112px;padding:8px;background:#071d3a}
.reference-products .product-body{padding:12px}
.reference-products .product-body>span{font-size:8px}.reference-products .product-body h3{font-size:16px}.reference-products .product-body p{font-size:10.5px;line-height:1.35}.reference-products .product-cta{font-size:10px;padding:8px 9px;border-radius:5px}
.reference-coming .big{width:44px;height:44px;min-width:44px;font-size:22px}.reference-coming .btn-disabled{padding:7px;font-size:10px;border-radius:5px}

.news-section{padding:10px 0 8px;background:#edf8ff;border-top:1px solid #d9e8f3;border-bottom:1px solid #d9e8f3}
.news-section .micro-head{align-items:center}.news-section .micro-head p{font-size:9.5px}.news-section .micro-head>a{font-size:9.5px}
.headline-grid{margin-top:5px}.headline{padding:8px 12px;font-size:10px}.headline small{font-size:9px}

.learn-section{padding:12px 0 18px;background:#fff}
.learn-section .micro-head{align-items:flex-end}.learn-section .section-intro{max-width:500px;font-size:11px}.learn-section .micro-head>a{font-size:9.5px}
.reference-articles{grid-template-columns:repeat(3,1fr);gap:10px;margin-top:10px}.reference-articles article{display:grid;grid-template-columns:112px 1fr;grid-template-rows:auto auto auto 1fr auto;column-gap:10px;padding:9px}.reference-articles img{grid-row:1/6;width:112px;height:92px;margin:0;object-fit:cover}.reference-articles article>span{font-size:7px}.reference-articles h3{font-size:12px;margin:2px 0}.reference-articles p{font-size:9.5px;line-height:1.25;margin:0}.reference-articles small{font-size:9px;padding:5px}

/* Compact footer like reference */
.footer{padding:16px 0 10px;background:#04152d}
.footer .footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:24px;align-items:start}
.footer .footer-brand{font-size:18px}.footer .footer-brand img{width:28px;height:28px}.footer p{font-size:10px;line-height:1.45;margin:7px 0 0}.footer h4{font-size:11px;margin-bottom:7px}.footer a{font-size:10px;margin:5px 0}.footer-bottom{margin-top:12px;padding-top:10px;font-size:9px}

@media(max-width:980px){
 .site-header .topbar{height:auto!important;min-height:64px;padding:10px 0}.site-header .main-nav{display:none}.site-header .mobile-toggle{display:block}
 .ref-hero .hero-grid{grid-template-columns:1fr;min-height:0;padding:36px 0 10px}.reference-visual{min-height:360px}.reference-visual .gold-art{width:100%;transform:none}.reference-visual .control-panel{right:4%;top:85px}
 .reference-backtest{grid-template-columns:1fr}.reference-backtest .backtest-copy p{max-width:none}.chart-card>img{height:auto}
 .reference-products{grid-template-columns:1fr 1fr}.reference-products .product-card:first-child{grid-column:1/-1}.reference-articles{grid-template-columns:1fr}.footer .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:680px){
 .container,.compact-section{width:min(100% - 24px,1120px)}
 .site-header .header-actions{display:none}.site-header .market-scroll span{min-width:150px}
 .ref-hero .hero-copy h1{font-size:43px;letter-spacing:-2px}.ref-hero .hero-copy p{font-size:15px}.reference-visual{min-height:300px}.reference-visual .control-panel{position:relative;top:auto;right:auto;margin:-54px auto 10px;width:min(92%,280px)}
 .reference-products{grid-template-columns:1fr}.reference-products .product-card:first-child{grid-column:auto}.reference-articles article{grid-template-columns:92px 1fr}.reference-articles img{width:92px;height:84px}.footer .footer-grid{grid-template-columns:1fr 1fr;gap:18px}
}
.site-header .market-preview-label{min-width:150px!important;color:#6e8eae}.site-header .market-preview-label em{font-size:9px!important;letter-spacing:.2px}
