:root {
    --accent: #0b6cff;
    --dark: #0b2340;
    --muted: #6b7a90;
}

/* Reset / base */
* {
    box-sizing: border-box;
}

html, body {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', Arial, sans-serif;
}

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 12px 15px;
    background: #f4f8ff;
    border-bottom: 1px solid #e1e9ff;
    /* margin-left: -65px;  <-- remove or tweak if it shifts layout unexpectedly */
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .logo .mark {
        width: 28px;
        height: 29px;
        border-radius: 8px;
        background: var(--accent);
        display: grid;
        place-items: center;
        color: white;
        font-weight: 700;
    }

/* NAV LINKS (styled as soft pills) */
nav a {
    display: inline-block;
    padding: 10px 20px;
    margin-left: 18px;
    background-color: #f4f8ff;
    border-radius: 12px;
    color: #111;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.18s ease, color 0.18s ease;
}

    nav a:hover {
        background-color: #e5e5e5;
        color: #000;
    }

/* copy button */
.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background-color: #f4f8ff;
    border-radius: 12px;
    color: #111;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

    /* arrow inside copy button uses data-URI (kept small) */
    .copy-btn .arrow {
        width: 14px;
        height: 14px;
        display: inline-block;
        background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
<path d='M7 3 L13 3 L13 9'/>\
<path d='M13 3 L3 13'/>\
</svg>");
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: background-color .18s ease, transform .06s ease;
    cursor: pointer;
}

/* Light button (Log in) */
.btn-light {
    background-color: #f1f4ff;
    color: #1a2c70;
    border: none;
}

    .btn-light:hover {
        background-color: #e4e9ff;
    }

/* Blue button (Sign up) */
.btn-primary {
    background-color: #1e40ff;
    color: white;
    border: none;
}

    .btn-primary:hover {
        background-color: #1430cc;
    }

/* LOGIN PANEL & OVERLAY */
.login-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,10,10,0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, visibility .22s ease;
    z-index: 999;
}

    .login-overlay.open {
        opacity: 1;
        visibility: visible;
    }

.login-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 92%;
    height: 100%;
    background: #ffffff;
    box-shadow: -18px 0 40px rgba(12,12,20,0.12);
    transform: translateX(110%);
    transition: transform 0.28s cubic-bezier(.2,.9,.2,1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 28px;
    box-sizing: border-box;
}

    .login-panel.open {
        transform: translateX(0);
    }

.login-panel-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Close button */
.login-close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #666;
}

/* Title */
#loginTitle {
    margin: 4px 0 4px;
    font-size: 20px;
    font-weight: 600;
}

/* Generic input style fallback */
.input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    font-size: 15px;
    box-sizing: border-box;
}

/* Login submit button spacing */
.login-submit {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
}

.btn-primary.login-submit {
    background: #1e40ff;
    color: #fff;
    margin-top: 20px;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #777;
    margin-top: 6px;
}

    .divider::before, .divider::after {
        content: "";
        flex: 1 1 auto;
        height: 1px;
        background: #eaeaea;
    }

    .divider span {
        padding: 0 8px;
        font-size: 13px;
    }

/* Socials */
.socials {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 48px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid #e7e7e7;
    background: #fff;
    cursor: pointer;
}

/* Responsive */
@media (max-width:520px) {
    .login-panel {
        width: 100%;
    }
}

/* Page layout examples */
.hero {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    padding: 60px 32px;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 6px 20px rgba(11,38,80,0.06);
    border: 1px solid #eef5ff;
}

/* Footer */
/* Footer layout */
.site-footer {
    background: #fff;
    padding: 44px 20px 18px;
    border-top: 1px solid #eef3ff;
    color: #222;
    font-family: Inter, Arial, sans-serif;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 48px;
    align-items: flex-start;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 0 16px;
}

/* Columns */
.footer-col {
    flex: 1 1 220px;
    min-width: 180px;
}

.footer-col--right {
    flex: 0 0 300px; /* make right column fixed-ish */
}

