@font-face {
    font-family: 'SamsungSharpSans';
    src: url('/static/fonts/SamsungSharpSansBd.woff2') format('woff2');
    /* We can also use this: https://encore.scdn.co/fonts/CircularSpTitle-Black-3f9afb402080d53345ca1850226ca724.woff2 */
    font-weight: 1001;
    font-display: swap; /* Improves perceived performance */
  }

  @font-face {
    font-family: 'OnePlus Sans Regular';
    src: url('https://forumstatic.oneplusmobile.com/opforum-gl/public/font/OPPOSans-Regular.woff2?ver=3') format('woff2');
    font-weight: 300;
  }

  @font-face {
    font-family: 'JetBrains Mono';
    src: url('/static/fonts/JetBrainsMono-Light.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap; /* Improves perceived performance */
  }

:root {
    color-scheme: dark;
    --bg-primary: #0b0d16;
    --bg-secondary: rgba(23, 26, 43, 0.85);
    --bg-elevated: rgba(31, 35, 60, 0.9);
    --accent: #7c5cff;
    --accent-soft: rgba(124, 92, 255, 0.18);
    --accent-strong: rgba(124, 92, 255, 0.35);
    --success: #33d69f;
    --warning: #ffa94d;
    --danger: #ff6b6b;
    --text-primary: #f7f8ff;
    --text-secondary: rgba(247, 248, 255, 0.68);
    --border-soft: rgba(255, 255, 255, 0.08);
    --shadow-soft: 0 24px 64px rgba(12, 16, 35, 0.45);
}

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

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'OnePlus Sans Regular', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(circle at 20% 20%, rgba(124, 92, 255, 0.12), transparent 45%),
                radial-gradient(circle at 80% 0%, rgba(41, 196, 255, 0.15), transparent 40%),
                var(--bg-primary);
    color: var(--text-primary);
}

.background-glow {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 15% 35%, rgba(124, 92, 255, 0.22), transparent 55%),
                radial-gradient(circle at 80% 20%, rgba(57, 198, 250, 0.18), transparent 50%),
                radial-gradient(circle at 60% 75%, rgba(255, 135, 135, 0.12), transparent 55%);
    opacity: 0.8;
    z-index: -2;
}

.page {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px 18px 80px;
}

.dashboard-alert {
    display: none;
    margin-bottom: 18px;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 107, 107, 0.3);
    background: rgba(255, 107, 107, 0.15);
    color: var(--danger);
    font-size: 14px;
    line-height: 1.5;
}

.dashboard-alert--visible {
    display: block;
}

