/* =========================================================
   Orbit Accounts Public Website
   ========================================================= */

:root {
    /* Orbit Accounts brand */
    --primary: #4f2aaa;
    --primary-dark: #371b7c;
    --primary-deep: #211044;
    --primary-light: #f1edff;

    --secondary: #c91f2d;
    --secondary-dark: #a81723;
    --secondary-light: #fff0f2;

    --success: #0f9f6e;
    --success-light: #ecfdf5;
    --warning: #f59e0b;

    --text-primary: #171126;
    --text-secondary: #514b5e;
    --text-muted: #756f80;

    --background: #faf9fc;
    --card: #ffffff;
    --border: #e8e3ef;
    --border-strong: #d8d0e4;

    --shadow-sm:
        0 3px 12px rgba(55, 31, 105, 0.06);

    --shadow-md:
        0 14px 34px rgba(55, 31, 105, 0.10);

    --shadow-lg:
        0 28px 70px rgba(55, 31, 105, 0.15);

    --transition:
        0.2s ease;
}

/* =========================================================
   Reset and general styles
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--text-primary);
    background: var(--background);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body::selection {
    color: #ffffff;
    background: var(--primary);
}

img,
svg {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(79, 42, 170, 0.25);
    outline-offset: 4px;
}

main {
    min-height: 60vh;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* =========================================================
   Background decoration
   ========================================================= */

.page-background {
    position: absolute;
    inset: 0 0 auto;
    z-index: -1;
    height: 820px;
    overflow: hidden;
    pointer-events: none;
}

.page-background::before {
    position: absolute;
    top: -250px;
    left: -190px;
    width: 570px;
    height: 570px;
    content: "";
    border-radius: 50%;
    background: rgba(79, 42, 170, 0.14);
    filter: blur(52px);
}

.page-background::after {
    position: absolute;
    top: -190px;
    right: -170px;
    width: 500px;
    height: 500px;
    content: "";
    border-radius: 50%;
    background: rgba(201, 31, 45, 0.08);
    filter: blur(58px);
}

/* =========================================================
   Header
   ========================================================= */

.header {
    position: relative;
    z-index: 100;
    padding: 18px 0;
}

