:root {
    --ctp-ink: #071936;
    --ctp-text: #0b1728;
    --ctp-muted: #52647d;
    --ctp-line: #dce6f2;
    --ctp-soft: #f4f8fd;
    --ctp-blue: #1266f1;
    --ctp-cyan: #38bdf8;
    --ctp-green: #10b981;
    --ctp-red: #ef4444;
    --ctp-amber: #f59e0b;
}

body {
    background: #f6f9fd;
    color: var(--ctp-text);
}

.is-hidden {
    display: none !important;
}

.ctp-hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 68px);
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(3, 8, 16, 0.96) 0%, rgba(3, 8, 16, 0.78) 36%, rgba(3, 8, 16, 0.18) 76%),
        linear-gradient(180deg, rgba(3, 8, 16, 0.08) 0%, rgba(3, 8, 16, 0.96) 100%),
        url('/images/landingPages/ctp-earth-hero.png') center / cover no-repeat;
}

.ctp-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 18% 22%, rgba(56, 189, 248, 0.2), transparent 18%),
        radial-gradient(circle at 76% 28%, rgba(18, 102, 241, 0.16), transparent 22%);
}

.ctp-hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(410px, 0.92fr) minmax(520px, 1.08fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
    min-height: calc(100vh - 126px);
    padding-top: clamp(2.5rem, 6vh, 4.5rem);
    padding-bottom: clamp(2.5rem, 7vh, 5rem);
}

.ctp-hero-copy h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(3.5rem, 5vw, 5.9rem);
    font-weight: 850;
    line-height: 0.98;
}

.ctp-hero-copy h1 span,
.ctp-hero-copy h1 strong {
    display: block;
    white-space: nowrap;
}

.ctp-hero-copy h1 strong {
    color: #1f7aff;
}

.ctp-hero-copy p {
    max-width: 530px;
    margin: 1.4rem 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.15rem, 1.7vw, 1.45rem);
    line-height: 1.42;
}

.ctp-hero-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
    max-width: 720px;
    margin-top: 2.4rem;
}

.ctp-hero-point {
    display: flex;
    min-width: 0;
    gap: 0.8rem;
}

.ctp-hero-point i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 10px;
    color: #eaf6ff;
    font-size: 1rem;
}

.ctp-hero-point span {
    display: block;
    color: #ffffff;
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1.15;
}

.ctp-hero-point small {
    display: block;
    margin-top: 0.25rem;
    color: rgba(226, 232, 240, 0.76);
    font-size: 0.8rem;
    line-height: 1.25;
}

.ctp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.4rem;
}

.ctp-primary-action,
.ctp-secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 178px;
    min-height: 48px;
    padding: 0 1.45rem;
    border-radius: 7px;
    color: #ffffff;
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.ctp-primary-action {
    background: linear-gradient(135deg, #1266f1 0%, #0d7cff 100%);
    box-shadow: 0 18px 38px rgba(18, 102, 241, 0.32);
}

.ctp-primary-action:hover,
.ctp-secondary-action:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.ctp-primary-action i {
    margin-left: 0.7rem;
}

.ctp-secondary-action {
    border: 1px solid rgba(255, 255, 255, 0.58);
    background: rgba(5, 10, 17, 0.28);
}

.ctp-hero-panel {
    justify-self: end;
    width: min(100%, 680px);
    padding: 1.35rem;
    border: 1px solid rgba(226, 232, 240, 0.82);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.97);
    color: #0b1f3a;
    box-shadow: 0 30px 70px rgba(5, 10, 17, 0.3);
    animation: ctp-panel-rise 780ms ease both;
}

.ctp-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: #071936;
    font-weight: 800;
}

.ctp-panel-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.38fr;
    gap: 0.8rem;
}

.ctp-balance-card,
.ctp-chart-card,
.ctp-investments-card,
.ctp-allocation-card,
.ctp-preview-metric,
.ctp-preview-chart,
.ctp-preview-assets,
.feedback-card {
    border: 1px solid var(--ctp-line);
    border-radius: 8px;
    background: #ffffff;
}

