/* Sysib – Premium Trading Platform (Binance/Bybit-style) */
:root {
    --primary-bg: #0b0f19;
    --secondary-bg: #121826;
    --tertiary-bg: #1a2234;
    --panel-bg: rgba(18, 24, 38, 0.95);
    --accent-color: #00ffa3;
    --accent-hover: #00d98b;
    --accent-glow: rgba(0, 255, 163, 0.2);
    --success-color: #22c55e;
    --success-hover: #16a34a;
    --danger-color: #ef4444;
    --danger-hover: #dc2626;
    --warning-color: #00ffa3;
    --info-color: #00b4d8;
    --text-primary: #e5e7eb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border-color: #1f2937;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px var(--accent-glow);
    --radius: 10px;
    --radius-lg: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at 30% 20%, #0f1b2e 0%, #0b0f19 70%);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Header – sticky glassmorphism */
.header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
}

.navbar {
    background: transparent !important;
    padding: 0.6rem 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Ensure legacy pages using .navbar.bg-dark.fixed-top inherit glass style */
.navbar.bg-dark {
    background: transparent !important;
    box-shadow: none !important;
}

.navbar.bg-dark.fixed-top {
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 700;
}

.logo-container {
    position: relative;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #02120c;
    box-shadow: 0 0 16px var(--accent-glow);
}

.brand-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1;
}

.brand-tagline {
    font-size: 0.65rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    line-height: 1;
}

.navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.85rem !important;
    border-radius: 8px;
    transition: color 0.25s ease, background 0.25s ease;
    margin: 0 0.1rem;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.25s ease, left 0.25s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: calc(100% - 1rem);
}

.navbar-nav .nav-link:hover {
    color: var(--text-primary) !important;
    background: transparent;
}

.navbar-nav .nav-link.active {
    color: var(--accent-color) !important;
    background: transparent;
}

.navbar .btn-warning {
    color: #02120c !important;
}

/* Buttons – primary (accent) and secondary */
.btn-warning {
    background: var(--accent-color);
    border: none;
    color: #02120c;
    font-weight: 600;
    border-radius: 10px;
    padding: 14px 28px;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 0 var(--accent-glow);
}

.btn-warning:hover {
    background: var(--accent-hover);
    color: #02120c;
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(0, 255, 163, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-outline-warning {
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    background: transparent;
    border-radius: 10px;
    padding: 14px 28px;
    transition: all 0.3s ease;
}

.btn-outline-warning:hover {
    background: rgba(0, 255, 163, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-1px);
}

.btn-dark {
    background: var(--tertiary-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 10px;
}

.btn-dark:hover {
    background: var(--border-color);
    border-color: var(--text-muted);
    color: var(--text-primary);
}

.btn-success {
    background: var(--accent-color);
    border: none;
    color: #02120c;
    font-weight: 600;
    border-radius: 10px;
    padding: 14px 28px;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 0 var(--accent-glow);
}

.btn-success:hover {
    background: var(--accent-hover);
    color: #02120c;
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(0, 255, 163, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Hero – two-column layout */
.hero-section {
    background: var(--primary-bg);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 90vh;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
    padding: 80px 20px;
    position: relative;
    z-index: 2;
}

.hero-left {
    flex: 1;
    max-width: 560px;
}

.hero-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.hero-title {
    font-family: "Inter", sans-serif;
    font-size: 58px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    animation: heroFadeInUp 0.8s ease-out forwards;
}

.hero-title-gradient {
    background: linear-gradient(90deg, #00ffa3, #00d98b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: heroFadeInUp 0.8s ease-out 0.15s forwards;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: heroFadeInUp 0.8s ease-out 0.3s forwards;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-cta .btn {
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
}

/* Legacy hero row (if used elsewhere) */
.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section .row {
    align-items: center;
    gap: 2rem;
}

.hero-section .row.align-items-center {
    min-height: 0;
}

/* Subtle grid + soft gradient – low opacity */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 50% -10%, rgba(0, 255, 163, 0.05), transparent 50%),
        linear-gradient(rgba(0, 255, 163, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 163, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: 0 0, 0 0, 0 0;
    pointer-events: none;
}


@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.display-4 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.lead {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 540px;
}

/* Card Chart – professional chart widget */
.card-chart {
    background: #121826;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 255, 163, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: heroFadeInUp 0.8s ease-out 0.25s forwards;
    opacity: 0;
    animation-fill-mode: forwards;
    width: 100%;
    max-width: 480px;
}

.card-chart:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 255, 163, 0.1);
    border-color: rgba(0, 255, 163, 0.25);
}

.card-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.card-chart-pair {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.card-chart-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
}

.card-chart-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.card-chart-stat {
    color: var(--text-secondary);
}

.card-chart-stat.up {
    color: var(--success-color);
    font-weight: 600;
}

.card-chart-area {
    height: 220px;
    position: relative;
}

.card-chart-area canvas {
    width: 100% !important;
    height: 100% !important;
}

.trading-chart-container {
    background: var(--secondary-bg);
    border: 1px solid rgba(0, 255, 163, 0.15);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-subtle);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trading-chart-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(0, 255, 163, 0.08);
}

/* Crypto Market Stats Section */
.stats-section {
    background: var(--primary-bg);
    padding: 100px 20px;
    display: none; /* temporarily hide stats strip */
    justify-content: center;
}

.stats-grid {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    background: #121826;
    border-radius: 14px;
    padding: 28px;
    text-align: center;
    border: 1px solid rgba(0, 255, 163, 0.1);
    transition: all 0.3s ease;
}

.stat-prefix {
    font-size: 30px;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-value {
    font-size: 30px;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1.2;
}

.stat-suffix {
    font-size: 26px;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 0.35rem;
}

/* Feature Cards Section (home + features page) */
.features-section {
    background: var(--primary-bg);
    padding: 120px 20px;
    display: flex;
    justify-content: center;
}

.features-section .container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.features-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.features-copy {
    text-align: left;
}

.features-copy .section-title {
    font-family: "Inter", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.features-copy .section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 25px;
}

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

.feature-card {
    background: #121826;
    padding: 30px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 255, 163, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00FFA3, #00D98B);
    border-radius: 50%;
    margin-bottom: 15px;
}

.feature-icon i {
    color: #02120c;
    font-size: 20px;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    color: #E5E7EB;
    margin-bottom: 8px;
}

.feature-text {
    font-size: 14px;
    color: #9CA3AF;
    line-height: 1.6;
}

/* Forex Education Center – Binance Academy style */
.education-section {
    padding: 120px 20px;
    display: flex;
    justify-content: center;
}

.education-section .container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.education-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.education-copy {
    max-width: 560px;
}

.education-copy .lead {
    color: var(--text-secondary);
}

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

.education-card {
    background: #121826;
    padding: 30px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.education-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 255, 163, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.education-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00FFA3, #00D98B);
    border-radius: 50%;
    margin: 0 auto 15px auto;
    color: #02120c;
    font-size: 1.35rem;
}

.education-title {
    font-size: 18px;
    font-weight: 600;
    color: #E5E7EB;
}

/* More spacing between hero and next section */
.hero-section + section {
    padding-top: 0;
}

/* Feature Boxes – trading pillars */
.feature-box {
    text-align: center;
    padding: 1.75rem 1.25rem;
    background: var(--panel-bg);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    transition: all 0.25s ease;
    height: 100%;
    backdrop-filter: blur(8px);
}

.feature-box:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 255, 163, 0.3);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--accent-glow);
}

.feature-box i {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

/* Feature Cards */
.feature-card {
    background: var(--panel-bg);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.25s ease;
    height: 100%;
    backdrop-filter: blur(8px);
}

.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 255, 163, 0.3);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    color: var(--primary-bg);
    box-shadow: 0 4px 16px var(--accent-glow);
}