.navbar {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    padding: 10px 16px 10px 13px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(79, 42, 170, 0.11);
    border-radius: 18px;
    box-shadow:
        0 10px 35px rgba(55, 31, 105, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(18px);
}

/*
   The uploaded logo images contain white space.
   The brand element acts as a crop window.
*/

.header .brand {
    position: relative;
    width: 230px;
    height: 54px;
    display: block;
    flex-shrink: 0;
    overflow: hidden;
    line-height: 0;
    background: #ffffff;
    border-radius: 10px;
}

.header .brand-image-full {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 355px;
    max-width: none;
    height: auto;
    display: block;
    transform: translate(-50%, -50%);
}

.header .brand-image-icon {
    display: none;
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-left: auto;
}

.navigation a {
    position: relative;
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 650;
    white-space: nowrap;
    transition:
        color var(--transition),
        transform var(--transition);
}

.navigation a::after {
    position: absolute;
    bottom: 3px;
    left: 50%;
    width: 0;
    height: 2px;
    content: "";
    background: var(--secondary);
    border-radius: 999px;
    transform: translateX(-50%);
    transition: width var(--transition);
}

.navigation a:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

.navigation a:hover::after {
    width: 22px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* =========================================================
   Buttons
   ========================================================= */

.button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        color var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.button:hover {
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(0);
}

.button svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.button-primary {
    color: #ffffff;
    background: linear-gradient(
        135deg,
        var(--primary),
        #6532c2
    );
    border-color: rgba(79, 42, 170, 0.12);
    box-shadow: 0 10px 24px rgba(79, 42, 170, 0.25);
}

.button-primary:hover {
    color: #ffffff;
    background: linear-gradient(
        135deg,
        var(--primary-dark),
        var(--primary)
    );
    box-shadow: 0 15px 30px rgba(79, 42, 170, 0.30);
}

.button-secondary {
    color: var(--primary);
    background: #ffffff;
    border-color: rgba(79, 42, 170, 0.17);
    box-shadow: var(--shadow-sm);
}

.button-secondary:hover {
    color: var(--secondary);
    background: var(--secondary-light);
    border-color: rgba(201, 31, 45, 0.24);
}

/* =========================================================
   Homepage hero
   ========================================================= */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
    align-items: center;
    gap: 68px;
    padding: 82px 0 102px;
}

.hero-content {
    min-width: 0;
}

.hero-badge {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 21px;
    padding: 7px 13px;
    color: var(--primary-dark);
    background: var(--primary-light);
    border: 1px solid rgba(79, 42, 170, 0.15);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 750;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(201, 31, 45, 0.12);
}

.hero h1 {
    max-width: 700px;
    margin: 0;
    color: var(--text-primary);
    font-size: clamp(43px, 5vw, 66px);
    font-weight: 780;
    line-height: 1.07;
    letter-spacing: -0.052em;
}

.gradient-text {
    color: transparent;
    background: linear-gradient(
        105deg,
        var(--primary) 0%,
        #6734c4 48%,
        var(--secondary) 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
}

.hero-description {
    max-width: 620px;
    margin: 25px 0 0;
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 35px;
}

.hero-actions .button {
    min-height: 50px;
    padding: 14px 24px;
}

.hero-note {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 29px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 550;
}

.hero-note span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hero-note svg {
    width: 16px;
    height: 16px;
    color: var(--success);
}

/* =========================================================
   Dashboard preview
   ========================================================= */

.dashboard-wrapper {
    position: relative;
    min-width: 0;
}

.dashboard-wrapper::before {
    position: absolute;
    inset: 10% -7% -8% 9%;
    z-index: -1;
    content: "";
    border-radius: 40px;
    background: linear-gradient(
        135deg,
        rgba(79, 42, 170, 0.24),
        rgba(201, 31, 45, 0.13)
    );
    filter: blur(42px);
}

.dashboard {
    position: relative;
    padding: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(79, 42, 170, 0.12);
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
}

.dashboard::after {
    position: absolute;
    top: -90px;
    right: -90px;
    width: 220px;
    height: 220px;
    content: "";
    background: rgba(201, 31, 45, 0.04);
    border-radius: 50%;
    pointer-events: none;
}

.dashboard-topbar {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px 4px 16px;
}

.window-controls {
    display: flex;
    gap: 6px;
}

.window-controls span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.window-controls span:nth-child(1) {
    background: var(--secondary);
}

.window-controls span:nth-child(2) {
    background: #e8ad26;
}

.window-controls span:nth-child(3) {
    background: var(--primary);
}

.preview-label {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 650;
}

.dashboard-title-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 15px;
}

.dashboard-title {
    margin: 0;
    color: var(--text-primary);
    font-size: 16px;
}

.dashboard-subtitle {
    margin: 2px 0 0;
    color: var(--text-muted);
    font-size: 11px;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    color: #047857;
    background: var(--success-light);
    border: 1px solid rgba(15, 159, 110, 0.10);
    border-radius: 8px;
    font-size: 10px;
    font-weight: 750;
}

.status::before {
    width: 6px;
    height: 6px;
    content: "";
    background: var(--success);
    border-radius: 50%;
}

.metric-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.metric-card {
    min-width: 0;
    padding: 13px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 11px;
    transition:
        border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.metric-card:hover {
    border-color: rgba(79, 42, 170, 0.24);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.metric-label {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 650;
}

.metric-value {
    display: block;
    margin-top: 7px;
    overflow: hidden;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 760;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.metric-change {
    display: inline-block;
    margin-top: 5px;
    color: var(--success);
    font-size: 9px;
    font-weight: 750;
}

.chart-card {
    position: relative;
    z-index: 1;
    margin-top: 10px;
    padding: 15px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.chart-title {
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 750;
}

.chart-filter {
    color: var(--text-muted);
    font-size: 9px;
}

.chart {
    width: 100%;
    height: 120px;
    display: block;
}

/* Override inline SVG presentation colors */

.chart path[stroke="#4f46e5"] {
    stroke: var(--primary);
}

.chart path[stroke="#06b6d4"] {
    stroke: var(--secondary);
}

.chart stop[stop-color="#4f46e5"] {
    stop-color: var(--primary);
}

.activity-list {
    position: relative;
    z-index: 1;
    margin-top: 10px;
    padding: 4px 14px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.activity-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f1edf5;
}

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

.activity-icon {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: var(--primary);
    background: var(--primary-light);
    border-radius: 8px;
}

.activity-icon svg {
    width: 14px;
    height: 14px;
}

.activity-content {
    min-width: 0;
    flex: 1;
}

.activity-title {
    color: var(--text-primary);
    font-size: 10px;
    font-weight: 750;
}

.activity-description {
    margin-top: 1px;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.activity-time {
    color: var(--text-muted);
    font-size: 8px;
    white-space: nowrap;
}

/* =========================================================
   Shared sections
   ========================================================= */

.section {
    padding: 100px 0;
}

.section-white {
    background: #ffffff;
    border-top: 1px solid #f0edf4;
    border-bottom: 1px solid #f0edf4;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 760;
    line-height: 1.18;
    letter-spacing: -0.037em;
}

.section-heading p {
    margin: 17px 0 0;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.75;
}

/* =========================================================
   Features
   ========================================================= */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.feature-card {
    position: relative;
    padding: 28px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 17px;
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.feature-card::before {
    position: absolute;
    top: 0;
    left: 28px;
    width: 44px;
    height: 3px;
    content: "";
    background: linear-gradient(
        90deg,
        var(--primary),
        var(--secondary)
    );
    border-radius: 0 0 999px 999px;
    opacity: 0;
    transition: opacity var(--transition);
}

.feature-card:hover {
    border-color: rgba(79, 42, 170, 0.25);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: var(--primary-light);
    border: 1px solid rgba(79, 42, 170, 0.08);
    border-radius: 13px;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-card:nth-child(3n + 2) .feature-icon {
    color: var(--secondary);
    background: var(--secondary-light);
    border-color: rgba(201, 31, 45, 0.08);
}

.feature-card h3 {
    margin: 20px 0 9px;
    color: var(--text-primary);
    font-size: 17px;
    line-height: 1.35;
}

.feature-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.75;
}

/* =========================================================
   Steps
   ========================================================= */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.step {
    position: relative;
    padding: 29px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(79, 42, 170, 0.07);
    border-radius: 17px;
}

.step-number {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(79, 42, 170, 0.23);
    font-size: 14px;
    font-weight: 800;
}

.step h3 {
    margin: 20px 0 8px;
    color: var(--text-primary);
    font-size: 18px;
}

.step p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.75;
}

/* =========================================================
   Security section
   ========================================================= */

.security-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    align-items: center;
    gap: 60px;
    padding: 56px;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(201, 31, 45, 0.26),
            transparent 36%
        ),
        radial-gradient(
            circle at 12% 110%,
            rgba(106, 55, 198, 0.30),
            transparent 42%
        ),
        var(--primary-deep);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 25px;
    box-shadow: var(--shadow-lg);
}

.security-panel::after {
    position: absolute;
    right: -85px;
    bottom: -110px;
    width: 260px;
    height: 260px;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.security-panel h2 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #ffffff;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 750;
    line-height: 1.17;
    letter-spacing: -0.037em;
}

.security-panel p {
    position: relative;
    z-index: 1;
    margin: 18px 0 0;
    color: #d1c8df;
    font-size: 16px;
    line-height: 1.75;
}

.security-list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.security-check {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: #7ce8bf;
    background: rgba(15, 159, 110, 0.16);
    border-radius: 8px;
}

.security-check svg {
    width: 15px;
    height: 15px;
}

.security-item > span:last-child {
    color: #f6f3fa;
    font-size: 13px;
    font-weight: 650;
}

/* =========================================================
   FAQ
   ========================================================= */

.faq {
    max-width: 820px;
    margin: 0 auto;
}

.faq details {
    margin-bottom: 12px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

.faq details:hover,
.faq details[open] {
    border-color: rgba(79, 42, 170, 0.22);
    box-shadow: var(--shadow-md);
}

.faq summary {
    position: relative;
    padding: 20px 54px 20px 22px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 720;
    cursor: pointer;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    position: absolute;
    top: 50%;
    right: 22px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    content: "+";
    color: var(--primary);
    background: var(--primary-light);
    border-radius: 8px;
    font-size: 20px;
    font-weight: 450;
    transform: translateY(-50%);
}

.faq details[open] summary::after {
    content: "−";
    color: var(--secondary);
    background: var(--secondary-light);
}

.faq-answer {
    padding: 0 22px 21px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.75;
}

/* =========================================================
   CTA
   ========================================================= */

.cta {
    padding: 80px 0;
}

.cta-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding: 49px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(201, 31, 45, 0.11),
            transparent 36%
        ),
        linear-gradient(
            135deg,
            var(--primary-light),
            #fff7f8
        );
    border: 1px solid rgba(79, 42, 170, 0.15);
    border-radius: 23px;
}

.cta-card::before {
    position: absolute;
    top: -110px;
    right: -80px;
    width: 260px;
    height: 260px;
    content: "";
    border: 1px solid rgba(201, 31, 45, 0.10);
    border-radius: 50%;
}

.cta-card > * {
    position: relative;
    z-index: 1;
}

.cta-card h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -0.027em;
}

.cta-card p {
    margin: 10px 0 0;
    color: var(--text-muted);
    font-size: 15px;
}

.cta-actions {
    display: flex;
    flex-shrink: 0;
    gap: 10px;
}

/* =========================================================
   Public information pages
   About, Contact, Help, Security, Privacy, Terms
   ========================================================= */

.public-information-page {
    background: var(--background);
}

.page-hero {
    position: relative;
    padding: 72px 0 48px;
    overflow: hidden;
    text-align: center;
}

.page-hero::before {
    position: absolute;
    top: -310px;
    left: 50%;
    width: 520px;
    height: 520px;
    content: "";
    background: rgba(79, 42, 170, 0.13);
    border-radius: 50%;
    filter: blur(52px);
    transform: translateX(-50%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    padding: 7px 13px;
    color: var(--primary-dark);
    background: var(--primary-light);
    border: 1px solid rgba(79, 42, 170, 0.15);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 760;
}

.page-hero h1 {
    max-width: 820px;
    margin: 0 auto;
    color: var(--text-primary);
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 770;
    line-height: 1.14;
    letter-spacing: -0.043em;
}

.page-hero p {
    max-width: 730px;
    margin: 19px auto 0;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.75;
}

.page-content {
    padding: 20px 0 95px;
}

.content-card {
    max-width: 860px;
    margin: 0 auto;
    padding: 43px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 19px;
    box-shadow: var(--shadow-md);
}

.content-card h2 {
    margin: 37px 0 11px;
    color: var(--text-primary);
    font-size: 23px;
    line-height: 1.3;
    letter-spacing: -0.021em;
}

.content-card h2:first-child {
    margin-top: 0;
}

.content-card h3 {
    margin: 28px 0 9px;
    color: var(--text-primary);
    font-size: 18px;
}

.content-card p {
    margin: 0 0 17px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.82;
}

.content-card ul,
.content-card ol {
    margin: 0 0 22px;
    padding-left: 23px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.75;
}

.content-card li {
    margin-bottom: 8px;
}

.content-card a {
    color: var(--primary);
    font-weight: 680;
}

.content-card a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.content-card strong {
    color: var(--text-primary);
}

.notice {
    position: relative;
    margin: 25px 0 0;
    padding: 18px 19px 18px 50px;
    color: var(--primary-dark);
    background: linear-gradient(
        135deg,
        var(--primary-light),
        #faf8ff
    );
    border: 1px solid rgba(79, 42, 170, 0.17);
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.72;
}

.notice::before {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    content: "i";
    color: #ffffff;
    background: var(--primary);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
}

/* Support older public-page layout class names */

.hero-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    padding: 7px 13px;
    color: var(--primary-dark);
    background: var(--primary-light);
    border: 1px solid rgba(79, 42, 170, 0.15);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 760;
}

.content {
    padding: 20px 0 95px;
}

/* =========================================================
   Footer
   ========================================================= */

.footer {
    position: relative;
    overflow: hidden;
    padding: 62px 0 30px;
    color: #d7d1e3;
    background:
        radial-gradient(
            circle at 8% 10%,
            rgba(95, 48, 185, 0.30),
            transparent 30%
        ),
        radial-gradient(
            circle at 95% 100%,
            rgba(201, 31, 45, 0.20),
            transparent 30%
        ),
        #180d31;
}

.footer::before {
    position: absolute;
    top: -170px;
    left: -150px;
    width: 400px;
    height: 400px;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.035);
    border-radius: 50%;
    pointer-events: none;
}

.footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
    gap: 55px;
}