.ctp-balance-card,
.ctp-chart-card,
.ctp-investments-card,
.ctp-allocation-card {
    padding: 1rem;
}

.ctp-balance-card span,
.ctp-card-title {
    display: block;
    color: var(--ctp-muted);
    font-size: 0.83rem;
    font-weight: 700;
}

.ctp-balance-card strong {
    display: block;
    margin: 0.4rem 0 0.3rem;
    color: #071936;
    font-size: 2rem;
    line-height: 1;
}

.ctp-balance-card small {
    color: #059669;
    font-weight: 700;
}

.ctp-panel-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.15rem;
}

.ctp-panel-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 1.1rem;
    border: 1px solid #cfd9e6;
    border-radius: 6px;
    background: #ffffff;
    color: #071936;
    font-weight: 800;
}

.ctp-panel-buttons a:first-child {
    border-color: var(--ctp-blue);
    background: var(--ctp-blue);
    color: #ffffff;
}

.ctp-chart-card {
    min-height: 178px;
}

.ctp-chart-tabs {
    display: flex;
    gap: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--ctp-muted);
    font-size: 0.75rem;
    font-weight: 700;
}

.ctp-chart-tabs strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 24px;
    margin-top: -0.25rem;
    border-radius: 6px;
    background: #eef5ff;
    color: var(--ctp-blue);
}

.ctp-chart-card svg {
    display: block;
    width: 100%;
    height: 130px;
}

.ctp-chart-line {
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    animation: ctp-draw-line 1.2s ease 260ms forwards;
}

.ctp-investments-card div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid #edf2f7;
    font-size: 0.85rem;
}

.ctp-investments-card div strong {
    color: #13243e;
}

.ctp-investments-card div em {
    color: #059669;
    font-style: normal;
    font-weight: 800;
}

.ctp-investments-card a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.8rem;
    color: var(--ctp-blue);
    font-size: 0.85rem;
    font-weight: 800;
}

.ctp-allocation-card {
    display: grid;
    grid-template-columns: 130px 1fr;
    align-items: center;
    gap: 0.9rem;
}

.ctp-allocation-card .ctp-card-title {
    grid-column: 1 / -1;
}

.ctp-donut {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 118px;
    height: 118px;
    border-radius: 50%;
    background: conic-gradient(#1266f1 0 45%, #0891b2 45% 70%, #0ea5e9 70% 85%, #d9e4ef 85% 100%);
}

.ctp-donut span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #ffffff;
    color: #071936;
    font-weight: 850;
}

.ctp-donut small {
    color: var(--ctp-muted);
    font-size: 0.68rem;
    font-weight: 700;
}

.ctp-allocation-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ctp-allocation-card li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.55rem;
    color: var(--ctp-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.ctp-allocation-card li span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ctp-blue);
}

.ctp-allocation-card li:nth-child(2) span {
    background: #0891b2;
}

.ctp-allocation-card li:nth-child(3) span {
    background: #0ea5e9;
}

.ctp-allocation-card li b {
    margin-left: auto;
    color: #071936;
}

.ctp-market-strip {
    position: relative;
    z-index: 2;
    min-height: 58px;
    overflow: hidden;
    border-top: 1px solid rgba(56, 189, 248, 0.16);
    background: rgba(7, 20, 38, 0.94);
    color: #ffffff;
}

.ctp-live-ticker {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 58px;
    overflow: hidden;
}

.ctp-live-ticker > span {
    padding-left: 1rem;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 800;
}

.ctp-live-ticker-track {
    display: flex;
    align-items: center;
    width: max-content;
    min-height: 58px;
    animation: ctp-ticker-scroll 38s linear infinite;
}

.ctp-live-ticker-group {
    display: flex;
    align-items: center;
}

.ctp-live-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0 1.35rem;
    color: #ffffff;
    font-weight: 850;
    white-space: nowrap;
}