/* Package Cards */
.package-card {
    background: var(--panel-bg);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.25s ease;
    height: 100%;
    backdrop-filter: blur(8px);
}

.package-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-color);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.package-header {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: var(--primary-bg);
    padding: 2rem;
    text-align: center;
}

.package-price {
    font-size: 2.75rem;
    font-weight: 800;
    margin-top: 0.5rem;
    letter-spacing: -0.02em;
}

.package-price .currency {
    font-size: 1.25rem;
    vertical-align: top;
}

.package-body {
    padding: 2rem;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.package-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.package-features li:last-child {
    border-bottom: none;
}

/* Testimonial Cards */
.testimonial-card {
    background: var(--panel-bg);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
}

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

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 10px;
}

/* Alerts */
.alert {
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
}

.alert-success {
    background: rgba(0, 217, 165, 0.12);
    color: var(--success-color);
    border-left: 4px solid var(--success-color);
}

.alert-danger {
    background: rgba(242, 54, 69, 0.12);
    color: var(--danger-color);
    border-left: 4px solid var(--danger-color);
}

.alert-warning {
    background: rgba(240, 185, 11, 0.12);
    color: var(--warning-color);
    border-left: 4px solid var(--warning-color);
}

.alert-info {
    background: rgba(0, 180, 216, 0.12);
    color: var(--info-color);
    border-left: 4px solid var(--info-color);
}

/* Forms */
.form-control {
    background: var(--tertiary-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    background: var(--tertiary-bg);
    border-color: var(--accent-color);
    color: var(--text-primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-label {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Cards – exchange-style panels */
.card {
    background: var(--panel-bg);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
}

.card-header {
    background: rgba(31, 41, 55, 0.6);
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-weight: 600;
    padding: 1rem 1.25rem;
}

/* Tables */
.table {
    color: var(--text-primary);
}

.table-dark {
    --bs-table-bg: var(--secondary-bg);
    --bs-table-striped-bg: var(--tertiary-bg);
    --bs-table-hover-bg: var(--tertiary-bg);
    --bs-table-border-color: var(--border-color);
}

.table th {
    border-color: var(--border-color);
    color: var(--text-secondary);
    font-weight: 600;
}

.table td {
    border-color: var(--border-color);
}

/* Dashboard */
.dashboard-sidebar {
    background: var(--secondary-bg);
    border-right: 1px solid var(--border-subtle);
    min-height: 100vh;
    padding: 2rem 0;
}

.dashboard-sidebar .nav-link {
    color: var(--text-secondary);
    padding: 1rem 2rem;
    border-radius: 0 10px 10px 0;
    transition: all 0.2s ease;
}

.dashboard-sidebar .nav-link:hover,
.dashboard-sidebar .nav-link.active {
    background: var(--tertiary-bg);
    color: var(--accent-color);
    border-right: 3px solid var(--accent-color);
}

.dashboard-content {
    background: var(--primary-bg);
    min-height: 100vh;
    padding: 2rem;
}

.stats-card {
    background: var(--panel-bg);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
}

.stats-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-color);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.stats-card .stats-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.35rem;
    color: var(--primary-bg);
    box-shadow: 0 4px 16px var(--accent-glow);
}

.stats-card .stats-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.25rem;
}

.stats-card .stats-label {
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Network Tree */
.network-tree {
    background: var(--panel-bg);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    overflow-x: auto;
}

.network-node {
    background: var(--tertiary-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
    margin: 0.5rem;
    text-align: center;
    min-width: 150px;
    transition: all 0.2s ease;
}

.network-node:hover {
    border-color: var(--accent-color);
    transform: scale(1.02);
}

.network-node.active {
    border-color: var(--accent-color);
    background: rgba(0, 217, 165, 0.08);
}

/* Live Market Ticker – horizontal scroll bar */
.ticker-bar,
.ticker-strip {
    width: 100%;
    background: #0f172a;
    font-size: 14px;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.ticker-bar {
    margin-top: 0;
}

.ticker-track {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 0 1rem;
    animation: ticker-scroll 60s linear infinite;
    line-height: 1.4;
    will-change: transform;
}

.ticker-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    font-size: 14px;
    font-family: "Inter", sans-serif;
}

.ticker-pair {
    color: var(--text-secondary);
    font-weight: 500;
}

.ticker-price {
    color: var(--text-primary);
    font-weight: 600;
}

.ticker-change {
    font-size: 0.75rem;
    font-weight: 500;
}

.ticker-change.up {
    color: var(--success-color);
}

.ticker-change.down {
    color: var(--danger-color);
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Responsive – tablet: stack hero; mobile: 36px title, buttons stacked */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        min-height: auto;
        padding: 60px 20px 80px;
        gap: 48px;
    }
    .hero-left {
        max-width: 100%;
        text-align: center;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-cta {
        justify-content: center;
    }
    .hero-right {
        width: 100%;
    }
    .card-chart {
        max-width: 100%;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-wrapper {
        grid-template-columns: 1fr;
    }
    .education-wrapper {
        grid-template-columns: 1fr;
    }
    .education-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-hero .about-hero-container {
        padding: 60px 20px 80px;
    }
    .about-hero .col-lg-6.d-flex {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-container {
        padding: 40px 16px 60px;
    }
    .about-hero .about-hero-container {
        padding: 40px 16px 60px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .stats-grid {
        gap: 1.5rem;
    }
    .stat-value {
        font-size: 2.25rem;
    }
    .stat-suffix {
        font-size: 1.5rem;
    }
    .education-section {
        padding: 80px 16px;
    }
    .education-grid {
        gap: 20px;
    }
    .dashboard-sidebar { min-height: auto; }
    .dashboard-content { padding: 1rem; }
    .stats-card { margin-bottom: 1rem; }
}

@media (max-width: 576px) {
    .hero-container {
        padding: 32px 16px 48px;
        gap: 32px;
    }
    .hero-title {
        font-size: 36px;
    }
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    .about-hero .hero-buttons {
        flex-direction: column;
    }
    .about-hero .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    .card-chart {
        padding: 20px;
    }
    .card-chart-area {
        height: 200px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .education-grid {
        grid-template-columns: 1fr;
    }
    .package-card, .feature-card { margin-bottom: 2rem; }
}

/* Loading */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--accent-glow);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--secondary-bg); }
::-webkit-scrollbar-thumb {
    background: var(--tertiary-bg);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-color); }

/* Utilities */
.text-warning { color: var(--accent-color) !important; }
.bg-warning { background: var(--accent-color) !important; }
.border-warning { border-color: var(--accent-color) !important; }
.text-success { color: var(--success-color) !important; }
footer .hover-accent:hover { color: var(--accent-color) !important; }

.shadow-custom {
    box-shadow: var(--shadow);
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary-bg), var(--secondary-bg));
}

.gradient-accent {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
}

/* Additional styles for new pages */
.feature-showcase, .education-showcase, .investment-showcase {
    background: var(--secondary-bg);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.feature-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--primary-bg);
    box-shadow: 0 4px 12px rgba(240, 185, 11, 0.3);
}

.testimonial-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* About page hero – centered container, balanced two columns */
.about-hero .about-hero-container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 20px;
}