/* New image footer logo */

.footer-logo {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.footer-logo-image {
    width: 250px;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* Fallback for your older letter logo footer */

.footer .brand {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.footer .brand-logo {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );
    border-radius: 13px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.20);
    font-size: 18px;
    font-weight: 800;
}

.footer .brand-name {
    color: #ffffff;
    font-size: 18px;
    font-weight: 750;
}

.footer-brand p {
    max-width: 350px;
    margin: 20px 0 0;
    color: #aaa2bb;
    font-size: 13px;
    line-height: 1.75;
}

.footer-trust {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 17px;
    color: #c9c1d7;
    font-size: 12px;
    font-weight: 600;
}

.footer-trust-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(201, 31, 45, 0.15);
}

.footer h3 {
    margin: 4px 0 17px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.025em;
}

.footer-links {
    display: grid;
    gap: 11px;
}

.footer-links a {
    width: fit-content;
    color: #aaa2bb;
    font-size: 13px;
    transition:
        color var(--transition),
        transform var(--transition);
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 48px;
    padding-top: 25px;
    color: #81788f;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    font-size: 12px;
}

.footer-bottom strong {
    color: #b8afc6;
    font-weight: 650;
}

/* =========================================================
   Responsive: large tablets
   ========================================================= */

@media (max-width: 1100px) {
    .navbar {
        gap: 18px;
    }

    .header .brand {
        width: 205px;
    }

    .header .brand-image-full {
        width: 320px;
    }

    .navigation {
        gap: 20px;
    }

    .navigation a {
        font-size: 13px;
    }

    .hero {
        gap: 46px;
    }

    .footer-grid {
        gap: 38px;
    }
}