.ctp-live-ticker-item i {
    color: var(--ctp-cyan);
}

.ctp-live-ticker-item small {
    color: rgba(226, 232, 240, 0.78);
    font-size: 0.82rem;
    font-weight: 800;
}

.ctp-live-ticker-price {
    color: rgba(255, 255, 255, 0.94);
}

.market-change-up {
    color: var(--ctp-green);
}

.market-change-down {
    color: var(--ctp-red);
}

.ctp-homepage {
    overflow: hidden;
    background:
        linear-gradient(180deg, #f6f9fd 0%, #eef5fc 50%, #ffffff 100%);
}

.ctp-market-section,
.ctp-feedback-section {
    padding-top: clamp(4rem, 8vw, 7rem);
    padding-bottom: clamp(4rem, 8vw, 7rem);
}

.ctp-section-heading {
    max-width: 780px;
    margin: 0 auto 2.4rem;
    text-align: center;
}

.ctp-section-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    color: var(--ctp-blue);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ctp-section-heading h2,
.ctp-platform-section h2,
.ctp-final-cta h2 {
    margin: 0;
    color: #071936;
    font-size: clamp(2.3rem, 4vw, 4rem);
    font-weight: 900;
    line-height: 1.06;
}

.ctp-section-heading p {
    margin: 1rem auto 0;
    max-width: 610px;
    color: #52647d;
    font-size: 1.08rem;
    line-height: 1.6;
}

.ctp-market-tabs {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    margin-bottom: 2rem;
}

.product-type {
    min-width: 132px;
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: #52647d;
    font-size: 1.02rem;
    font-weight: 850;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-type.active {
    border-color: rgba(18, 102, 241, 0.18);
    background: #ffffff;
    color: #071936;
    box-shadow: 0 14px 34px rgba(15, 31, 53, 0.08);
}

.market-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.market-card,
.market-card-placeholder {
    min-height: 166px;
    padding: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(15, 31, 53, 0.08);
}

.market-card-live {
    position: relative;
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.market-card-live:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 54px rgba(15, 31, 53, 0.13);
}

.market-card-placeholder {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ctp-muted);
    font-weight: 800;
}

.market-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.market-card-symbol {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #071936;
    font-size: 1.05rem;
    font-weight: 900;
}

.market-card-symbol i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #eaf4ff;
    color: var(--ctp-blue);
    font-size: 0.95rem;
}

.market-card-source {
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 800;
}

.market-card-price {
    display: block;
    color: #071936;
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1;
}

.market-card-change {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    font-size: 0.95rem;
    font-weight: 900;
}

.price-pulse {
    animation: ctp-price-pulse 1s ease;
}

.market-card-sparkline {
    position: absolute;
    right: 1rem;
    bottom: 0.75rem;
    width: 178px;
    height: 56px;
    opacity: 0.72;
}

.market-card-sparkline path {
    fill: none;
    stroke: rgba(18, 102, 241, 0.5);
    stroke-width: 4;
    stroke-linecap: round;
}

.ctp-platform-section {
    padding: clamp(4rem, 8vw, 7rem) 0;
    background:
        radial-gradient(circle at 18% 16%, rgba(56, 189, 248, 0.15), transparent 30%),
        linear-gradient(135deg, #071936 0%, #0b2d5f 62%, #1266f1 150%);
}

.ctp-platform-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
    gap: 1.25rem;
    align-items: stretch;
}

.ctp-dashboard-preview,
.ctp-withdrawals-panel {
    border: 1px solid rgba(191, 219, 254, 0.26);
    border-radius: 12px;
    box-shadow: 0 26px 70px rgba(2, 8, 23, 0.26);
}

.ctp-dashboard-preview {
    padding: clamp(1.1rem, 2vw, 1.45rem);
    background:
        radial-gradient(circle at 82% 0%, rgba(56, 189, 248, 0.18), transparent 34%),
        linear-gradient(145deg, rgba(4, 15, 33, 0.98), rgba(8, 31, 65, 0.96));
    color: #eaf4ff;
}