/* Titles */
.footer-col-title {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 14px;
}

/* Link list */
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        color: #6b7a90;
        text-decoration: none;
        font-size: 15px;
        transition: color .15s ease;
    }

        .footer-links a:hover {
            color: #0b6cff;
        }

/* App rows */
.app-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.app-row {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 8px;
    transition: background .12s ease, transform .08s ease;
    color: inherit;
}

    .app-row:hover {
        background: rgba(11,108,255,0.04);
        transform: translateY(-2px);
    }

/* App icon */
.app-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(11,38,80,0.06);
}

/* App text meta */
.app-meta {
    line-height: 1;
}

.app-name {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.app-sub {
    font-size: 13px;
    color: #6b7a90;
    margin-top: 3px;
}

/* small platform icon placeholder (you could swap for an inline SVG) */
.platform-icon {
    display: inline-block;
    margin-left: 4px;
    font-weight: 700;
    color: #6b7a90;
    transform: translateY(-1px);
}

/* Footer bottom */
.footer-bottom {
    max-width: 1200px;
    margin: 18px auto 0;
    padding: 0 16px;
    color: #9aa0a6;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 880px) {
    .footer-inner {
        flex-direction: column;
        gap: 22px;
        padding: 0 16px;
    }

    .footer-col--right {
        flex: 1 1 auto;
    }

    .app-icon {
        width: 44px;
        height: 44px;
    }
}


/* ---------- FORGOT PASSWORD STYLES ---------- */
.panel-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.back-btn {
    border: none;
    background: none;
    font-size: 20px;
    cursor: pointer;
    color: #555;
    padding: 4px 6px;
}

.fp-title {
    font-size: 22px;
    font-weight: 700;
    margin: 6px 0 8px;
}

.fp-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.4;
}

.fp-send {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: #1e40ff;
    color: #fff;
    font-weight: 700;
    margin-top: 8px;
    cursor: pointer;
}

    .fp-send:active {
        transform: translateY(1px);
    }

.recaptcha-note {
    margin-top: 14px;
    font-size: 12px;
    color: #666;
}

    .recaptcha-note a {
        color: var(--accent);
        text-decoration: none;
    }

.fp-inner .input-wrap {
    margin-bottom: 18px;
}

#fpCloseBtn {
    background: transparent;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #666;
}

/* ----------------------
   INPUT / ICON STYLES
   ---------------------- */
.input-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 14px;
}

/* primary text input style (used in layout) */
.text-input {
    width: 100%;
    padding: 14px 64px 14px 46px; /* left space for icon; right space for clear + eye */
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    font-size: 15px;
    color: #111;
    background: #fff;
    outline: none;
    transition: border-color .12s ease, box-shadow .12s ease;
}

    .text-input::placeholder {
        color: #9aa0a6;
    }

    .text-input:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 3px rgba(11,108,255,0.06);
    }

/* left icon container - intended for inline SVGs inside the span */
.icon-left {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* allow clicks to pass to input */
}

    /* ensure inline SVGs inside left icon are appropriately sized */
    .icon-left svg {
        width: 20px;
        height: 20px;
        display: block;
    }

/* right-side icon/buttons positioning */
.icon-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

/* clear button (×) - rendered via background SVG */
.btn-clear {
    right: 48px; /* sits left of eye button */
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
<line x1='6' y1='6' x2='18' y2='18'/><line x1='6' y1='18' x2='18' y2='6'/></svg>");
    background-size: 20px 20px;
    background-repeat: no-repeat;
    opacity: 0.85;
    display: none; /* toggled by JS when input has text */
}

/* eye button - when you use inline SVGs inside the button (recommended) */
.btn-eye {
    right: 12px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

    /* ensure the svg inside the eye button scales well */
    .btn-eye svg {
        width: 20px;
        height: 20px;
        display: block;
    }

    /* focus styles for interactive icons */
    .btn-eye:focus, .btn-clear:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(11,108,255,0.12);
        border-radius: 6px;
    }

