:root {
    --bg-dark: #000000;
    --bg-card: #070d14;
    --bg-card-hover: #0c1420;
    --cyan-primary: #2fe6de;
    --cyan-glow: rgba(47, 230, 222, 0.2);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --green-positive: #10b981;
    --red-negative: #f43f5e;
    --border-color: rgba(255, 255, 255, 0.08);
}

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

html {
    background-color: #000000;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #000000;
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.text-cyan {
    color: var(--cyan-primary);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: all 0.3s ease;
}

.btn-cyan {
    background-color: var(--cyan-primary);
    color: #000;
}

.btn-cyan:hover {
    background-color: #21b3b0;
    box-shadow: 0 0 15px var(--cyan-glow);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    background-color: rgba(255,255,255,0.05);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.ticker-wrap {
    background-color: #0b0e14;
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    font-size: 0.85rem;
    position: relative;
    z-index: 100;
}

.ticker-content {
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
    padding: 8px 0;
}

.ticker-move {
    display: flex;
    white-space: nowrap;
    animation: ticker 60s linear infinite;
}

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

.ticker-card {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    margin-right: 10px;
    border-radius: 6px;
    gap: 12px;
}
.ticker-card.card-up {
    background-color: rgba(0, 192, 118, 0.02);
    border: 1px solid rgba(0, 192, 118, 0.15);
}
.ticker-card.card-down {
    background-color: rgba(255, 77, 79, 0.02);
    border: 1px solid rgba(255, 77, 79, 0.15);
}

.t-sym {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.t-sym strong { color: #fff; font-size: 0.9rem; font-weight: 600; }
.t-sym span { color: var(--text-secondary); font-size: 0.7rem; }

.t-div {
    width: 1px;
    height: 24px;
    background-color: rgba(255,255,255,0.08);
}

.t-price {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

.t-badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}
.t-badge.up { background-color: rgba(0, 192, 118, 0.1); color: var(--green-positive); }
.t-badge.down { background-color: rgba(255, 77, 79, 0.1); color: var(--red-negative); }

.t-vol {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.ticker-meta {
    padding: 8px 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    color: var(--text-secondary);
    background-color: #0b0e14;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 2;
    font-size: 0.85rem;
}

.market-status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px;
}

/* 2. Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 99;
    background-color: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.98);
    border-bottom: 1px solid rgba(47, 230, 222, 0.2);
}

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--cyan-primary);
    text-decoration: none;
    white-space: nowrap;
}

.logo-icon-box {
    width: 26px;
    height: 26px;
    border: 2px solid var(--cyan-primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-left-color: transparent;
    flex-shrink: 0;
}

.logo-icon-box .fa-chart-simple {
    color: var(--cyan-primary);
    font-size: 0.75rem !important;
    margin-top: 1px;
}

.logo-icon-box .fa-location-arrow {
    color: var(--cyan-primary);
    position: absolute;
    top: -3px;
    right: -3px;
    font-size: 0.45rem !important;
    transform: rotate(45deg);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    cursor: pointer;
}

.nav-link:hover {
    color: var(--cyan-primary);
}

.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-width: 150px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-primary);
}

.dropdown-menu a:hover {
    background-color: rgba(255,255,255,0.05);
    color: var(--cyan-primary);
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 3. Hero Slider */
.hero-section {
    position: relative;
    padding: 8rem 2rem;
    text-align: center;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--cyan-glow) 0%, rgba(8,12,20,0) 70%);
    z-index: -1;
}

.hero-slider {
    position: relative;
    max-width: 800px;
    width: 100%;
}

.slide {
    display: none;
    animation: fadein 0.8s ease;
}

.slide.active {
    display: block;
}

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

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .text-cyan {
    display: block;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--cyan-primary);
}

/* 4. Stats Bar */
.stats-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin: -4rem auto 4rem auto;
    max-width: 1000px;
    position: relative;
    z-index: 10;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--cyan-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* 5. CEO Section */
.ceo-section {
    position: relative;
    width: 100%;
    height: 500px;
    background-color: var(--bg-card);
    /* background-image: url('../images/landing/ceo-larry.jpg'); */
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    padding: 4rem;
}

.ceo-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(8,12,20,0.85) 0%, rgba(8,12,20,0.3) 40%, rgba(8,12,20,0.05) 100%);
}

.ceo-card {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ceo-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(41, 217, 213, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--cyan-primary);
    font-size: 1.5rem;
}

.ceo-info h3 {
    font-size: 1.5rem;
    margin: 0;
}

.ceo-info p {
    color: var(--text-secondary);
    margin: 0;
}

/* 6. Principles Cards */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.principle-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.principle-card:hover {
    transform: translateY(-5px);
}

.principle-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #1a2530;
    position: relative;
}

.principle-icon {
    position: absolute;
    bottom: -20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background-color: #1a2530;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--cyan-primary);
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.principle-content {
    padding: 2.5rem 1.5rem 1.5rem;
}

.principle-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.principle-content p, .principle-content li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.principle-content ul {
    margin-top: 1rem;
}

.principle-content li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.principle-content li i {
    color: var(--cyan-primary);
    margin-top: 4px;
}

/* 7. Popular Stocks Table */
.stocks-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.stocks-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.market-status-badge {
    background-color: rgba(255,255,255,0.05);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pulse-dot {
    width: 14px;
    height: 14px;
    background-color: var(--green-positive);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 192, 118, 0.7);
    animation: pulse 1.5s infinite;
}
.pulse-dot.red {
    background-color: var(--red-negative);
    box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.7);
    animation: pulse-red 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 192, 118, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 192, 118, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 192, 118, 0); }
}
@keyframes pulse-red {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 77, 79, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 77, 79, 0); }
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 1.2rem 1rem;
    text-align: left;
    white-space: nowrap;
}

th {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
}