.ctp-withdrawals-panel {
    background: rgba(255, 255, 255, 0.96);
}

.ctp-preview-topbar,
.ctp-withdrawals-header,
.ctp-preview-chart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.ctp-preview-topbar {
    margin-bottom: 1rem;
}

.ctp-preview-topbar span,
.ctp-withdrawals-header span {
    display: block;
    color: var(--ctp-blue);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ctp-preview-topbar h2,
.ctp-withdrawals-header h2 {
    margin: 0.35rem 0 0;
    color: #071936;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 900;
}

.ctp-dashboard-preview .ctp-preview-topbar h2 {
    color: #ffffff;
}

.ctp-withdrawals-header h2 {
    font-size: clamp(1.45rem, 2.1vw, 2rem);
    line-height: 1.08;
}

.ctp-preview-status,
.ctp-live-dot {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
}

.ctp-preview-status {
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: #eef8f3;
    color: #047857;
    font-size: 0.82rem;
    font-weight: 850;
}

.ctp-preview-status i {
    color: var(--ctp-green);
    font-size: 0.56rem;
}

.ctp-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.ctp-preview-client-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
    padding: 1.05rem;
    border: 1px solid rgba(96, 165, 250, 0.22);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
}

.ctp-preview-client-hero strong {
    display: block;
    margin-top: 0.2rem;
    color: #ffffff;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    font-weight: 900;
    line-height: 1;
}

.ctp-preview-client-hero small,
.ctp-preview-client-label {
    display: block;
    color: rgba(226, 232, 240, 0.74);
    font-weight: 800;
}

.ctp-preview-client-label {
    color: #38bdf8;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ctp-preview-actions {
    display: flex;
    gap: 0.7rem;
}

.ctp-preview-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    min-height: 42px;
    border: 1px solid rgba(191, 219, 254, 0.36);
    border-radius: 7px;
    color: #eaf4ff;
    font-weight: 900;
}

.ctp-preview-actions a:first-child {
    border-color: transparent;
    background: linear-gradient(135deg, #1266f1, #0ea5e9);
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(18, 102, 241, 0.26);
}

.ctp-preview-metric,
.ctp-preview-chart,
.ctp-preview-assets {
    padding: 1rem;
}

.ctp-dashboard-preview .ctp-preview-metric,
.ctp-dashboard-preview .ctp-preview-chart,
.ctp-dashboard-preview .ctp-preview-assets,
.ctp-dashboard-preview .ctp-preview-security {
    border: 1px solid rgba(147, 197, 253, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.ctp-preview-metric span,
.ctp-preview-chart-head span {
    display: block;
    color: var(--ctp-muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.ctp-dashboard-preview .ctp-preview-metric span,
.ctp-dashboard-preview .ctp-preview-chart-head span {
    color: rgba(226, 232, 240, 0.76);
}

.ctp-preview-metric strong {
    display: block;
    margin: 0.45rem 0 0.35rem;
    color: #071936;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    font-weight: 900;
    line-height: 1;
}

.ctp-dashboard-preview .ctp-preview-metric strong {
    color: #ffffff;
}

.ctp-preview-wallet-main {
    grid-column: span 2;
}

.ctp-preview-wallet-main strong {
    font-size: clamp(2rem, 4.2vw, 3.8rem);
}

.ctp-preview-metric small {
    color: var(--ctp-muted);
    font-weight: 800;
}

.ctp-dashboard-preview .ctp-preview-metric small {
    color: rgba(226, 232, 240, 0.72);
}

.ctp-preview-chart {
    grid-column: span 3;
}

.ctp-preview-chart svg {
    width: 100%;
    height: 210px;
    margin-top: 0.8rem;
}

.ctp-preview-chart-head b {
    color: var(--ctp-green);
    font-size: 0.95rem;
}

.ctp-preview-assets {
    grid-column: span 4;
}

.ctp-asset-row {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) 76px;
    align-items: center;
    gap: 0.5rem;
    padding: 0.82rem 0;
    border-bottom: 1px solid #edf2f7;
    color: #0b1728;
    font-size: 0.85rem;
}

.ctp-dashboard-preview .ctp-asset-row {
    border-bottom-color: rgba(226, 232, 240, 0.1);
    color: #eaf4ff;
}

.ctp-asset-row:last-child {
    border-bottom: 0;
}

.ctp-asset-row span {
    font-weight: 900;
}

.ctp-asset-row b {
    color: #253956;
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
}

.ctp-dashboard-preview .ctp-asset-row b {
    color: #ffffff;
}

.ctp-asset-row em {
    color: var(--ctp-green);
    font-style: normal;
    font-weight: 900;
    text-align: right;
    white-space: nowrap;
}

.ctp-preview-security {
    grid-column: span 4;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: 8px;
}

.ctp-preview-security div {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    color: rgba(226, 232, 240, 0.84);
    font-weight: 850;
}

.ctp-preview-security i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(56, 189, 248, 0.13);
    color: #38bdf8;
}

.ctp-withdrawals-panel {
    min-width: 0;
    padding: 1.1rem;
}

.ctp-withdrawals-header {
    margin-bottom: 1rem;
}

.ctp-live-dot {
    color: #047857;
    font-size: 0.78rem;
    font-weight: 850;
}

.ctp-live-dot i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ctp-green);
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.6);
    animation: ctp-live-dot 1.8s ease infinite;
}