/* make sure any legacy class names still work (compat) */
.clear-icon { /* fallback if your markup used this name */
    display: none;
}

.eye-icon { /* keep for backward-compat if used */
}

/* adjust padding if you used .input instead of .text-input */
.input-wrap input.input {
    padding: 12px 42px;
}

/* small accessibility helper: visible label style */
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
/* Other methods container (keeps divider + socials together) */
.other-methods {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

/* Social buttons row */
.socials {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-top: 4px;
}

/* Generic social button */
.social-btn {
    width: 96px; /* match visual width from screenshot */
    height: 44px; /* tall, pill-like rectangle */
    border-radius: 10px;
    border: 1px solid #e7e7e7;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, background .12s;
    box-shadow: none;
    padding: 0;
}

    /* subtle background for 3rd button (google) — optional, kept white by default */
    .social-btn.social-google {
        background: #f3f3f3;
    }

    /* hover / active states */
    .social-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(11,38,80,0.06);
    }

    /* SVG icon sizing — keeps single-color icons centered */
    .social-btn svg {
        width: 22px;
        height: 22px;
        display: block;
    }

    /* focus outline for accessibility */
    .social-btn:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(11,108,255,0.12);
        border-color: rgba(11,108,255,0.25);
    }

.social-icon {
    width: 22px;
    height: 22px;
}

/* Language button */
.lang-dropdown-wrapper {
    position: relative;
}

.lang-btn {
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Dropdown */
.lang-menu {
    position: absolute;
    right: 0;
    top: 48px;
    width: 260px;
    background: white;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: none;
    z-index: 2000;
}

    .lang-menu h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .lang-menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .lang-menu li {
        padding: 8px 0;
        font-size: 15px;
        cursor: pointer;
        border-radius: 6px;
    }

        .lang-menu li:hover {
            color: #0b6cff;
        }

        .lang-menu li.active {
            font-weight: 600;
            color: #0b6cff;
        }

.lang-btn .lang-icon {
    width: 18px;
    height: 18px;
}
/* ============================
   HERO SECTION (UPDATED ONLY)
   ============================ */
.hero-section {
    width: 100%;
    background: #f5f7ff;
    padding: 79px 0; /* matches original spacing */
}

.hero-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 35px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

/* Left side */
.hero-left {
    max-width: 520px;
}

    .hero-left h1 {
        font-size: 64px;
        line-height: 1.05;
        font-weight: 700;
        letter-spacing: -0.5px;
        color: #0e1630;
        margin-bottom: 24px;
    }

    .hero-left p {
        font-size: 20px;
        line-height: 1.6;
        color: #3a445a;
        margin-bottom: 40px;
    }

.hero-btn {
    display: inline-block;
    background: #1e40ff;
    padding: 16px 34px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 40px;
    text-decoration: none;
    transition: 0.2s ease;
}

    .hero-btn:hover {
        background: #0b28cc;
    }

/* Right side image */
.hero-right {
    text-align: right;
}

    .hero-right img {
        width: 580px;
        max-width: 100%;
        border-radius: 4px;
        display: inline-block;
    }

.quick-links-section {
    padding: 24px 0;
    background: transparent;
}

.quick-links-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 6px 20px rgba(11,38,80,0.03);
}

.quick-link {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    background: transparent;
    border: none;
    padding: 12px 22px;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    min-width: 200px;
    transition: background .14s ease, transform .08s ease;
}

.quick-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.quick-link span {
    font-size: 15px;
    color: #1f2937;
    font-weight: 500;
}

.quick-link:hover {
    background: rgba(11,108,255,0.04);
    transform: translateY(-2px);
}

.quick-link.active {
    background: rgba(11,108,255,0.08);
    box-shadow: 0 6px 18px rgba(11,108,255,0.06);
}

.quick-panels {
    max-width: 1250px;
    margin: 28px auto 80px;
    padding: 0 40px;
}