.page__header {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

@media (min-width: 860px) {
    .page__header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.identity__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
}

.identity__title {
    margin: 12px 0 8px;
    font-family: 'SamsungSharpSans', sans-serif;
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 1001;
}

.identity__title span {
    background: linear-gradient(90deg, #82e9ff 0%, #a18eff 50%, #ffb0ff 100%);
    -webkit-background-clip: text;
    color: transparent;
}

.identity__subtitle {
    margin: 0;
    color: var(--text-secondary);
    max-width: 480px;
    line-height: 1.5;
}

.actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

@media (min-width: 860px) {
    .actions {
        align-items: flex-end;
        width: auto;
        min-width: 260px;
    }
}

.btn {
    appearance: none;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 18px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn--primary {
    background: linear-gradient(120deg, #6552ff 0%, #7c5cff 50%, #9b6fff 100%);
    color: var(--text-primary);
    box-shadow: 0 18px 32px rgba(124, 92, 255, 0.35);
}

.btn--primary:disabled {
    cursor: wait;
    filter: grayscale(0.3);
    opacity: 0.7;
    box-shadow: none;
}

.btn--primary:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 36px rgba(124, 92, 255, 0.45);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    padding: 10px 14px;
    font-size: 14px;
}

.btn--tiny {
    padding: 8px 12px;
    font-size: 13px;
}

.btn__icon {
    font-size: 18px;
}

.code-access {
    position: relative;
    width: clamp(260px, 32vw, 420px);
    min-width: 260px;
    padding: 22px 24px;
    border-radius: 22px;
    background: linear-gradient(140deg, rgba(16, 18, 34, 0.92), rgba(40, 44, 72, 0.9));
    border: 1px solid rgba(129, 101, 255, 0.45);
    box-shadow: 0 24px 50px rgba(12, 16, 40, 0.45);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.code-access__glow {
    position: absolute;
    inset: -60% -10% auto;
    height: 180%;
    background: radial-gradient(circle at 20% 30%, rgba(130, 233, 255, 0.45), transparent 70%),
                radial-gradient(circle at 80% 0%, rgba(255, 180, 255, 0.4), transparent 65%);
    opacity: 0.8;
    pointer-events: none;
    filter: blur(14px);
}

.code-access__body {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    z-index: 1;
}

.code-access__meta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.code-access__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(140deg, rgba(132, 100, 255, 0.3), rgba(69, 208, 255, 0.28));
    box-shadow: 0 16px 32px rgba(60, 90, 190, 0.32);
    font-size: 24px;
}

.code-access__copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.code-access__label {
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(247, 248, 255, 0.68);
}

.code-server-status {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.code-access__button {
    position: relative;
    padding: 14px 20px;
    border-radius: 14px;
    background: linear-gradient(120deg, #3b8dff 0%, #5b6bff 55%, #7f7bff 100%);
    box-shadow: 0 20px 36px rgba(90, 120, 255, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    flex: 0 0 auto;
    white-space: nowrap;
}

.code-access__button:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 44px rgba(90, 120, 255, 0.48);
    filter: brightness(1.06);
}

.code-access__button:disabled {
    box-shadow: none;
    filter: saturate(0.7);
}

.code-server-password {
    position: relative;
    z-index: 1;
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-primary);
    display: flex;
    justify-content: flex-start;
    font-family: 'JetBrains Mono', monospace;
}

.spoiler {
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    width: 100%;
}

.spoiler__toggle {
    appearance: none;
    border: none;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 13px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transition: background 0.2s ease, transform 0.2s ease;
}

.spoiler__toggle:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.spoiler__content {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 12, 25, 0.7);
}

.spoiler__content code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.04em;
}

.spoiler__copy {
    appearance: none;
    border: none;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 12px;
    cursor: pointer;
    background: rgba(124, 92, 255, 0.18);
    color: var(--accent);
    transition: background 0.2s ease, color 0.2s ease;
}

.spoiler__copy:hover {
    background: rgba(124, 92, 255, 0.28);
    color: var(--text-primary);
}

.spoiler--revealed .spoiler__content {
    display: inline-flex;
}

.code-server-password .spoiler__content {
    justify-content: space-between;
    width: 100%;
}

@media (max-width: 720px) {
    .code-access {
        width: 100%;
        min-width: 0;
        padding: 20px;
    }

    .code-access__body {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .code-access__meta {
        width: 100%;
        justify-content: flex-start;
    }

    .code-access__button {
        width: 100%;
        justify-content: center;
        white-space: normal;
    }

    .code-server-status {
        font-size: 14px;
    }
}

.grid {
    margin-top: 28px;
    display: grid;
    gap: 24px;
}

@media (min-width: 1040px) {
    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card--console {
        grid-column: span 2;
    }
}

.card {
    padding: 24px;
    background: var(--bg-elevated);
    border-radius: 18px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
}

.card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.card__header--compact {
    margin-bottom: 16px;
}

.card__title {
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: 600;
}

.card__header .card__title {
    margin: 0;
}

.card__header--compact .card__title {
    margin-bottom: 0;
}

.card--console .card__title {
    margin-bottom: 0;
}

.plan {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.plan__summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.plan__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.plan__label {
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.plan__value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
}

.plan__meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px 18px;
    font-size: 13px;
    color: var(--text-secondary);
}

.plan__meta-label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 4px;
    color: var(--text-secondary);
}

.plan__meta-value {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 14px;
}

.plan__progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.plan__progress-bar {
    position: relative;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.plan__progress-fill {
    position: absolute;
    inset: 0;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(124, 92, 255, 0.85), rgba(130, 233, 255, 0.85));
    transition: width 0.4s ease;
}

.plan__progress-caption {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: right;
}

.builds,
.journey {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.builds--empty,
.journey--empty {
    justify-content: center;
    min-height: 140px;
}

.empty-state {
    text-align: center;
    padding: 24px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px dashed var(--border-soft);
}

.empty-state__icon {
    font-size: 26px;
    margin-bottom: 10px;
}

.empty-state__text {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.build {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.build__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.build__title {
    font-weight: 600;
    font-size: 15px;
}

.build__meta {
    color: var(--text-secondary);
    font-size: 13px;
}

.progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress__bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 999px;
    overflow: hidden;
}

.progress__value {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, rgba(124, 92, 255, 0.9), rgba(41, 196, 255, 0.9));
    border-radius: 999px;
    width: 0%;
    transition: width 0.4s ease;
}

.progress__meta {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge--success {
    background: rgba(51, 214, 159, 0.16);
    color: var(--success);
}

.badge--warning {
    background: rgba(255, 169, 77, 0.16);
    color: var(--warning);
}

.badge--danger {
    background: rgba(255, 107, 107, 0.16);
    color: var(--danger);
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
}

.pill--muted {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
}

.pill--success {
    background: rgba(51, 214, 159, 0.18);
    color: var(--success);
}

.pill--warning {
    background: rgba(255, 169, 77, 0.18);
    color: var(--warning);
}

.pill--danger {
    background: rgba(255, 107, 107, 0.18);
    color: var(--danger);
}

.journey {
    position: relative;
}

.journey__item {
    position: relative;
    padding-left: 32px;
    margin-bottom: 18px;
}

.journey__item::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 20px;
    width: 2px;
    height: calc(100% - 20px);
    background: rgba(255, 255, 255, 0.08);
}

.journey__item--last::before {
    display: none;
}

.journey__item--last {
    margin-bottom: 0;
}

.journey__marker {
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.2);
}

.journey__item--live .journey__marker {
    background: var(--warning);
    box-shadow: 0 0 0 4px rgba(255, 169, 77, 0.22);
}

.journey__item--success .journey__marker {
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(51, 214, 159, 0.22);
}

.journey__item--danger .journey__marker {
    background: var(--danger);
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.22);
}

.journey__panel {
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.journey__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.journey__title {
    font-weight: 600;
    font-size: 15px;
}

.journey__meta {
    font-size: 13px;
    color: var(--text-secondary);
}

.journey__footer {
    font-size: 12px;
    color: var(--text-secondary);
}

.card--console {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card--console .card__header {
    padding: 20px 24px 0;
}

.console-dock {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 18px 24px 24px;
}

.console-panel {
    position: relative;
    border-radius: 22px;
    padding: 1px;
    background: linear-gradient(140deg, rgba(124, 92, 255, 0.4), rgba(41, 196, 255, 0.32));
    box-shadow: 0 24px 56px rgba(5, 8, 24, 0.45);
}

.console-panel__backdrop {
    position: absolute;
    inset: -40% 10% auto;
    height: 160%;
    background: radial-gradient(circle at top, rgba(255, 180, 255, 0.45), transparent 70%);
    filter: blur(60px);
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}

.console-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.console-actions .btn {
    padding: 8px 12px;
    min-width: 0;
}

.select {
    appearance: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 14px;
}

.console {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 24px;
    background: rgba(7, 9, 20, 0.92);
    border-radius: 21px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #dbe4ff;
    font-family: 'JetBrains Mono', 'SFMono-Regular', Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
    font-size: 13px;
    line-height: 1.6;
    min-height: 260px;
    max-height: 360px;
    overflow-y: auto;
    white-space: normal;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    scroll-behavior: smooth;
}

.console__log {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 200px;
    justify-content: flex-end;
}

.console__log::after {
    content: '';
    flex-shrink: 0;
    height: 1px;
}

.console-input {
    margin: 0;
}

.console-input__wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 18px 20px 16px;
    border-radius: 18px;
    border: 1px solid rgba(124, 92, 255, 0.28);
    background: linear-gradient(135deg, rgba(10, 12, 25, 0.92), rgba(21, 24, 42, 0.9));
    box-shadow: 0 18px 42px rgba(5, 8, 24, 0.35);
    transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.console-input__wrapper--active {
    border-color: rgba(124, 92, 255, 0.72);
    box-shadow: 0 0 0 1px rgba(124, 92, 255, 0.3), 0 20px 46px rgba(5, 8, 24, 0.4);
}

.console-input__wrapper--active .console-input__textarea {
    border-bottom-color: rgba(124, 92, 255, 0.46);
}

.console-input__wrapper--disabled {
    opacity: 0.6;
}

.console-input__wrapper--dirty:not(.console-input__wrapper--active) {
    border-color: rgba(124, 92, 255, 0.32);
}

.console-input__textarea {
    resize: none;
    width: 100%;
    min-height: 48px;
    max-height: 280px;
    padding: 10px 0 6px;
    border: none;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
    background: transparent;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', 'SFMono-Regular', Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
    font-size: 13px;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.console-input__textarea::placeholder {
    color: rgba(247, 248, 255, 0.45);
}

.console-input__textarea:focus {
    outline: none;
}

.console-input__textarea:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.console-input__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.console-input__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.console-input__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(124, 92, 255, 0.2);
    color: var(--text-primary);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.console-input__hint {
    font-size: 12px;
    color: var(--text-secondary);
}

.console-input__status {
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-secondary);
    min-height: 18px;
    transition: color 0.2s ease;
}

.console-input__status[data-variant="success"] {
    color: var(--success);
}

.console-input__status[data-variant="warning"] {
    color: var(--warning);
}

.console-input__status[data-variant="danger"] {
    color: var(--danger);
}

.console-input__status[data-variant="muted"] {
    color: var(--text-secondary);
}

.console-input__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.console-input__actions .btn {
    min-width: 0;
}

.console::-webkit-scrollbar {
    width: 8px;
}

.console::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.console::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.console__line {
    display: block;
    white-space: pre;
}

.console__line--comment {
    color: #5c6c80;
}

.console__line--prompt {
    color: var(--accent);
    font-weight: 600;
}

.console__line--error {
    color: var(--danger);
}

.console__line--warning {
    color: var(--warning);
}

.console__keyword {
    color: #82e9ff;
    font-weight: 600;
}

.console__string {
    color: #ffd580;
}

.console__env {
    color: var(--accent);
    font-weight: 600;
}

.console__error {
    color: var(--danger);
    font-weight: 600;
}

.console__warning {
    color: var(--warning);
    font-weight: 600;
}

.no-plan .page {
    max-width: 900px;
}

.page--narrow {
    max-width: 880px;
}

.hero-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px;
    background: var(--bg-elevated);
    border-radius: 22px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.hero-card__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hero-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-card__title {
    margin: 0;
    font-family: 'SamsungSharpSans', sans-serif;
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 1001;
}

.hero-card__subtitle {
    margin: 0;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.hero-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-card__art {
    position: relative;
    flex: 1;
    min-height: 220px;
}

.hero-card__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(6px);
    opacity: 0.8;
}

.hero-card__orb--primary {
    width: 220px;
    height: 220px;
    bottom: -60px;
    right: -40px;
    background: rgba(124, 92, 255, 0.35);
}

.hero-card__orb--accent {
    width: 180px;
    height: 180px;
    top: -40px;
    right: 40px;
    background: rgba(130, 233, 255, 0.28);
}

.hero-card__illustration {
    position: absolute;
    inset: 20px 40px;
    border-radius: 22px;
    background: radial-gradient(circle at 30% 30%, rgba(124, 92, 255, 0.4), transparent 60%),
                radial-gradient(circle at 70% 70%, rgba(130, 233, 255, 0.35), transparent 55%),
                rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-card__spark {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    animation: spark 4s ease-in-out infinite;
}

.hero-card__spark--one { top: 22px; left: 40px; animation-delay: 0.2s; }
.hero-card__spark--two { top: 80px; right: 70px; animation-delay: 0.8s; }
.hero-card__spark--three { bottom: 28px; left: 120px; animation-delay: 1.4s; }

@keyframes spark {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

@media (min-width: 900px) {
    .hero-card {
        flex-direction: row;
        align-items: center;
    }

    .hero-card__art {
        min-height: 260px;
    }
}

.plan-suggestions {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.plan-suggestions__header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.plan-suggestions__title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.plan-suggestions__subtitle {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
    max-width: 680px;
    line-height: 1.6;
}

.plan-suggestions__grid {
    display: grid;
    gap: 20px;
}

@media (min-width: 720px) {
    .plan-suggestions__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.plan-card {
    padding: 24px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 16px 40px rgba(12, 16, 35, 0.3);
}

.plan-card__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.plan-card__title {
    margin: 0;
    font-weight: 600;
    font-size: 17px;
}

.plan-card__price {
    font-weight: 700;
    color: var(--text-primary);
}

.plan-card__duration {
    margin: 0;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
}

.plan-card__description {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.plan-card__features {
    margin: 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 13px;
}

.plan-card__cta {
    margin-top: auto;
}

.plan-faq {
    margin-top: 48px;
    padding: 28px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.03);
}

.plan-faq__title {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 600;
}

.plan-faq__list {
    margin: 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0s !important;
    }
}
