/* ============================================================
   XM Global — Inner Pages Stylesheet
   Aligned with homepage design system
   ============================================================ */

/* ============================================================
   PAGE BANNER — Hero-style immersive header
   ============================================================ */
.page-banner {
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
    min-height: 340px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #06091f 0%, #0c1535 50%, #060a1e 100%);
}
.page-banner .container { position: relative; z-index: 5; width: 100%; }

/* Animated grid overlay */
.page-banner::before {
    content: '';
    position: absolute; inset: 0; z-index: 1;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 80px 60px;
    animation: bannerGrid 25s linear infinite;
    pointer-events: none;
}
@keyframes bannerGrid {
    0%   { transform: translate(0,0); }
    100% { transform: translate(80px,60px); }
}

/* Glow orb */
.page-banner::after {
    content: '';
    position: absolute; z-index: 2;
    top: -100px; left: -100px;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(226,0,26,.12) 0%, transparent 65%);
    pointer-events: none;
}

/* Video bg layer */
.banner-video-bg {
    position: absolute; inset: 0; z-index: 1; overflow: hidden;
}
.banner-video-bg video {
    width: 100%; height: 100%; object-fit: cover; opacity: 0.22;
}
.banner-video-bg::after {
    content: '';
    position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(135deg, rgba(6,9,31,.9) 0%, rgba(12,21,53,.7) 50%, rgba(6,10,30,.9) 100%);
}

/* Bottom chart wave */
.banner-chart-line {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 70px; z-index: 4;
    overflow: hidden; pointer-events: none;
}
.banner-chart-line svg { width: 100%; height: 100%; }