.quick-panel {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 18px;
    box-shadow: 0 10px 30px rgba(11,38,80,0.03);
    opacity: 0;
    transform: translateY(12px);
    max-height: 0;
    overflow: hidden;
    transition: all .36s cubic-bezier(.2,.9,.2,1);
    border: 1px solid #eef3ff;
}

    .quick-panel.open {
        opacity: 1;
        transform: translateY(0);
        max-height: 800px;
        padding: 28px;
    }

    .quick-panel .panel-inner h3 {
        margin-top: 0;
        font-size: 20px;
        color: #0e1630;
    }

    .quick-panel .panel-inner p {
        color: #4b5563;
        line-height: 1.5;
    }

.app-btn {
    display: inline-block;
    margin-right: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #f3f4f6;
    color: #111;
    text-decoration: none;
}
/* ===== quick-links bar (rounded pill with icons) ===== */
.quick-links-section {
    padding: 0px 0 6px;
    background: transparent;
}

.quick-links-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    gap: 28px;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 6px 20px rgba(11,38,80,0.03);
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    border: none;
    background: transparent;
    padding: 12px 10px;
    cursor: pointer;
    min-width: 200px;
}

    .quick-link .quick-icon {
        width: 34px;
        height: 34px;
        object-fit: contain;
    }

    .quick-link span {
        font-size: 15px;
        color: #202433;
        font-weight: 500;
    }

    .quick-link:hover {
        transform: translateY(-2px);
    }

    .quick-link.active {
        background: rgba(11,108,255,0.06);
        border-radius: 10px;
    }

/* ===== Trading conditions cards ===== */
.trading-conditions-section {
    background: #f5f7ff;
    padding: 72px 0 100px;
}

.tc-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}

.tc-header h2 {
    text-align: center;
    font-size: 40px;
    margin: 0 0 34px;
    color: #0e1630;
    font-weight: 700;
}

.tc-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    align-items: start;
}

.tc-card {
    background: #eef2ff;
    border-radius: 22px;
    padding: 34px 26px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 420px;
    box-shadow: 0 12px 40px rgba(11,38,80,0.04);
    border: 1px solid rgba(235,240,255,0.9);
}

.tc-card-body h4 {
    font-size: 22px;
    margin: 0 0 12px;
    color: #0e1630;
    line-height: 1.12;
}

.tc-card-body p {
    margin: 0 0 20px;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
}

.tc-card-media {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 12px;
}

    .tc-card-media img {
        width: 210px;
        max-width: 100%;
        object-fit: contain;
        display: block;
    }

.tc-cta {
    text-align: center;
    margin-top: 36px;
}

.hero-cta {
    display: inline-block;
    background: linear-gradient(180deg,#1e40ff 0%,#1430cc 100%);
    color: #fff;
    padding: 14px 36px;
    border-radius: 40px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 40px rgba(17,64,255,0.12);
}

/* responsive */
@media (max-width: 1100px) {
    .tc-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-links-container {
        max-width: 960px;
    }
}

@media (max-width: 600px) {
    .tc-cards {
        grid-template-columns: 1fr;
    }

    .tc-card {
        min-height: auto;
        padding: 22px;
    }

    .tc-header h2 {
        font-size: 28px;
    }

    .quick-links-container {
        gap: 12px;
        padding: 12px;
    }

    .quick-link {
        min-width: auto;
    }
}
/* ---------- WHERE TO INVEST / ACCORDION (REPLACEMENT) ---------- */

/* section wrapper: soft bluish band at top like screenshot */
.where-to-invest-section {
    background: #f5f7ff;
    padding: 36px 0 64px;
}

/* inner container - don't use full-width borders, use subtle separators */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 34px 20px;
    box-sizing: border-box;
    background: transparent;
}

/* header */
/* Header wrapper */
.section-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center; /* centers both h2 and p */
    justify-content: center;
    margin-bottom: 32px;
    font-size: 27px;
}

    .section-header h2 {
        max-width: 630px;
        margin: 0 auto 16px;
    }

    .section-header p {
        max-width: 784px;
        margin: 0 auto;
        line-height: 142%;
    }