tr:not(:last-child) {
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

tr:hover {
    background-color: rgba(255,255,255,0.02);
}

.company-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.company-icon {
    width: 32px;
    height: 32px;
    background-color: #1a2530;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: var(--cyan-primary);
}

.company-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.badge-change {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
}
.badge-change.positive { background-color: rgba(0,192,118,0.1); color: var(--green-positive); }
.badge-change.negative { background-color: rgba(255,77,79,0.1); color: var(--red-negative); }

.text-positive { color: var(--green-positive); }
.text-negative { color: var(--red-negative); }

.btn-trade {
    padding: 6px 16px;
    border: 1px solid rgba(41, 217, 213, 0.3);
    color: var(--cyan-primary);
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-trade:hover {
    background-color: var(--cyan-primary);
    color: #000;
}

/* 8. Currency Converter */
.converter-widget {
    background: linear-gradient(145deg, #0f1c23 0%, #0a0e17 100%);
    border: 1px solid rgba(41, 217, 213, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    background-color: rgba(8,12,20,0.5);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
}

.form-control:focus {
    border-color: var(--cyan-primary);
}

.converter-row {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.converter-row .form-group {
    margin-bottom: 0;
    flex: 1;
}

.btn-swap {
    width: 45px;
    height: 45px;
    background-color: rgba(41, 217, 213, 0.1);
    border: 1px solid rgba(41, 217, 213, 0.3);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--cyan-primary);
    cursor: pointer;
    transition: 0.3s;
}

.btn-swap:hover {
    background-color: var(--cyan-primary);
    color: #000;
}

.converter-result {
    background-color: rgba(8,12,20,0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.converter-result h4 {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.converter-result h2 {
    color: var(--cyan-primary);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.converter-result p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* 9. Investment Plans */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.plan-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-5px);
}

.plan-card.recommended {
    border-color: var(--cyan-primary);
    position: relative;
}

.badge-recommended {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--cyan-primary);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.plan-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.plan-price {
    font-size: 3rem;
    color: var(--cyan-primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.plan-price span {
    font-size: 1rem;
    color: var(--text-secondary);
}

.plan-duration {
    color: var(--text-secondary);
    margin: 1rem 0;
}

.plan-type {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.plan-features {
    text-align: left;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.plan-features li i.fa-check { color: var(--green-positive); }
.plan-features li i.fa-times { color: #555; }

.plan-card.standalone {
    max-width: 400px;
    margin: 0 auto;
}

/* 10. Start Trading Cards */
.trading-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.trade-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: 0.3s ease;
}

.trade-card:hover {
    border-color: rgba(41, 217, 213, 0.3);
    transform: translateY(-5px);
}

.trade-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(41, 217, 213, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--cyan-primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.trade-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.trade-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.trade-card a {
    color: var(--cyan-primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trade-card a:hover {
    gap: 12px;
}

/* 11. Mobile App */
.app-section {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.app-content {
    flex: 1;
}

.app-content h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.app-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.app-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 12px;
    transition: 0.3s;
}

.app-btn:hover {
    background-color: var(--bg-card-hover);
}

.app-btn i {
    font-size: 2rem;
}

.app-btn div span {
    display: block;
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.app-btn div strong {
    font-size: 1.1rem;
}

.app-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatars {
    display: flex;
}

.avatars div {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(41, 217, 213, 0.2);
    border: 2px solid var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--cyan-primary);
    margin-left: -10px;
}
.avatars div:first-child { margin-left: 0; }

.app-proof-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.app-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.app-image img {
    max-width: 100%;
    height: auto;
}

/* 12. Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(41, 217, 213, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--cyan-primary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
}

/* 13. CTA Banner */
.cta-banner {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 5rem 2rem;
    text-align: center;
    margin: 4rem auto;
}

.cta-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-banner p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* 14. Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4rem 2rem 2rem;
    background-color: #000000;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-about p {
    color: var(--text-secondary);
    margin: 1.5rem 0;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
}

.social-links a:hover {
    background-color: var(--cyan-primary);
    color: #000;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul a {
    color: var(--text-secondary);
}

.footer-links ul a:hover {
    color: var(--cyan-primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .plans-grid { grid-template-columns: repeat(2, 1fr); }
    .app-section { flex-direction: column; text-align: center; }
    .app-buttons, .app-proof { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-about { grid-column: span 2; }
}

@media (max-width: 768px) {
    .nav-container { padding: 0.75rem 1rem; flex-wrap: nowrap; justify-content: space-between; align-items: center; }
    .logo { font-size: 1rem; font-weight: 700; gap: 6px; white-space: nowrap; display: inline-flex; align-items: center; flex-shrink: 0; }
    
    .nav-links, .nav-actions { display: none; width: 100%; text-align: center; margin-top: 1rem; }
    .nav-links { flex-direction: column; gap: 1rem; }
    .nav-actions { flex-direction: column; gap: 0.5rem; }
    
    .nav-container.menu-open .nav-links, 
    .nav-container.menu-open .nav-actions { 
        display: flex; 
    }
    
    .mobile-toggle { display: block; font-size: 1.4rem; cursor: pointer; color: #fff; margin-left: auto; padding: 4px; }
    
    .ticker-meta {
        gap: 0.5rem;
        padding: 6px 0.5rem;
        font-size: 0.75rem;
        flex-wrap: wrap;
    }
    .ticker-meta span { margin: 0 !important; }
    
    .hero-title { font-size: 2.5rem; }
    .stats-container { margin-top: 2rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; padding: 2rem 1rem; }
    .stat-number { font-size: 2.2rem; }
    .stat-label { font-size: 0.9rem; }
    
    .features-grid { grid-template-columns: 1fr; }
    .plans-grid { grid-template-columns: 1fr; }
    
    .cta-buttons { flex-direction: column; }
    
    .section-header h2, .app-content h2, .cta-banner h2 { 
        font-size: 1.5rem !important; 
        line-height: 1.3;
    }
    .section-header p, .app-content p, .cta-banner p { 
        font-size: 0.9rem !important; 
    }

    /* Start Trading Cards Mobile Adjustments */
    .trading-cards-grid {
        grid-template-columns: 1fr;
    }
    .trade-card {
        padding: 1.5rem;
    }
    .trade-card h3 {
        font-size: 1.2rem;
    }
    .trade-card p {
        font-size: 0.9rem;
    }
}

/* 5. CEO Section Mobile Overrides */
@media (max-width: 768px) {
    .ceo-section {
        height: 300px;
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    .ceo-card {
        gap: 1rem;
    }
    .ceo-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    .ceo-info h3 {
        font-size: 1.1rem;
    }
    .ceo-info p {
        font-size: 0.85rem;
    }
}

/* 6. Principles Cards */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
@media (max-width: 992px) {
    .principles-grid {
        grid-template-columns: 1fr;
    }
}

.principle-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.principle-card:hover {
    transform: translateY(-5px);
    border-color: var(--cyan-primary);
}

.principle-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.principle-icon {
    position: absolute;
    bottom: -20px;
    left: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--cyan-primary);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.principle-content {
    padding: 2.5rem 2rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.principle-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.principle-content ul {
    list-style: none;
    margin-top: auto;
}

.principle-content ul li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-primary);
}

.principle-content ul li i {
    color: var(--cyan-primary);
    margin-top: 4px;
}

/* 7. Market Status Blip Animation */
.market-status-dot, .pulse-dot {
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
    display: inline-block;
}

@keyframes pulse-dot {
    0% { transform: scale(0.95); opacity: 1; box-shadow: 0 0 0 0 rgba(0, 192, 118, 0.7); }
    70% { transform: scale(1.1); opacity: 0.8; box-shadow: 0 0 0 4px rgba(0, 192, 118, 0); }
    100% { transform: scale(0.95); opacity: 1; box-shadow: 0 0 0 0 rgba(0, 192, 118, 0); }
}

.market-status-dot.red, .pulse-dot.red {
    animation: pulse-dot-red 1.5s infinite;
}

@keyframes pulse-dot-red {
    0% { transform: scale(0.95); opacity: 1; box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.7); }
    70% { transform: scale(1.1); opacity: 0.8; box-shadow: 0 0 0 4px rgba(255, 77, 79, 0); }
    100% { transform: scale(0.95); opacity: 1; box-shadow: 0 0 0 0 rgba(255, 77, 79, 0); }
}

/* 8. Market Summary Grid */
.market-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.summary-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}
.summary-val {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.summary-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.btn-view-markets {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: transparent;
    color: var(--cyan-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-view-markets:hover {
    border-color: var(--cyan-primary);
    background: rgba(41, 217, 213, 0.1);
}
@media (max-width: 768px) {
    .market-summary-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 0.75rem;
    }
    .summary-card {
        padding: 1rem 0.5rem;
    }
    .summary-val {
        font-size: 1.2rem;
        word-break: break-all;
    }
    .summary-label {
        font-size: 0.75rem;
    }

    /* Convert stocks table to cards */
    .table-responsive table thead {
        display: none;
    }
    .table-responsive {
        overflow-x: hidden !important;
    }
    .table-responsive table, .table-responsive tbody {
        display: block;
        width: 100%;
        border: none;
        padding: 0;
    }
    .stocks-header {
        border-bottom: none;
    }
    .table-responsive .stock-row {
        background-color: #0b0f15;
        border: 1px solid #1a222d;
        border-radius: 16px;
        margin-bottom: 1rem;
        padding: 0.9rem 0.7rem;
        display: grid !important;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "company price"
            "company pct"
            "change vol"
            "action action";
        gap: 0.8rem 0.4rem;
    }
    .table-responsive .stock-row td {
        border: none;
        padding: 0;
    }
    .table-responsive .stock-row td:nth-child(1), .table-responsive .stock-row td.stock-mcap {
        display: none !important;
    }
    .table-responsive .company-cell {
        grid-area: company;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        min-width: 0;
    }
    .table-responsive .company-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
        background-color: #172733;
        border: 3px solid #131c25;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--cyan-primary);
        flex-shrink: 0;
    }
    .table-responsive .company-cell > div {
        min-width: 0;
    }
    .table-responsive .company-cell > div > div:first-child {
        font-size: 0.95rem;
        font-weight: 700;
        margin-bottom: 0.1rem;
        color: white;
        white-space: normal;
        word-wrap: break-word;
        line-height: 1.2;
    }
    .table-responsive .company-cell > div > div:last-child {
        white-space: normal;
        word-wrap: break-word;
        line-height: 1.2;
        font-size: 0.75rem !important;
    }
    .table-responsive .stock-price {
        grid-area: price;
        text-align: right;
        font-size: 0.95rem;
        font-weight: 700;
        color: white !important;
    }
    .table-responsive .stock-row td:nth-child(5) {
        grid-area: pct;
        text-align: right;
    }
    .table-responsive .stock-row td:nth-child(5) .badge-change {
        background: transparent !important;
        padding: 0 !important;
        font-size: 0.95rem !important;
        box-shadow: none !important;
    }
    .table-responsive .stock-row td:nth-child(5) .badge-change.positive {
        color: var(--green-positive) !important;
    }
    .table-responsive .stock-row td:nth-child(5) .badge-change.negative {
        color: var(--red-negative) !important;
    }
    .table-responsive .stock-change {
        grid-area: change;
        background: #11151c;
        border-radius: 12px;
        padding: 0.6rem 0.8rem;
        display: flex;
        flex-direction: column;
        font-weight: 500;
        font-size: 0.9rem;
    }
    .table-responsive .stock-change::before {
        content: 'Change';
        font-size: 0.75rem;
        color: var(--text-secondary);
        margin-bottom: 0.3rem;
        font-weight: 400;
    }
    .table-responsive .stock-vol {
        grid-area: vol;
        background: #11151c;
        border-radius: 12px;
        padding: 0.6rem 0.8rem;
        display: flex;
        flex-direction: column;
        color: white !important;
        font-weight: 500;
        font-size: 0.9rem;
    }
    .table-responsive .stock-vol::before {
        content: 'Volume';
        font-size: 0.75rem;
        color: var(--text-secondary);
        margin-bottom: 0.3rem;
        font-weight: 400;
    }
    .table-responsive .stock-row td:nth-child(8) {
        grid-area: action;
        margin-top: 0.5rem;
    }
    .table-responsive .btn-trade {
        display: block;
        width: 100%;
        text-align: center;
        background-color: #172733;
        color: var(--cyan-primary);
        padding: 1rem;
        border-radius: 12px;
        font-weight: 600;
        font-size: 1.05rem;
        border: none;
    }
    
    /* Currency Converter Mobile Adjustments */
    .converter-row {
        gap: 0.5rem;
    }
    .converter-row .form-group label {
        font-size: 0.8rem;
    }
    .converter-row select.form-control, .converter-row input.form-control {
        padding: 0.8rem 0.5rem;
        font-size: 0.85rem;
    }
    .btn-swap {
        width: 38px;
        height: 38px;
    }
    .converter-result {
        padding: 1.5rem 1rem;
    }
    .converter-result h2 {
        font-size: 1.8rem;
    }
    .converter-result h2 span {
        font-size: 1.2rem !important;
    }
}

/* Custom Mobile Overlay Menu */
.mobile-overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #0b0e14;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    overflow-y: auto;
}

.mobile-overlay-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-overlay-header .logo {
    display: flex;
    align-items: center;
}

.close-overlay {
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

.mobile-overlay-buttons {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-overlay-links {
    list-style: none;
    padding: 1.5rem;
    flex-grow: 1;
    margin: 0;
}

.mobile-overlay-links li {
    margin-bottom: 0.5rem;
}

.mobile-overlay-links a {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 1.1rem;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
}

.mobile-overlay-links a i {
    width: 25px;
    font-size: 1.2rem;
    margin-right: 15px;
    text-align: center;
}

.mobile-overlay-links .ml-auto {
    margin-left: auto;
    font-size: 0.9rem;
    width: auto;
    margin-right: 0;
}

.mobile-overlay-links li.active a {
    background-color: rgba(41, 217, 213, 0.08);
    color: var(--cyan-primary);
}
.mobile-overlay-links li.active a i {
    color: var(--cyan-primary);
}

.mobile-dropdown-menu {
    display: none;
    padding-left: 3rem;
    padding-bottom: 0.5rem;
}
.mobile-overlay-links li.has-dropdown.open .mobile-dropdown-menu {
    display: flex;
    flex-direction: column;
}
.mobile-dropdown-menu a {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    color: var(--text-secondary);
}

.mobile-overlay-socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-overlay-socials a {
    color: var(--text-secondary);
    font-size: 1.3rem;
}
.mobile-overlay-socials a:hover {
    color: var(--cyan-primary);
}

@media (min-width: 769px) {
    .mobile-overlay-menu {
        display: none !important;
    }
}

/* ==========================================================================
   ABOUT SKYRIVEXMARKETS STYLES
   ========================================================================== */

#about,
#contact {
    scroll-margin-top: 80px;
}

.about-main-section {
    position: relative;
    background: #000000;
    padding-bottom: 40px;
    overflow: hidden;
}

/* Reusable Components */
.about-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(41, 217, 213, 0.08);
    border: 1px solid rgba(41, 217, 213, 0.28);
    color: var(--cyan-primary);
    border-radius: 999px;
    padding: 6px 18px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(41, 217, 213, 0.1);
}

.about-pill-badge.mb-3 {
    margin-bottom: 14px;
}

.about-section-heading {
    font-size: clamp(2rem, 3.8vw, 2.6rem);
    font-weight: 700;
    color: #ffffff;
    margin: 12px 0 10px;
    line-height: 1.25;
}

.about-section-sub {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.text-purple {
    color: #a78bfa !important;
}

/* A. Hero Header Block */
.about-hero {
    text-align: center;
    padding: 90px 20px 45px;
}

.about-hero-title {
    font-size: clamp(2.4rem, 5.5vw, 3.6rem);
    font-weight: 800;
    color: #ffffff;
    margin: 18px 0 14px;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.about-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 660px;
    margin: 0 auto;
    line-height: 1.6;
}

/* B. Feature Visual Block */
.about-visual-container {
    display: flex;
    justify-content: center;
    padding: 0 20px 80px;
}

.about-visual-wrap {
    position: relative;
    max-width: 860px;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(47, 230, 222, 0.25);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(47, 230, 222, 0.12);
    background: #070d14;
    display: flex;
    flex-direction: column;
}

.about-feature-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 480px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-visual-wrap:hover .about-feature-img {
    transform: scale(1.025);
}

.about-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.1) 40%, transparent 100%);
    pointer-events: none;
}

.about-visual-card {
    position: relative;
    background: #070d14;
    border: 1px solid rgba(47, 230, 222, 0.35);
    border-radius: 16px;
    padding: 18px 22px;
    margin: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.about-visual-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(47, 230, 222, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.about-visual-card-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 2px;
}

.about-visual-card-text p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin: 0;
}

/* C. Mission & Vision + Stats */
.about-split-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 45px;
    align-items: center;
    margin-bottom: 95px;
}

.mv-card {
    background: #070d14;
    border-radius: 16px;
    padding: 24px 26px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.mv-card.cyan-border {
    border-left: 4px solid var(--cyan-primary);
}

.mv-card.purple-border {
    border-left: 4px solid #8b5cf6;
}

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

.mv-header h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.mv-icon {
    font-size: 1.1rem;
}

.mv-icon.cyan {
    color: var(--cyan-primary);
}

.mv-icon.purple {
    color: #8b5cf6;
}

.mv-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0;
}

.about-story-text {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 24px;
}

.stats-grid-card {
    background: #070d14;
    border-radius: 20px;
    padding: 32px 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 20px 45px rgba(0, 0, 0, 0.45),
        0 0 25px rgba(41, 217, 213, 0.06);
}

.stats-card-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 22px;
}

.stats-pill {
    background: rgba(41, 217, 213, 0.1);
    border: 1px solid rgba(41, 217, 213, 0.3);
    color: var(--cyan-primary);
    border-radius: 999px;
    padding: 4px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.stats-2x2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-cell {
    padding: 20px 18px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.stat-cell:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.04);
}

.stat-cell-value {
    font-size: 2.3rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 4px;
    line-height: 1.1;
}

.stat-cell-label {
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 6px;
}

.stat-cell-sub {
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* D. Alternating Timeline */
.about-timeline-section {
    margin-bottom: 100px;
}

.story-timeline {
    position: relative;
    max-width: 900px;
    margin: 55px auto 0;
    padding: 20px 0;
}

.timeline-center-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(41, 217, 213, 0.45);
    transform: translateX(-50%);
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(41, 217, 213, 0.3);
}

.timeline-entry {
    display: flex;
    align-items: center;
    margin-bottom: 45px;
    position: relative;
    width: 100%;
}

.timeline-entry:last-child {
    margin-bottom: 0;
}

.timeline-entry.left .timeline-content {
    width: calc(50% - 35px);
    text-align: right;
}

.timeline-entry.left .timeline-meta {
    width: calc(50% - 35px);
    text-align: left;
}

.timeline-entry.right .timeline-meta {
    width: calc(50% - 35px);
    text-align: right;
}

.timeline-entry.right .timeline-content {
    width: calc(50% - 35px);
    text-align: left;
}

.timeline-node {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    z-index: 2;
    margin: 0 16px;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease;
}

.timeline-node:hover {
    transform: scale(1.12);
}

.timeline-node.cyan {
    background: #09131d;
    border: 2px solid var(--cyan-primary);
    color: var(--cyan-primary);
    box-shadow: 0 0 15px rgba(41, 217, 213, 0.35);
}

.timeline-node.purple {
    background: #140d24;
    border: 2px solid #8b5cf6;
    color: #8b5cf6;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.35);
}

.timeline-year {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
    padding: 0 14px;
}

.timeline-card {
    background: #070d14;
    border-radius: 16px;
    padding: 22px 26px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    display: inline-block;
    max-width: 380px;
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-3px);
    border-color: rgba(41, 217, 213, 0.3);
}

.timeline-card h4 {
    font-size: 1.15rem;
    color: #ffffff;
    font-weight: 700;
    margin: 0 0 8px;
}

.timeline-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* E. Values (3-Column Grid) */
.about-values-section {
    margin-bottom: 100px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 45px;
}

.value-card {
    background: #070d14;
    border-radius: 16px;
    padding: 34px 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-6px);
    border-color: rgba(41, 217, 213, 0.3);
    box-shadow: 
        0 18px 40px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(41, 217, 213, 0.1);
}

.value-icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(41, 217, 213, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan-primary);
    font-size: 1.45rem;
    margin-bottom: 22px;
}

.value-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.value-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 22px;
    min-height: 66px;
}

.value-bullets {
    list-style: none;
    padding: 18px 0 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.value-bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: #e2e8f0;
}

.value-bullets li i {
    color: var(--cyan-primary);
    font-size: 0.95rem;
    flex-shrink: 0;
}

/* F. Testimonials (3-Column Grid) */
.about-testimonials-section {
    margin-bottom: 100px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 45px;
}

.testimonial-card {
    background: #070d14;
    border-radius: 16px;
    padding: 32px 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.testi-quote-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--cyan-primary);
    color: #070b14;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 18px;
    box-shadow: 0 4px 14px rgba(41, 217, 213, 0.3);
}

.testi-stars {
    color: var(--cyan-primary);
    font-size: 0.95rem;
    margin-bottom: 14px;
    display: flex;
    gap: 4px;
}

.testi-quote {
    font-style: italic;
    color: #cbd5e1;
    font-size: 0.93rem;
    line-height: 1.7;
    margin-bottom: 26px;
    flex-grow: 1;
}

.testi-reviewer {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 18px;
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ffffff;
    font-size: 0.95rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.avatar-indigo {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

.avatar-emerald {
    background: linear-gradient(135deg, #10b981, #059669);
}

.avatar-amber {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.reviewer-name {
    font-weight: 700;
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.reviewer-role {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* G. Team (2x2 Grid) */
.about-team-section {
    margin-bottom: 100px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 45px;
}

.team-card {
    background: #070d14;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.team-card-header {
    height: 100px;
    width: 100%;
}

.header-blue-teal {
    background: linear-gradient(135deg, #3b82f6, #14b8a6);
}

.header-purple-pink {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.header-orange-amber {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.header-green-teal {
    background: linear-gradient(135deg, #10b981, #06b6d4);
}

.team-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #141b2d;
    border: 3px solid #070d14;
    margin: -36px auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
}

.team-card-body {
    padding: 0 20px 24px;
}

.team-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px;
}

.team-role {
    color: var(--cyan-primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.team-bio {
    color: var(--text-secondary);
    font-size: 0.84rem;
    line-height: 1.55;
    margin-bottom: 18px;
    min-height: 52px;
}

.team-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.team-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: all 0.25s ease;
}

.team-socials a:hover {
    background: var(--cyan-primary);
    color: #070b14;
    transform: translateY(-2px);
}

.btn-team-join {
    border: 1px solid rgba(41, 217, 213, 0.45);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-team-join:hover {
    background: rgba(41, 217, 213, 0.12);
    border-color: var(--cyan-primary);
    color: var(--cyan-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(41, 217, 213, 0.18);
}

/* H. Partners & Investors */
.about-partners-section {
    margin-bottom: 100px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 45px;
}

.partner-card {
    background: #070d14;
    border-radius: 16px;
    padding: 38px 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    border-color: rgba(41, 217, 213, 0.35);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(41, 217, 213, 0.08);
}

.partner-icon {
    font-size: 2.5rem;
    color: var(--cyan-primary);
    margin-bottom: 14px;
}

.partner-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
}

/* I. Community CTA Banner */
.about-community-section {
    margin-bottom: 60px;
}

.community-cta-banner {
    background: #070d14;
    border-radius: 24px;
    padding: 60px 30px;
    text-align: center;
    border: 1px solid rgba(47, 230, 222, 0.25);
    box-shadow: 
        0 25px 55px rgba(0, 0, 0, 0.55),
        inset 0 0 50px rgba(41, 217, 213, 0.05);
    position: relative;
    overflow: hidden;
}

.community-cta-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.2;
}

.community-cta-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto 34px;
    line-height: 1.65;
}

.cta-action-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 34px;
    flex-wrap: wrap;
}

.cta-social-pills {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.social-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 18px;
    border-radius: 999px;
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.25s ease;
}

.social-pill:hover {
    background: rgba(41, 217, 213, 0.12);
    border-color: var(--cyan-primary);
    color: var(--cyan-primary);
    transform: translateY(-2px);
}

/* J. Trust / Regulatory Bar */
.about-trust-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 30px;
    background: rgba(15, 18, 37, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 60px;
}

.trust-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-badges-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(41, 217, 213, 0.06);
    border: 1px solid rgba(41, 217, 213, 0.2);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #e2e8f0;
    font-weight: 500;
}

.trust-badge i {
    color: var(--cyan-primary);
    font-size: 0.85rem;
}

/* Scroll Animation Transitions */
.scroll-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

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

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES FOR ABOUT SECTION
   ========================================================================== */

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

@media (max-width: 860px) {
    .about-split-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .values-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .stats-2x2-grid {
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 60px 15px 30px;
    }
    .about-visual-container {
        padding: 0 16px 50px;
    }
    .about-visual-wrap {
        display: flex;
        flex-direction: column;
        overflow: visible;
        background: transparent;
        border: none;
        box-shadow: none;
    }
    .about-feature-img {
        min-height: 200px;
        height: 220px;
        width: 100%;
        border-radius: 20px;
        border: 1px solid rgba(41, 217, 213, 0.25);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(41, 217, 213, 0.1);
    }
    .about-visual-overlay {
        display: none;
    }
    .about-visual-card {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        margin-top: 14px;
        margin: 14px 0 0 0;
        width: 100%;
        background: #070d14;
        border: 1px solid rgba(47, 230, 222, 0.25);
        border-radius: 16px;
        padding: 14px 18px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    }
    .story-timeline {
        margin-top: 40px;
    }
    .timeline-center-line {
        left: 24px;
    }
    .timeline-entry {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 64px;
        margin-bottom: 35px;
    }
    .timeline-entry.left .timeline-content,
    .timeline-entry.right .timeline-content,
    .timeline-entry.left .timeline-meta,
    .timeline-entry.right .timeline-meta {
        width: 100%;
        text-align: left;
    }
    .timeline-node {
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
        width: 48px;
        height: 48px;
    }
    .timeline-card {
        max-width: 100%;
    }
    .timeline-year {
        padding: 0;
        margin-bottom: 6px;
        font-size: 1.5rem;
    }
    .timeline-entry.left .timeline-content {
        order: 2;
    }
    .timeline-entry.left .timeline-meta {
        order: 1;
    }
    .timeline-entry.right .timeline-meta {
        order: 1;
    }
    .timeline-entry.right .timeline-content {
        order: 2;
    }
    .team-grid {
        grid-template-columns: 1fr;
    }
    .partners-grid {
        grid-template-columns: 1fr 1fr;
    }
    .about-trust-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .trust-badges-wrap {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .stats-2x2-grid {
        grid-template-columns: 1fr;
    }
    .partners-grid {
        grid-template-columns: 1fr;
    }
    .community-cta-banner {
        padding: 40px 20px;
    }
    .cta-action-btns {
        flex-direction: column;
        width: 100%;
    }
    .cta-action-btns .btn {
        width: 100%;
    }
}

/* ==========================================================================
   CONTACT PAGE STYLES
   ========================================================================== */

.contact-hero {
    text-align: center;
    padding: 85px 20px 45px;
}

.contact-hero-title {
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    margin: 18px 0 14px;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.contact-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 660px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 4-Card Contact Info Grid */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 70px;
}

.contact-info-card {
    background: #070d14;
    border-radius: 18px;
    padding: 30px 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(41, 217, 213, 0.35);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(41, 217, 213, 0.08);
}

.contact-info-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(41, 217, 213, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan-primary);
    font-size: 1.35rem;
    margin-bottom: 18px;
}

.contact-info-card-icon.purple {
    background: rgba(139, 92, 246, 0.12);
    color: #a78bfa;
}

.contact-info-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.contact-info-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 18px;
    flex-grow: 1;
}

.contact-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--cyan-primary);
    transition: gap 0.2s ease;
}

.contact-card-btn:hover {
    gap: 12px;
    color: #ffffff;
}

.contact-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
}

/* 2-Column Split: Form + FAQ/Hours */
.contact-split-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 90px;
}

.contact-form-card {
    background: #070d14;
    border-radius: 22px;
    padding: 40px 36px;
    border: 1px solid rgba(47, 230, 222, 0.22);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.5),
        inset 0 0 30px rgba(41, 217, 213, 0.03);
}

.contact-form-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.contact-form-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 26px;
    line-height: 1.6;
}

.contact-form-group {
    margin-bottom: 20px;
}

.contact-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 8px;
}

.contact-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.contact-input-icon {
    position: absolute;
    left: 16px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    pointer-events: none;
}

.contact-input,
.contact-select,
.contact-textarea {
    width: 100%;
    background: rgba(8, 12, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 13px 16px 13px 44px;
    color: #ffffff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.25s ease;
}

.contact-select {
    padding-left: 44px;
    cursor: pointer;
}

.contact-select option {
    background: #070d14;
    color: #ffffff;
}

.contact-textarea {
    padding: 14px 16px;
    min-height: 130px;
    resize: vertical;
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
    outline: none;
    border-color: var(--cyan-primary);
    box-shadow: 0 0 0 3px rgba(41, 217, 213, 0.15);
    background: rgba(15, 22, 35, 0.9);
}

.contact-form-card .btn-cyan {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
}

/* FAQ & System Status Card */
.contact-faq-wrap {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-status-card {
    background: #070d14;
    border-radius: 18px;
    padding: 24px 26px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.status-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-pulse-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--green-positive);
    position: relative;
    box-shadow: 0 0 10px var(--green-positive);
}

.status-pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--green-positive);
    animation: status-ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes status-ping {
    0% { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

.status-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 2px;
}

.status-text p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin: 0;
}

.status-uptime {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--cyan-primary);
    font-family: 'Outfit', sans-serif;
}

/* Accordion FAQs */
.contact-faq-card {
    background: #070d14;
    border-radius: 18px;
    padding: 28px 26px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 14px 0;
}

.faq-accordion-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0;
    font-family: inherit;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--cyan-primary);
}