/* =========================================================
   Responsive: tablets
   ========================================================= */

@media (max-width: 980px) {
    .navigation {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 58px;
        padding-top: 60px;
    }

    .hero-content {
        max-width: 780px;
        margin: 0 auto;
        text-align: center;
    }

    .hero-badge,
    .hero-actions {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-note {
        justify-content: center;
    }

    .dashboard-wrapper {
        width: min(670px, 100%);
        margin: 0 auto;
    }

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

    .security-panel {
        grid-template-columns: 1fr;
        gap: 38px;
    }

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

/* =========================================================
   Responsive: mobile
   ========================================================= */

@media (max-width: 700px) {
    html {
        scroll-padding-top: 90px;
    }

    .container {
        width: min(100% - 28px, 1180px);
    }

    .header {
        padding: 12px 0;
    }

    .navbar {
        min-height: 68px;
        padding: 9px 11px;
        border-radius: 15px;
    }

    .header .brand {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .header .brand-image-full {
        display: none;
    }

    .header .brand-image-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 80px;
        max-width: none;
        height: auto;
        display: block;
        transform: translate(-50%, -50%);
    }

    .header-actions .button-secondary {
        display: none;
    }

    .header-actions .button-primary {
        min-height: 43px;
        padding: 10px 15px;
    }

    .hero {
        padding: 50px 0 74px;
    }

    .hero h1 {
        font-size: 41px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-note {
        gap: 12px;
    }

    .metric-grid {
        grid-template-columns: 1fr;
    }

    .metric-card:nth-child(3) {
        display: none;
    }

    .chart {
        height: 105px;
    }

    .section {
        padding: 76px 0;
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .feature-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .security-panel {
        padding: 36px 24px;
        border-radius: 20px;
    }

    .security-panel h2 {
        font-size: 34px;
    }

    .cta {
        padding: 65px 0;
    }

    .cta-card {
        align-items: flex-start;
        flex-direction: column;
        padding: 36px 25px;
    }

    .cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .cta-actions .button {
        width: 100%;
    }

    .page-hero {
        padding: 52px 0 37px;
    }

    .page-hero h1 {
        font-size: 37px;
    }

    .page-hero p {
        font-size: 15px;
    }

    .page-content,
    .content {
        padding-bottom: 72px;
    }

    .content-card {
        padding: 29px 22px;
        border-radius: 16px;
    }

    .content-card h2 {
        font-size: 21px;
    }

    .notice {
        padding: 17px 17px 17px 47px;
    }

    .footer {
        padding-top: 52px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-logo-frame {
        width: 215px;
    }

    .footer-logo-image {
        width: 220px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 38px;
    }
}

/* =========================================================
   Responsive: small mobile
   ========================================================= */

@media (max-width: 480px) {
    .container {
        width: min(100% - 22px, 1180px);
    }

    .header-actions .button-primary {
        padding: 10px 13px;
        font-size: 13px;
    }

    .header-actions .button-primary svg {
        display: none;
    }

    .hero {
        padding-top: 40px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-badge {
        font-size: 11px;
    }

    .hero-note {
        align-items: center;
        flex-direction: column;
    }

    .dashboard {
        padding: 13px;
        border-radius: 18px;
    }

    .dashboard-title-row {
        gap: 10px;
    }

    .activity-time {
        display: none;
    }

    .section-heading h2 {
        font-size: 31px;
    }

    .feature-card,
    .step {
        padding: 24px;
    }

    .security-panel h2 {
        font-size: 30px;
    }

    .cta-card h2 {
        font-size: 26px;
    }

    .page-hero h1 {
        font-size: 33px;
    }

    .content-card {
        padding: 25px 19px;
    }
}

/* =========================================================
   Reduced motion accessibility
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* =========================================================
   Print
   ========================================================= */

@media print {
    .header,
    .footer,
    .page-background,
    .cta {
        display: none !important;
    }

    body {
        color: #000000;
        background: #ffffff;
    }

    .content-card {
        max-width: none;
        padding: 0;
        border: 0;
        box-shadow: none;
    }
}
