* {
    box-sizing: border-box;
}

:root {
    --gold: #fbbf24;
    --emerald: #10b981;
    --navy: #0a192f;
    --navy-light: #112240;
}

body {
    overflow-x: hidden;
    font-family: system-ui, -apple-system, sans-serif;
    /* Basic sans-serif fallback */
}



/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.font-bold {
    font-weight: 700;
}

.uppercase {
    text-transform: uppercase;
}

.relative {
    position: relative;
}

.w-full {
    width: 100%;
}

.block {
    display: block;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.text-2xl {
    font-size: 2rem;
    line-height: 1;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-4 {
    gap: 1rem;
}

/* Colors & Typography */
.text-gold {
    color: var(--gold);
}

.text-emerald {
    color: var(--emerald);
}

.text-gray {
    color: var(--muted);
}

.text-white {
    color: var(--text);
}

.bg-navy {
    background-color: var(--bg);
}

.bg-navy-light {
    background-color: var(--card);
}

/* Buttons */
/* Typography Utilities (Scientific Scale) */
.h1-hero {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.h2-section {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.h3-card {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

/* Specific fix for card title margin issues if any */
.card-back .h3-card {
    margin-bottom: 0.5rem;
}

.text-lead {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--muted);
}

.text-body {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--muted);
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--muted);
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--muted);
}

/* Desktop Scale Up */
@media (min-width: 768px) {
    .h1-hero {
        font-size: 4rem;
    }

    .h2-section {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .h3-card {
        font-size: 1.75rem;
    }

    .text-lead {
        font-size: 1.25rem;
    }
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid transparent;
    padding: 0.4rem 1rem;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--emerald);
    color: #fff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.btn-primary:hover {
    background-color: #059669;
    transform: translateY(-2px);
}

.btn-gold {
    background-color: #f59e0b;
    color: #1e293b;
    font-weight: 600;
}

.btn-gold:hover {
    background-color: #f59e0b;
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--muted2);
    color: var(--muted);
    background: transparent;
}

.btn-outline:hover {
    border-color: #fff;
    color: #fff;
}

/* Sections */
section {
    padding: 6rem 0;
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
}



/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background: rgba(11, 16, 32, 0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding-top: 1rem;
    padding-bottom: 1rem;
    min-height: auto;
}

.brand {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .navbar {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .brand {
        font-size: 1.25rem;
    }

    .desktop-menu {
        display: none !important;
    }

    .mobile-toggle {
        display: block !important;
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(11, 16, 32, 0.98);
        backdrop-filter: blur(20px);
        z-index: 51;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
    }

    .mobile-menu.open {
        opacity: 1;
        visibility: visible;
        display: block !important;
    }

    /* Antigravity: Enforce 44px Touch Targets for all buttons including links */
    .btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        /* Prevent IOS zoom */
    }
}

/* Hero */
.hero {
    min-height: 65vh;
    /* Further reduced from 80vh */
    display: flex;
    align-items: flex-start;
    padding-top: 100px;
    /* Further reduced from 120px */
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 4rem;
    }
}

