.eval-grid .rule-card {
    padding: 20px;
}

.rule-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.rule-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--v3-grad);
    color: #07101b;
    font-weight: 900;
    font-size: 12px;
}

.eval-table {
    margin-top: 16px;
    overflow: hidden;
    border: 1px solid var(--v2-border);
    border-radius: 12px;
}

.eval-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 12px;
    padding: 12px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.eval-head {
    background: rgba(255, 255, 255, 0.04);
    font-weight: 700;
}

.eval-cta {
    justify-content: center;
    margin-top: 16px;
}

@media (max-width: 768px) {
    .eval-row {
        grid-template-columns: 1fr;
    }

    .eval-head {
        display: none;
    }
}

/* Panel Variables for Consistency */
:root {
    /* Colors */
    --bg-app: #0f0f13;
    --bg-panel: #181820;
    --bg-card: #1e1e26;
    --bg-card-hover: #252530;

    --primary: #7c5cff;
    --primary-hover: #6b4ce6;
    --secondary: #30d5c8;

    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --border-light: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(124, 92, 255, 0.3);

    --success: #00d4aa;
    --danger: #ff6b6b;
    --warning: #feca57;

    /* Effects */
    --glass-bg: rgba(30, 30, 38, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-app);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo h2 {
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #667eea;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-currency {
    display: flex;
    gap: 10px;
}

.language-select,
.currency-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

.btn-login {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    background: #667eea;
    color: #fff;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at center, var(--bg-card) 0%, var(--bg-app) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: #fff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(124, 92, 255, 0.1);
    border: 1px solid rgba(124, 92, 255, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-badge i {
    color: var(--primary);
}

.hero h1 {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat h3 {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.stat p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

/* Trading Dashboard */
.trading-dashboard {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
}

.dashboard-title i {
    color: var(--primary);
}

.dashboard-balance {
    text-align: right;
}

.balance-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}

.balance-amount {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.chart-container {
    margin-bottom: 24px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.chart-pair {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.chart-price {
    font-size: 16px;
    color: #fff;
}

.price-change {
    font-size: 14px;
    font-weight: 500;
    margin-left: 8px;
}

.price-change.positive {
    color: var(--success);
}

.price-change.negative {
    color: var(--danger);
}

.chart-placeholder {
    height: 200px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.chart-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: translateY(-50%);
}

.chart-indicators {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    transform: translateY(-50%);
}

.indicator {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #667eea;
    border-radius: 50%;
    top: -1px;
}

.indicator:nth-child(1) {
    left: 20%;
}

.indicator:nth-child(2) {
    left: 40%;
}

.indicator:nth-child(3) {
    left: 60%;
}

.indicator:nth-child(4) {
    left: 80%;
}

.trading-pairs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pair {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pair.active {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.pair-name {
    font-weight: 600;
    color: #fff;
}

.pair-price {
    color: #fff;
}

.pair-change {
    font-weight: 500;
}

.pair-change.positive {
    color: var(--success);
}

.pair-change.negative {
    color: var(--danger);
}

/* Advantages Section */
.advantages {
    padding: 100px 0;
    background: var(--bg-panel);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
}

.section-header p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.advantage-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.advantage-icon i {
    font-size: 32px;
    color: #fff;
}

.advantage-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.advantage-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-app);
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.step {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 32px;
    max-width: 300px;
    text-align: left;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.step-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.step-arrow {
    color: #667eea;
    font-size: 24px;
}

/* Challenges Section */
.challenges {
    padding: 100px 0;
    background: var(--bg-panel);
}

.challenge-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-color: transparent;
}

.challenge-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.challenge-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.challenge-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.challenge-card.hard-mode {
    border-color: rgba(239, 68, 68, 0.3);
}

.challenge-card.hard-mode:hover {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.1);
}

.challenge-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.badge-pill {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(96, 165, 250, 0.16);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.35);
    font-size: 12px;
    font-weight: 700;
}

.badge-pill.accent {
    background: rgba(124, 58, 237, 0.16);
    color: #a78bfa;
    border-color: rgba(124, 58, 237, 0.35);
}

.challenge-meta {
    display: flex;
    gap: 10px;
    margin: 12px 0 16px;
    color: var(--v2-muted);
    font-size: 12px;
}

.info-strip {
    background: var(--v2-panel);
    border: 1px solid var(--v2-border);
    border-radius: 12px;
    padding: 12px 14px;
}

.challenge-phase {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.challenge-card.hard-mode .challenge-phase {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.challenge-price {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
}

.challenge-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
}

.challenge-details {
    margin-bottom: 24px;
}

.detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail:last-child {
    border-bottom: none;
}

.detail .label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.detail .value {
    color: #fff;
    font-weight: 600;
}

.challenge-features {
    margin-bottom: 32px;
}

.challenge-card .btn {
    width: 100%;
    justify-content: center;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.feature i {
    color: var(--success);
    font-size: 16px;
}

.feature span {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-app);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.feature-icon i {
    font-size: 32px;
    color: #fff;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--bg-panel);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.testimonial-content {
    margin-bottom: 24px;
}

.testimonial-content p {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    line-height: 1.6;
    font-size: 16px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 4px;
}

.author-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--bg-app);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
}

.about-text p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 16px;
}

.about-features {
    margin: 32px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.about-feature i {
    color: var(--success);
    font-size: 16px;
}

.about-feature span {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

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

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.stat-card h3 {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.stat-card p {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* About page additions */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 12px 0 16px;
}

.values-grid .value {
    padding: 14px 16px;
}

.values-grid .value h4 {
    color: #fff;
    margin-bottom: 6px;
}

.values-grid .value p {
    color: var(--v2-muted);
}

.timeline {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.t-item {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 10px;
    align-items: start;
}

.t-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--v3-grad);
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2);
    margin-top: 6px;
}

.t-item h4 {
    color: #fff;
    margin-bottom: 4px;
}

.t-item p {
    color: var(--v2-muted);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.team {
    text-align: center;
    padding: 16px;
}

.team .avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    margin: 0 auto 10px;
}

.team h4 {
    color: #fff;
    margin-bottom: 4px;
}

.team p {
    color: var(--v2-muted);
    font-size: 14px;
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }

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

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--bg-app);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-section h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #667eea;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
}

.footer-bottom-content {
    text-align: center;
    margin-bottom: 24px;
}

.footer-bottom-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.footer-disclaimer {
    text-align: center;
}

.footer-disclaimer p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 20px;
    }

    .steps-container {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .challenge-cards {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .section-header h2 {
        font-size: 36px;
    }

    .advantage-card,
    .feature-card,
    .testimonial-card {
        padding: 24px;
    }

    .challenge-card {
        padding: 24px;
    }
}

/* Compact UI Override Layer */
:root {
    --bg: #0a0a0a;
    --panel: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.08);
    --muted: rgba(255, 255, 255, 0.7);
    --text: #fff;
    --brand: #667eea;
    --brand-2: #764ba2;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    transition: height .2s ease, background .2s ease, border-color .2s ease;
}

.logo {
    font-weight: 800;
    font-size: 20px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 24px;
}

.site-nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    opacity: 0.9;
    padding: 8px 12px;
    border-radius: 999px;
}

.site-nav a.active {
    color: var(--brand);
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    background: var(--panel);
    color: var(--text);
    border-radius: 8px;
}

/* Sections */
.section {
    padding: 64px 0;
}

.section.alt {
    background: var(--bg-panel);
}

.section-title {
    color: var(--text);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 24px;
    text-align: center;
}

/* Hero */
.home-hero {
    padding: 80px 0 64px;
    background: linear-gradient(135deg, #0a0a0a 0%, #101425 100%);
}

.home-hero .hero-content h1 {
    color: var(--text);
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.home-hero .hero-content p {
    color: var(--muted);
    margin-bottom: 20px;
}

.hero-actions {
    display: flex;
    gap: 12px;
}

/* CTA row standardization */
.cta-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 16px;
    flex-wrap: wrap;
}

.cta-row .btn {
    height: 40px;
}

.btn-link {
    color: var(--v2-accent-2);
    text-decoration: none;
}

.btn-outline {
    border: 1px solid rgba(96, 165, 250, 0.5);
    color: var(--v2-text);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(96, 165, 250, 0.12);
}

/* Ensure visible alignment in How It Works */
.howit .cta-row {
    justify-content: center;
    margin-top: 24px;
}

.howit .cta-row .btn {
    min-width: 180px;
}

.howit .cta-row .btn-primary {
    background: var(--v2-gradient);
}

.howit .cta-row .btn-outline {
    border-color: rgba(96, 165, 250, 0.7);
    color: var(--v2-text);
}

@media (max-width: 480px) {
    .howit .cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .howit .cta-row .btn {
        width: 100%;
    }
}

/* Grid Utilities */
.grid {
    display: grid;
    gap: 16px;
}

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

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

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 640px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Cards */
.card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
}

.feature .icon {
    color: var(--brand);
    font-size: 20px;
}

.feature h3 {
    color: var(--text);
    font-size: 18px;
    margin-top: 8px;
    margin-bottom: 6px;
}

.feature p {
    color: var(--muted);
    font-size: 14px;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.step {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
}

.step-num {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 8px;
}

.step h3 {
    color: var(--text);
    font-size: 16px;
    margin-bottom: 6px;
}

.step p {
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* How It Works - Timeline style */
/* How It Works - Simple cards */
.howit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.howit-item {
    background: var(--v2-panel);
    border: 1px solid var(--v2-border);
    border-radius: 12px;
    padding: 20px;
    text-align: left;
}

.howit-num {
    display: inline-block;
    font-weight: 900;
    font-size: 12px;
    color: var(--v2-accent-2);
    background: rgba(96, 165, 250, 0.15);
    border: 1px solid rgba(96, 165, 250, 0.35);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.howit-item h3 {
    color: var(--v2-text);
    margin-bottom: 6px;
    font-size: 16px;
}

.howit-item p {
    color: var(--v2-muted);
    font-size: 14px;
}

@media (max-width: 768px) {
    .howit-grid {
        grid-template-columns: 1fr;
    }
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    padding: 40px 0;
    color: #fff;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cta-inner h2 {
    font-size: 24px;
}

.cta-inner p {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* Page Hero */
.page-hero {
    padding: 48px 0;
    background: var(--bg-panel);
    border-bottom: 1px solid var(--border);
}

.page-hero h1 {
    color: var(--text);
    font-size: 28px;
    margin-bottom: 8px;
}

.page-hero p {
    color: var(--muted);
}

/* Lists */
.list {
    list-style: none;
    color: var(--muted);
    display: grid;
    gap: 8px;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--v2-border);
    padding: 20px 0;
    background: #0b0d12;
}

.footer-minimal {
    display: grid;
    gap: 6px;
    align-items: center;
    justify-items: center;
    text-align: center;
}

.footer-minimal .logo {
    font-size: 18px;
}

.footer-minimal .disclaimer {
    color: var(--v2-muted);
    font-size: 12px;
    max-width: 820px;
}

.footer-top,
.footer-links,
.footer-bottom,
.legal-links {
    display: none !important;
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Tabs (Challenges) */
.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.tabs {
    justify-content: center;
}

.tab-btn {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--panel);
    color: var(--muted);
    cursor: pointer;
    font-weight: 600;
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    color: #fff;
    border-color: transparent;
}

.challenge-tab {
    display: none;
}

.challenge-tab.active {
    display: block;
}

/* Responsive Nav Behavior for new header */
@media (max-width: 992px) {
    .site-nav .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        bottom: 0;
        width: 84%;
        max-width: 380px;
        padding: 20px;
        background: rgba(15, 18, 26, 0.98);
        border-left: 1px solid var(--v2-border);
        transition: right .25s ease;
        z-index: 1001;
    }

    .site-nav .nav-menu.active {
        display: grid;
        gap: 12px;
        right: 0;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-nav .nav-menu li a {
        display: block;
        padding: 12px 14px;
        border-radius: 10px;
        background: transparent;
    }

    .site-nav .nav-menu li a:active {
        background: rgba(96, 165, 250, 0.12);
    }

    .site-nav .nav-menu .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Backdrop and scroll lock */
.site-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
    z-index: 1000;
}

.site-backdrop.visible {
    opacity: 1;
    visibility: visible;
}

body.menu-open {
    overflow: hidden;
}

/* =============================
   Design System V2 (Full Redesign)
   ============================= */
:root {
    --v2-bg: var(--bg-app);
    --v2-surface: var(--bg-card);
    --v2-panel: var(--bg-panel);
    --v2-border: var(--border-light);
    --v2-text: var(--text-main);
    --v2-muted: var(--text-muted);
    --v2-accent: var(--secondary);
    /* cyan */
    --v2-accent-2: var(--primary);
    /* blue */
    --v2-success: var(--success);
    --v2-danger: var(--danger);
    --v2-radius: 14px;
    --v2-radius-sm: 10px;
    --v2-shadow: 0 8px 24px rgba(2, 6, 23, 0.5);
    --v2-gradient: linear-gradient(135deg, var(--v2-accent) 0%, var(--v2-accent-2) 100%);
}

/* Global */
body {
    background: var(--v2-bg);
    color: var(--v2-text);
}

.container {
    max-width: 1200px;
}

/* Header */
.site-header {
    background: rgba(15, 18, 26, 0.6);
    border-bottom: 1px solid var(--v2-border);
    backdrop-filter: blur(10px);
}

.header-inner {
    height: 70px;
}

.logo {
    font-size: 22px;
    letter-spacing: 0.2px;
    background: var(--v2-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-nav ul {
    gap: 20px;
}

.site-nav a {
    color: var(--v2-text);
    opacity: 0.85;
    font-size: 14px;
}

.site-nav a:hover {
    opacity: 1;
}

.site-nav a.active {
    color: var(--v2-accent);
}

.nav-toggle {
    background: var(--v2-panel);
    border: 1px solid var(--v2-border);
    border-radius: var(--v2-radius-sm);
    color: var(--v2-text);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: var(--v2-gradient);
    color: #0b1220;
    border: none;
    padding: 12px 18px;
    border-radius: var(--v2-radius-sm);
    font-weight: 700;
    letter-spacing: 0.2px;
    box-shadow: var(--v2-shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(96, 165, 250, 0.5);
    color: var(--v2-text);
    padding: 12px 18px;
    border-radius: var(--v2-radius-sm);
}

.btn-outline:hover {
    background: rgba(96, 165, 250, 0.12);
}

.btn-link {
    color: var(--v2-accent-2);
    text-decoration: none;
}

.btn-link:hover {
    text-decoration: underline;
}

/* Sections */
.section {
    padding: 56px 0;
}

.section.alt {
    background: var(--v2-surface);
}

.section-title {
    font-size: 26px;
    letter-spacing: 0.2px;
}

/* Hero */
.home-hero {
    background: radial-gradient(1200px 500px at 20% -10%, rgba(34, 211, 238, 0.12), transparent 60%),
        radial-gradient(900px 400px at 90% 0%, rgba(96, 165, 250, 0.12), transparent 60%),
        linear-gradient(180deg, #0b0d12 0%, #0f121a 100%);
}

.hero-anim-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.22;
    filter: blur(1.5px) saturate(120%);
}

#candleCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 3;
}

.dragon-figure {
    position: absolute;
    right: 4%;
    bottom: -6%;
    width: 520px;
    max-width: 40%;
    opacity: 0.25;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
    pointer-events: none;
    z-index: 2;
}

.dragon-left {
    left: 2%;
    top: 4%;
    right: auto;
    bottom: auto;
    width: 360px;
    max-width: 35%;
    opacity: 0.28;
    transform: rotate(-45deg);
    transform-origin: center;
}

.dragon-right {
    right: 2%;
    top: 4%;
    left: auto;
    bottom: auto;
    width: 360px;
    max-width: 35%;
    opacity: 0.28;
    transform: scaleX(-1) rotate(-45deg);
    transform-origin: center;
}

@media (max-width: 992px) {
    .dragon-figure {
        right: -10%;
        bottom: -8%;
        width: 420px;
        max-width: 60%;
        opacity: 0.18;
    }

    .dragon-left {
        left: -6%;
        top: 2%;
        width: 280px;
        opacity: 0.2;
    }
}

.home-hero .hero-content h1 {
    font-size: 40px;
    font-weight: 900;
}

.home-hero .hero-content p {
    color: var(--v2-muted);
    max-width: 680px;
}

.hero-actions {
    gap: 10px;
}

/* Announcement bar */
.announcement {
    background: linear-gradient(90deg, rgba(124, 58, 237, .15), rgba(6, 182, 212, .15));
    border-bottom: 1px solid var(--v2-border);
}

.announcement-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    color: var(--v2-text);
}

.btn-small {
    padding: 8px 12px;
    font-size: 12px;
}

/* Hero V3 grid and widget */
.hero-grid {
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(124, 58, 237, .14);
    border: 1px solid rgba(124, 58, 237, .35);
    font-size: 12px;
    margin-bottom: 10px;
}

.trust-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    color: var(--v2-muted);
}

.trust-logos {
    display: flex;
    gap: 10px;
    opacity: .8;
}

.hero-art {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-widget {
    width: 100%;
    max-width: 380px;
}

.hw-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.hw-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 12px;
}

.hw-bar span {
    display: block;
    height: 100%;
    background: var(--v3-grad);
}

.hw-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.hw-stats small {
    display: block;
    color: var(--v2-muted);
}

/* Plans preview */
.plans-preview .price-card.featured {
    outline: 2px solid rgba(124, 58, 237, .3);
}

/* FAQ preview */
.faq-preview h3 {
    margin-bottom: 6px;
}

.faq-preview .grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.faq-preview .card {
    background: var(--v2-panel);
    border: 1px solid var(--v2-border);
    border-radius: 12px;
    padding: 20px;
}

.faq-preview .card p {
    color: var(--v2-muted);
}

@media (max-width: 768px) {
    .faq-preview .grid {
        grid-template-columns: 1fr;
    }
}

/* Center the FAQ CTA button */
.faq-preview .cta-row {
    justify-content: center;
    margin-top: 20px;
}

.faq-preview .cta-row .btn {
    min-width: 200px;
}

/* FAQ page */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.faq-item {
    background: var(--v2-panel);
    border: 1px solid var(--v2-border);
    border-radius: 12px;
    padding: 14px 16px;
}

.faq-item summary {
    cursor: pointer;
    color: var(--v2-text);
    font-weight: 700;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    color: var(--v2-muted);
    margin-top: 8px;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Grids & Cards */
.grid {
    gap: 18px;
}

.card {
    background: var(--v2-panel);
    border: 1px solid var(--v2-border);
    border-radius: var(--v2-radius);
    padding: 22px;
    box-shadow: var(--v2-shadow);
}

.feature .icon {
    color: var(--v2-accent-2);
}

.feature h3 {
    font-weight: 800;
}

.feature p {
    color: var(--v2-muted);
}

/* Steps */
.step {
    background: var(--v2-surface);
    border-radius: var(--v2-radius);
}

.step-num {
    color: var(--v2-accent);
}

.step h3 {
    font-weight: 800;
}

.step p {
    color: var(--v2-muted);
}

/* CTA Banner */
.cta-banner {
    background: #ffffff;
}

.cta-inner h2 {
    color: #0b1220;
    font-weight: 900;
}

.cta-inner p {
    color: #334155;
    opacity: 0.9;
}

/* CTA improved UI */
.cta-inner {
    padding: 20px 0;
}

.cta-box {
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(2, 6, 23, 0.06);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
}

.cta-text h2 {
    margin-bottom: 6px;
}

.cta-text p {
    margin: 0;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 10px;
}

.cta-banner .btn-primary {
    background: #2563eb;
    color: #ffffff;
}

.cta-banner .btn-primary:hover {
    filter: brightness(1.05);
}

.cta-banner .btn-outline {
    border-color: rgba(2, 6, 23, 0.12);
    color: #0b1220;
}

.cta-banner .btn-outline:hover {
    background: rgba(2, 6, 23, 0.04);
}

@media (max-width: 768px) {
    .cta-box {
        flex-direction: column;
        text-align: center;
    }

    .cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .cta-actions .btn {
        width: 100%;
    }
}

/* Page Hero */
.page-hero {
    background: linear-gradient(180deg, #0f121a 0%, #0b0d12 100%);
}

.page-hero h1 {
    font-weight: 900;
}

.page-hero p {
    color: var(--v2-muted);
}

/* Lists */
.list {
    color: var(--v2-muted);
}

/* Tabs */
.tabs {
    gap: 10px;
}

.tab-btn {
    background: var(--v2-surface);
    border: 1px solid var(--v2-border);
    color: var(--v2-text);
}

.tab-btn.active {
    background: var(--v2-gradient);
    color: #07101b;
}

.challenge-tab .card {
    background: var(--v2-panel);
}

/* Pricing */
.price-card {
    text-align: left;
}

.price-card .price {
    font-size: 28px;
    font-weight: 900;
    background: var(--v2-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-card.featured {
    outline: 2px solid rgba(34, 211, 238, 0.3);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.price-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.compare-table {
    margin-top: 16px;
    overflow: hidden;
    border: 1px solid var(--v2-border);
    border-radius: 12px;
}

.compare-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 12px;
    padding: 12px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.compare-head {
    background: rgba(255, 255, 255, 0.04);
    font-weight: 700;
}

@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .compare-row {
        grid-template-columns: 1fr;
    }

    .compare-head {
        display: none;
    }
}

/* Forms */
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.contact-form .form-row:nth-child(2),
.contact-form .form-row:nth-child(3) {
    grid-template-columns: 1fr;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: var(--v2-panel);
    border: 1px solid var(--v2-border);
    color: var(--v2-text);
    padding: 12px 14px;
    border-radius: var(--v2-radius-sm);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--v2-muted);
}

/* Contact page */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 16px;
}

.contact-card {
    padding: 16px;
}

.map-box {
    height: 180px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--v2-border);
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: var(--v2-muted);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Add consistent vertical gaps inside contact */
.contact-form {
    display: grid;
    gap: 12px;
}

.contact-side {
    display: grid;
    gap: 12px;
}

.contact-card h3 {
    margin-bottom: 8px;
}

/* Footer */
.site-footer {
    background: #0b0d12;
    border-top: 1px solid var(--v2-border);
}

.footer-brand .disclaimer {
    color: rgba(231, 235, 243, 0.55);
}

.footer-links a {
    color: var(--v2-muted);
}

.footer-bottom p {
    color: var(--v2-muted);
}

/* Responsive */
@media (max-width: 992px) {
    .site-nav .nav-menu {
        background: rgba(11, 13, 18, 0.98);
        border-bottom: 1px solid var(--v2-border);
    }
}

@media (max-width: 768px) {
    .home-hero .hero-content h1 {
        font-size: 32px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* Widgets & Enhanced Home Sections */
.market-ticker {
    display: none;
}

.market-ticker .container {
    display: none;
}

.ticker-track {
    display: none;
}

.ticker-item {
    display: none;
}

.kpi-grid .kpi {
    text-align: center;
}

.kpi p {
    color: var(--v2-muted);
    font-size: 12px;
    margin-bottom: 6px;
}

.kpi h3 {
    font-size: 22px;
    font-weight: 900;
}

.mini-dashboard .stat-card-md {
    position: relative;
}

.stat-card-md p {
    color: var(--v2-muted);
    font-size: 12px;
    margin-bottom: 6px;
}

.stat-card-md h3 {
    font-size: 22px;
    font-weight: 900;
}

.delta {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 999px;
}

.delta.up {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.delta.down {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.testimonial-slider {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slider .ts-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--v2-panel);
    border: 1px solid var(--v2-border);
    color: var(--v2-text);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    z-index: 2;
    backdrop-filter: blur(6px);
    cursor: pointer;
}

.testimonial-slider .ts-control.prev {
    left: -4px;
}

.testimonial-slider .ts-control.next {
    right: -4px;
}

.testimonial-slider .ts-track {
    display: flex;
    gap: 16px;
    transition: transform 0.4s ease;
    will-change: transform;
}

.testimonial-slider .ts-item {
    flex: 0 0 360px;
    width: 360px;
    max-width: calc(100vw - 64px);
}

.testimonial-slider .ts-item p {
    color: var(--v2-text);
    margin-bottom: 8px;
}

.testimonial-slider .ts-item span {
    color: var(--v2-muted);
    font-size: 12px;
}

@media (max-width: 768px) {
    .testimonial-slider .ts-item {
        flex-basis: calc(100% - 64px);
        width: calc(100% - 64px);
    }

    .testimonial-slider .ts-control.prev {
        left: 6px;
    }

    .testimonial-slider .ts-control.next {
        right: 6px;
    }
}

/* Dots navigation */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.testimonial-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.testimonial-dots button.active {
    background: var(--v2-accent-2);
}

.partners .partner-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    align-items: center;
}

.partners .partner {
    text-align: center;
    color: var(--v2-muted);
    background: var(--v2-panel);
    border: 1px solid var(--v2-border);
    padding: 12px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .partners .partner-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Footer polish */
.site-footer {
    margin-top: 0;
}

.site-footer .footer-top {
    align-items: flex-start;
}

.site-footer .footer-bottom {
    padding-top: 16px;
    border-top: 1px solid var(--v2-border);
}

.site-footer .footer-bottom p {
    font-size: 12px;
}

/* Mobile drawer spacing tweaks */
@media (max-width: 992px) {
    .site-nav .nav-menu {
        padding-top: 80px;
    }

    .menu-cta {
        margin-top: 8px;
    }
}

/* Legacy Cleanup & Final Refinements */
/* Neutralize legacy hero visuals for compact layout */
.home-hero {
    min-height: auto !important;
}

.home-hero::before {
    display: none !important;
}

/* Hide legacy hamburger component */
.hamburger {
    display: none !important;
}

/* Nav refinements */
.site-nav a {
    position: relative;
}

.site-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: currentColor;
    opacity: 0;
    transform: scaleX(0.4);
    transition: opacity .2s ease, transform .2s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
    opacity: 1;
    transform: scaleX(1);
    color: var(--v2-accent);
}

/* Desktop nav hover dropdown style placeholder (future extensibility) */
.site-nav li {
    position: relative;
}

.site-nav li ul {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    background: var(--v2-panel);
    border: 1px solid var(--v2-border);
    border-radius: 10px;
    padding: 8px;
    min-width: 200px;
}

.site-nav li:hover>ul {
    display: block;
}

/* Card hover polish */
.card {
    transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.4);
}

/* Testimonial slider responsiveness */
@media (max-width: 420px) {
    .testimonial-slider .ts-item {
        min-width: 260px;
    }
}

/* Remove legacy section paddings conflicting with V2 */
.advantages,
.how-it-works,
.features,
.testimonials,
.about,
.cta,
.footer {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

/* How It Works cleanup: neutralize legacy selectors to prevent conflicts */
.how-it-works {
    padding: 0 !important;
    background: transparent !important;
}

.steps-container {
    display: contents !important;
    gap: 0 !important;
}

.steps-grid {
    display: contents !important;
    gap: 0 !important;
    grid-template-columns: none !important;
}

.step-number,
.step-arrow {
    display: none !important;
}

/* Legacy nav classes opt-out */
.navbar,
.nav-container,
.nav-logo,
.nav-actions,
.language-currency {
    all: unset;
}

/* Ensure link colors within new design */
a {
    color: inherit;
}

/* Final nav frosting - force white blurred background ONLY for menu */
@media (min-width: 0px) {
    .site-nav>ul {
        background: rgba(255, 255, 255, 0.9) !important;
        backdrop-filter: blur(30px) !important;
        -webkit-backdrop-filter: blur(30px) !important;
        border: 1px solid rgba(255, 255, 255, 0.7) !important;
        padding: 6px 16px !important;
        gap: 10px !important;
        box-shadow: 0 12px 28px rgba(2, 6, 23, 0.12) !important;
    }
}

/* Menu item chips and spacing */
.site-nav>ul a {
    padding: 8px 12px;
    border-radius: 999px;
}

.site-nav>ul a:hover {
    background: rgba(0, 0, 0, 0.06);
}

.site-nav>ul a.active {
    background: rgba(14, 165, 233, 0.14);
    color: #0284c7;
}

/* =============================
   Design System V3 (Final Overhaul)
   ============================= */
:root {
    --v3-bg: var(--bg-app);
    --v3-surface: var(--bg-card);
    --v3-panel: var(--bg-panel);
    --v3-border: var(--border-light);
    --v3-text: var(--text-main);
    --v3-muted: var(--text-muted);
    --v3-primary: var(--primary);
    /* purple */
    --v3-primary-2: var(--secondary);
    /* cyan */
    --v3-grad: linear-gradient(135deg, var(--v3-primary) 0%, var(--v3-primary-2) 100%);
    --v3-radius: 16px;
    --v3-radius-sm: 12px;
    --v3-shadow: 0 10px 30px rgba(2, 6, 23, 0.5);
}

body {
    background: var(--v3-bg);
    color: var(--v3-text);
}

.site-header {
    background: rgba(13, 16, 24, 0.62);
    border-bottom: 1px solid var(--v3-border);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.35);
}

.header-inner {
    height: 72px;
}

.logo {
    background: var(--v3-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: .2px;
    font-weight: 900;
}

.site-nav a {
    color: var(--v3-text);
    opacity: .9;
}

.site-nav a.active {
    color: var(--v3-primary-2);
}

.nav-toggle {
    background: var(--v3-panel);
    border: 1px solid var(--v3-border);
    border-radius: var(--v3-radius-sm);
    color: var(--v3-text);
}

.btn-primary {
    background: var(--v3-grad);
    color: #07101b;
    border-radius: var(--v3-radius-sm);
    box-shadow: var(--v3-shadow);
    padding: 12px 18px;
}

.btn-outline {
    border: 1px solid rgba(124, 58, 237, .6);
    color: var(--v3-text);
    border-radius: var(--v3-radius-sm);
}

.card {
    background: var(--v3-panel);
    border: 1px solid var(--v3-border);
    border-radius: var(--v3-radius);
    box-shadow: var(--v3-shadow);
}

.section.alt {
    background: var(--v3-surface);
}

.section-title {
    letter-spacing: .3px;
}

.home-hero {
    background: radial-gradient(1200px 500px at 10% -10%, rgba(124, 58, 237, .14), transparent 60%), radial-gradient(1000px 400px at 90% 0%, rgba(6, 182, 212, .12), transparent 60%), linear-gradient(180deg, #0b0e14 0%, #0f1320 100%);
}

.home-hero .hero-content h1 {
    font-weight: 900;
}

.home-hero .hero-content p {
    color: var(--v3-muted);
}

.tabs .tab-btn {
    background: var(--v3-surface);
    border: 1px solid var(--v3-border);
}

.tab-btn.active {
    background: var(--v3-grad);
    color: #07101b;
}

.cta-banner {
    background: var(--v3-grad);
}

.cta-inner h2 {
    color: #091324;
}

.cta-inner p {
    color: #0b1a2f;
    opacity: .8;
}

.site-footer {
    background: #0b0e14;
    border-top: 1px solid var(--v3-border);
}

.footer-minimal .disclaimer {
    color: var(--v3-muted);
}

/* Navigation refinements (pill group + dropdown polish) */
@media (min-width: 993px) {
    .site-nav>ul {
        position: relative;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.86);
        border: 1px solid rgba(255, 255, 255, 0.55);
        border-radius: 999px;
        padding: 10px 16px;
        display: flex;
        align-items: center;
        backdrop-filter: blur(28px) saturate(180%);
        -webkit-backdrop-filter: blur(28px) saturate(180%);
        box-shadow: 0 12px 28px rgba(2, 6, 23, 0.12);
    }

    .site-nav>ul::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.08));
        opacity: 0.35;
        pointer-events: none;
        mix-blend-mode: screen;
    }

    .site-nav>ul a {
        color: #0a0f1a;
        font-weight: 600;
    }

    .site-nav>ul a:hover {
        color: #0369a1;
    }

    .site-nav>ul a.active {
        color: #0ea5e9;
    }

    /* Disable dropdowns on desktop */
    .site-nav li ul {
        display: none !important;
    }

    .site-nav li ul li a {
        display: block;
        padding: 10px 12px;
        border-radius: 8px;
        white-space: nowrap;
    }

    .site-nav li ul li a:hover {
        background: rgba(255, 255, 255, 0.06);
    }
}

/* Mobile drawer polish */
@media (max-width: 992px) {
    .site-nav {
        display: flex;
        align-items: center;
    }

    .site-nav .nav-menu {
        padding-top: 84px;
        gap: 6px;
    }

    .site-nav .nav-menu li a {
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid var(--v3-border);
    }

    .site-nav .nav-menu li a.active {
        background: rgba(124, 58, 237, 0.12);
        border-color: rgba(124, 58, 237, 0.35);
    }
}

/* Ensure vertical centering across header */
.site-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.site-nav ul {
    display: flex;
    align-items: center;
}

.site-nav li {
    display: flex;
    align-items: center;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    height: 40px;
}

.nav-toggle {
    display: none !important;
    align-items: center;
    justify-content: center;
    height: 40px;
}

.header-inner {
    align-items: center;
}

/* Force menu to the right and always visible */
.site-nav .nav-menu {
    display: flex !important;
    position: static;
    right: auto;
    left: auto;
    top: auto;
    bottom: auto;
    width: auto;
    padding: 0;
    background: transparent;
    border: 0;
    gap: 16px;
}

@media (max-width: 992px) {
    .site-nav {
        margin-left: auto;
    }

    .site-nav .nav-menu {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}

/* Final Glass Menu override - white frosted menu only */
.site-header {
    background: transparent !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

.site-nav>ul {
    position: relative !important;
    overflow: hidden !important;
    background: rgba(255, 255, 255, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
    border-radius: 999px !important;
    padding: 8px 16px !important;
    gap: 10px !important;
    backdrop-filter: blur(28px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.12) !important;
}

.site-nav>ul::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.08));
    opacity: 0.35;
    pointer-events: none;
    mix-blend-mode: screen;
}

.site-nav>ul::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

.site-nav>ul a {
    color: #0a0f1a !important;
    padding: 8px 12px !important;
    border-radius: 999px !important;
    background: transparent !important;
    font-weight: 600;
}

.site-nav>ul a:hover {
    color: #0369a1 !important;
}

.site-nav>ul a.active {
    color: #0ea5e9 !important;
}

@supports not ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))) {
    .site-nav>ul {
        background: rgba(255, 255, 255, 0.95) !important;
    }
}