/* accordion container centered */
.accordion {
    max-width: 880px;
    margin: 18px auto 32px;
    width: 100%;
    display: block;
    gap: 18px;
}

/* each item */
.accordion-item {
    margin-bottom: 14px;
    border-radius: 12px;
    overflow: visible;
    background: transparent;
}

/* button style - full white pill with soft shadow matching screenshot */
.accordion-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: none;
    background: #fff;
    padding: 22px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(11,38,80,0.04);
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    color: #0e1630;
    transition: transform .08s ease, box-shadow .12s ease;
}

    .accordion-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(11,38,80,0.06);
    }

    .accordion-btn:focus {
        outline: none;
        box-shadow: 0 0 0 6px rgba(11,108,255,0.08);
    }

/* title & chevron */
.accordion-title {
    text-align: left;
    display: block;
}

.accordion-indicator {
    margin-left: 12px;
    opacity: 0.8;
    transform: rotate(0deg);
    transition: transform .22s ease;
    font-size: 20px;
}

/* panel hidden by default - use class toggle for open state */
.accordion-panel {
    padding: 18px 22px;
    border-radius: 0 0 12px 12px;
    background: #fff;
    margin-top: 12px;
    box-shadow: 0 10px 30px rgba(11,38,80,0.04);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height .32s cubic-bezier(.2,.9,.2,1), opacity .18s ease;
}

/* when open */
.accordion-item.open .accordion-panel {
    max-height: 720px; /* sufficiently large; change if panels are huge */
    opacity: 1;
}

.accordion-item.open .accordion-indicator {
    transform: rotate(180deg);
}

/* panel text */
.accordion-panel p {
    margin: 0;
    color: #3a445a;
    line-height: 1.6;
    font-size: 16px;
}

/* CTA alignment like screenshot */
.cta {
    text-align: center;
    margin-top: 28px;
}

    .cta .hero-btn {
        display: inline-block;
        min-width: 220px;
        padding: 14px 28px;
        border-radius: 40px;
        font-weight: 700;
    }

/* Responsive behavior */
@media (max-width: 920px) {
    .section-header h2 {
        font-size: 30px;
    }

    .section-header p {
        font-size: 16px;
    }

    .accordion-btn {
        font-size: 18px;
        padding: 18px 18px;
    }

    .accordion-panel {
        padding: 14px 16px;
    }

    .container {
        padding: 24px 16px;
    }

    .where-to-invest-section {
        padding: 28px 0 48px;
    }
}

@media (max-width: 520px) {
    .section-header h2 {
        font-size: 24px;
    }

    .accordion {
        padding: 0 12px;
    }

    .cta .hero-btn {
        width: 100%;
        max-width: 100%;
    }
}

/* accessibility hint (visible focus) */
.accordion-btn:focus-visible {
    outline: 3px solid rgba(11,108,255,0.14);
    outline-offset: 2px;
}
/* About Us Section */
.more-about-us-section {
    background: #f5f7ff;
    padding: 90px 20px;
    margin-top: 40px;
}

.abu-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.abu-title {
    font-size: 42px;
    font-weight: 400;
    line-height: 1.3;
    color: #0e1630;
    margin-bottom: 14px;
}

.abu-subtitle {
    font-size: 51px;
    margin-bottom: 48px;
    color: #0e1630;
    font-weight: 600;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px 5px;
    margin-top: 40px;
    margin-left: -86px;
}

.stat-box h4 {
    font-size: 44px;
    font-weight: 700;
    color: #0047ff;
    margin-bottom: 8px;
}

.stat-box p {
    font-size: 20px;
    line-height: 1.4;
    color: #212529;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
/* ========= Install App Section (full) ========= */

/* Container for the whole section */
.install-app-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 56px 0;
    box-sizing: border-box;
}