.withdrawal-table-head,
.withdrawal-row {
    display: grid;
    grid-template-columns: 1.15fr 0.72fr 1fr 0.58fr;
    align-items: center;
    gap: 0.7rem;
}

.withdrawal-table-head {
    min-height: 42px;
    padding: 0 0.75rem;
    border-bottom: 1px solid #e6edf6;
    color: var(--ctp-muted);
    font-size: 0.76rem;
    font-weight: 900;
}

.withdrawal-scroll-viewport {
    position: relative;
    height: 460px;
    overflow: hidden;
}

.withdrawal-scroll-viewport::before,
.withdrawal-scroll-viewport::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    z-index: 2;
    height: 46px;
    pointer-events: none;
}

.withdrawal-scroll-viewport::before {
    top: 0;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.withdrawal-scroll-viewport::after {
    bottom: 0;
    background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.withdrawal-scroll-track {
    animation: ctp-withdraw-scroll 38s linear infinite;
}

.withdrawal-row {
    min-height: 56px;
    padding: 0 0.75rem;
    border-bottom: 1px solid #edf2f7;
    color: #1c2f4a;
    font-size: 0.83rem;
}

.withdrawal-row > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.withdrawal-row b {
    display: block;
    overflow: hidden;
    color: #071936;
    font-size: 0.86rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.withdrawal-row small {
    display: block;
    margin-top: 0.15rem;
    color: #7b8ba1;
    font-size: 0.7rem;
    font-weight: 700;
}

.withdrawal-row i {
    margin-right: 0.35rem;
    color: var(--ctp-blue);
    font-size: 0.68rem;
}

.withdrawal-row em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 24px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 900;
}

.ctp-feedback-section {
    background: #ffffff;
}

.ctp-feedback-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.feedback-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 282px;
    padding: 1.2rem;
    box-shadow: 0 18px 44px rgba(15, 31, 53, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.feedback-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 60px rgba(15, 31, 53, 0.12);
}

.feedback-card-head {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
}

.feedback-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1266f1, #38bdf8);
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 900;
}

.feedback-card-head strong {
    display: block;
    color: #071936;
    font-size: 0.95rem;
    font-weight: 900;
}

.feedback-card-head span {
    display: block;
    margin-top: 0.12rem;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 800;
}

.feedback-rating {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    color: var(--ctp-amber);
    font-size: 0.88rem;
}

.feedback-rating b {
    margin-left: 0.4rem;
    color: #071936;
    font-size: 0.82rem;
}

.feedback-card p {
    margin: 0;
    color: #253956;
    font-size: 0.95rem;
    line-height: 1.62;
}

.ctp-final-cta {
    padding: clamp(3.5rem, 7vw, 5.8rem) 0;
    background: #071936;
    color: #ffffff;
}

.ctp-final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.ctp-final-cta h2 {
    max-width: 760px;
    color: #ffffff;
}

.ctp-final-cta .ctp-section-kicker {
    justify-content: flex-start;
    color: var(--ctp-cyan);
}

@keyframes ctp-panel-rise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ctp-draw-line {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes ctp-ticker-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes ctp-price-pulse {
    0% {
        color: #071936;
    }

    35% {
        color: var(--ctp-blue);
    }

    100% {
        color: #071936;
    }
}

@keyframes ctp-live-dot {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
    }

    100% {
        box-shadow: 0 0 0 11px rgba(16, 185, 129, 0);
    }
}

@keyframes ctp-withdraw-scroll {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-50%);
    }
}