.faq-question i {
    font-size: 0.8rem;
    color: var(--cyan-primary);
    transition: transform 0.3s ease;
}

.faq-accordion-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding-top: 10px;
    color: var(--text-secondary);
    font-size: 0.86rem;
    line-height: 1.6;
}

.faq-accordion-item.open .faq-answer {
    display: block;
}

/* Global Offices Grid */
.contact-offices-section {
    margin-bottom: 80px;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 35px;
}

.office-card {
    background: #070d14;
    border-radius: 16px;
    padding: 26px 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.office-card:hover {
    transform: translateY(-4px);
    border-color: rgba(41, 217, 213, 0.3);
}

.office-card-flag {
    font-size: 2rem;
    margin-bottom: 12px;
}

.office-city {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.office-role {
    font-size: 0.8rem;
    color: var(--cyan-primary);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.office-address {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .offices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

@media (max-width: 600px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
    .offices-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-card {
        padding: 26px 20px;
    }
}




/* ==========================================================================
   Skyrivexmarkets Sticky Live Chat Widget (Bottom-Left)
   ========================================================================== */

.apex-sticky-chat {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Floating Greeting Bubble (disappears on interaction) */
.apex-chat-teaser {
    position: absolute;
    bottom: 74px;
    left: 0;
    background: rgba(15, 22, 35, 0.95);
    border: 1px solid rgba(41, 217, 213, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    padding: 10px 14px 10px 12px;
    border-radius: 14px;
    font-size: 0.84rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(41, 217, 213, 0.15);
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: apexTeaserBounce 3s ease infinite;
}

.apex-chat-teaser:hover {
    transform: translateY(-2px);
    border-color: var(--cyan-primary, #29d9d5);
}

.apex-chat-teaser .teaser-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #29d9d5, #0ea5e9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #080c14;
    flex-shrink: 0;
}

.apex-chat-teaser .teaser-close {
    color: var(--text-secondary, #8892a4);
    font-size: 12px;
    margin-left: 6px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.apex-chat-teaser .teaser-close:hover {
    color: #ffffff;
}

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

/* Floating Action Button */
.apex-chat-toggle-btn {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, #29d9d5 0%, #0284c7 100%);
    color: #080c14;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 8px 25px rgba(41, 217, 213, 0.45), 0 4px 12px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.35);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    outline: none;
    user-select: none;
}

.apex-chat-toggle-btn:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 14px 35px rgba(41, 217, 213, 0.65), 0 6px 16px rgba(0, 0, 0, 0.6);
}

.apex-chat-toggle-btn:active {
    transform: scale(0.95);
}

/* Pulsing Outer Halo */
.apex-chat-toggle-btn::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid #29d9d5;
    opacity: 0;
    pointer-events: none;
    animation: apexChatPulseRing 2.4s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

@keyframes apexChatPulseRing {
    0% {
        transform: scale(0.92);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.22);
        opacity: 0.25;
    }
    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

/* Notification / Online Status Dot */
.apex-chat-status-badge {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 16px;
    height: 16px;
    background: #00c076;
    border: 2.5px solid #080c14;
    border-radius: 50%;
    box-shadow: 0 0 10px #00c076;
    transition: transform 0.2s ease;
}

/* Icons inside the button */
.apex-chat-icon-msg,
.apex-chat-icon-close {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
}

.apex-chat-icon-msg {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.apex-chat-icon-close {
    opacity: 0;
    transform: scale(0.5) rotate(-90deg);
    font-size: 24px;
}

/* When chat window is active */
.apex-sticky-chat.is-active .apex-chat-icon-msg {
    opacity: 0;
    transform: scale(0.5) rotate(90deg);
}

.apex-sticky-chat.is-active .apex-chat-icon-close {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.apex-sticky-chat.is-active .apex-chat-status-badge {
    transform: scale(0);
}

.apex-sticky-chat.is-active .apex-chat-teaser {
    display: none !important;
}

/* Hover Tooltip */
.apex-chat-tooltip {
    position: absolute;
    left: 74px;
    top: 50%;
    transform: translateY(-50%) translateX(-6px);
    background: rgba(15, 22, 35, 0.96);
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    border: 1px solid rgba(41, 217, 213, 0.3);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.apex-sticky-chat:not(.is-active):hover .apex-chat-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(2px);
}

/* ==========================================================================
   Chat Window (Flyout from Bottom-Left)
   ========================================================================== */

.apex-chat-window {
    position: absolute;
    bottom: 76px;
    left: 0;
    width: 370px;
    max-width: calc(100vw - 32px);
    height: 520px;
    max-height: calc(100vh - 110px);
    background: rgba(11, 17, 28, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 20px;
    border: 1px solid rgba(41, 217, 213, 0.28);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(41, 217, 213, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform-origin: bottom left;
    transform: scale(0.85) translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100000;
}

.apex-sticky-chat.is-active .apex-chat-window {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

/* Header */
.apex-chat-header {
    background: linear-gradient(135deg, rgba(20, 30, 48, 0.95), rgba(15, 23, 42, 0.95));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.apex-chat-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan-primary, #29d9d5), transparent);
}

.apex-chat-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.apex-chat-avatar-wrap {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #29d9d5, #0284c7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    color: #080c14;
    box-shadow: 0 4px 12px rgba(41, 217, 213, 0.35);
}

.apex-chat-avatar-wrap .online-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 10px;
    height: 10px;
    background: #00c076;
    border-radius: 50%;
    border: 2px solid #0f1623;
}

.apex-chat-header-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 2px 0;
    letter-spacing: 0.2px;
}

.apex-chat-header-info span {
    font-size: 0.74rem;
    color: var(--cyan-primary, #29d9d5);
    display: flex;
    align-items: center;
    gap: 5px;
}

.apex-chat-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.apex-chat-header-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary, #8892a4);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
}

.apex-chat-header-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

/* Chat Body / Messages Area */
.apex-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
.apex-chat-body::-webkit-scrollbar {
    width: 5px;
}
.apex-chat-body::-webkit-scrollbar-track {
    background: transparent;
}
.apex-chat-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}
.apex-chat-body::-webkit-scrollbar-thumb:hover {
    background: rgba(41, 217, 213, 0.4);
}

.apex-chat-date-divider {
    text-align: center;
    font-size: 0.7rem;
    color: var(--text-secondary, #8892a4);
    margin: 4px 0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.apex-chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 82%;
    animation: apexMsgSlideIn 0.25s ease-out;
}

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

.apex-chat-msg.agent {
    align-self: flex-start;
}

.apex-chat-msg.user {
    align-self: flex-end;
}

.apex-chat-bubble {
    padding: 11px 14px;
    font-size: 0.86rem;
    line-height: 1.48;
    position: relative;
    word-break: break-word;
}

.apex-chat-msg.agent .apex-chat-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    border-radius: 16px 16px 16px 4px;
}

.apex-chat-msg.user .apex-chat-bubble {
    background: linear-gradient(135deg, #29d9d5, #00b4d8);
    color: #080c14;
    font-weight: 500;
    border-radius: 16px 16px 4px 16px;
    box-shadow: 0 4px 14px rgba(41, 217, 213, 0.3);
}

.apex-chat-time {
    font-size: 0.68rem;
    color: var(--text-secondary, #8892a4);
    margin-top: 4px;
    padding: 0 4px;
}

.apex-chat-msg.user .apex-chat-time {
    text-align: right;
}

/* Quick Action Suggestion Chips */
.apex-chat-chips {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
    padding-left: 2px;
}

.apex-chat-chip-btn {
    background: rgba(41, 217, 213, 0.08);
    border: 1px solid rgba(41, 217, 213, 0.28);
    color: #29d9d5;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.22s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.apex-chat-chip-btn:hover {
    background: rgba(41, 217, 213, 0.18);
    border-color: #29d9d5;
    transform: translateX(4px);
    color: #ffffff;
}

.apex-chat-action-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 6px 12px;
    background: rgba(41, 217, 213, 0.15);
    border: 1px solid rgba(41, 217, 213, 0.4);
    color: #29d9d5;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.apex-chat-action-link:hover {
    background: #29d9d5;
    color: #080c14;
}

/* Typing Indicator */
.apex-chat-typing {
    display: none;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px 16px 16px 4px;
    width: fit-content;
    align-self: flex-start;
}

.apex-chat-typing span {
    width: 6px;
    height: 6px;
    background: #29d9d5;
    border-radius: 50%;
    animation: apexTypingBounce 1.2s infinite ease-in-out;
}

.apex-chat-typing span:nth-child(2) {
    animation-delay: 0.2s;
}
.apex-chat-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes apexTypingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

/* Chat Footer / Input */
.apex-chat-footer {
    padding: 12px 14px;
    background: rgba(15, 22, 35, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.apex-chat-input-form {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 4px 6px 4px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.apex-chat-input-form:focus-within {
    border-color: var(--cyan-primary, #29d9d5);
    box-shadow: 0 0 12px rgba(41, 217, 213, 0.2);
}

.apex-chat-input-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 0.86rem;
    font-family: inherit;
    padding: 6px 0;
}

.apex-chat-input-form input::placeholder {
    color: var(--text-secondary, #8892a4);
}

.apex-chat-send-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #29d9d5;
    border: none;
    color: #080c14;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    flex-shrink: 0;
}

.apex-chat-send-btn:hover {
    background: #ffffff;
    transform: scale(1.05);
}

.apex-chat-send-btn:active {
    transform: scale(0.92);
}

.apex-chat-bottom-note {
    text-align: center;
    font-size: 0.68rem;
    color: var(--text-secondary, #8892a4);
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.apex-chat-bottom-note i {
    color: var(--cyan-primary, #29d9d5);
}

/* Mobile Responsiveness */
@media (max-width: 576px) {
    .apex-sticky-chat {
        bottom: 16px;
        left: 16px;
    }
    
    .apex-chat-toggle-btn {
        width: 54px;
        height: 54px;
        font-size: 22px;
    }
    
    .apex-chat-window {
        bottom: 66px;
        left: 0;
        width: calc(100vw - 32px);
        height: 480px;
        max-height: calc(100vh - 84px);
    }
    
    .apex-chat-tooltip {
        display: none !important;
    }
}