/* Blue rounded card */
.install-app-container {
    background: #55c3ff; /* main card color */
    border-radius: 28px;
    width: min(1200px, 92%);
    height: 403px;
    padding: 48px;
    display: flex;
    gap: 48px;
    align-items: center;
    box-sizing: border-box;
    position: relative;
    overflow: visible;
}

/* ---------------- Left side (text & buttons) ---------------- */
.install-buttons {
    flex: 1 1 48%;
    min-width: 320px;
    color: #0e1630;
}

/* Title and subtitle overrides (kept large like reference) */
.install-app-title {
    font-size: 52px; /* big headline */
    line-height: 1.02;
    margin: 0 0 16px;
    font-weight: 700;
    color: #0e1630;
}

.install-app-sub {
    font-size: 24px;
    line-height: 1.4;
    margin: 0 0 24px;
    color: rgba(14,22,48,0.95);
    max-width: 520px;
}

/* Row holding the store buttons */
.store-buttons-row {
    display: flex;
    align-items: center;
    gap: 22px;
}

/* Button wrapper — white rounded card */
.store-btn-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #111;
    padding: 14px 20px; /* slightly smaller padding to match screenshot */
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(11,38,80,0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    min-height: 56px;
}

    .store-btn-wrapper:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 36px rgba(11,38,80,0.10);
    }

/* Icon inside button */
.store-logo {
    width: 44px;
    height: auto;
    display: block;
}

/* Text inside button */
.store-text {
    font-size: 15px;
    color: #0e1630;
    line-height: 1.1;
    white-space: nowrap;
}

    .store-text span {
        font-weight: 500;
        font-size: 13px;
        color: #6b7a90;
    }

    .store-text b {
        font-weight: 400;
        font-size: 16px;
        color: white;
    }

/* ---------------- Right side - phone + QR ---------------- */
.install-app-right {
    flex: 0 0 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* phone wrapper positions the phone and QR overlay */
.phone-wrapper {
    position: relative;
    width: 420px; /* target phone width (adjust if necessary) */
    max-width: 46vw;
    display: block;
}

/* phone image — prefer using the local file path directly in HTML <img src="..."> */
/* If you want CSS fallback background, uncomment the background-image line below */
.phone-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    pointer-events: none;
    user-select: none;
    object-fit: cover;
    -webkit-user-drag: none;
}

/* Example of using the uploaded file path in CSS background (optional)
.phone-wrapper {
    background-image: url("/mnt/data/mobile-app.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
*/

/* QR image overlay — visually centered on the phone like the reference */
.qr-img {
    position: absolute;
    left: 41%;
    top: 46%;
    transform: translate(-50%, -50%);
    width: 186px;
    height: 186px;
    object-fit: cover;
    border-radius: 12px;
    background: #fff;
    padding: 10px;
    box-shadow: 0 12px 36px rgba(11,38,80,0.16);
    border: 6px solid rgba(255,255,255,0.95);
    z-index: 5;
}

/* Small breakpoint adjustments for medium screens */
@media (max-width: 1100px) {
    .phone-wrapper {
        width: 360px;
    }

    .qr-img {
        left: 61%;
        top: 38%;
        width: 200px;
        height: 200px;
    }
}

/* Stack layout and smaller sizes for mobile */
@media (max-width: 900px) {
    .install-app-container {
        flex-direction: column;
        padding: 36px 20px;
        align-items: center;
        text-align: center;
    }

    .install-buttons {
        order: 1;
        width: 100%;
        max-width: 720px;
    }

    .install-app-right {
        order: 2;
        width: 100%;
        margin-top: 18px;
    }

    .install-app-title {
        font-size: 34px;
    }

    .install-app-sub {
        font-size: 16px;
        max-width: none;
        margin: 12px 0 18px;
    }

    .phone-wrapper {
        width: 320px;
    }

    .qr-img {
        left: 50%;
        top: 38%;
        transform: translate(-50%, -50%);
        width: 180px;
        height: 180px;
    }

    .store-buttons-row {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* Minor utility to ensure images don't get pushed out */
.install-app-container img {
    display: block;
    max-width: 100%;
    height: auto;
}