@media (max-width: 1199px) {
    .ctp-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ctp-hero-panel {
        justify-self: stretch;
        width: 100%;
    }

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

    .ctp-platform-grid {
        grid-template-columns: 1fr;
    }

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

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

    .ctp-preview-chart,
    .ctp-preview-assets {
        grid-column: span 2;
    }

    .ctp-preview-wallet-main,
    .ctp-preview-security {
        grid-column: span 2;
    }
}

@media (max-width: 767px) {
    .ctp-hero {
        min-height: auto;
    }

    .ctp-hero-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        min-height: auto;
        padding-top: 3rem;
        padding-bottom: 2rem;
    }

    .ctp-hero-copy h1 {
        font-size: clamp(3rem, 14vw, 4.3rem);
    }

    .ctp-hero-copy p {
        font-size: 1.05rem;
    }

    .ctp-hero-points {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.6rem;
    }

    .ctp-hero-actions {
        flex-direction: column;
        margin-top: 1.8rem;
    }

    .ctp-primary-action,
    .ctp-secondary-action {
        width: 100%;
    }

    .ctp-hero-panel {
        width: 100%;
        padding: 0.85rem;
        border-radius: 10px;
    }

    .ctp-panel-grid,
    .ctp-preview-grid,
    .market-card-grid,
    .ctp-feedback-grid {
        grid-template-columns: 1fr;
    }

    .ctp-allocation-card {
        grid-template-columns: 120px 1fr;
    }

    .ctp-live-ticker-item {
        padding: 0 1rem;
    }

    .ctp-market-tabs {
        flex-direction: column;
    }

    .product-type {
        width: 100%;
    }

    .ctp-platform-section,
    .ctp-market-section,
    .ctp-feedback-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .ctp-preview-topbar,
    .ctp-preview-client-hero,
    .ctp-withdrawals-header,
    .ctp-final-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .ctp-preview-actions {
        width: 100%;
    }

    .ctp-preview-actions a {
        flex: 1;
    }

    .ctp-preview-chart,
    .ctp-preview-assets,
    .ctp-preview-wallet-main,
    .ctp-preview-security {
        grid-column: auto;
    }

    .ctp-preview-security {
        grid-template-columns: 1fr;
    }

    .ctp-preview-chart svg {
        height: 170px;
    }

    .withdrawal-table-head,
    .withdrawal-row {
        grid-template-columns: 1.1fr 0.7fr 1fr;
    }

    .withdrawal-table-head span:last-child,
    .withdrawal-row > span:last-child {
        display: none;
    }

    .withdrawal-scroll-viewport {
        height: 420px;
    }
}

@media (max-width: 480px) {
    .ctp-allocation-card {
        grid-template-columns: 1fr;
    }

    .ctp-donut {
        margin: 0 auto;
    }

    .market-card-source {
        display: none;
    }

    .market-card-sparkline {
        width: 138px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}
