/* Landing page Mega 6/45: giao diện AI ưu tiên màn hình nhỏ. */
.mega645-page {
    --ai-bg: #07111f;
    --ai-surface: #0d1b2d;
    --ai-surface-raised: #12233a;
    --ai-border: rgba(177, 205, 238, .13);
    --ai-text: #f5f8ff;
    --ai-muted: #9fb0c7;
    --ai-cyan: #61e7e0;
    --ai-blue: #67a7ff;
    --ai-violet: #9276ff;
    --ai-gold: #ffd66b;
    --primary: #07111f;
    --primary-light: #102844;
    --secondary: #61e7e0;
    --accent: #ffd66b;
    --accent-light: #fff0ad;
    --border: rgba(177, 205, 238, .13);
    --card: #0d1b2d;
    --text-light: #9fb0c7;
    --radius: 20px;
    background: var(--ai-bg) !important;
    color: var(--ai-text) !important;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    overflow-x: hidden;
    color-scheme: dark;
}
.mega645-page *, .mega645-page *::before, .mega645-page *::after { box-sizing: border-box; }
.mega645-page.new-template-home { padding-top: 0; }
.mega645-page main { padding-top: 0 !important; }
.mega645-page .navbar-main {
    background: rgba(5, 13, 25, .78) !important;
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.mega645-page .navbar-brand { color: #fff; font-weight: 850; letter-spacing: -.035em; }
.mega645-page .navbar-brand .brand-icon { color: var(--ai-cyan); }
.mega645-page .navbar-main .nav-link { color: rgba(239,246,255,.76); font-weight: 650; transition: color .2s ease; }
.mega645-page .navbar-main .nav-link:hover,
.mega645-page .navbar-main .nav-link:focus-visible { color: var(--ai-cyan); }
.mega645-page .navbar-toggler { border-color: rgba(205,231,255,.42); background:rgba(255,255,255,.055); }
.mega645-page .navbar-toggler:focus { box-shadow:0 0 0 3px rgba(97,231,224,.2); }
.mega645-page .navbar-toggler-icon {
    background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23eaf7ff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    filter:none !important;
    opacity:1;
}

.mega645-page .ai-hero {
    isolation: isolate;
    position: relative;
    overflow: hidden;
    padding: 122px 0 38px;
    color: var(--ai-text);
    background:
        radial-gradient(ellipse at 78% 16%, rgba(66,119,255,.2), transparent 38%),
        radial-gradient(ellipse at 14% 80%, rgba(42,220,207,.12), transparent 35%),
        linear-gradient(145deg, #07111f 0%, #09182a 52%, #0b1430 100%);
}
.mega645-page .ai-hero-grid-bg {
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .23;
    background-image: linear-gradient(rgba(138,173,219,.07) 1px, transparent 1px), linear-gradient(90deg,rgba(138,173,219,.07) 1px,transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(to bottom, black, transparent 88%);
}
.mega645-page .ai-hero-glow { position:absolute; z-index:-1; width:28rem; height:28rem; border-radius:50%; filter:blur(90px); opacity:.18; pointer-events:none; }
.mega645-page .ai-hero-glow-one { top:-16rem; right:8%; background:#3f7cff; animation: aiGlowDrift 14s ease-in-out infinite alternate; }
.mega645-page .ai-hero-glow-two { bottom:-21rem; left:-6rem; background:#19d8ca; animation: aiGlowDrift 17s ease-in-out infinite alternate-reverse; }
.mega645-page .ai-hero-layout { display:grid; grid-template-columns:minmax(0,1.02fr) minmax(360px,.98fr); align-items:center; gap:54px; position:relative; }
.mega645-page .ai-hero-copy { max-width:690px; }
.mega645-page .ai-live-badge { display:inline-flex; align-items:center; gap:9px; padding:8px 12px; border:1px solid rgba(97,231,224,.25); border-radius:999px; color:#dffefd; background:rgba(17,48,69,.58); font-size:.68rem; font-weight:850; letter-spacing:.12em; }
.mega645-page .ai-live-dot { width:7px; height:7px; border-radius:50%; background:var(--ai-cyan); box-shadow:0 0 12px var(--ai-cyan); animation: aiDotPulse 1.7s ease-in-out infinite; }
.mega645-page .ai-badge-divider { color:rgba(255,255,255,.35); }
.mega645-page .ai-eyebrow { margin:26px 0 9px; color:var(--ai-cyan); font-size:.72rem; font-weight:800; letter-spacing:.17em; }
.mega645-page .ai-hero h1 { margin:0; color:#f6f8ff; font-size:clamp(2.8rem,5.3vw,5.25rem); font-weight:850; letter-spacing:-.065em; line-height:.99; }
.mega645-page .ai-hero h1 span { color:transparent; background:linear-gradient(100deg,#70f2df 2%,#76baff 46%,#b197ff 100%); -webkit-background-clip:text; background-clip:text; }
.mega645-page .ai-hero-description { max-width:590px; margin:22px 0 0; color:#adbed3; font-size:1.02rem; line-height:1.8; }
.mega645-page .ai-hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.mega645-page .ai-btn-primary,.mega645-page .ai-btn-secondary { display:inline-flex; min-height:49px; align-items:center; justify-content:center; border-radius:14px; padding:0 19px; font-size:.86rem; font-weight:800; transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
.mega645-page .ai-btn-primary { border:1px solid transparent; color:#071522; background:linear-gradient(105deg,#75f2dc,#9bd9ff); box-shadow:0 9px 28px rgba(74,220,212,.22); }
.mega645-page .ai-btn-primary:hover { color:#071522; transform:translateY(-3px); box-shadow:0 15px 36px rgba(74,220,212,.32); }
.mega645-page .ai-btn-secondary { border:1px solid rgba(214,231,255,.19); color:#eef5ff; background:rgba(255,255,255,.045); }
.mega645-page .ai-btn-secondary:hover { color:var(--ai-cyan); border-color:rgba(97,231,224,.5); transform:translateY(-3px); }
.mega645-page .ai-hero-proof { display:flex; flex-wrap:wrap; gap:11px 20px; margin-top:25px; color:#8ea3bc; font-size:.73rem; }
.mega645-page .ai-hero-proof i { margin-right:5px; color:var(--ai-cyan); }

.mega645-page .ai-hero-visual { min-width:0; perspective:1000px; }
.mega645-page .ai-visual-frame { position:relative; min-height:410px; overflow:hidden; border:1px solid rgba(184,213,255,.19); border-radius:30px; background:linear-gradient(145deg,rgba(22,43,70,.86),rgba(9,22,41,.85)); box-shadow:0 32px 90px rgba(0,0,0,.35),inset 0 1px rgba(255,255,255,.08); transform:rotateY(-4deg) rotateX(2deg); animation:aiFrameFloat 7s ease-in-out infinite; }
.mega645-page .ai-visual-frame::before { content:""; position:absolute; inset:0; opacity:.35; background:radial-gradient(circle at 50% 48%,rgba(86,156,255,.2),transparent 48%),linear-gradient(135deg,transparent 45%,rgba(255,255,255,.05)); }
.mega645-page .ai-visual-header,.mega645-page .ai-visual-footer { position:absolute; z-index:4; left:22px; right:22px; display:flex; align-items:center; justify-content:space-between; color:#98adc6; font-size:.61rem; font-weight:800; letter-spacing:.12em; }
.mega645-page .ai-visual-header { top:19px; }
.mega645-page .ai-visual-header>span:first-child i { margin-right:7px; color:var(--ai-cyan); }
.mega645-page .ai-visual-status { display:inline-flex; align-items:center; gap:7px; color:#94efcf; font-size:.56rem; }
.mega645-page .ai-visual-status i { width:6px; height:6px; border-radius:50%; background:#56e7a8; box-shadow:0 0 10px #56e7a8; }
.mega645-page .ai-neural-field { position:absolute; inset:55px 10px 48px; }
.mega645-page .ai-neural-ring { position:absolute; top:50%; left:50%; border:1px solid rgba(94,194,255,.21); border-radius:50%; transform:translate(-50%,-50%); }
.mega645-page .ring-one { width:235px; height:235px; animation:aiOrbit 24s linear infinite; }
.mega645-page .ring-two { width:315px; height:170px; transform:translate(-50%,-50%) rotate(54deg); border-style:dashed; animation:aiOrbitReverse 32s linear infinite; }
.mega645-page .ring-three { width:315px; height:170px; transform:translate(-50%,-50%) rotate(-54deg); border-color:rgba(157,126,255,.23); animation:aiOrbit 29s linear infinite; }
.mega645-page .neural-node { position:absolute; width:7px; height:7px; border-radius:50%; background:var(--ai-cyan); box-shadow:0 0 14px 3px rgba(97,231,224,.65); }
.mega645-page .node-one { top:19%; left:27%; }.mega645-page .node-two { top:29%; right:19%; background:#a68aff; box-shadow:0 0 14px 3px rgba(166,138,255,.7); }.mega645-page .node-three { bottom:19%; left:22%; background:#8fc4ff; }.mega645-page .node-four { right:25%; bottom:17%; }
.mega645-page .ai-brain-core { position:absolute; z-index:3; top:50%; left:50%; display:flex; width:142px; height:142px; flex-direction:column; align-items:center; justify-content:center; border:1px solid rgba(176,231,255,.63); border-radius:50%; color:#eaffff; background:radial-gradient(circle at 32% 23%,rgba(123,254,233,.35),transparent 30%),linear-gradient(145deg,#1a5174,#161d43 74%); box-shadow:0 0 0 11px rgba(93,174,255,.08),0 0 55px rgba(54,186,255,.35),inset 0 0 35px rgba(97,231,224,.13); transform:translate(-50%,-50%); animation:aiCorePulse 4s ease-in-out infinite; }
.mega645-page .brain-core-halo { position:absolute; inset:-12px; border:1px solid rgba(111,239,223,.26); border-radius:50%; box-shadow:0 0 24px rgba(97,231,224,.12); }
.mega645-page .ai-brain-core i { color:#92f4e9; font-size:2rem; filter:drop-shadow(0 0 10px rgba(97,231,224,.75)); }
.mega645-page .ai-brain-core strong { margin-top:4px; font-size:1.18rem; letter-spacing:.15em; }
.mega645-page .ai-brain-core small { color:#91aeca; font-size:.56rem; font-weight:800; letter-spacing:.16em; }
.mega645-page .ai-number-orbit { position:absolute; z-index:3; display:grid; width:39px; height:39px; place-items:center; border:1px solid rgba(143,201,255,.48); border-radius:50%; color:#ecf8ff; background:linear-gradient(145deg,#2e5278,#172845); box-shadow:0 8px 24px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.2); font-size:.7rem; font-weight:850; animation:aiBallFloat 4.7s ease-in-out infinite; }
.mega645-page .orbit-left { top:34%; left:15%; }.mega645-page .orbit-right { top:29%; right:15%; animation-delay:-1.5s; }.mega645-page .orbit-top { right:32%; bottom:16%; animation-delay:-2.3s; }
.mega645-page .ai-signal-card { position:absolute; z-index:4; display:flex; min-width:175px; flex-direction:column; gap:4px; padding:11px 13px; border:1px solid rgba(188,216,255,.15); border-radius:14px; background:rgba(7,19,35,.82); box-shadow:0 12px 30px rgba(0,0,0,.24); backdrop-filter:blur(12px); }
.mega645-page .ai-signal-card span { color:#8ba3bf; font-size:.52rem; font-weight:800; letter-spacing:.1em; }.mega645-page .ai-signal-card span i { margin-right:5px; color:var(--ai-cyan); }
.mega645-page .ai-signal-card strong { color:#f1f7ff; font-size:1.05rem; }.mega645-page .ai-signal-card strong small { color:var(--ai-cyan); font-size:.65rem; }
.mega645-page .ai-signal-card em { color:#7188a2; font-size:.58rem; font-style:normal; }
.mega645-page .signal-frequency { left:18px; bottom:61px; }.mega645-page .signal-probability { right:18px; bottom:61px; }
.mega645-page .ai-visual-footer { bottom:19px; font-size:.52rem; }.mega645-page .ai-visual-footer>span:first-child i { margin-right:5px; color:#75e4ca; }
.mega645-page .ai-visual-bars { display:flex; height:13px; align-items:flex-end; gap:3px; }.mega645-page .ai-visual-bars i { width:3px; height:40%; border-radius:3px; background:var(--ai-cyan); opacity:.72; }.mega645-page .ai-visual-bars i:nth-child(2){height:75%}.mega645-page .ai-visual-bars i:nth-child(3){height:55%}.mega645-page .ai-visual-bars i:nth-child(4){height:100%}.mega645-page .ai-visual-bars i:nth-child(5){height:68%}.mega645-page .ai-visual-bars i:nth-child(6){height:87%}.mega645-page .ai-visual-bars i:nth-child(7){height:48%}
.mega645-page .ai-hero-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)) 1.4fr; gap:12px; margin-top:36px; }
.mega645-page .ai-hero-stats>div { display:flex; min-height:73px; align-items:center; gap:12px; padding:13px 16px; border:1px solid rgba(187,213,245,.11); border-radius:16px; background:rgba(255,255,255,.035); }
.mega645-page .ai-stat-icon { display:grid; width:36px; height:36px; flex:0 0 36px; place-items:center; border-radius:11px; color:var(--ai-cyan); background:rgba(97,231,224,.1); }
.mega645-page .ai-hero-stats strong { color:#f5f8ff; font-size:1.26rem; }.mega645-page .ai-hero-stats small { color:#94a9c1; font-size:.66rem; line-height:1.35; }
.mega645-page .ai-hero-stats .ai-stat-caption { display:block; padding:13px 18px; }.mega645-page .ai-stat-caption span { display:block; color:#dceaff; font-size:.74rem; font-weight:800; }.mega645-page .ai-stat-caption small { display:block; margin-top:3px; }

.mega645-page main>section:not(.ai-hero) { position:relative; color:var(--ai-text); background:var(--ai-bg); }
.mega645-page main>section.section-muted { background:linear-gradient(180deg,#091525,#081321); }
.mega645-page .section-title { color:#f1f6ff; font-weight:800; letter-spacing:-.035em; }
.mega645-page .section-subtitle,.mega645-page .max-copy { color:var(--ai-muted); }
/*
.mega645-page .section-header {
    align-items: flex-end;
}
*/
.mega645-page .section-header { margin-bottom:24px; }
.mega645-page .section-header .btn-accent { border-radius:11px; }
.mega645-page .latest-result-card,.mega645-page .scientist-card,.mega645-page .stats-module,.mega645-page .stat-card,.mega645-page .method-card,.mega645-page .about-panel {
    border:1px solid var(--ai-border) !important;
    color:var(--ai-text) !important;
    background:linear-gradient(145deg,rgba(18,35,58,.95),rgba(10,23,40,.97)) !important;
    box-shadow:0 18px 44px rgba(0,0,0,.19) !important;
}
.mega645-page .latest-result-card { border-radius:20px; transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease; }
.mega645-page .latest-result-card:hover { transform:translateY(-5px); border-color:rgba(97,231,224,.45)!important; box-shadow:0 22px 55px rgba(0,0,0,.3),0 0 35px rgba(64,190,219,.09)!important; }
.mega645-page .latest-result-head { border-color:var(--ai-border); }.mega645-page .latest-result-head h3 { color:#f4f8ff; }.mega645-page .result-country,.mega645-page .latest-result-date { color:#94a9c1; }
.mega645-page .draw-number { color:#c8eaff; background:rgba(97,167,255,.13); }.mega645-page .latest-result-links a { color:var(--ai-cyan); font-weight:750; }
.mega645-page .latest-result-meta small { color:#94a9c1; }.mega645-page .latest-result-meta strong { color:#f1f6ff; }
.mega645-page .stats-module { border-radius:24px; padding:clamp(16px,3vw,28px); }.mega645-page .stats-module .stat-card { min-height:100%; border-radius:18px; padding:20px; }
.mega645-page .stats-module h2,.mega645-page .stats-module h6 { color:#eaf2ff!important; }.mega645-page .stats-module p,.mega645-page .stats-module span { color:#9eb1c9!important; }
.mega645-page .stats-module .stats-selector,.mega645-page .stats-module .stat-card { color:var(--ai-text); }
.mega645-page .scientist-card { grid-template-columns:100px 1fr; border-radius:20px; transition:transform .25s ease,border-color .25s ease; }
.mega645-page .scientist-card:hover { transform:translateY(-4px); border-color:rgba(97,231,224,.35)!important; }
.mega645-page .scientist-image-placeholder { color:#8ceee2; border:1px solid rgba(97,231,224,.2); background:linear-gradient(145deg,rgba(97,231,224,.12),rgba(103,167,255,.08)); }
.mega645-page .scientist-image-frame { position:relative; width:100%; min-width:0; max-width:100%; aspect-ratio:1/1; box-sizing:border-box; overflow:hidden; isolation:isolate; box-shadow:0 10px 24px rgba(0,0,0,.2),inset 0 0 0 1px rgba(255,255,255,.08); }
.mega645-page .scientist-image-frame::after { position:absolute; z-index:1; inset:0; background:linear-gradient(120deg,transparent 25%,rgba(255,255,255,.26) 48%,transparent 70%); content:""; transform:translateX(-130%); transition:transform .7s ease; pointer-events:none; }
.mega645-page .scientist-image-frame img { position:absolute; inset:0; display:block; width:100%; height:100%; max-width:none; object-fit:cover; object-position:center; filter:saturate(.9) contrast(1.04); transition:transform .6s cubic-bezier(.2,.7,.25,1),filter .35s ease; }
.mega645-page .scientist-card:hover .scientist-image-frame img { transform:scale(1.08); filter:saturate(1.08) contrast(1.06); }
.mega645-page .scientist-card:hover .scientist-image-frame::after { transform:translateX(130%); }
.mega645-page .scientist-role { color:var(--ai-cyan); }.mega645-page .scientist-content h5 { color:#f1f6ff; }.mega645-page .scientist-content blockquote,.mega645-page .scientist-content p { color:#a8b9ce; }
.mega645-page .method-summary { border-radius:20px; }.mega645-page .method-summary h5 { color:#eff6ff; }.mega645-page .method-summary p { color:#a8b9ce; }
.mega645-page .method-icon { color:var(--ai-cyan); background:rgba(97,231,224,.1); }

.mega645-page .mega-vip-feature { position:relative; overflow:hidden; border:1px solid rgba(123,226,228,.25); }
.mega645-page .mega-vip-feature::after { content:""; position:absolute; top:-80%; right:-12%; width:330px; height:330px; border:1px solid rgba(166,224,255,.12); border-radius:50%; box-shadow:0 0 0 35px rgba(166,224,255,.035),0 0 0 70px rgba(166,224,255,.025); pointer-events:none; }
.mega645-page .mega-vip-feature h3 { color:#f2fbff; font-weight:850; letter-spacing:-.035em; }.mega645-page .mega-vip-feature .btn { position:relative; z-index:1; border-radius:13px; }
.mega645-page .prediction-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.mega645-page .prediction-link { position:relative; display:flex; min-height:148px; flex-direction:column; align-items:flex-start; justify-content:center; gap:8px; overflow:hidden; border:1px solid var(--ai-border); border-radius:18px; padding:20px; color:#eff6ff; background:linear-gradient(145deg,rgba(18,35,58,.94),rgba(10,23,40,.97)); box-shadow:0 12px 32px rgba(0,0,0,.14); transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease; }
.mega645-page .prediction-link::after { content:""; position:absolute; right:-35px; bottom:-50px; width:125px; height:125px; border:1px solid rgba(97,231,224,.11); border-radius:50%; transition:transform .35s ease; }
.mega645-page .prediction-link:hover { color:#fff; transform:translateY(-5px); border-color:rgba(97,231,224,.44); box-shadow:0 20px 40px rgba(0,0,0,.25),0 0 30px rgba(97,231,224,.07); }
.mega645-page .prediction-link:hover::after { transform:scale(1.25); }.mega645-page .prediction-link>i { display:grid; width:38px; height:38px; place-items:center; margin-bottom:3px; border-radius:12px; color:var(--ai-cyan); background:rgba(97,231,224,.1); font-size:1rem; }
.mega645-page .prediction-link strong { color:#f3f7ff; font-size:.93rem; }.mega645-page .prediction-link span { color:#98acc4; font-size:.76rem; line-height:1.5; }
.mega645-page .about-panel { border-radius:24px; }.mega645-page .about-panel p { color:#a8b9ce; }.mega645-page .about-metrics strong { color:var(--ai-cyan); }.mega645-page .about-metrics span { color:#96abc4; }

.mega645-page .ai-reveal { opacity:1; transform:translateY(0); }
.mega645-page.motion-ready .ai-reveal { opacity:0; transform:translateY(20px); transition:opacity .65s ease,transform .65s cubic-bezier(.2,.7,.25,1); }
.mega645-page.motion-ready .ai-reveal.is-visible { opacity:1; transform:translateY(0); }
@keyframes aiGlowDrift { from { transform:translate3d(-10px,0,0) scale(.95); } to { transform:translate3d(20px,25px,0) scale(1.08); } }
@keyframes aiDotPulse { 50% { opacity:.4; box-shadow:0 0 2px var(--ai-cyan); } }
@keyframes aiFrameFloat { 0%,100% { transform:rotateY(-4deg) rotateX(2deg) translateY(0); } 50% { transform:rotateY(-1deg) rotateX(0) translateY(-8px); } }
@keyframes aiOrbit { to { transform:translate(-50%,-50%) rotate(360deg); } }
@keyframes aiOrbitReverse { to { transform:translate(-50%,-50%) rotate(-306deg); } }
@keyframes aiBallFloat { 0%,100% { translate:0 0; } 50% { translate:0 -9px; } }
@keyframes aiCorePulse { 0%,100% { box-shadow:0 0 0 11px rgba(93,174,255,.08),0 0 48px rgba(54,186,255,.28),inset 0 0 35px rgba(97,231,224,.13); } 50% { box-shadow:0 0 0 17px rgba(93,174,255,.045),0 0 72px rgba(54,186,255,.48),inset 0 0 42px rgba(97,231,224,.2); } }

@media (max-width: 991.98px) {
    .mega645-page .ai-hero { padding-top:104px; }
    .mega645-page .ai-hero-layout { grid-template-columns:minmax(0,1fr) minmax(300px,.85fr); gap:25px; }
    .mega645-page .ai-visual-frame { min-height:365px; }
    .mega645-page .ai-signal-card { min-width:145px; padding:9px 10px; }
    .mega645-page .prediction-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .mega645-page .ai-hero-stats { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .mega645-page .ai-hero-stats .ai-stat-caption { grid-column:1/-1; }
}
@media (max-width: 767.98px) {
    .mega645-page .ai-hero { padding:88px 0 25px; }
    .mega645-page .ai-hero-layout { grid-template-columns:1fr; gap:25px; }
    .mega645-page .ai-eyebrow { margin-top:19px; font-size:.61rem; letter-spacing:.11em; }
    .mega645-page .ai-hero h1 { font-size:clamp(2.65rem,12vw,4.2rem); }
    .mega645-page .ai-hero-description { margin-top:15px; font-size:.91rem; line-height:1.68; }
    .mega645-page .ai-hero-actions { display:grid; grid-template-columns:1fr; margin-top:21px; }
    .mega645-page .ai-hero-proof { display:grid; grid-template-columns:1fr 1fr; gap:9px; font-size:.66rem; }
    .mega645-page .ai-hero-proof span:last-child { grid-column:1/-1; }
    .mega645-page .ai-visual-frame { min-height:340px; border-radius:22px; transform:none; animation:none; }
    .mega645-page .ring-one { width:205px;height:205px; }.mega645-page .ring-two,.mega645-page .ring-three { width:270px;height:145px; }
    .mega645-page .ai-brain-core { width:122px;height:122px; }
    .mega645-page .ai-signal-card { min-width:0; max-width:calc(50% - 20px); bottom:55px; }
    .mega645-page .signal-frequency { left:12px; }.mega645-page .signal-probability { right:12px; }
    .mega645-page .ai-hero-stats { grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; margin-top:18px; }
    .mega645-page .ai-hero-stats>div { min-height:86px; flex-direction:column; align-items:flex-start; justify-content:center; gap:5px; padding:10px; border-radius:13px; }
    .mega645-page .ai-stat-icon { width:29px;height:29px;flex-basis:29px;border-radius:9px;font-size:.75rem; }
    .mega645-page .ai-hero-stats strong { font-size:1.08rem; }.mega645-page .ai-hero-stats small { font-size:.59rem; }
    .mega645-page .ai-hero-stats .ai-stat-caption { grid-column:1/-1; min-height:auto; }
    .mega645-page .section-header { display:flex!important; align-items:flex-start!important; justify-content:flex-start!important; flex-direction:column!important; gap:12px; width:100%; text-align:left!important; }
    .mega645-page .section-header>div { align-self:flex-start!important; width:100%; margin:0; text-align:left!important; }
    .mega645-page .section-header .section-title,.mega645-page .section-header .section-subtitle { width:100%; margin-right:auto!important; margin-left:0!important; text-align:left!important; }
    .mega645-page .section-header .btn { display:inline-flex; width:100%; min-height:50px; align-items:center; justify-content:center; margin-top:5px; padding:13px 18px; font-size:.95rem; line-height:1.35; }
    .mega645-page .prediction-grid { grid-template-columns:1fr 1fr; gap:9px; }
    .mega645-page .prediction-link { min-height:140px; gap:6px; padding:14px 12px; border-radius:15px; }
    .mega645-page .prediction-link>i { width:33px;height:33px;border-radius:10px;font-size:.88rem; }
    .mega645-page .prediction-link strong { font-size:.81rem; line-height:1.28; }.mega645-page .prediction-link span { font-size:.67rem; }
    .mega645-page .mega-vip-feature { padding:20px!important; border-radius:20px!important; }
    .mega645-page .mega-vip-feature .btn { width:100%; min-height:46px; }
    .mega645-page .scientist-card { grid-template-columns:1fr; }
    .mega645-page .scientist-image-placeholder { aspect-ratio:auto; min-height:54px; }
    .mega645-page .scientist-image-frame { aspect-ratio:16/9; min-height:0; }
    .mega645-page .stats-module .row.g-4 { grid-template-columns:1fr; }
    .mega645-page .stats-module .row.g-4>.col-lg-8,.mega645-page .stats-module .row.g-4>.col-lg-4 { grid-column:1; }
    .mega645-page .stats-module .row.g-4>.col-lg-4 { grid-template-columns:1fr 1fr; }
    .mega645-page .stats-module .row.g-4>.col-lg-4>.stat-card:last-child { grid-column:1/-1; }
}
@media (max-width: 380px) {
    .mega645-page .ai-hero-proof { grid-template-columns:1fr; }
    .mega645-page .ai-hero-proof span:last-child { grid-column:auto; }
    .mega645-page .ai-visual-frame { min-height:315px; }
    .mega645-page .ai-signal-card { bottom:50px; }
    .mega645-page .signal-frequency { left:8px; }.mega645-page .signal-probability { right:8px; }
    .mega645-page .prediction-link { min-height:132px; padding:12px 10px; }
}
@media (hover:none) and (pointer:coarse) {
    .mega645-page a.btn,.mega645-page button.btn,.mega645-page input.btn,.mega645-page .prediction-link {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        transition: transform .16s ease,filter .16s ease,box-shadow .16s ease,border-color .16s ease;
    }
    .mega645-page a.btn:active,.mega645-page button.btn:active,.mega645-page input.btn:active {
        transform: scale(.965);
        filter: brightness(1.12);
        box-shadow: 0 0 0 4px rgba(97,231,224,.16),0 10px 25px rgba(31,205,206,.23);
    }
    .mega645-page .ai-btn-primary:active,.mega645-page .mega-vip-feature .btn:active {
        color:#071522;
        box-shadow: 0 0 0 5px rgba(117,242,220,.2),0 0 32px rgba(97,231,224,.48);
    }
    .mega645-page .ai-btn-secondary:active { color:var(--ai-cyan); border-color:var(--ai-cyan); }
    .mega645-page .prediction-link:active,.mega645-page .latest-result-card a:active {
        transform: scale(.98);
        border-color:rgba(97,231,224,.62);
        box-shadow:0 0 0 4px rgba(97,231,224,.1),0 12px 28px rgba(0,0,0,.28);
    }
}
@media (prefers-reduced-motion: reduce) {
    .mega645-page *, .mega645-page *::before, .mega645-page *::after { scroll-behavior:auto!important; animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
    .mega645-page.motion-ready .ai-reveal { opacity:1; transform:none; }
}