.about-hero .about-hero-row {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* About hero should be a proper 2-column grid on tablet+ */
@media (min-width: 768px) {
    .about-hero .about-hero-container {
        padding: 80px 16px;
    }

    .about-hero .about-hero-row {
        display: grid;
        grid-template-columns: 1.15fr 0.85fr;
        gap: 32px;
        align-items: center;
    }

    /* Neutralize any bootstrap/flex sizing from older rules */
    .about-hero .about-hero-row > .col-lg-6 {
        flex: initial;
        max-width: initial;
        width: 100%;
    }
}

.about-hero .col-lg-6:first-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-hero .lead {
    max-width: 600px;
    font-size: 1.06rem;
    line-height: 1.75;
    margin-bottom: 28px;
}

.about-hero .hero-buttons {
    display: flex;
    gap: 14px;
    margin-top: 0;
    flex-wrap: wrap;
}

/* Typography (premium sizing) */
.about-hero h1.display-4 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
}

/* Buttons (consistent padding + neon/green theme) */
.about-hero .hero-buttons .btn {
    padding: 14px 28px;
    border-radius: 14px;
    transition: all 0.3s ease;
}

/* Primary: green gradient */
.about-hero .hero-buttons .btn.btn-success {
    background: linear-gradient(135deg, #00ffa3, #00d98b) !important;
    border: 1px solid rgba(0, 255, 163, 0.35) !important;
    color: #02120c !important;
    box-shadow: 0 10px 30px rgba(0, 255, 163, 0.18);
}

.about-hero .hero-buttons .btn.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(0, 255, 163, 0.26);
}

/* Secondary: outlined with hover fill */
.about-hero .hero-buttons .btn.btn-outline-warning {
    border: 1px solid rgba(0, 255, 163, 0.55) !important;
    color: #e5e7eb !important;
    background: transparent !important;
}

.about-hero .hero-buttons .btn.btn-outline-warning:hover {
    background: linear-gradient(135deg, rgba(0, 255, 163, 0.14), rgba(0, 217, 139, 0.18)) !important;
    border-color: rgba(0, 255, 163, 0.9) !important;
    color: #02120c !important;
}

/* About hero card (Global Reach) – match feature card style */
.about-hero-card {
    background: rgba(18, 24, 38, 0.62) !important; /* glass base */
    border-radius: 16px;
    padding: 32px !important;
    border: 1px solid rgba(0, 255, 163, 0.16);
    transition: all 0.3s ease;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.about-hero-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 163, 0.45);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.5);
}

.about-hero-icon {
    width: 72px;
    height: 72px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 18px;
}

.about-hero-icon i {
    font-size: 28px;
}