.gradient-text {
    background: -webkit-linear-gradient(right, var(--gold), #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Cards & Interactives */
@media (min-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Cards & Interactives */
.feature-card {
    perspective: 1000px;
    height: 18rem;
    /* Increased height for content spacing */
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

/* JS toggles this */
.card-inner.flipped {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle border */
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.card-front {
    background: linear-gradient(145deg, var(--card) 0%, rgba(17, 34, 64, 0.8) 100%);
    backdrop-filter: blur(10px);
}

.feature-card:hover .card-front {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    /* Lift effect on hover */
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
}

.card-back {
    background: linear-gradient(145deg, var(--navy) 0%, #064e3b 100%);
    /* Deep Emerald Gradient */
    transform: rotateY(180deg);
    border: 1px solid var(--emerald);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

/* CSS for Icons removed / hidden */
.card-icon {
    display: none;
}

/* Course / Pillars Section Redesign */
.course-card {
    background-color: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Viền rất mỏng */
    padding: 2.5rem;
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.course-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

/* Số thứ tự lớn làm nền (Typography) */
.course-number {
    position: absolute;
    top: -1rem;
    right: -1rem;
    font-size: 8rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    /* Mờ, chìm vào nền */
    font-family: var(--font-display);
    line-height: 1;
    z-index: 0;
    transition: all 0.3s ease;
}

.course-card:hover .course-number {
    color: rgba(251, 191, 36, 0.1);
    /* Sáng màu vàng nhẹ khi hover */
    transform: scale(1.1);
}

.course-content {
    position: relative;
    z-index: 1;
    /* Nổi lên trên số nền */
}

.course-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.course-subtitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--emerald);
    margin-bottom: 1.5rem;
    display: block;
    font-weight: 600;
}

/* Tinh chỉnh list */
.course-list {
    margin: 0;
    padding: 0;
}

.course-list li {
    list-style: none;
    display: flex;
    align-items: flex-start;
    /* Căn lề trên */
    color: var(--muted);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.course-list li span {
    color: var(--gold);
    margin-right: 0.75rem;
    font-weight: bold;
}

/* Calculator */
.calc-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.calc-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--bg);
    /* Darker background for contrast */
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    color: #fff;
    outline: none;
    transition: all 0.2s;
}

/* Calculator Input Redesign */
.calc-input-group {
    position: relative;
    margin-bottom: 0.5rem;
}

.calc-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    padding-left: 0.25rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: var(--muted);
    pointer-events: none;
    width: 18px;
    height: 18px;
    z-index: 10;
    transition: color 0.3s ease;
}

.calc-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    /* Padding left for icon */
    background-color: rgba(255, 255, 255, 0.03);
    /* Glass darker */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    color: #fff;
    outline: none;
    font-size: 1rem;
    font-family: inherit;
    /* Use default font */
    font-weight: 500;
    transition: all 0.2s ease;
}

.calc-input:focus {
    background-color: rgba(255, 255, 255, 0.07);
    border-color: var(--gold);
    /* Highlight with Gold */
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.1);
    /* Glow effect */
}

.calc-input:focus+.input-icon,
.input-wrapper:focus-within .input-icon {
    color: var(--gold);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Form */
.form-input {
    width: 100%;
    background-color: var(--bg);
    border: 1px solid var(--border);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: white;
    font-size: 16px;
    /* Prevent iOS zoom */
}

/* ------------------------------------------- */
/* NEW: Dashboard Showcase & Mockup Styles */
/* ------------------------------------------- */

.dashboard-showcase-section {
    padding: 8rem 0;
    /* More space */
}

.perspective-container {
    perspective: 1200px;
    display: flex;
    justify-content: center;
}

.mockup-window {
    width: 100%;
    max-width: 550px;
    height: 350px;
    background: rgba(17, 34, 64, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow:
        0 20px 50px -10px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: rotateY(-10deg) rotateX(5deg);
    /* Isomeric Tilt */
    transition: transform 0.5s ease;
    cursor: default;
}

.mockup-window:hover {
    transform: rotateY(0) rotateX(0);
    /* Flatten on hover */
}

/* Header */
.mockup-header {
    height: 36px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 1rem;
}

.dots {
    display: flex;
    gap: 6px;
}

.dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.dots span:nth-child(1) {
    background: #ef4444;
}

.dots span:nth-child(2) {
    background: #f59e0b;
}

.dots span:nth-child(3) {
    background: #22c55e;
}

.bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.2);
    font-size: 8px;
    line-height: 6px;
    text-align: center;
    font-family: monospace;
}

/* Body */
.mockup-body {
    flex: 1;
    display: flex;
}

/* Sidebar */
.mock-sidebar {
    width: 50px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.mock-item {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
}

.mock-item.active {
    background: var(--emerald);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

/* Content */
.mock-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mock-row {
    display: flex;
    gap: 1rem;
}

.mock-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 0.75rem;
}

.mock-card.sm {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 80px;
}

.mock-card.lg {
    flex: 1;
    height: 140px;
}

.mock-label {
    font-size: 10px;
    color: var(--muted);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 4px;
}

.mock-val {
    font-size: 18px;
    font-weight: 700;
    font-family: monospace;
}

.text-red {
    color: #ef4444;
}

/* Mini Charts in Mockup */
.mock-chart-line {
    height: 2px;
    width: 100%;
    margin-top: auto;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.mock-chart-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 40%;
    background: currentColor;
}

.mock-chart-line.up {
    color: var(--emerald);
}

.mock-chart-line.up::after {
    background: var(--emerald);
    width: 70%;
}

.mock-svg-chart {
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

.float-badge {
    position: absolute;
    top: 30%;
    right: 10%;
    background: var(--emerald);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* ------------------------------------------- */
/* NEW: Premium Hero V2 Styles */
/* ------------------------------------------- */

.hero-v2 {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    /* Space for navbar */
    padding-bottom: 60px;
    background: radial-gradient(circle at 50% 50%, #1a2c4e 0%, #0a192f 60%, #020c1b 100%);
    overflow: hidden;
}

/* Background Glow Blobs */
.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--emerald);
    filter: blur(150px);
    opacity: 0.15;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.hero-glow.top-right {
    top: -20%;
    right: -10%;
    background: var(--gold);
    opacity: 0.1;
}

.hero-glow.bottom-left {
    bottom: -20%;
    left: -10%;
}

/* Hero Visual Composition */
.hero-visual-container {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Main Chart Card */
.main-chart-card {
    width: 380px;
    height: 260px;
    position: relative;
    z-index: 2;
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease-out;
    background: linear-gradient(135deg, rgba(16, 25, 45, 0.9) 0%, rgba(13, 20, 35, 0.95) 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.main-chart-card:hover {
    transform: rotateY(0) rotateX(0);
    /* Reset on hover */
}

/* Floating Satellite Cards */
.sat-card {
    position: absolute;
    padding: 12px 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3;
    animation: float 4s ease-in-out infinite;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    background: rgba(11, 20, 36, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.sat-card.buy-signal {
    top: 10%;
    right: -10px;
    animation-delay: 0s;
    border-left: 4px solid var(--emerald);
}

.sat-card.risk-reward {
    bottom: 10%;
    left: -30px;
    animation-delay: 2s;
    border-left: 4px solid var(--gold);
}

/* Candle Styles within Hero */
.candle-container {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.candle-container::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 0;
    right: 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.05);
}

.candle {
    width: 12px;
    background: #ef4444;
    position: relative;
    border-radius: 2px;
    opacity: 0.8;
}

.candle::before {
    content: '';
    position: absolute;
    top: -8px;
    bottom: -8px;
    left: 50%;
    width: 1px;
    background: inherit;
    transform: translateX(-50%);
    opacity: 0.5;
}

.candle.green {
    background: var(--emerald);
}

.candle.h-40 {
    height: 40%;
}

.candle.h-60 {
    height: 60%;
}

.candle.h-20 {
    height: 20%;
}

.candle.h-80 {
    height: 80%;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
    filter: brightness(1.2);
}

/* Breakout Candle */

/* Typography Updates */
.h1-premium {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .h1-premium {
        font-size: 4.5rem;
    }
}



.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    color: var(--emerald);
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

/* ========================================= */
/* REFRACTORED STYLES & MOBILE OPTIMIZATIONS */
/* ========================================= */

.glass-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    background: rgba(10, 25, 47, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: padding 0.3s;
}

.hero-v3 {
    min-height: 700px;
    display: flex;
    align-items: flex-start;
    padding-top: 100px;
    padding-bottom: 100px;
    background: radial-gradient(circle at 50% 30%, #1a2c4e 0%, #0a192f 60%, #020c1b 100%);
    position: relative;
    overflow: hidden;
}

.main-heading {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 700;
    /* Changed from 800 to 700 for consistency */
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: white;
}

/* NEW HERO STYLES */
.hero-btn {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: inherit;
    box-shadow: 0 10px 30px -5px rgba(16, 185, 129, 0.4);
}

.hero-visual {
    transform: translateX(20px);
}

@media (max-width: 768px) {
    .glass-navbar {
        padding: 0.75rem 0;
    }

    /* Split buttons into 2 cols on mobile */
    .hero-actions {
        flex-direction: row;
        width: 100%;
        gap: 0.75rem;
        /* Reduced gap */
    }

    .hero-btn {
        flex: 1;
        /* Share width equally */
        width: auto;
        padding: 0.75rem 0.5rem;
        /* Compact padding */
        font-size: 0.85rem;
        /* Smaller font for mobile */
        justify-content: center;
        white-space: nowrap;
        /* Prevent wrap */
    }

    /* Reset visual shift */
    .hero-visual {
        transform: none !important;
        margin-top: 2rem;
        display: flex;
        justify-content: center;
    }

    .hero-v3 {
        min-height: auto;
        padding-top: 80px;
        /* Reduced from 100px */
        padding-bottom: 2rem;
        /* Reduced drastically for mobile */
    }

    /* Mockup adjustments for mobile */
    .mockup-window {
        height: auto;
        min-height: 250px;
        transform: none !important;
        /* Remove 3D tilt on mobile for clarity */
        margin-top: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .mock-sidebar {
        width: 40px;
        /* Smaller sidebar */
        padding: 0.5rem 0;
    }

    .mock-item {
        width: 18px;
        height: 18px;
    }

    .mock-content {
        padding: 1rem;
    }

    .mock-card.sm {
        height: 70px;
        padding: 0.5rem;
    }

    .mock-val {
        font-size: 14px;
    }

    .mock-label {
        font-size: 8px;
    }

    .main-heading {
        font-size: 2rem;
        /* Adjusted for smaller screens */
        margin-bottom: 1rem;
    }

    .text-lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Grid Gap Adjustment */
    .grid {
        gap: 1.5rem;
    }

    /* Force 2 columns for layout with grid-mobile-2 class */
    .grid-mobile-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem !important;
    }

    /* Feature Card Mobile Optimization */
    .feature-card {
        height: 14rem;
        /* Reduced height */
    }

    .card-front,
    .card-back {
        padding: 0.75rem;
        /* Compact padding */
    }

    .feature-card .h3-card {
        font-size: 1rem;
        /* Smaller title */
        margin-bottom: 0.25rem;
    }

    .feature-card .text-sm {
        font-size: 0.75rem;
        /* Smaller text */
        line-height: 1.25;
    }

    .feature-card .card-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 0.5rem;
    }
}

/* ========================================= */
/* SHARED COMPONENT STYLES (FROM DASHBOARD)  */
/* ========================================= */

.brand-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f3f6ff;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.brand-logo span {
    color: var(--emerald);
}

/* Success Modal Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(135deg, var(--card) 0%, var(--navy) 100%);
    border: 1px solid var(--emerald);
    padding: 2.5rem;
    border-radius: 1.5rem;
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Bouncy effect */
    box-shadow: 0 25px 50px -12px rgba(16, 185, 129, 0.25);
    position: relative;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-icon-box {
    width: 80px;
    height: 80px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 2px solid var(--emerald);
}

.modal-title {
    font-size: 1.5rem;
    color: white;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal-text {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.close-modal-btn {
    background: var(--emerald);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    font-size: 1rem;
}

.close-modal-btn:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Close Icon absolute */
.modal-close-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--muted);
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close-icon:hover {
    color: white;
}