/* Banner text */
.banner-text { position: relative; z-index: 5; max-width: 680px; }
.banner-text h1 {
    font-size: 52px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -.05em;
    line-height: 1.1;
    margin-bottom: 16px;
}
.banner-text h1 span {
    background: linear-gradient(135deg, #ff2244 0%, #ff6b35 50%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.banner-text p {
    font-size: 18px;
    color: rgba(255,255,255,.68);
    line-height: 1.75;
    max-width: 540px;
    margin-bottom: 0;
}
.banner-text .btn { margin-top: 28px; }

/* Banner particles */
.banner-particles { position: absolute; inset: 0; z-index: 4; overflow: hidden; pointer-events: none; }
.banner-particles .candle {
    position: absolute; width: 4px; border-radius: 2px; opacity: 0;
    animation: candleFloat 7s ease-in-out infinite;
}
.banner-particles .candle:nth-child(1)  { left: 6%;  height:40px; background:#22c55e; top:30%; animation-delay:0s; }
.banner-particles .candle:nth-child(2)  { left:14%;  height:26px; background:#ef4444; top:52%; animation-delay:1s; }
.banner-particles .candle:nth-child(3)  { left:22%;  height:52px; background:#22c55e; top:22%; animation-delay:2s; }
.banner-particles .candle:nth-child(4)  { left:30%;  height:32px; background:#ef4444; top:46%; animation-delay:.5s; }
.banner-particles .candle:nth-child(5)  { left:72%;  height:44px; background:#22c55e; top:26%; animation-delay:3s; }
.banner-particles .candle:nth-child(6)  { left:80%;  height:22px; background:#ef4444; top:56%; animation-delay:1.5s; }
.banner-particles .candle:nth-child(7)  { left:87%;  height:36px; background:#22c55e; top:36%; animation-delay:2.5s; }
.banner-particles .candle:nth-child(8)  { left:94%;  height:50px; background:#22c55e; top:16%; animation-delay:4s; }
@keyframes candleFloat {
    0%,100% { opacity:.15; transform:translateY(0) scaleY(1); }
    25%      { opacity:.35; transform:translateY(-10px) scaleY(1.2); }
    50%      { opacity:.12; transform:translateY(5px) scaleY(.85); }
    75%      { opacity:.28; transform:translateY(-5px) scaleY(1.1); }
}
.banner-particles .price-float {
    position: absolute;
    font-family: 'SF Mono','Consolas',monospace;
    font-size: 11px; font-weight: 700;
    opacity: 0;
    animation: priceRise 6s ease-in-out infinite;
}
.banner-particles .price-float:nth-child(9)  { left: 5%;  top:72%; color:#22c55e; animation-delay:0s; }
.banner-particles .price-float:nth-child(10) { left:26%;  top:82%; color:#ef4444; animation-delay:1.5s; }
.banner-particles .price-float:nth-child(11) { left:46%;  top:76%; color:#22c55e; animation-delay:3s; }
.banner-particles .price-float:nth-child(12) { left:66%;  top:86%; color:#fbbf24; animation-delay:4.5s; }
.banner-particles .price-float:nth-child(13) { left:84%;  top:72%; color:#22c55e; animation-delay:2s; }
.banner-particles .price-float:nth-child(14) { left:94%;  top:82%; color:#ef4444; animation-delay:5s; }
@keyframes priceRise {
    0%   { opacity:0;   transform:translateY(20px); }
    20%  { opacity:.55; }
    80%  { opacity:.55; }
    100% { opacity:0;   transform:translateY(-36px); }
}

/* ============================================================
   INNER PAGE LAYOUT SECTIONS
   ============================================================ */
.section { padding: 100px 0; }
.section-title { text-align: center; margin-bottom: 72px; }
.section-title h2 {
    font-size: 40px; font-weight: 900; letter-spacing: -.05em;
    line-height: 1.12; color: var(--text); position: relative; display: inline-block;
}
.section-title h2::after {
    content: ''; position: absolute; bottom: -10px; left: 50%;
    transform: translateX(-50%);
    width: 48px; height: 3px;
    background: linear-gradient(90deg, var(--red), var(--gold)); border-radius: 2px;
}
.section-title.left { text-align: left; }
.section-title.left h2::after { left: 0; transform: none; }
.section-title p { font-size: 17px; color: var(--text-2); line-height: 1.85; max-width: 600px; margin: 22px auto 0; }

/* ============================================================
   CONTENT GRID (text + image side by side)
   ============================================================ */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}
.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }
.content-text h2 { font-size: 36px; font-weight: 900; letter-spacing: -.04em; line-height: 1.2; margin-bottom: 20px; }
.content-text > p { color: var(--text-2); line-height: 1.9; margin-bottom: 28px; font-size: 16px; }
.content-image { border-radius: 24px; overflow: hidden; box-shadow: 0 28px 80px rgba(0,0,0,.1); }
.content-image img { width: 100%; height: auto; display: block; }

.feature-list { list-style: none; margin-bottom: 32px; }
.feature-list li {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 0; font-size: 15px; color: var(--text);
    border-bottom: 1px solid var(--border-2);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li i { color: var(--green); font-size: 16px; flex-shrink: 0; width: 20px; }
.feature-list li a { color: var(--text); }

/* ============================================================
   CTA SECTION (inner pages — dark)
   ============================================================ */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, #07061c 0%, #100c2e 50%, #07061c 100%);
    position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 800px; height: 400px; border-radius: 50%;
    background: radial-gradient(ellipse, rgba(226,0,26,.1) 0%, transparent 65%);
    pointer-events: none;
}
.cta-section h2 { font-size: 42px; font-weight: 900; color: #fff; letter-spacing: -.05em; margin-bottom: 16px; }
.cta-section p  { font-size: 17px; color: rgba(255,255,255,.6); margin-bottom: 36px; line-height: 1.75; }
.cta-section .btn { position: relative; z-index: 1; }

/* ============================================================
   ADVANTAGES ROW
   ============================================================ */
.advantages-row {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 24px;
    margin-top: 64px;
}
.advantage-item {
    text-align: center; padding: 36px 20px;
    background: #fff; border-radius: 22px;
    border: 1px solid var(--border);
    transition: all .35s var(--ease-out);
}
.advantage-item:hover { transform: translateY(-8px); border-color: rgba(226,0,26,.15); box-shadow: 0 20px 56px rgba(226,0,26,.09); }
.adv-icon {
    width: 64px; height: 64px; border-radius: 20px;
    background: linear-gradient(135deg, var(--red-glow), rgba(226,0,26,.04));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px; font-size: 26px; color: var(--red);
    transition: all .35s;
}
.advantage-item:hover .adv-icon { background: linear-gradient(135deg, var(--red), var(--red-dark)); color: #fff; }
.advantage-item h4 { font-size: 28px; font-weight: 900; margin-bottom: 6px; color: var(--text); letter-spacing: -.03em; }
.advantage-item p  { font-size: 13px; color: var(--text-2); line-height: 1.6; }

/* ============================================================
   PLATFORM DETAIL CARDS
   ============================================================ */
.platform-cards { display: flex; flex-direction: column; gap: 56px; }
.platform-detail-card {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
    padding: 56px; background: #fff; border: 1px solid var(--border);
    border-radius: 28px; transition: all .4s var(--ease-out);
}
.platform-detail-card:hover { box-shadow: 0 24px 64px rgba(0,0,0,.08); border-color: rgba(226,0,26,.1); }
.platform-detail-card.reverse { direction: rtl; }
.platform-detail-card.reverse > * { direction: ltr; }
.platform-card-image { border-radius: 18px; overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,.1); }
.platform-card-image img { width: 100%; display: block; }
.platform-card-content h3 { font-size: 30px; font-weight: 900; letter-spacing: -.04em; margin-bottom: 14px; }
.platform-card-content > p { color: var(--text-2); line-height: 1.85; margin-bottom: 24px; font-size: 16px; }
.platform-features { list-style: none; margin-bottom: 28px; }
.platform-features li { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-size: 15px; border-bottom: 1px solid var(--border-2); }
.platform-features li:last-child { border-bottom: none; }
.platform-features i { color: var(--green); flex-shrink: 0; }
.platform-download { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: 16px; margin-bottom: 12px; overflow: hidden; background: #fff; transition: all .3s; }
.faq-item:hover { border-color: rgba(226,0,26,.15); }
.faq-item.active { border-color: rgba(226,0,26,.25); box-shadow: 0 8px 24px rgba(226,0,26,.08); }
.faq-question {
    display: flex; justify-content: space-between; align-items: center;
    padding: 22px 28px; cursor: pointer; font-size: 16px; font-weight: 600;
    color: var(--text); transition: background .2s; user-select: none;
}
.faq-question:hover { background: var(--bg-2); }
.faq-question i { color: var(--red); transition: transform .3s; flex-shrink: 0; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 28px 22px; }
.faq-item.active .faq-answer { display: block; }
.faq-answer p { font-size: 15px; color: var(--text-2); line-height: 1.85; }

/* ============================================================
   PROMOTIONS DETAIL
   ============================================================ */
.promo-detail-grid { display: flex; flex-direction: column; gap: 48px; }
.promo-detail-card {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 0;
    background: #fff; border: 1px solid var(--border); border-radius: 28px;
    overflow: hidden; transition: all .4s var(--ease-out);
}
.promo-detail-card:hover { box-shadow: 0 24px 64px rgba(0,0,0,.09); border-color: rgba(226,0,26,.12); }
.promo-detail-card:nth-child(even) { direction: rtl; }
.promo-detail-card:nth-child(even) > * { direction: ltr; }
.promo-detail-image { position: relative; min-height: 320px; }
.promo-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.promo-label {
    position: absolute; top: 18px; left: 18px;
    background: var(--red); color: #fff;
    font-size: 11px; font-weight: 800; padding: 5px 14px; border-radius: 20px; letter-spacing: .04em;
}
.promo-detail-content { padding: 44px; }
.promo-detail-content h2 { font-size: 28px; font-weight: 900; letter-spacing: -.04em; margin-bottom: 14px; }
.promo-detail-content > p { color: var(--text-2); line-height: 1.85; margin-bottom: 22px; font-size: 15px; }
.promo-benefits { list-style: none; margin-bottom: 32px; }
.promo-benefits li { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-size: 15px; border-bottom: 1px solid var(--border-2); }
.promo-benefits li:last-child { border-bottom: none; }
.promo-benefits i { color: var(--green); flex-shrink: 0; font-size: 17px; }

/* ============================================================
   RESEARCH TOOLS GRID
   ============================================================ */
.research-tools-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-bottom: 72px; }
.research-tool-card {
    background: #fff; border: 1px solid var(--border); border-radius: 22px;
    padding: 36px 24px; text-align: center; transition: all .35s var(--ease-out);
    text-decoration: none; color: var(--text); display: block;
}
.research-tool-card:hover { transform: translateY(-8px); box-shadow: 0 20px 56px rgba(226,0,26,.09); border-color: rgba(226,0,26,.15); color: var(--text); }
.research-tool-card:hover i { color: #fff; background: linear-gradient(135deg, var(--red), var(--red-dark)); }
.research-tool-card i {
    font-size: 36px; color: var(--red); display: flex;
    width: 72px; height: 72px; border-radius: 22px;
    background: linear-gradient(135deg, var(--red-glow), rgba(226,0,26,.04));
    align-items: center; justify-content: center;
    margin: 0 auto 20px; transition: all .35s;
}
.research-tool-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.research-tool-card p  { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ============================================================
   NEWS GRID
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.news-card {
    background: #fff; border: 1px solid var(--border); border-radius: 22px;
    overflow: hidden; transition: all .4s var(--ease-out);
}
.news-card:hover { transform: translateY(-8px); box-shadow: 0 24px 64px rgba(0,0,0,.09); border-color: transparent; }
.news-card:hover .news-image img { transform: scale(1.06); }
.news-image { height: 200px; overflow: hidden; }
.news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.news-content { padding: 24px 26px 28px; }
.news-date { font-size: 12px; color: var(--text-3); display: block; margin-bottom: 10px; font-weight: 500; }
.news-content h3 { font-size: 17px; font-weight: 800; margin-bottom: 10px; line-height: 1.5; }
.news-content p  { font-size: 14px; color: var(--text-2); line-height: 1.75; margin-bottom: 14px; }
.news-content a  { font-size: 14px; font-weight: 700; }

/* ============================================================
   EDUCATION — Learning path, video, ebook
   ============================================================ */
.learning-path { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.path-card {
    background: #fff; border: 1px solid var(--border); border-radius: 24px;
    padding: 40px 36px; transition: all .4s var(--ease-out);
}
.path-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(226,0,26,.09); border-color: rgba(226,0,26,.15); }
.path-level { display: inline-flex; align-items: center; background: var(--red-glow); color: var(--red); padding: 5px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; margin-bottom: 16px; letter-spacing: .04em; }
.path-card h3 { font-size: 22px; font-weight: 900; margin-bottom: 12px; letter-spacing: -.03em; }
.path-card > p { font-size: 15px; color: var(--text-2); margin-bottom: 20px; line-height: 1.8; }
.path-card ul { list-style: none; margin-bottom: 28px; }
.path-card ul li { padding: 9px 0; font-size: 14px; color: var(--text-2); border-bottom: 1px solid var(--border-2); display: flex; align-items: center; gap: 8px; }
.path-card ul li:last-child { border-bottom: none; }
.path-card ul li::before { content: '→'; color: var(--red); font-size: 12px; flex-shrink: 0; }

.video-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.video-card {
    background: #fff; border: 1px solid var(--border); border-radius: 22px;
    overflow: hidden; transition: all .4s var(--ease-out); cursor: pointer;
}
.video-card:hover { transform: translateY(-8px); box-shadow: 0 24px 64px rgba(0,0,0,.1); border-color: transparent; }
.video-thumb { position: relative; height: 200px; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.video-card:hover .video-thumb img { transform: scale(1.06); }
.play-btn {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 60px; height: 60px; border-radius: 50%;
    background: rgba(226,0,26,.9); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 20px; transition: all .3s;
    box-shadow: 0 8px 24px rgba(226,0,26,.45);
}
.video-card:hover .play-btn { transform: translate(-50%,-50%) scale(1.12); background: var(--red); }
.video-duration { position: absolute; bottom: 10px; right: 12px; background: rgba(0,0,0,.7); color: #fff; padding: 3px 9px; border-radius: 6px; font-size: 11px; font-weight: 700; }
.video-card h4 { padding: 18px 20px 8px; font-size: 16px; font-weight: 800; line-height: 1.4; }
.video-card p  { padding: 0 20px 20px; font-size: 13px; color: var(--text-2); line-height: 1.7; }

.ebook-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.ebook-card {
    background: #fff; border: 1px solid var(--border); border-radius: 24px;
    padding: 36px 32px; text-align: center; transition: all .4s var(--ease-out);
}
.ebook-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(226,0,26,.09); border-color: rgba(226,0,26,.15); }
.ebook-icon { font-size: 44px; color: var(--red); margin-bottom: 18px; }
.ebook-card h4 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.ebook-meta { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 14px; }
.ebook-meta span { font-size: 12px; color: var(--text-3); display: flex; align-items: center; gap: 4px; }
.ebook-card p { font-size: 14px; color: var(--text-2); line-height: 1.75; margin-bottom: 22px; }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline { position: relative; padding-left: 56px; }
.timeline::before { content: ''; position: absolute; left: 20px; top: 8px; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--red), var(--border)); }
.timeline-item { position: relative; padding-bottom: 40px; display: flex; gap: 24px; align-items: flex-start; }
.timeline-item::before {
    content: ''; position: absolute; left: -44px; top: 6px;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--red); border: 3px solid #fff;
    box-shadow: 0 0 0 3px var(--red); z-index: 1;
}
.timeline-year { font-size: 15px; font-weight: 900; color: var(--red); min-width: 44px; padding-top: 2px; letter-spacing: -.02em; }
.timeline-content h4 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.timeline-content p  { font-size: 14px; color: var(--text-2); line-height: 1.75; }

/* ============================================================
   AUTH PAGES
   ============================================================ */
.auth-section {
    padding: 80px 0; min-height: calc(100vh - 160px);
    background: var(--bg-3); display: flex; align-items: center;
}
.auth-wrapper { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: start; }
.login-wrapper { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
.auth-form-container { background: #fff; border-radius: 28px; padding: 52px; box-shadow: 0 20px 60px rgba(0,0,0,.08); border: 1px solid var(--border); }
.auth-form-container h1 { font-size: 30px; font-weight: 900; letter-spacing: -.04em; margin-bottom: 8px; }
.auth-subtitle { color: var(--text-2); margin-bottom: 36px; font-size: 16px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--text-2); letter-spacing: .02em; text-transform: uppercase; }
.form-group input,
.form-group select { width: 100%; padding: 14px 18px; border: 2px solid var(--border); border-radius: 12px; font-size: 15px; transition: all .25s; background: #fff; }
.form-group input:focus,
.form-group select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(226,0,26,.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row.align-center { display: flex; align-items: center; justify-content: space-between; }
.checkbox-group label { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; cursor: pointer; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--text-2); }
.checkbox-group input[type="checkbox"] { width: auto; margin-top: 2px; accent-color: var(--red); }
.checkbox-inline { display: flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; }
.forgot-link { font-size: 14px; font-weight: 600; }
.password-input { position: relative; }
.password-input input { padding-right: 48px; }
.toggle-password { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--text-3); font-size: 16px; }
.auth-divider { text-align: center; margin: 28px 0; position: relative; }
.auth-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--border); }
.auth-divider span { background: #fff; padding: 0 16px; position: relative; color: var(--text-3); font-size: 13px; }
.social-login { display: flex; flex-direction: column; gap: 12px; }
.social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px; border: 1.5px solid var(--border); border-radius: 12px; background: #fff; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .25s; }
.social-btn:hover { border-color: var(--red); color: var(--red); background: var(--red-glow); }
.auth-footer { text-align: center; margin-top: 24px; }
.auth-footer p { font-size: 14px; color: var(--text-2); margin-bottom: 6px; }
.progress-steps { display: flex; align-items: center; margin-bottom: 36px; }
.progress-step { display: flex; align-items: center; gap: 8px; }
.step-circle { width: 32px; height: 32px; border-radius: 50%; background: var(--border); color: var(--text-3); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; transition: all .3s; }
.progress-step.active .step-circle { background: var(--red); color: #fff; box-shadow: 0 4px 12px rgba(226,0,26,.3); }
.step-text { font-size: 13px; color: var(--text-3); }
.progress-step.active .step-text { color: var(--red); font-weight: 600; }
.progress-line { flex: 1; height: 2px; background: var(--border); margin: 0 10px; }
.auth-benefits { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 36px; }
.auth-benefits h3 { font-size: 20px; font-weight: 800; margin-bottom: 28px; }
.benefit-item { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--border-2); }
.benefit-item:last-child { border-bottom: none; }
.benefit-item i { width: 48px; height: 48px; border-radius: 14px; background: var(--red-glow); display: flex; align-items: center; justify-content: center; color: var(--red); font-size: 20px; flex-shrink: 0; }
.benefit-item h4 { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.benefit-item p  { font-size: 13px; color: var(--text-2); }

/* ============================================================
   VIDEO MODAL & TOAST
   ============================================================ */
.video-modal { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 40px; animation: fadeUp .3s ease; }
.video-modal.active { display: flex; }
@keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }
.video-modal-inner { position: relative; width: 100%; max-width: 900px; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.6); }
.video-modal-inner video { width: 100%; display: block; background: #000; }
.video-modal-close { position: absolute; top: -48px; right: 0; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 17px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .25s; }
.video-modal-close:hover { background: var(--red); border-color: var(--red); }

.toast-notification { position: fixed; bottom: 90px; right: 28px; background: #fff; border-radius: 16px; padding: 18px 22px; box-shadow: 0 16px 48px rgba(0,0,0,.14); z-index: 9999; display: flex; align-items: flex-start; gap: 14px; transform: translateY(20px); opacity: 0; transition: all .4s var(--ease-out); max-width: 340px; border: 1px solid var(--border); }
.toast-notification.show { transform: translateY(0); opacity: 1; }
.toast-icon { font-size: 22px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.toast-text h4 { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.toast-text p  { font-size: 12px; color: var(--text-2); }

/* ============================================================
   SITEMAP
   ============================================================ */
.sitemap-section h2 { font-size: 22px; font-weight: 800; margin: 40px 0 16px; color: var(--text); }
.sitemap-section h2:first-child { margin-top: 0; }
.sitemap-section ul li { padding: 7px 0; }
.sitemap-section ul li a { font-size: 15px; color: var(--text-2); display: inline-flex; align-items: center; gap: 8px; transition: all .2s; }
.sitemap-section ul li a:hover { color: var(--red); transform: translateX(4px); }
.sitemap-section ul li a::before { content: '→'; font-size: 12px; color: var(--text-3); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .research-tools-grid   { grid-template-columns: repeat(2,1fr); }
    .news-grid             { grid-template-columns: repeat(2,1fr); }
    .learning-path         { grid-template-columns: 1fr; }
    .video-grid            { grid-template-columns: repeat(2,1fr); }
    .platform-detail-card  { grid-template-columns: 1fr; gap: 36px; padding: 40px; }
    .platform-detail-card.reverse { direction: ltr; }
    .promo-detail-card     { grid-template-columns: 1fr; }
    .promo-detail-card:nth-child(even) { direction: ltr; }
    .auth-wrapper          { grid-template-columns: 1fr; }
    .auth-benefits         { display: none; }
    .advantages-row        { grid-template-columns: repeat(2,1fr); }
    .content-grid          { gap: 50px; }
}
@media (max-width: 768px) {
    .page-banner           { padding: 80px 0 60px; min-height: 260px; }
    .banner-text h1        { font-size: 36px; }
    .banner-text p         { font-size: 16px; }
    .section               { padding: 72px 0; }
    .section-title h2      { font-size: 30px; }
    .content-grid          { grid-template-columns: 1fr; gap: 36px; }
    .content-grid.reverse  { direction: ltr; }
    .research-tools-grid   { grid-template-columns: 1fr; }
    .news-grid             { grid-template-columns: 1fr; }
    .video-grid            { grid-template-columns: 1fr; }
    .ebook-grid            { grid-template-columns: 1fr; }
    .form-row              { grid-template-columns: 1fr; }
    .platform-detail-card  { padding: 28px; }
    .platform-download     { flex-direction: column; }
    .promo-detail-content  { padding: 28px; }
    .auth-form-container   { padding: 32px 24px; }
    .advantages-row        { grid-template-columns: repeat(2,1fr); }
    .cta-section h2        { font-size: 32px; }
}
@media (max-width: 480px) {
    .page-banner           { padding: 70px 0 50px; min-height: 220px; }
    .banner-text h1        { font-size: 30px; }
    .advantages-row        { grid-template-columns: 1fr; }
    .research-tools-grid   { grid-template-columns: repeat(2,1fr); }
    .video-modal           { padding: 16px; }
    .toast-notification    { left: 16px; right: 16px; max-width: none; }
}

/* ============================================================
   INNER PAGE SECTION RHYTHM & BACKGROUNDS
   ============================================================ */

/* Alternate section backgrounds for visual variety */
.section                              { background: var(--bg);  }
.section.bg-light                     { background: var(--bg-3); }
.section.bg-dark  {
    background: linear-gradient(135deg, #06091f 0%, #0c1535 50%, #060a1e 100%);
    position: relative; overflow: hidden;
}
.section.bg-dark::before {
    content: ''; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 800px; height: 400px; border-radius: 50%;
    background: radial-gradient(ellipse, rgba(226,0,26,.09) 0%, transparent 65%);
    pointer-events: none;
}
.section.bg-dark .section-title h2 { color: #fff; }
.section.bg-dark .section-title h2::after { background: linear-gradient(90deg, rgba(255,255,255,.5), rgba(255,255,255,.15)); }
.section.bg-dark .section-title p  { color: rgba(255,255,255,.6); }

.section.bg-navy {
    background: linear-gradient(135deg, #0d1535 0%, #1a2340 100%);
    position: relative; overflow: hidden;
}
.section.bg-navy .section-title h2 { color: #fff; }
.section.bg-navy .section-title p  { color: rgba(255,255,255,.65); }

/* Section title centered utility */
.section-title.centered h2::after { left: 50%; transform: translateX(-50%); }
.section-title { margin-bottom: 72px; }

/* Decorative top accent line */
.section-accent-top::before {
    content: ''; display: block;
    width: 64px; height: 3px; border-radius: 2px; margin: 0 auto 24px;
    background: linear-gradient(90deg, var(--red), var(--gold));
}

/* ============================================================
   INNER PAGE FOOTER (full version)
   ============================================================ */
.footer-inner-page .footer-top {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 40px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

/* ============================================================
   FEATURE CARD GRID (inner pages)
   ============================================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 28px;
}
.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 44px 36px;
    text-align: center;
    transition: all .4s var(--ease-out);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--red), var(--gold));
    transform: scaleX(0); transform-origin: left;
    transition: transform .45s var(--ease-out);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { transform: translateY(-10px); box-shadow: 0 24px 64px rgba(226,0,26,.09); border-color: rgba(226,0,26,.12); }
.feature-card:hover .feature-icon { background: linear-gradient(135deg, var(--red), var(--red-dark)); transform: scale(1.1) rotate(-5deg); }
.feature-card:hover .feature-icon i { color: #fff; }
.feature-icon {
    width: 72px; height: 72px; border-radius: 22px;
    background: linear-gradient(135deg, var(--red-glow), rgba(226,0,26,.04));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 26px; transition: all .4s;
}
.feature-icon i { font-size: 30px; color: var(--red); transition: color .4s; }
.feature-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 12px; }
.feature-card p  { font-size: 15px; color: var(--text-2); line-height: 1.8; }

/* ============================================================
   PRODUCT TABLE (inner pages)
   ============================================================ */
.product-table { overflow-x: auto; border-radius: 20px; box-shadow: 0 4px 30px rgba(0,0,0,.06); }
.product-table table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 20px; overflow: hidden; }
.product-table th { padding: 20px 24px; background: var(--bg-3); font-weight: 700; color: var(--text-2); text-transform: uppercase; font-size: 11px; letter-spacing: .08em; text-align: left; }
.product-table td { padding: 18px 24px; font-size: 15px; border-bottom: 1px solid var(--border-2); text-align: left; }
.product-table tbody tr:last-child td { border-bottom: none; }
.product-table tbody tr { transition: background .2s; }
.product-table tbody tr:hover { background: rgba(226,0,26,.025); }
.product-table .up   { color: var(--green); font-weight: 700; }
.product-table .down { color: var(--danger); font-weight: 700; }
.product-table .highlight { background: rgba(226,0,26,.04); font-weight: 700; }

/* ============================================================
   PAGE STATS STRIP (dark version for inner pages)
   ============================================================ */
.page-stats-strip {
    background: linear-gradient(135deg, #060918 0%, #0e1432 50%, #060918 100%);
    padding: 72px 0;
    position: relative; overflow: hidden;
}
.page-stats-strip::before {
    content: ''; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 900px; height: 300px; border-radius: 50%;
    background: radial-gradient(ellipse, rgba(226,0,26,.09) 0%, transparent 65%);
    pointer-events: none;
}
.page-stats-strip .stats-grid {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
    border: 1px solid rgba(255,255,255,.08); border-radius: 22px; overflow: hidden;
    position: relative; z-index: 1;
}
.page-stats-strip .stats-item {
    background: rgba(255,255,255,.025); border-right: 1px solid rgba(255,255,255,.08);
    padding: 48px 28px; text-align: center; transition: background .3s;
}
.page-stats-strip .stats-item:last-child { border-right: none; }
.page-stats-strip .stats-item:hover { background: rgba(255,255,255,.055); }
.page-stats-strip .stats-number {
    font-size: 46px; font-weight: 900; letter-spacing: -.05em; line-height: 1; margin-bottom: 12px;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,.65) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-stats-strip .stats-label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.4); letter-spacing: .04em; }

/* ============================================================
   INFO CARDS (dark bg version — for dark sections)
   ============================================================ */
.dark-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 22px;
    padding: 36px 32px;
    transition: all .4s var(--ease-out);
}
.dark-card:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.18); transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.dark-card h3 { color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.dark-card p  { color: rgba(255,255,255,.6); font-size: 15px; line-height: 1.8; }
.dark-card i  { color: var(--gold-light); font-size: 32px; margin-bottom: 18px; display: block; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: rgba(255,255,255,.5);
    margin-bottom: 20px;
    position: relative; z-index: 5;
}
.breadcrumb a { color: rgba(255,255,255,.6); transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-size: 10px; }

/* ============================================================
   PAGE BANNER — Badge & subtitle
   ============================================================ */
.banner-badge {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(10px);
    color: rgba(255,255,255,.85); font-size: 12px; font-weight: 700;
    padding: 6px 16px; border-radius: 20px; letter-spacing: .04em;
    margin-bottom: 18px;
}
.banner-badge i { color: var(--gold-light); }

/* ============================================================
   ACCOUNTS COMPARE TABLE — highlighted column
   ============================================================ */
.accounts-compare { overflow-x: auto; }
.accounts-compare .product-table table { border-radius: 20px; }
.accounts-compare th.highlight { background: rgba(226,0,26,.08); color: var(--red); }
.accounts-compare td.highlight { background: rgba(226,0,26,.03); font-weight: 700; }

/* ============================================================
   TWO-TONE SECTION DIVIDER
   ============================================================ */
.wave-divider { height: 64px; overflow: hidden; }
.wave-divider svg { width: 100%; height: 100%; display: block; }

/* ============================================================
   SCROLL REVEAL — inner pages
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: all .7s var(--ease-out); }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE — inner pages
   ============================================================ */
@media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr; }
    .page-stats-strip .stats-grid { grid-template-columns: repeat(2,1fr); }
    .page-stats-strip .stats-item { border-bottom: 1px solid rgba(255,255,255,.08); }
    .page-stats-strip .stats-item:nth-child(even) { border-right: none; }
    .page-stats-strip .stats-number { font-size: 36px; }
}
@media (max-width: 480px) {
    .features-grid { grid-template-columns: 1fr; }
    .page-stats-strip .stats-grid { grid-template-columns: 1fr; }
    .page-stats-strip .stats-item { border-right: none; }
}

/* ============================================================
   BANNER H1 — Gradient accent for key word
   ============================================================ */
.banner-text h1 .accent {
    background: linear-gradient(135deg, #ff2244 0%, #ff6b35 50%, #fbbf24 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Banner quick stats (3 numbers in a row below p) */
.banner-stats {
    display: flex; gap: 32px; margin-top: 28px; flex-wrap: wrap;
}
.banner-stat { }
.banner-stat strong { display: block; font-size: 26px; font-weight: 900; color: #fff; letter-spacing: -.03em; line-height: 1; margin-bottom: 4px; }
.banner-stat span   { font-size: 12px; color: rgba(255,255,255,.5); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }

/* ============================================================
   CTA SECTION — inner pages (fixes)
   ============================================================ */
.cta-section h2         { color: #fff; }
.cta-section p          { color: rgba(255,255,255,.65) !important; font-size: 17px; line-height: 1.8; margin-bottom: 36px; }
.cta-section .btn-outline-dark { color: rgba(255,255,255,.85) !important; border-color: rgba(255,255,255,.3) !important; background: rgba(255,255,255,.06) !important; }
.cta-section .btn-outline-dark:hover { color: #fff !important; border-color: rgba(255,255,255,.6) !important; background: rgba(255,255,255,.12) !important; transform: translateY(-2px); }
.cta-section .cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 0; }

/* ============================================================
   MINI FEATURE ROW — 4 stat chips above tables / below banners
   ============================================================ */
.mini-stats-row {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 48px;
}
.mini-stat-chip {
    background: #fff; border: 1px solid var(--border); border-radius: 16px;
    padding: 22px 20px; text-align: center; transition: all .35s var(--ease-out);
}
.mini-stat-chip:hover { border-color: rgba(226,0,26,.2); box-shadow: 0 10px 30px rgba(226,0,26,.08); transform: translateY(-4px); }
.mini-stat-chip i { font-size: 22px; color: var(--red); display: block; margin-bottom: 10px; }
.mini-stat-chip strong { display: block; font-size: 22px; font-weight: 900; color: var(--text); letter-spacing: -.03em; margin-bottom: 4px; }
.mini-stat-chip span   { font-size: 12px; color: var(--text-3); font-weight: 500; }

/* Dark version for bg-dark sections */
.bg-dark .mini-stat-chip { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.bg-dark .mini-stat-chip strong { color: #fff; }
.bg-dark .mini-stat-chip span   { color: rgba(255,255,255,.45); }
.bg-dark .mini-stat-chip i      { color: var(--gold-light); }

/* ============================================================
   INFO STRIP — horizontal bar between sections
   ============================================================ */
.info-strip {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    padding: 28px 0;
    display: flex; align-items: center;
}
.info-strip-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.info-strip p { color: rgba(255,255,255,.9); font-size: 16px; font-weight: 600; margin: 0; }
.info-strip p strong { color: #fff; }

/* ============================================================
   FEATURE CARD — richer description support
   ============================================================ */
.feature-card .fc-meta {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-2);
    font-size: 13px; font-weight: 700; color: var(--red);
}
.feature-card .fc-meta i { font-size: 12px; }

/* ============================================================
   TWO-COL CONTENT — text left, image right — upgraded
   ============================================================ */
.content-text h2 span {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.content-text .lead {
    font-size: 17px; color: var(--text-2); line-height: 1.9; margin-bottom: 28px; font-weight: 400;
}
.content-image { position: relative; }
.content-image::before {
    content: ''; position: absolute; inset: -12px; border-radius: 30px; z-index: -1;
    background: linear-gradient(135deg, rgba(226,0,26,.06), rgba(251,191,36,.04));
}

/* ============================================================
   PAGE BANNER — per-page accent colors via body classes
   ============================================================ */
.page-forex    .page-banner, .page-stocks  .page-banner { background: linear-gradient(135deg, #0a0f1f 0%, #0d1a3a 50%, #07101e 100%); }
.page-gold     .page-banner, .page-commodities .page-banner { background: linear-gradient(135deg, #0f0c00 0%, #1a1500 50%, #120e00 100%); }
.page-crypto   .page-banner { background: linear-gradient(135deg, #0a0524 0%, #110836 50%, #07051a 100%); }
.page-accounts .page-banner { background: linear-gradient(135deg, #001a2c 0%, #00253d 50%, #001520 100%); }
.page-edu      .page-banner { background: linear-gradient(135deg, #041a0a 0%, #062a10 50%, #031208 100%); }
.page-research .page-banner { background: linear-gradient(135deg, #1a0820 0%, #260d30 50%, #130618 100%); }

/* ============================================================
   TABLE — symbol icon in first column
   ============================================================ */
.product-table td .symbol-icon {
    display: inline-flex; align-items: center; gap: 8px; font-weight: 700;
}
.product-table td .symbol-dot {
    width: 8px; height: 8px; border-radius: 50%;
    flex-shrink: 0;
}
.product-table td .symbol-dot.up   { background: var(--green); box-shadow: 0 0 6px var(--green); }
.product-table td .symbol-dot.down { background: var(--danger); box-shadow: 0 0 6px var(--danger); }

/* ============================================================
   SECTION SEPARATOR WAVE
   ============================================================ */
.section-wave-down {
    height: 60px; overflow: hidden; position: relative;
    background: var(--bg-3); /* top section color */
    margin-bottom: -2px;
}
.section-wave-down::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 60px;
    background: var(--bg); /* bottom section color */
    clip-path: ellipse(55% 100% at 50% 100%);
}

/* ============================================================
   SCROLL REVEAL — enhanced
   ============================================================ */
[data-reveal] {
    opacity: 0; transform: translateY(32px);
    transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
[data-reveal="left"]  { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="scale"] { transform: scale(.95); }
[data-reveal].revealed { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }
[data-delay="4"] { transition-delay: .4s; }
[data-delay="5"] { transition-delay: .5s; }

/* ============================================================
   TRUST BADGES ROW — below CTA
   ============================================================ */
.trust-badges-row {
    display: flex; align-items: center; justify-content: center;
    gap: 24px; flex-wrap: wrap;
    margin-top: 48px; padding-top: 36px;
    border-top: 1px solid rgba(255,255,255,.08);
}
.trust-badge {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; color: rgba(255,255,255,.5); font-weight: 600;
}
.trust-badge i { color: var(--green); font-size: 16px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .mini-stats-row { grid-template-columns: repeat(2,1fr); }
    .banner-stats   { gap: 20px; }
    .info-strip-inner { flex-direction: column; text-align: center; }
    .trust-badges-row { gap: 16px; }
}
@media (max-width: 480px) {
    .mini-stats-row { grid-template-columns: 1fr 1fr; }
}