.about-image {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.about-image img {
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* About hero: reduce forced min-height so there isn't extra empty space */
.about-hero {
    min-height: 0;
}

/* Background particles: make dots subtle and evenly distributed */
.about-hero::after {
    opacity: 0.08;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="44" height="44" patternUnits="userSpaceOnUse"><circle cx="22" cy="22" r="0.7" fill="%2300ffa3" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>') !important;
}

/* Tablet tweaks */
@media (max-width: 991.98px) {
    .about-hero h1.display-4 {
        font-size: 40px;
    }

    .about-hero .lead {
        max-width: 520px;
        font-size: 1.02rem;
        margin-bottom: 22px;
    }

    .about-hero .hero-buttons .btn {
        padding: 13px 22px;
    }
}

/* Mobile: stack + center */
@media (max-width: 767.98px) {
    .about-hero .about-hero-row {
        gap: 28px;
    }

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

    .about-hero .lead {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .about-hero .col-lg-6:first-child {
        justify-content: flex-start;
        align-items: center;
        text-align: center;
    }

    .about-hero .hero-buttons {
        justify-content: center;
    }

    .about-hero-card {
        margin-left: auto;
        margin-right: auto;
    }

    .about-hero .about-hero-container {
        padding: 70px 16px 60px;
    }
}

/* Enhanced package cards */
.package-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.package-card:hover::before {
    left: 100%;
}

.package-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Enhanced feature cards */
.feature-card {
    transition: all 0.3s ease;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card .feature-icon {
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Enhanced stats cards */
.stats-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stats-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.1), rgba(40, 167, 69, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stats-card:hover::after {
    opacity: 1;
}

.stats-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Enhanced testimonial cards */
.testimonial-card {
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-card .testimonial-author {
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-author {
    transform: scale(1.05);
}

/* Enhanced buttons */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* Enhanced alerts */
.alert {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.alert:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Enhanced tables */
.table {
    transition: all 0.3s ease;
}

.table:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.table tbody tr {
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background-color: rgba(240, 185, 11, 0.1);
    transform: scale(1.01);
}

/* Enhanced cards */
.card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--success-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Enhanced navigation */
.navbar-nav .nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Enhanced hero section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    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="dots" width="32" height="32" patternUnits="userSpaceOnUse"><circle cx="16" cy="16" r="0.8" fill="%2300ffa3" opacity="0.04"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    pointer-events: none;
    opacity: 0.2;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Enhanced sections */
section {
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 49%, rgba(240, 185, 11, 0.02) 50%, transparent 51%);
    pointer-events: none;
}

/* Enhanced footer */
footer {
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

/* Currency Pairs Styling */
.currency-pair-card {
    background: var(--secondary-bg);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.currency-pair-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--success-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.currency-pair-card:hover::before {
    transform: scaleX(1);
}

.currency-pair-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.currency-pair-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.currency-flags {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

.flag {
    width: 40px;
    height: 30px;
    border-radius: 5px;
    margin: 0 5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.flag-eu {
    background: linear-gradient(45deg, #003399 0%, #003399 50%, #FFCC00 50%, #FFCC00 100%);
}

.flag-us {
    background: linear-gradient(0deg, #B22234 0%, #B22234 7.7%, #FFFFFF 7.7%, #FFFFFF 15.4%, #B22234 15.4%, #B22234 23.1%, #FFFFFF 23.1%, #FFFFFF 30.8%, #B22234 30.8%, #B22234 38.5%, #FFFFFF 38.5%, #FFFFFF 46.2%, #B22234 46.2%, #B22234 53.9%, #FFFFFF 53.9%, #FFFFFF 61.6%, #B22234 61.6%, #B22234 69.3%, #FFFFFF 69.3%, #FFFFFF 77%, #B22234 77%, #B22234 84.7%, #FFFFFF 84.7%, #FFFFFF 92.4%, #B22234 92.4%, #B22234 100%);
}

.flag-gb {
    background: linear-gradient(45deg, #012169 0%, #012169 33%, #FFFFFF 33%, #FFFFFF 66%, #C8102E 66%, #C8102E 100%);
}

.flag-jp {
    background: radial-gradient(circle, #BC002D 30%, #FFFFFF 30%);
}

.flag-ch {
    background: linear-gradient(45deg, #FF0000 0%, #FF0000 100%);
}

.currency-separator {
    margin: 0 10px;
    color: var(--accent-color);
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.currency-pair-title {
    flex: 1;
}

.currency-pair-rank {
    position: absolute;
    top: -10px;
    right: -10px;
}

.currency-pair-body {
    position: relative;
}

.currency-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(240, 185, 11, 0.1);
    transform: translateY(-2px);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--primary-bg);
    font-size: 1.2rem;
}

.stat-content h6 {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.stat-content p {
    font-size: 1.1rem;
    font-weight: 600;
}

.currency-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: var(--primary-bg);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(240, 185, 11, 0.4);
}

/* Minor Currency Pairs */
.minor-pair-card {
    background: var(--secondary-bg);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.minor-pair-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.05), rgba(40, 167, 69, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.minor-pair-card:hover::before {
    opacity: 1;
}

.minor-pair-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

.pair-symbol {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.pair-name {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.pair-stats {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pair-stats .stat {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Enhanced Currency Pair Cards */
.eur-usd {
    border-left: 4px solid #28a745;
}

.gbp-usd {
    border-left: 4px solid #ffc107;
}

.usd-jpy {
    border-left: 4px solid #17a2b8;
}

.usd-chf {
    border-left: 4px solid #6c757d;
}

/* Additional Currency Pairs Section */
.additional-pairs-section {
    background: var(--secondary-bg);
    border-radius: 25px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.additional-pairs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--success-color), var(--accent-color));
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-header h3 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--accent-color), var(--success-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Enhanced Pair Cards */
.enhanced-pair-card {
    background: var(--primary-bg);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.enhanced-pair-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.05), rgba(40, 167, 69, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.enhanced-pair-card:hover::before {
    opacity: 1;
}

.enhanced-pair-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-color);
}

.pair-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.pair-flags {
    display: flex;
    align-items: center;
    margin-right: 1.5rem;
}

.currency-separator-small {
    margin: 0 8px;
    color: var(--accent-color);
    font-size: 1rem;
    animation: pulse 2s infinite;
}

.pair-info {
    flex: 1;
}

.pair-symbol {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.pair-name {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.pair-category {
    margin-top: 0.5rem;
}

.category-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-badge.commodity {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
}

.category-badge.oil {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
}

.category-badge.high-yield {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.category-badge.cross {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
}

.category-badge.carry {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.category-badge.volatile {
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: white;
}

.pair-body {
    position: relative;
}

.pair-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.pair-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.metric {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.metric::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.1), rgba(40, 167, 69, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.metric:hover::before {
    opacity: 1;
}

.metric:hover {
    background: rgba(240, 185, 11, 0.1);
    transform: translateY(-3px);
}

.metric-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    color: var(--primary-bg);
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.metric-content {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.metric-value {
    font-size: 1rem;
    color: var(--text-white);
    font-weight: 700;
}

.pair-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pair-features .feature-tag {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: var(--primary-bg);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pair-features .feature-tag:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(240, 185, 11, 0.5);
}

/* Additional Flag Styles */
.flag-au {
    background: linear-gradient(0deg, #012169 0%, #012169 50%, #FFFFFF 50%, #FFFFFF 100%);
}

.flag-ca {
    background: linear-gradient(0deg, #FF0000 0%, #FF0000 33%, #FFFFFF 33%, #FFFFFF 66%, #FF0000 66%, #FF0000 100%);
}

.flag-nz {
    background: linear-gradient(0deg, #012169 0%, #012169 50%, #FFFFFF 50%, #FFFFFF 100%);
}

/* Enhanced Pair Card Variants */
.aud-usd {
    border-left: 4px solid #ff6b35;
}

.usd-cad {
    border-left: 4px solid #2c3e50;
}

.nzd-usd {
    border-left: 4px solid #e74c3c;
}

.eur-gbp {
    border-left: 4px solid #9b59b6;
}

.eur-jpy {
    border-left: 4px solid #3498db;
}

.gbp-jpy {
    border-left: 4px solid #e67e22;
}

/* Investment Details Styling */
.investment-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.investment-detail-card {
    background: var(--primary-bg);
    border-radius: 25px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.investment-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--success-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.investment-detail-card:hover::before {
    transform: scaleX(1);
}

.investment-detail-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-color);
}

.detail-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}

.header-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    color: var(--primary-bg);
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(240, 185, 11, 0.3);
    transition: all 0.3s ease;
}

.investment-detail-card:hover .header-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 25px rgba(240, 185, 11, 0.5);
}

.header-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.header-content p {
    font-size: 1rem;
    opacity: 0.8;
}

.detail-card-body {
    position: relative;
}

/* Investment Breakdown */
.investment-breakdown {
    margin-bottom: 2rem;
}

.breakdown-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.breakdown-item {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 1.25rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.breakdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.1), rgba(40, 167, 69, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.breakdown-item:hover::before {
    opacity: 1;
}

.breakdown-item:hover {
    background: rgba(240, 185, 11, 0.1);
    transform: translateX(10px);
}

.breakdown-item.highlight {
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.2), rgba(40, 167, 69, 0.2));
    border: 1px solid var(--accent-color);
}

.breakdown-item.highlight:hover {
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.3), rgba(40, 167, 69, 0.3));
    transform: translateX(10px) scale(1.02);
}

.item-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--primary-bg);
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.item-content {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.item-label {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.item-value {
    font-size: 1.3rem;
    color: var(--text-white);
    font-weight: 700;
}

/* Benefits Section */
.benefits-section {
    margin-top: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(40, 167, 69, 0.1);
    transform: translateY(-3px);
}

.benefit-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--success-color), #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    color: white;
    font-size: 1rem;
}

.benefit-text {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Return Timeline */
.return-timeline {
    margin-bottom: 2rem;
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.timeline-item {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 1.25rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(240, 185, 11, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-item:hover::before {
    opacity: 1;
}

.timeline-item:hover {
    background: rgba(40, 167, 69, 0.1);
    transform: translateX(10px);
}

.timeline-item.highlight {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.2), rgba(240, 185, 11, 0.2));
    border: 1px solid var(--success-color);
}

.timeline-item.highlight:hover {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.3), rgba(240, 185, 11, 0.3));
    transform: translateX(10px) scale(1.02);
}

.timeline-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--success-color), #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.timeline-content {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.timeline-label {
    font-size: 0.9rem;
    color: var(--success-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.timeline-duration {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.timeline-amount {
    font-size: 1.3rem;
    color: var(--text-white);
    font-weight: 700;
}

/* Return Summary */
.return-summary {
    margin-top: 2rem;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-stat {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.summary-stat:hover {
    background: rgba(240, 185, 11, 0.1);
    transform: translateY(-3px);
}

.summary-stat.highlight {
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.2), rgba(40, 167, 69, 0.2));
    border: 1px solid var(--accent-color);
}

.summary-stat.highlight:hover {
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.3), rgba(40, 167, 69, 0.3));
    transform: translateY(-3px) scale(1.02);
}

.stat-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    color: var(--primary-bg);
    font-size: 1rem;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.1rem;
    color: var(--text-white);
    font-weight: 700;
}

.summary-note {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

/* Card Variants */
.joining-requirements {
    border-left: 5px solid var(--accent-color);
}

.return-schedule {
    border-left: 5px solid var(--success-color);
}

/* Disclaimer Table Section Styling */
.disclaimer-table-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 2rem;
}

.disclaimer-table-section {
    background: var(--primary-bg);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.disclaimer-table-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--success-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.disclaimer-table-section:hover::before {
    transform: scaleX(1);
}

.disclaimer-table-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-color);
}

.table-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.table-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    color: var(--primary-bg);
    font-size: 1.3rem;
    box-shadow: 0 8px 20px rgba(240, 185, 11, 0.3);
    transition: all 0.3s ease;
}

.disclaimer-table-section:hover .table-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 25px rgba(240, 185, 11, 0.5);
}

.table-header h4 {
    font-size: 1.4rem;
    margin: 0;
}

/* Table Styling */
.disclaimer-table {
    margin-bottom: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.disclaimer-table thead th {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    border: none;
    padding: 1.2rem 1rem;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.disclaimer-table thead th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--success-color));
}

.disclaimer-table tbody tr {
    transition: all 0.3s ease;
    border: none;
}

.disclaimer-table tbody tr:hover {
    background: rgba(0, 0, 0, 0.3);
    transform: scale(1.01);
}

.disclaimer-table tbody td {
    padding: 1.5rem 1rem;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: middle;
    position: relative;
}

.disclaimer-table tbody tr:last-child td {
    border-bottom: none;
}

/* Risk Warning Table */
.risk-type-content,
.term-category-content,
.contact-type-content,
.notice-type-content {
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.risk-type-content i,
.term-category-content i,
.contact-type-content i,
.notice-type-content i {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.risk-description,
.term-description,
.contact-details,
.notice-information {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e9ecef;
}

.risk-mitigation,
.term-notes,
.contact-availability,
.notice-compliance {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #adb5bd;
    font-style: italic;
}

/* Specific Table Colors */
.disclaimer-table-section:nth-child(1) .table-icon {
    background: linear-gradient(135deg, #ffc107, #e0a800);
}

.disclaimer-table-section:nth-child(2) .table-icon {
    background: linear-gradient(135deg, #17a2b8, #138496);
}

.disclaimer-table-section:nth-child(3) .table-icon {
    background: linear-gradient(135deg, #28a745, #1e7e34);
}

.disclaimer-table-section:nth-child(4) .table-icon {
    background: linear-gradient(135deg, #6c757d, #5a6268);
}

/* Table Row Hover Effects */
.disclaimer-table tbody tr::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.05), rgba(40, 167, 69, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.disclaimer-table tbody tr:hover::before {
    opacity: 1;
}

.disclaimer-table tbody td {
    position: relative;
    z-index: 1;
}

/* Enhanced Table Responsiveness */
.table-responsive {
    border-radius: 15px;
    overflow: hidden;
}

/* Table Cell Content Styling */
.disclaimer-table td strong {
    color: #ffffff;
    font-weight: 600;
}

.disclaimer-table td small {
    color: #6c757d;
    font-size: 0.8rem;
}

/* Icon Styling in Tables */
.disclaimer-table .fa-clock {
    color: #17a2b8;
}

.disclaimer-table .fa-clock.text-success {
    color: #28a745;
}

.disclaimer-table .fa-clock.text-warning {
    color: #ffc107;
}

.disclaimer-table .fa-clock.text-info {
    color: #17a2b8;
}

/* Home Page Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(240, 185, 11, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(240, 185, 11, 0.8), 0 0 30px rgba(240, 185, 11, 0.6);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes wiggle {
    0%, 7% {
        transform: rotateZ(0);
    }
    15% {
        transform: rotateZ(-15deg);
    }
    20% {
        transform: rotateZ(10deg);
    }
    25% {
        transform: rotateZ(-10deg);
    }
    30% {
        transform: rotateZ(6deg);
    }
    35% {
        transform: rotateZ(-4deg);
    }
    40%, 100% {
        transform: rotateZ(0);
    }
}

/* Hero Section Animations */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
    animation: fadeInUp 2s ease-out;
}

.hero-section h1 {
    animation: fadeInLeft 1s ease-out 0.5s both;
}

.hero-section p {
    animation: fadeInLeft 1s ease-out 0.7s both;
}

.hero-section .btn {
    animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-section .row.text-center {
    animation: fadeInUp 1s ease-out 1.1s both;
}

/* Logo Animation */
.logo-icon {
    animation: bounceIn 1s ease-out 0.3s both;
}

.logo-icon:hover {
    animation: wiggle 0.5s ease-in-out;
}

/* Feature Box Animations */
.feature-box {
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out both;
}

.feature-box:nth-child(1) { animation-delay: 0.1s; }
.feature-box:nth-child(2) { animation-delay: 0.2s; }
.feature-box:nth-child(3) { animation-delay: 0.3s; }
.feature-box:nth-child(4) { animation-delay: 0.4s; }
.feature-box:nth-child(5) { animation-delay: 0.5s; }
.feature-box:nth-child(6) { animation-delay: 0.6s; }

.feature-box:hover {
    transform: translateY(-10px) scale(1.05);
    animation: pulse 2s infinite;
}

.feature-box i {
    transition: all 0.3s ease;
}

.feature-box:hover i {
    animation: float 2s ease-in-out infinite;
    color: var(--accent-color) !important;
}

/* Card Animations */
.card {
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out both;
}

.card:nth-child(1) { animation-delay: 0.2s; }
.card:nth-child(2) { animation-delay: 0.4s; }

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: glow 2s ease-in-out infinite;
}

.card-header {
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.card:hover .card-header::before {
    left: 100%;
}

/* Testimonial Animations */
.testimonial-card {
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out both;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.3s; }
.testimonial-card:nth-child(3) { animation-delay: 0.5s; }

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-avatar {
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-avatar {
    animation: float 2s ease-in-out infinite;
}

/* Button Animations */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-success:hover {
    animation: pulse 1s ease-in-out;
}

.btn-warning:hover {
    animation: glow 1s ease-in-out infinite;
}

/* Navigation Animations */
.navbar {
    transition: all 0.3s ease;
}

.navbar-brand {
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    animation: pulse 0.5s ease-in-out;
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-link:hover {
    transform: translateY(-2px);
    color: var(--accent-color) !important;
}

/* Statistics Counter Animation */
.hero-section .col-4 h3 {
    animation: fadeInUp 1s ease-out both;
}

.hero-section .col-4:nth-child(1) h3 { animation-delay: 1.3s; }
.hero-section .col-4:nth-child(2) h3 { animation-delay: 1.5s; }
.hero-section .col-4:nth-child(3) h3 { animation-delay: 1.7s; }

.hero-section .col-4 small {
    animation: fadeInUp 1s ease-out both;
}

.hero-section .col-4:nth-child(1) small { animation-delay: 1.4s; }
.hero-section .col-4:nth-child(2) small { animation-delay: 1.6s; }
.hero-section .col-4:nth-child(3) small { animation-delay: 1.8s; }

/* Trading Chart Animation */
.trading-chart-container {
    animation: fadeInRight 1s ease-out 0.8s both;
    position: relative;
}

.trading-chart-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, var(--accent-color), var(--success-color));
    border-radius: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s both;
    z-index: -1;
}

.trading-chart-container:hover::before {
    opacity: 0.1;
    animation: pulse 2s ease-in-out infinite;
}

/* Section Title Animations */
section h2 {
    animation: slideInDown 1s ease-out both;
}

section p {
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Footer Animations */
footer {
    position: relative;
}

footer .col-lg-4,
footer .col-lg-2 {
    animation: fadeInUp 0.8s ease-out both;
}

footer .col-lg-4:nth-child(1) { animation-delay: 0.1s; }
footer .col-lg-2:nth-child(2) { animation-delay: 0.2s; }
footer .col-lg-2:nth-child(3) { animation-delay: 0.3s; }
footer .col-lg-4:nth-child(4) { animation-delay: 0.4s; }

.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.2);
    animation: bounceIn 0.5s ease-in-out;
}

/* Call to Action Animations */
.bg-warning {
    position: relative;
    overflow: hidden;
}

.bg-warning::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

.bg-warning h2 {
    animation: fadeInUp 1s ease-out both;
}

.bg-warning p {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.bg-warning .btn {
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    animation: rotate 1s linear infinite;
}

/* Hover Effects for Interactive Elements */
.feature-box,
.card,
.testimonial-card,
.btn {
    cursor: pointer;
}

/* Staggered Animation for Lists */
ul li {
    animation: fadeInLeft 0.5s ease-out both;
}

ul li:nth-child(1) { animation-delay: 0.1s; }
ul li:nth-child(2) { animation-delay: 0.2s; }
ul li:nth-child(3) { animation-delay: 0.3s; }
ul li:nth-child(4) { animation-delay: 0.4s; }

/* Leverage and Margin Section Styling */
.leverage-margin-container {
    background: var(--primary-bg);
    border-radius: 25px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.leverage-margin-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--success-color), var(--info-color));
    animation: shimmer 3s ease-in-out infinite;
}

.leverage-header {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.header-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2rem;
    color: var(--primary-bg);
    font-size: 1.8rem;
    box-shadow: 0 10px 25px rgba(240, 185, 11, 0.3);
    transition: all 0.3s ease;
}

.leverage-margin-container:hover .header-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(240, 185, 11, 0.5);
}

.header-content h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.header-content p {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Interactive Calculator */
.leverage-calculator {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(240, 185, 11, 0.2);
    position: relative;
    overflow: hidden;
}

.leverage-calculator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.05), rgba(40, 167, 69, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.leverage-calculator:hover::before {
    opacity: 1;
}

.calculator-header h5 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.calculator-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.calculator-input {
    position: relative;
    z-index: 1;
}

.calculator-input label {
    font-weight: 600;
    font-size: 0.95rem;
}

.calculator-input .form-control,
.calculator-input .form-select {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    color: white;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.calculator-input .form-control:focus,
.calculator-input .form-select:focus {
    background: rgba(0, 0, 0, 0.7);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(240, 185, 11, 0.25);
    color: white;
}

.calculator-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.result-item {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(240, 185, 11, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.result-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.1), rgba(40, 167, 69, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.result-item:hover::before {
    opacity: 1;
}

.result-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.result-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--primary-bg);
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.result-content {
    position: relative;
    z-index: 1;
}

.result-label {
    display: block;
    font-size: 0.9rem;
    color: #adb5bd;
    margin-bottom: 0.25rem;
}

.result-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
}

/* Leverage Cards */
.leverage-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.leverage-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.leverage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--success-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.leverage-card:hover::before {
    transform: scaleX(1);
}

.leverage-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-color);
}

.leverage-card-primary {
    border-left: 5px solid var(--accent-color);
}

.leverage-card-secondary {
    border-left: 5px solid var(--info-color);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    color: white;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.leverage-card-primary .card-icon {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
}

.leverage-card-secondary .card-icon {
    background: linear-gradient(135deg, var(--info-color), #138496);
}

.card-title h5 {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
}

.card-title p {
    font-size: 0.95rem;
    opacity: 0.8;
}

.card-body {
    position: relative;
    z-index: 1;
}

.card-body p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Leverage Example */
.leverage-example {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(240, 185, 11, 0.2);
}

.example-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.example-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.example-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.example-item:hover {
    background: rgba(240, 185, 11, 0.1);
    transform: translateX(5px);
}

.example-item.highlight {
    background: rgba(240, 185, 11, 0.2);
    border: 1px solid var(--accent-color);
}

.example-label {
    font-size: 0.9rem;
    color: #adb5bd;
}

.example-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-color);
}

/* Margin Examples */
.margin-examples {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(23, 162, 184, 0.2);
}

.margin-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.margin-item {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.margin-item:hover {
    background: rgba(23, 162, 184, 0.1);
    border-color: var(--info-color);
    transform: translateY(-5px);
}

.margin-ratio {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--info-color);
    margin-bottom: 0.5rem;
}

.margin-leverage {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff !important;
    margin-bottom: 0.5rem;
}

.margin-risk {
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
    color: #ffffff !important;
}

.margin-item:nth-child(1) .margin-risk {
    background: rgba(40, 167, 69, 0.2);
    color: var(--success-color) !important;
}

.margin-item:nth-child(2) .margin-risk {
    background: rgba(23, 162, 184, 0.2);
    color: var(--info-color) !important;
}

.margin-item:nth-child(3) .margin-risk {
    background: rgba(255, 193, 7, 0.2);
    color: var(--accent-color) !important;
}

.margin-item:nth-child(4) .margin-risk {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545 !important;
}

/* Risk Warning */
.leverage-warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.leverage-warning::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.05), rgba(255, 193, 7, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.leverage-warning:hover::before {
    opacity: 1;
}

.warning-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.warning-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffc107, #e0a800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--primary-bg);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.warning-content {
    position: relative;
    z-index: 1;
}

.warning-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.warning-content ul {
    padding-left: 1.5rem;
}

.warning-content li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Types of Stop Losses Section Styling */
.stop-loss-container {
    background: var(--primary-bg);
    border-radius: 25px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.stop-loss-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--success-color), var(--info-color));
    animation: shimmer 3s ease-in-out infinite;
}

.stop-loss-header {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.stop-loss-header .header-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2rem;
    color: var(--primary-bg);
    font-size: 1.8rem;
    box-shadow: 0 10px 25px rgba(240, 185, 11, 0.3);
    transition: all 0.3s ease;
}

.stop-loss-container:hover .header-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(240, 185, 11, 0.5);
}

.stop-loss-header .header-content h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #ffffff !important;
}

.stop-loss-header .header-content p {
    font-size: 1.1rem;
    opacity: 0.8;
    color: #e9ecef !important;
}

/* Stop Loss Grid */
.stop-loss-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.stop-loss-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stop-loss-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--success-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stop-loss-card:hover::before {
    transform: scaleX(1);
}

.stop-loss-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-color);
}

.stop-loss-fixed {
    border-left: 5px solid var(--success-color);
}

.stop-loss-trailing {
    border-left: 5px solid var(--info-color);
}

.stop-loss-percentage {
    border-left: 5px solid var(--accent-color);
}

.stop-loss-card .card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.stop-loss-card .card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    color: white;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.stop-loss-fixed .card-icon {
    background: linear-gradient(135deg, var(--success-color), #1e7e34);
}

.stop-loss-trailing .card-icon {
    background: linear-gradient(135deg, var(--info-color), #138496);
}

.stop-loss-percentage .card-icon {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
}

.stop-loss-card .card-title h5 {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
    color: #ffffff !important;
}

.stop-loss-card .card-title p {
    font-size: 0.95rem;
    opacity: 0.8;
    color: #e9ecef !important;
}

.stop-loss-card .card-body {
    position: relative;
    z-index: 1;
}

.stop-loss-card .card-body p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #e9ecef !important;
}

/* Stop Loss Features */
.stop-loss-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: translateX(5px);
}

.feature-item span {
    color: #e9ecef !important;
    font-size: 0.9rem;
}

/* Stop Loss Comparison */
.stop-loss-comparison {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(240, 185, 11, 0.2);
    position: relative;
    overflow: hidden;
}

.stop-loss-comparison::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.05), rgba(40, 167, 69, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stop-loss-comparison:hover::before {
    opacity: 1;
}

.comparison-header h5 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #ffc107 !important;
}

.comparison-table {
    position: relative;
    z-index: 1;
}

.comparison-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.comparison-row.header {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(240, 185, 11, 0.3);
}

.comparison-row:not(.header) {
    background: rgba(0, 0, 0, 0.2);
}

.comparison-row:not(.header):hover {
    background: rgba(0, 0, 0, 0.4);
    transform: translateX(5px);
}

.comparison-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.comparison-cell span {
    font-size: 0.9rem;
    font-weight: 500;
}

.comparison-cell .text-white {
    color: #ffffff !important;
}

.comparison-cell .text-light {
    color: #e9ecef !important;
}

.comparison-cell .text-success {
    color: #28a745 !important;
}

.comparison-cell .text-info {
    color: #17a2b8 !important;
}

.comparison-cell .text-warning {
    color: #ffc107 !important;
}

/* Bull and Bear Markets Section Styling */
.bull-bear-container {
    background: var(--primary-bg);
    border-radius: 25px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.bull-bear-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--success-color), var(--danger-color), var(--accent-color));
    animation: shimmer 3s ease-in-out infinite;
}

.bull-bear-header {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.bull-bear-header .header-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2rem;
    color: var(--primary-bg);
    font-size: 1.8rem;
    box-shadow: 0 10px 25px rgba(240, 185, 11, 0.3);
    transition: all 0.3s ease;
}

.bull-bear-container:hover .header-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(240, 185, 11, 0.5);
}

.bull-bear-header .header-content h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #ffffff !important;
}

.bull-bear-header .header-content p {
    font-size: 1.1rem;
    opacity: 0.8;
    color: #e9ecef !important;
}

/* Market Types Grid */
.market-types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.market-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.market-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.bull-market::before {
    background: linear-gradient(90deg, var(--success-color), #1e7e34);
}

.bear-market::before {
    background: linear-gradient(90deg, var(--danger-color), #c82333);
}

.market-card:hover::before {
    transform: scaleX(1);
}

.market-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.bull-market {
    border-left: 5px solid var(--success-color);
}

.bear-market {
    border-left: 5px solid var(--danger-color);
}

.market-card .market-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.market-card .market-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    color: white;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.bull-market .market-icon {
    background: linear-gradient(135deg, var(--success-color), #1e7e34);
}

.bear-market .market-icon {
    background: linear-gradient(135deg, var(--danger-color), #c82333);
}

.market-card .market-title h5 {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
    color: #ffffff !important;
}

.market-card .market-title p {
    font-size: 0.95rem;
    opacity: 0.8;
    color: #e9ecef !important;
}

.market-card .market-body {
    position: relative;
    z-index: 1;
}

.market-card .market-body p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #e9ecef !important;
}

/* Market Characteristics */
.market-characteristics {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.characteristic-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.characteristic-item:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: translateX(5px);
}

.char-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.bull-market .char-icon {
    background: rgba(40, 167, 69, 0.2);
    color: var(--success-color);
}

.bear-market .char-icon {
    background: rgba(220, 53, 69, 0.2);
    color: var(--danger-color);
}

.char-content {
    display: flex;
    flex-direction: column;
}

.char-label {
    font-size: 0.85rem;
    color: #adb5bd !important;
    margin-bottom: 0.25rem;
}

.char-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff !important;
}

/* Market Strategy */
.market-strategy {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.market-strategy h6 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.market-strategy p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
    color: #e9ecef !important;
}

/* Market Comparison */
.market-comparison {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(240, 185, 11, 0.2);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.market-comparison::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.05), rgba(40, 167, 69, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.market-comparison:hover::before {
    opacity: 1;
}

.comparison-header h5 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #ffc107 !important;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.comparison-item {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.comparison-item:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: translateY(-5px);
}

.comparison-label {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.comparison-label span {
    color: #ffffff !important;
}

.comparison-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-tag.success {
    background: rgba(40, 167, 69, 0.2);
    color: var(--success-color);
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.feature-tag.danger {
    background: rgba(220, 53, 69, 0.2);
    color: var(--danger-color);
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.feature-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Trading Insights */
.trading-insights {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(17, 162, 184, 0.2);
    position: relative;
    overflow: hidden;
}

.trading-insights::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(17, 162, 184, 0.05), rgba(240, 185, 11, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trading-insights:hover::before {
    opacity: 1;
}

.insights-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.insights-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--info-color), #138496);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.3rem;
    box-shadow: 0 8px 20px rgba(17, 162, 184, 0.3);
}

.insights-header h6 {
    font-size: 1.2rem;
    color: #ffc107 !important;
}

.insights-content {
    position: relative;
    z-index: 1;
}

.insights-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #e9ecef !important;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.insight-item {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.insight-item:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.insight-item .insight-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.insight-item .insight-content h6 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: #ffffff !important;
}

.insight-item .insight-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
    color: #e9ecef !important;
}

/* Responsive enhancements */
@media (max-width: 768px) {
    .feature-icon-large {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .package-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .stats-card:hover {
        transform: translateY(-3px) scale(1.02);
    }
    
    .currency-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .currency-pair-header {
        flex-direction: column;
        text-align: center;
    }
    
    .currency-flags {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .currency-pair-rank {
        position: static;
        margin-top: 1rem;
    }
    
    .currency-pair-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .minor-pair-card:hover {
        transform: translateY(-3px) scale(1.02);
    }
    
    /* Enhanced Pairs Responsive */
    .additional-pairs-section {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .section-header h3 {
        font-size: 2rem;
    }
    
    .pairs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .enhanced-pair-card {
        padding: 1.25rem;
    }
    
    .enhanced-pair-card:hover {
        transform: translateY(-8px) scale(1.02);
    }
    
    .pair-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1.25rem;
    }
    
    .pair-flags {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .pair-metrics {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .pair-symbol {
        font-size: 1.5rem;
    }
    
    .metric {
        padding: 0.75rem;
    }
    
    .metric-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .additional-pairs-section {
        padding: 1rem;
    }
    
    .section-header h3 {
        font-size: 1.75rem;
    }
    
    .enhanced-pair-card {
        padding: 1rem;
    }
    
    .pair-symbol {
        font-size: 1.25rem;
    }
    
    .pair-name {
        font-size: 0.9rem;
    }
    
    .pair-description {
        font-size: 0.85rem;
    }
    
    .metric {
        padding: 0.5rem;
    }
    
    .metric-icon {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
    
    .metric-label {
        font-size: 0.7rem;
    }
    
    .metric-value {
        font-size: 0.9rem;
    }
    
    .feature-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    /* Investment Details Responsive */
    .investment-details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .investment-detail-card {
        padding: 1.5rem;
    }
    
    .investment-detail-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .detail-card-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .header-icon {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .header-content h4 {
        font-size: 1.25rem;
    }
    
    .breakdown-items {
        gap: 0.75rem;
    }
    
    .breakdown-item {
        padding: 1rem;
    }
    
    .breakdown-item:hover {
        transform: translateX(5px);
    }
    
    .item-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .item-value {
        font-size: 1.1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .benefit-item {
        padding: 0.75rem;
    }
    
    .benefit-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .timeline-items {
        gap: 0.75rem;
    }
    
    .timeline-item {
        padding: 1rem;
    }
    
    .timeline-item:hover {
        transform: translateX(5px);
    }
    
    .timeline-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .timeline-amount {
        font-size: 1.1rem;
    }
    
    .summary-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .summary-stat {
        padding: 0.75rem;
    }
    
    .stat-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .stat-value {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .investment-detail-card {
        padding: 1rem;
    }
    
    .header-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .header-content h4 {
        font-size: 1.1rem;
    }
    
    .breakdown-item {
        padding: 0.75rem;
    }
    
    .item-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .item-label {
        font-size: 0.8rem;
    }
    
    .item-value {
        font-size: 1rem;
    }
    
    .benefit-item {
        padding: 0.5rem;
    }
    
    .benefit-icon {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
    
    .benefit-text {
        font-size: 0.8rem;
    }
    
    .timeline-item {
        padding: 0.75rem;
    }
    
    .timeline-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .timeline-label {
        font-size: 0.8rem;
    }
    
    .timeline-duration {
        font-size: 0.7rem;
    }
    
    .timeline-amount {
        font-size: 1rem;
    }
    
    .summary-stat {
        padding: 0.5rem;
    }
    
    .stat-icon {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .stat-value {
        font-size: 0.9rem;
    }
    
    /* Disclaimer Table Responsive */
    .disclaimer-table-container {
        gap: 2rem;
    }
    
    .disclaimer-table-section {
        padding: 1.5rem;
    }
    
    .disclaimer-table-section:hover {
        transform: translateY(-3px);
    }
    
    .table-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .table-icon {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .table-header h4 {
        font-size: 1.2rem;
    }
    
    .disclaimer-table thead th {
        padding: 1rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .disclaimer-table tbody td {
        padding: 1.2rem 0.75rem;
    }
    
    .risk-type-content,
    .term-category-content,
    .contact-type-content,
    .notice-type-content {
        font-size: 0.9rem;
    }
    
    .risk-type-content i,
    .term-category-content i,
    .contact-type-content i,
    .notice-type-content i {
        font-size: 1.1rem;
    }
    
    .risk-description,
    .term-description,
    .contact-details,
    .notice-information {
        font-size: 0.9rem;
    }
    
    .risk-mitigation,
    .term-notes,
    .contact-availability,
    .notice-compliance {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .disclaimer-table-section {
        padding: 1rem;
    }
    
    .table-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .table-header h4 {
        font-size: 1.1rem;
    }
    
    .disclaimer-table thead th {
        padding: 0.8rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .disclaimer-table tbody td {
        padding: 1rem 0.5rem;
    }
    
    .risk-type-content,
    .term-category-content,
    .contact-type-content,
    .notice-type-content {
        font-size: 0.85rem;
    }
    
    .risk-type-content i,
    .term-category-content i,
    .contact-type-content i,
    .notice-type-content i {
        font-size: 1rem;
    }
    
    .risk-description,
    .term-description,
    .contact-details,
    .notice-information {
        font-size: 0.85rem;
    }
    
    .risk-mitigation,
    .term-notes,
    .contact-availability,
    .notice-compliance {
        font-size: 0.8rem;
    }
    
    .disclaimer-table td strong {
        font-size: 0.9rem;
    }
    
    .disclaimer-table td small {
        font-size: 0.75rem;
    }
    
    /* Leverage and Margin Responsive */
    .leverage-margin-container {
        padding: 1.5rem;
    }
    
    .leverage-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .header-icon {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .header-content h4 {
        font-size: 1.5rem;
    }
    
    .header-content p {
        font-size: 1rem;
    }
    
    .leverage-calculator {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .calculator-results {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .result-item {
        padding: 1rem;
    }
    
    .result-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .result-value {
        font-size: 1.1rem;
    }
    
    .leverage-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .leverage-card {
        padding: 1.5rem;
    }
    
    .card-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .card-icon {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .card-title h5 {
        font-size: 1.2rem;
    }
    
    .margin-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .leverage-warning {
        padding: 1.5rem;
    }
    
    .warning-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .warning-icon {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .leverage-margin-container {
        padding: 1rem;
    }
    
    .header-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .header-content h4 {
        font-size: 1.3rem;
    }
    
    .header-content p {
        font-size: 0.9rem;
    }
    
    .leverage-calculator {
        padding: 1rem;
    }
    
    .calculator-header h5 {
        font-size: 1.1rem;
    }
    
    .result-item {
        padding: 0.75rem;
    }
    
    .result-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .result-label {
        font-size: 0.8rem;
    }
    
    .result-value {
        font-size: 1rem;
    }
    
    .leverage-card {
        padding: 1rem;
    }
    
    .card-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .card-title h5 {
        font-size: 1.1rem;
    }
    
    .card-body p {
        font-size: 0.9rem;
    }
    
    .leverage-example,
    .margin-examples {
        padding: 1rem;
    }
    
    .example-item {
        padding: 0.5rem;
    }
    
    .example-label {
        font-size: 0.8rem;
    }
    
    .example-value {
        font-size: 0.9rem;
    }
    
    .margin-ratio {
        font-size: 1.3rem;
    }
    
    .margin-leverage {
        font-size: 0.9rem;
    }
    
    .margin-risk {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
    
    .leverage-warning {
        padding: 1rem;
    }
    
    .warning-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .warning-content p {
        font-size: 0.9rem;
    }
    
    .warning-content li {
        font-size: 0.85rem;
    }
    
    /* Stop Losses Responsive */
    .stop-loss-container {
        padding: 1.5rem;
    }
    
    .stop-loss-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .stop-loss-header .header-icon {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .stop-loss-header .header-content h4 {
        font-size: 1.5rem;
    }
    
    .stop-loss-header .header-content p {
        font-size: 1rem;
    }
    
    .stop-loss-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .stop-loss-card {
        padding: 1.5rem;
    }
    
    .stop-loss-card .card-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .stop-loss-card .card-icon {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .stop-loss-card .card-title h5 {
        font-size: 1.2rem;
    }
    
    .stop-loss-comparison {
        padding: 1.5rem;
    }
    
    .comparison-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }
    
    .comparison-cell {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .stop-loss-container {
        padding: 1rem;
    }
    
    .stop-loss-header .header-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .stop-loss-header .header-content h4 {
        font-size: 1.3rem;
    }
    
    .stop-loss-header .header-content p {
        font-size: 0.9rem;
    }
    
    .stop-loss-card {
        padding: 1rem;
    }
    
    .stop-loss-card .card-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .stop-loss-card .card-title h5 {
        font-size: 1.1rem;
    }
    
    .stop-loss-card .card-body p {
        font-size: 0.9rem;
    }
    
    .feature-item {
        padding: 0.5rem;
    }
    
    .feature-item span {
        font-size: 0.8rem;
    }
    
    .stop-loss-comparison {
        padding: 1rem;
    }
    
    .comparison-header h5 {
        font-size: 1.1rem;
    }
    
    .comparison-cell span {
        font-size: 0.8rem;
    }
    
    /* Bull and Bear Markets Responsive */
    .bull-bear-container {
        padding: 1.5rem;
    }
    
    .bull-bear-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .bull-bear-header .header-icon {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .bull-bear-header .header-content h4 {
        font-size: 1.5rem;
    }
    
    .bull-bear-header .header-content p {
        font-size: 1rem;
    }
    
    .market-types-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .market-card {
        padding: 1.5rem;
    }
    
    .market-card .market-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .market-card .market-icon {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .market-card .market-title h5 {
        font-size: 1.2rem;
    }
    
    .characteristic-item {
        padding: 0.75rem;
    }
    
    .char-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .char-label {
        font-size: 0.8rem;
    }
    
    .char-value {
        font-size: 0.9rem;
    }
    
    .market-strategy {
        padding: 1rem;
    }
    
    .market-strategy h6 {
        font-size: 0.95rem;
    }
    
    .market-strategy p {
        font-size: 0.85rem;
    }
    
    .market-comparison {
        padding: 1.5rem;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .comparison-item {
        padding: 1rem;
    }
    
    .comparison-label {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .trading-insights {
        padding: 1.5rem;
    }
    
    .insights-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .insights-icon {
        margin-right: 0;
        margin-bottom: 0.75rem;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .insights-header h6 {
        font-size: 1.1rem;
    }
    
    .insights-content p {
        font-size: 0.9rem;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .insight-item {
        padding: 1rem;
    }
    
    .insight-item .insight-icon {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .insight-item .insight-content h6 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .insight-item .insight-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .bull-bear-container {
        padding: 1rem;
    }
    
    .bull-bear-header .header-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .bull-bear-header .header-content h4 {
        font-size: 1.3rem;
    }
    
    .bull-bear-header .header-content p {
        font-size: 0.9rem;
    }
    
    .market-card {
        padding: 1rem;
    }
    
    .market-card .market-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .market-card .market-title h5 {
        font-size: 1.1rem;
    }
    
    .market-card .market-body p {
        font-size: 0.9rem;
    }
    
    .characteristic-item {
        padding: 0.5rem;
    }
    
    .char-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
        margin-right: 0.75rem;
    }
    
    .char-label {
        font-size: 0.75rem;
    }
    
    .char-value {
        font-size: 0.85rem;
    }
    
    .market-strategy {
        padding: 0.75rem;
    }
    
    .market-strategy h6 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .market-strategy p {
        font-size: 0.8rem;
    }
    
    .market-comparison {
        padding: 1rem;
    }
    
    .comparison-header h5 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .comparison-item {
        padding: 0.75rem;
    }
    
    .comparison-label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-tag {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .trading-insights {
        padding: 1rem;
    }
    
    .insights-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .insights-header h6 {
        font-size: 1rem;
    }
    
    .insights-content p {
        font-size: 0.85rem;
    }
    
    .insight-item {
        padding: 0.75rem;
    }
    
    .insight-item .insight-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .insight-item .insight-content h6 {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .insight-item .insight-content p {
        font-size: 0.8rem;
    }
}
