.hidden { display: none !important; }

:root {
    /* ─── Pluto Learn Official Design System Tokens ─── */
    --pluto-seal-blue: #DBF2FC;
    --pluto-navy-blue: #072D59;
    --pluto-crimson-pink: #FD6E8B;

    --pluto-white: #FFFFFF;
    --pluto-off-white: #F8FBFD;
    --pluto-surface-soft: #F0F8FD;

    --pluto-text-primary: #072D59;
    --pluto-text-secondary: #52677D;
    --pluto-text-muted: #8494A5;

    --pluto-border: #D7E7F0;
    --pluto-border-focus: #072D59;

    --pluto-radius-xs: 4px;
    --pluto-radius-sm: 8px;
    --pluto-radius-md: 12px;
    --pluto-radius-lg: 16px;
    --pluto-radius-xl: 20px;
    --pluto-radius-2xl: 24px;
    --pluto-radius-full: 9999px;

    --pluto-shadow-card: 0 8px 28px rgba(7, 45, 89, 0.06);
    --pluto-shadow-hover: 0 14px 36px rgba(7, 45, 89, 0.10);
    --pluto-shadow-lg: 0 20px 48px rgba(7, 45, 89, 0.12);

    --pluto-transition: 180ms ease-in-out;
    --pluto-font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --pluto-font-mono: 'JetBrains Mono', monospace;

    /* Theme Mappings */
    --primary: #FD6E8B;
    --on-primary: #ffffff;
    --primary-container: rgba(253, 110, 139, 0.12);
    --on-primary-container: #072D59;
    --secondary: #072D59;
    --on-secondary: #ffffff;
    --secondary-container: #DBF2FC;
    --on-secondary-container: #072D59;
    --tertiary: #0B477D;
    --on-tertiary: #ffffff;
    --tertiary-container: #E4F3FA;
    --on-tertiary-container: #072D59;
    --error: #ba1a1a;
    --on-error: #ffffff;
    --error-container: #ffdad6;
    --on-error-container: #410002;
    --success: #108A48;
    --on-success: #ffffff;
    --success-container: #E0F8EA;
    --on-success-container: #053D1E;
    --warning: #B26A00;
    --on-warning: #ffffff;
    --warning-container: #FFF2D6;
    --on-warning-container: #4D2D00;
    --outline: #D7E7F0;
    --outline-strong: #A8C4D8;
    --surface: #FFFFFF;
    --on-surface: #072D59;
    --surface-variant: #F0F8FD;
    --on-surface-variant: #52677D;
    --surface-container: #F4FAFD;
    --surface-container-high: #EBF5FB;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(7, 45, 89, 0.05), 0 1px 2px rgba(7, 45, 89, 0.04);
    --shadow-md: 0 8px 24px rgba(7, 45, 89, 0.08), 0 2px 6px rgba(7, 45, 89, 0.04);
    --shadow-lg: 0 20px 48px rgba(7, 45, 89, 0.12), 0 4px 12px rgba(7, 45, 89, 0.06);
}

[data-theme="dark"] {
    --pluto-seal-blue: #0E294B;
    --pluto-navy-blue: #072D59;
    --pluto-crimson-pink: #FD6E8B;

    --pluto-white: #0B1C33;
    --pluto-off-white: #0E233E;
    --pluto-surface-soft: #102B4B;

    --pluto-text-primary: #F0F8FD;
    --pluto-text-secondary: #9EBBD6;
    --pluto-text-muted: #6B87A2;

    --pluto-border: #1B3C63;
    --pluto-border-focus: #FD6E8B;

    --primary: #FD6E8B;
    --on-primary: #ffffff;
    --primary-container: rgba(253, 110, 139, 0.2);
    --on-primary-container: #FED7E0;
    --secondary: #9EBBD6;
    --on-secondary: #072D59;
    --secondary-container: #102B4A;
    --on-secondary-container: #DBF2FC;
    --tertiary: #5A9BD6;
    --on-tertiary: #071D38;
    --tertiary-container: #0C3460;
    --on-tertiary-container: #E4F3FA;
    --error: #ffb4ab;
    --on-error: #690005;
    --error-container: #93000a;
    --on-error-container: #ffdad6;
    --success: #6dd89a;
    --on-success: #003919;
    --success-container: #005228;
    --on-success-container: #89f6b5;
    --warning: #f0bf4c;
    --on-warning: #3f2d00;
    --warning-container: #5a4200;
    --on-warning-container: #ffdea3;
    --outline: #1B3C63;
    --outline-strong: #2A5A8E;
    --surface: #091C33;
    --on-surface: #F0F8FD;
    --surface-variant: #102947;
    --on-surface-variant: #9EBBD6;
    --surface-container: #061528;
    --surface-container-high: #0B223D;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.5);
    --shadow-lg: 0 20px 48px rgba(0,0,0,0.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

button, input, optgroup, select, textarea {
    font-family: inherit;
    color: inherit;
}

body {
    font-family: var(--pluto-font-sans);
    background-color: var(--surface-container);
    color: var(--on-surface);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==================== LAYOUT ==================== */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-baseline { align-items: baseline; }
.self-center { align-self: center; }
.self-start { align-self: flex-start; }
.self-end { align-self: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-start { justify-content: flex-start; }
.gap-0\.5 { gap: 0.125rem; }
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-3\.5 { gap: 0.875rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem !important; }
.gap-5\.5 { gap: 1.375rem !important; }
.gap-6 { gap: 1.5rem !important; }
.gap-7 { gap: 1.75rem !important; }
.gap-8 { gap: 2rem !important; }
.gap-x-4 { column-gap: 1rem; }
.gap-y-2 { row-gap: 0.5rem; }
.w-fit { width: fit-content; }

/* Grid */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; }
.col-span-full { grid-column: 1 / -1; }

@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sm\:col-span-2 { grid-column: span 2; }
    .sm\:col-span-3 { grid-column: span 3; }
}
@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:col-span-2 { grid-column: span 2; }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:col-span-2 { grid-column: span 2; }
    .lg\:col-span-3 { grid-column: span 3; }
    .lg\:hidden { display: none; }
    .lg\:flex { display: flex; }
    .lg\:flex-row { flex-direction: row; }
    .lg\:flex-col { flex-direction: column; }
    .lg\:items-center { align-items: center; }
}
@media (min-width: 1280px) {
    .xl\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ==================== SIZING ==================== */
.h-screen { height: 100vh; }
.h-full { height: 100%; }
.h-auto { height: auto; }
.h-1 { height: 0.25rem; }
.h-1\.5 { height: 0.375rem; }
.h-2 { height: 0.5rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-24 { height: 6rem; }
.h-32 { height: 8rem; }
.h-48 { height: 12rem; }
.w-full { width: 100%; }
.w-3 { width: 0.75rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-24 { width: 6rem; }
.w-48 { width: 12rem; }
.w-64 { width: 16rem; }
.min-w-0 { min-width: 0; }
.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ==================== OVERFLOW ==================== */
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto !important; }
.overflow-x-auto { overflow-x: auto !important; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ==================== POSITION ==================== */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { inset: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.z-100 { z-index: 100; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.-top-2 { top: -0.5rem; }
.-right-2 { right: -0.5rem; }
.-mr-20 { margin-right: -5rem; }
.-mt-20 { margin-top: -5rem; }

/* ==================== SPACING ==================== */
.p-0 { padding: 0; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pb-4 { padding-bottom: 1rem; }
.pl-4 { padding-left: 1rem; }
.pr-4 { padding-right: 1rem; }

.m-0 { margin: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mr-2 { margin-right: 0.5rem; }
.ml-auto { margin-left: auto; }

/* Space-Y — vertical spacing between children */
.space-y-1 > * + * { margin-top: 0.25rem !important; }
.space-y-1\.5 > * + * { margin-top: 0.375rem !important; }
.space-y-2 > * + * { margin-top: 0.5rem !important; }
.space-y-2\.5 > * + * { margin-top: 0.625rem !important; }
.space-y-3 > * + * { margin-top: 0.75rem !important; }
.space-y-3\.5 > * + * { margin-top: 0.875rem !important; }
.space-y-4 > * + * { margin-top: 1rem !important; }
.space-y-5 > * + * { margin-top: 1.25rem !important; }
.space-y-6 > * + * { margin-top: 1.5rem !important; }
.space-y-8 > * + * { margin-top: 2rem !important; }

/* Space-X — horizontal spacing between children */
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-4 > * + * { margin-left: 1rem; }

/* ==================== TYPOGRAPHY ==================== */
.text-2xs { font-size: 0.6875rem; line-height: 0.95rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-mono { font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', Consolas, monospace; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }
.leading-none { line-height: 1 !important; }
.leading-tight { line-height: 1.25 !important; }
.leading-normal { line-height: 1.5 !important; }
.leading-relaxed { line-height: 1.625; }
.leading-snug { line-height: 1.375; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.line-through { text-decoration: line-through; }
.underline { text-decoration: underline; }
.no-underline { text-decoration: none; }
.italic { font-style: italic; }
.list-none { list-style: none; }
.whitespace-nowrap { white-space: nowrap; }
.break-words { word-break: break-word; overflow-wrap: break-word; }

/* ==================== COLORS — BACKGROUNDS ==================== */
.bg-surface { background-color: var(--surface); }
.bg-surface-variant { background-color: var(--surface-variant); }
.bg-surface-container { background-color: var(--surface-container); }
.bg-surface-container-high { background-color: var(--surface-container-high); }
.bg-primary { background-color: var(--primary); }
.bg-primary-container { background-color: var(--primary-container); }
.bg-secondary { background-color: var(--secondary); }
.bg-secondary-container { background-color: var(--secondary-container); }
.bg-tertiary { background-color: var(--tertiary); }
.bg-tertiary-container { background-color: var(--tertiary-container); }
.bg-error { background-color: var(--error); }
.bg-error-container { background-color: var(--error-container); }
.bg-success { background-color: var(--success); }
.bg-success-container { background-color: var(--success-container); }
.bg-warning { background-color: var(--warning); }
.bg-warning-container { background-color: var(--warning-container); }
.bg-transparent { background-color: transparent; }
.bg-white { background-color: #ffffff; }
.bg-black\/50 { background-color: rgba(0,0,0,0.5); }

/* ==================== COLORS — TEXT ==================== */
.text-on-surface { color: var(--on-surface); }
.text-on-surface-variant { color: var(--on-surface-variant); }
.text-on-primary { color: var(--on-primary); }
.text-on-primary-container { color: var(--on-primary-container); }
.text-on-secondary { color: var(--on-secondary); }
.text-on-secondary-container { color: var(--on-secondary-container); }
.text-on-tertiary { color: var(--on-tertiary); }
.text-on-tertiary-container { color: var(--on-tertiary-container); }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-tertiary { color: var(--tertiary); }
.text-error { color: var(--error); }
.text-on-error-container { color: var(--on-error-container); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-white { color: #ffffff; }
.opacity-50 { opacity: 0.5; }
.opacity-70 { opacity: 0.7; }
.opacity-90 { opacity: 0.9; }
.fill-primary { fill: var(--primary); }

/* ==================== BORDERS ==================== */
.border { border: 1px solid var(--outline); }
.border-outline,
.border-outline\/40,
.border-outline\/50,
.border-outline\/60 {
    border-color: var(--outline) !important;
}
.border-b { border-bottom: 1px solid var(--outline); }
.border-t { border-top: 1px solid var(--outline); }
.border-r { border-right: 1px solid var(--outline); }
.border-l { border-left: 1px solid var(--outline); }
.border-l-4 { border-left: 4px solid var(--primary); }
.border-2 { border-width: 2px; }
.border-primary { border-color: var(--primary) !important; }
.border-none { border: none !important; }
.border-collapse { border-collapse: collapse; }
.rounded { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-3xl { border-radius: 28px; }
.rounded-full { border-radius: 9999px; }
.rounded-t-lg { border-top-left-radius: var(--radius-lg); border-top-right-radius: var(--radius-lg); }

/* ==================== SHADOWS ==================== */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* ==================== DISPLAY ==================== */
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.select-none { user-select: none; }
.pointer-events-none { pointer-events: none; }
.resize-none { resize: none; }

/* ==================== TRANSFORMS ==================== */
.transform { transform: translateZ(0); }
.-rotate-90 { transform: rotate(-90deg); }

/* ==================== TRANSITIONS ==================== */
.transition { transition: all var(--transition-fast); }
.transition-all { transition: all var(--transition-base); }
.transition-colors { transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast); }
.transition-opacity { transition: opacity var(--transition-fast); }
.duration-300 { transition-duration: 300ms; }
.ease-in-out { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }

/* ==================== SPECIAL UTILITIES ==================== */
.outline-none { outline: none; }
.appearance-none { appearance: none; -webkit-appearance: none; }
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }
.aspect-square { aspect-ratio: 1 / 1; }

/* ==================== COMPONENTS ==================== */

/* Sidebar — Pluto Learn Official Navy Theme */
.sidebar {
    background-color: #072D59;
    color: #FFFFFF;
    z-index: 50;
    flex-shrink: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
}
[data-theme="dark"] .sidebar {
    background-color: #051A33;
    border-right: 1px solid #142F4F !important;
}
.sidebar .text-on-surface-variant {
    color: rgba(255, 255, 255, 0.65) !important;
}
.sidebar .border-outline {
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 160ms cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: transparent;
    border: none;
    font-family: inherit;
    width: 100%;
}
.sidebar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}
.sidebar .nav-link.active {
    background-color: #FD6E8B !important;
    color: #FFFFFF !important;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(253, 110, 139, 0.35);
}
.sidebar .nav-link.active i,
.sidebar .nav-link.active svg {
    color: #FFFFFF !important;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border-radius: var(--radius-md);
    color: var(--on-surface-variant);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-fast);
    cursor: pointer;
    background: transparent;
    border: none;
    font-family: inherit;
    width: 100%;
}
.nav-link:hover {
    background-color: var(--surface-variant);
    color: var(--on-surface);
}
.nav-link.active {
    background-color: var(--primary-container);
    color: var(--primary);
    font-weight: 600;
}
.nav-link svg, .nav-link i { flex-shrink: 0; }

/* Card — Pluto Learn Premium Surface */
.card {
    background-color: var(--surface);
    border-radius: 24px;
    border: none !important;
    padding: 1.5rem;
    transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px -2px rgba(7, 45, 89, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
}
.card:hover {
    box-shadow: 0 16px 32px -8px rgba(7, 45, 89, 0.12);
}
.card.interactive:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px -8px rgba(7, 45, 89, 0.14);
}

/* Buttons — Pluto Learn Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.55rem 1.15rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 160ms cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    text-decoration: none;
    white-space: nowrap;
    font-family: inherit;
}
.btn-primary {
    background-color: #FD6E8B;
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(253, 110, 139, 0.25);
}
.btn-primary:hover {
    background-color: #E85976;
    box-shadow: 0 6px 20px rgba(253, 110, 139, 0.35);
    transform: translateY(-1px);
}
.btn-primary:active {
    transform: translateY(0);
}
.btn-secondary {
    background-color: #DBF2FC;
    color: #072D59;
    border: 1px solid #C4E5F5;
}
.btn-secondary:hover {
    background-color: #CCEBFB;
}
.btn-outlined {
    background-color: #FFFFFF;
    color: #072D59;
    border: 1px solid #D7E7F0;
}
.btn-outlined:hover {
    background-color: #F0F8FD;
    border-color: #B9D7EA;
}
.btn-ghost {
    background-color: transparent;
    color: var(--on-surface-variant);
}
.btn-ghost:hover {
    background-color: var(--surface-variant);
    color: var(--on-surface);
}
.btn-danger {
    background-color: var(--error-container);
    color: var(--on-error-container);
}
.btn-danger:hover { opacity: 0.88; }
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.8125rem; }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }
.btn-icon { padding: 0.5rem; border-radius: var(--radius-md); }

/* Form Elements */
.input {
    display: block;
    width: 100%;
    padding: 0.625rem 0.875rem;
    border-radius: 10px;
    border: 1px solid var(--outline);
    background: var(--surface);
    color: var(--on-surface);
    font-size: 0.875rem;
    transition: all 150ms ease;
}
.input:focus {
    border-color: #072D59;
    outline: none;
    box-shadow: 0 0 0 3px rgba(7, 45, 89, 0.08);
}
.input::placeholder { color: var(--on-surface-variant); opacity: 0.7; }
.input:disabled { opacity: 0.5; cursor: not-allowed; }

.select {
    display: block;
    width: 100%;
    padding: 0.625rem 2.5rem 0.625rem 0.875rem;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--outline-strong);
    background-color: var(--surface);
    color: var(--on-surface);
    font-size: 0.875rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2343474e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    transition: var(--transition-fast);
    font-family: inherit;
}
.select:focus { outline: none; border-color: var(--primary); }

.textarea {
    display: block;
    width: 100%;
    padding: 0.625rem 0.875rem;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--outline-strong);
    background-color: var(--surface);
    color: var(--on-surface);
    font-size: 0.875rem;
    resize: vertical;
    min-height: 80px;
    transition: var(--transition-fast);
    font-family: inherit;
}
.textarea:focus { outline: none; border-color: var(--primary); }

/* Badge / Chip */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
}
.badge-primary { background-color: var(--primary-container); color: var(--on-primary-container); }
.badge-secondary { background-color: var(--secondary-container); color: var(--on-secondary-container); }
.badge-success { background-color: var(--success-container); color: var(--on-success-container); }
.badge-error { background-color: var(--error-container); color: var(--on-error-container); }
.badge-warning { background-color: var(--warning-container); color: var(--on-warning-container); }
.badge-outline { background: transparent; border: 1px solid var(--outline-strong); color: var(--on-surface-variant); }

/* Tag (pill with uppercase text) */
.tag {
    display: inline-flex;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
    background-color: var(--surface-variant);
    color: var(--on-surface-variant);
}
.tag-primary { background-color: var(--primary-container); color: var(--on-primary-container); }
.tag-error { background-color: var(--error-container); color: var(--on-error-container); }
.tag-success { background-color: var(--success-container); color: var(--on-success-container); }
.tag-warning { background-color: var(--warning-container); color: var(--on-warning-container); }

/* Progress Bar */
.progress-bar-track {
    width: 100%;
    height: 6px;
    background-color: var(--surface-variant);
    border-radius: 9999px;
    overflow: hidden;
}
.progress-bar-fill {
    height: 100%;
    background-color: var(--primary);
    border-radius: 9999px;
    transition: width 0.5s ease;
}
.progress-bar-fill.success { background-color: var(--success); }

/* Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeBackdrop 0.2s ease;
}
@keyframes fadeBackdrop {
    from { opacity: 0; }
    to { opacity: 1; }
}
.modal {
    background-color: var(--surface);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--outline);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 32rem;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.25s ease;
}
@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--outline);
}
.modal-body { padding: 1.5rem; }
.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--outline);
}

/* Tab System */
.tab-bar {
    display: flex;
    border-bottom: 1px solid var(--outline);
    gap: 0;
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}
.tab-bar::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}
.tab-btn {
    flex-shrink: 0;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--on-surface-variant);
    border: none;
    background: none;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: var(--transition-fast);
    margin-bottom: -1px;
}
.tab-btn:hover { color: var(--on-surface); }
.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.tab-content { display: none; }
.tab-content.active { display: block; }

/* Toast / Notification */
.toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    background-color: var(--surface-container-high);
    border: 1px solid var(--outline);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    font-size: 0.875rem;
    font-weight: 500;
    max-width: 22rem;
    animation: toastSlide 0.3s ease;
}
@keyframes toastSlide {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
}
.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--error); }
.toast.info { border-left: 4px solid var(--primary); }

/* Table */
.table { width: 100%; text-align: left; border-collapse: collapse; }
.table th { padding: 0.875rem 1rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--on-surface-variant); border-bottom: 1px solid var(--outline); white-space: nowrap; }
.table td { padding: 0.875rem 1rem; font-size: 0.875rem; border-bottom: 1px solid var(--outline); vertical-align: middle; }
.table tbody tr:hover { background-color: var(--surface-container); }
.table tbody tr:last-child td { border-bottom: none; }

/* Divider */
.divider { height: 1px; background-color: var(--outline); }

/* ==================== ANIMATIONS ==================== */
.animate-spin { animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.animate-pulse { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.fade-in { animation: fadeIn 0.35s ease-out both; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in { animation: slideIn 0.3s ease-out both; }
@keyframes slideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.stagger-fade > * { opacity: 0; animation: fadeIn 0.4s ease-out forwards; }
.stagger-fade > *:nth-child(1) { animation-delay: 0.04s; }
.stagger-fade > *:nth-child(2) { animation-delay: 0.08s; }
.stagger-fade > *:nth-child(3) { animation-delay: 0.12s; }
.stagger-fade > *:nth-child(4) { animation-delay: 0.16s; }
.stagger-fade > *:nth-child(5) { animation-delay: 0.20s; }
.stagger-fade > *:nth-child(6) { animation-delay: 0.24s; }
.stagger-fade > *:nth-child(n+7) { animation-delay: 0.28s; }

/* ==================== GLOBAL CUSTOM SCROLLBAR & SPLASH LOCK ==================== */
html {
    scroll-behavior: smooth;
}

/* Splash Screen Scrollbar Lock: completely hides scrollbars while splash is active */
html.splash-active,
body.splash-active,
#splash-screen {
    overflow: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

html.splash-active::-webkit-scrollbar,
body.splash-active::-webkit-scrollbar,
#splash-screen::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Modern standards for Firefox (Pluto Learn Branded Colors) */
html, body {
    scrollbar-width: thin;
    scrollbar-color: #072D59 #EBF6FC;
}

[data-theme="dark"],
[data-theme="dark"] body {
    scrollbar-color: #87CEEB #04142B;
}

/* WebKit-based browsers (Chrome, Edge, Safari, Opera, Brave) */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar:horizontal {
    height: 10px;
}

/* Light Mode: Seal Blue Track (#EBF6FC) with Navy Thumb (#072D59) */
::-webkit-scrollbar-track {
    background: #EBF6FC;
    border-left: 1px solid rgba(7, 45, 89, 0.08);
}

::-webkit-scrollbar-track:horizontal {
    border-left: none;
    border-top: 1px solid rgba(7, 45, 89, 0.08);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #072D59 0%, #0E3B6E 100%);
    border-radius: 9999px;
    border: 2px solid #EBF6FC;
    background-clip: padding-box;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #0B477D 0%, #072D59 100%);
    border-color: #FD6E8B;
    box-shadow: 0 0 8px rgba(7, 45, 89, 0.25);
}

::-webkit-scrollbar-thumb:active {
    background: #FD6E8B;
    border-color: #FFFFFF;
    box-shadow: 0 0 12px rgba(253, 110, 139, 0.65);
}

::-webkit-scrollbar-corner {
    background: #EBF6FC;
}

/* Dark Mode: Midnight Navy Track (#04142B) with Seal Blue Thumb (#87CEEB / #DBF2FC) */
[data-theme="dark"] ::-webkit-scrollbar-track {
    background: #04142B;
    border-left: 1px solid rgba(219, 242, 252, 0.08);
}

[data-theme="dark"] ::-webkit-scrollbar-track:horizontal {
    border-left: none;
    border-top: 1px solid rgba(219, 242, 252, 0.08);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #DBF2FC 0%, #87CEEB 100%);
    border-radius: 9999px;
    border: 2px solid #04142B;
    background-clip: padding-box;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: #DBF2FC;
    border-color: #FD6E8B;
    box-shadow: 0 0 10px rgba(219, 242, 252, 0.45);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:active {
    background: #FD6E8B;
    border-color: #04142B;
    box-shadow: 0 0 16px rgba(253, 110, 139, 0.8);
}

[data-theme="dark"] ::-webkit-scrollbar-corner {
    background: #04142B;
}

/* In-App Compact Scrollbar (Sidebar, Chat, Modals, Code Blocks) */
.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #072D59 rgba(219, 242, 252, 0.4);
}

[data-theme="dark"] .custom-scrollbar {
    scrollbar-color: #87CEEB rgba(4, 20, 43, 0.6);
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(219, 242, 252, 0.4);
    border-left: none;
    border-radius: 9999px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #072D59;
    border-radius: 9999px;
    border: 1px solid #DBF2FC;
    background-clip: padding-box;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #0B477D;
    border-color: #FD6E8B;
}

.custom-scrollbar::-webkit-scrollbar-thumb:active {
    background: #FD6E8B;
    border-color: #FFFFFF;
}

[data-theme="dark"] .custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(4, 20, 43, 0.6);
    border-left: none;
    border-radius: 9999px;
}

[data-theme="dark"] .custom-scrollbar::-webkit-scrollbar-thumb {
    background: #87CEEB;
    border-radius: 9999px;
    border: 1px solid #04142B;
    background-clip: padding-box;
    transition: background 0.2s ease, border-color 0.2s ease;
}

[data-theme="dark"] .custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #DBF2FC;
    border-color: #FD6E8B;
}

[data-theme="dark"] .custom-scrollbar::-webkit-scrollbar-thumb:active {
    background: #FD6E8B;
    border-color: #04142B;
}

/* Hides scrollbar visually while preserving scroll functionality */
.no-scrollbar {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}
.no-scrollbar::-webkit-scrollbar {
    display: none; /* Chrome/Safari/WebKit */
    width: 0;
    height: 0;
}

/* ==================== GLASS ==================== */
.glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
[data-theme="dark"] .glass {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==================== PLANNER SPECIFIC ==================== */
.day-card {
    padding: 0.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--outline);
    background-color: var(--surface);
    cursor: pointer;
    transition: var(--transition-fast);
}
.day-card:hover { border-color: var(--primary); background-color: var(--surface-container); }
.day-card.completed { background-color: var(--success-container); border-color: var(--success); }
.day-card.completed .day-num { color: var(--on-success-container); }
.week-header {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--on-surface-variant);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--outline);
    margin-bottom: 0.75rem;
}
.phase-section { margin-bottom: 2rem; }
.phase-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background-color: var(--primary-container);
    color: var(--on-primary-container);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.task-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
}
.task-item:hover { background-color: var(--surface-container); }
.task-checkbox {
    flex-shrink: 0;
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 4px;
    border: 2px solid var(--outline-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    transition: var(--transition-fast);
}
.task-checkbox.checked {
    background-color: var(--primary);
    border-color: var(--primary);
}
.task-text { font-size: 0.875rem; line-height: 1.5; }
.task-text.done { text-decoration: line-through; opacity: 0.5; }

/* ==================== PAGE-SPECIFIC ==================== */

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #00497d 100%);
    border-radius: var(--radius-2xl);
    color: var(--on-primary);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}
.hero-banner::after {
    content: '';
    position: absolute;
    right: -5rem;
    top: -5rem;
    width: 16rem;
    height: 16rem;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}

/* Stat Card */
.stat-card {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.stat-label { font-size: 0.8125rem; color: var(--on-surface-variant); }
.stat-value { font-size: 1.75rem; font-weight: 700; line-height: 1.2; }
.stat-sub { font-size: 0.75rem; }

/* Pomodoro Timer */
.timer-ring-track { stroke: var(--surface-variant); }
.timer-ring-progress { stroke: var(--primary); }

/* Quick Nav Buttons */
.quick-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--outline);
    background-color: var(--surface);
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--on-surface);
    text-decoration: none;
}
.quick-nav-btn:hover {
    background-color: var(--primary-container);
    color: var(--on-primary-container);
    border-color: var(--primary);
}

/* Company Cards & Work Mode Filter Pills */
#companies-grid {
    display: grid !important;
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    gap: 1.5rem !important;
    row-gap: 1.75rem !important;
}
@media (min-width: 640px) {
    #companies-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 1.5rem !important;
        row-gap: 1.75rem !important;
    }
}
@media (min-width: 1100px) {
    #companies-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 1.75rem !important;
        row-gap: 2rem !important;
    }
}

.company-card {
    border-radius: 20px !important;
    padding: 1.5rem 1.6rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    background: var(--surface) !important;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.22s ease !important;
    min-height: 310px;
}
.company-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 18px 36px -8px rgba(7, 45, 89, 0.16) !important;
}

.company-card-top {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
}

.company-process-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
}

.company-process-box {
    font-size: 0.75rem !important;
    line-height: 1.55 !important;
    color: var(--on-surface-variant) !important;
    background: rgba(219, 242, 252, 0.25) !important;
    padding: 0.65rem 0.85rem !important;
    border-radius: 12px !important;
    border: 1px solid var(--outline) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

[data-theme="dark"] .company-process-box {
    background: rgba(255, 255, 255, 0.04) !important;
}

.company-focus-chips-row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.5rem !important;
    row-gap: 0.55rem !important;
    padding-top: 0.15rem !important;
}

.company-focus-chip {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0.28rem 0.65rem !important;
    font-size: 0.6875rem !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    border-radius: 8px !important;
    background: var(--surface-container) !important;
    color: var(--on-surface-variant) !important;
    border: none !important;
    white-space: nowrap !important;
    max-width: 150px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.company-card-footer {
    padding-top: 0.85rem !important;
    margin-top: auto !important;
    border: none !important;
    border-top: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.company-tier-faang { 
    border: none !important;
    border-top: 3px solid #FD6E8B !important;
    box-shadow: 0 4px 18px -2px rgba(7, 45, 89, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.03) !important;
}
.company-tier-t1 { 
    border: none !important;
    border-top: 3px solid #3b82f6 !important;
    box-shadow: 0 4px 18px -2px rgba(7, 45, 89, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.03) !important;
}
.company-tier-t2 { 
    border: none !important;
    border-top: 3px solid #10b981 !important;
    box-shadow: 0 4px 18px -2px rgba(7, 45, 89, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.03) !important;
}

.co-work-pill {
    background: var(--surface);
    border: none !important;
    box-shadow: 0 1px 4px rgba(7, 45, 89, 0.07);
    color: var(--on-surface-variant);
    padding: 0.5rem 1rem !important;
    border-radius: 9999px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.co-work-pill:hover {
    border-color: #FD6E8B;
    color: #FD6E8B;
    transform: translateY(-1px);
}
.co-work-pill.active {
    background: #FD6E8B !important;
    color: #ffffff !important;
    border-color: #FD6E8B !important;
    box-shadow: 0 6px 18px rgba(253, 110, 139, 0.35) !important;
}
.co-work-pill.active span.pill-count {
    background: rgba(255, 255, 255, 0.28) !important;
    color: #ffffff !important;
}
.co-work-pill span.pill-count {
    background: var(--surface-container);
    color: var(--on-surface-variant);
    padding: 0.15rem 0.55rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 800;
}

/* Interview Q card */
.qa-card details summary { list-style: none; }
.qa-card details summary::-webkit-details-marker { display: none; }
.qa-card details[open] summary .qa-toggle-icon { transform: rotate(180deg); }
.qa-toggle-icon { transition: transform 0.2s ease; }

/* Notes textarea */
.notes-textarea {
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    background: transparent;
    border: none;
    outline: none;
    resize: none;
    font-family: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
    font-size: 0.875rem;
    line-height: 1.75;
    color: var(--on-surface);
}

/* Roadmap topic row */
.topic-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1px solid var(--outline);
    background-color: var(--surface);
}
.topic-row:hover { background-color: var(--surface-container); }
.topic-row.done { background-color: var(--success-container); border-color: var(--success); }
.topic-circle {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    border: 2px solid var(--outline-strong);
    display: flex;
    align-items: center;
    justify-content: center;
}
.topic-circle.done { background-color: var(--success); border-color: var(--success); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .sidebar {
        position: fixed;
        left: -100%;
        height: 100%;
        transition: left 0.3s ease;
    }
    .sidebar.open { left: 0; box-shadow: var(--shadow-lg); }
    .sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 40;
    }
    .sidebar-overlay.visible { display: block; }
}
@media (max-width: 640px) {
    .hide-mobile { display: none !important; }
    .p-8 { padding: 1rem; }
    .px-8 { padding-left: 1rem; padding-right: 1rem; }
}

/* ==================== PRINT ==================== */
@media print {
    .sidebar, header, .btn, .toast-container { display: none !important; }
    .card { break-inside: avoid; }
}

/* ==================== VERIFIED CERTIFICATE SYSTEM ==================== */
.cert-nav-btn {
    border-radius: 9999px;
    padding: 2px;
    background: transparent;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.25s ease;
    user-select: none;
}

.cert-btn-inner {
    border-radius: 9999px;
    padding: 0.35rem 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Locked state */
.cert-nav-locked .cert-btn-inner {
    background: var(--surface-variant);
    border: 1px solid var(--outline);
    color: var(--on-surface-variant);
}

.cert-nav-locked:hover .cert-btn-inner {
    background: var(--surface-container-high, rgba(255, 255, 255, 0.08));
    border-color: var(--outline-variant, #64748b);
    color: var(--on-surface);
}

.cert-lock-badge {
    position: absolute;
    bottom: -3px;
    right: -4px;
    width: 14px;
    height: 14px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-badge-locked {
    position: absolute;
    bottom: -3px;
    right: -4px;
    width: 13px;
    height: 13px;
    border-radius: 9999px;
    background: var(--surface);
    border: 1px solid var(--outline);
    color: var(--on-surface-variant);
}

.cert-pill-locked {
    background: rgba(100, 116, 139, 0.2);
    color: var(--on-surface-variant);
    border: 1px solid rgba(100, 116, 139, 0.3);
}

/* Eligible / Unlocked state */
.cert-nav-eligible .cert-btn-inner {
    background: linear-gradient(135deg, rgba(253, 110, 139, 0.22), rgba(245, 158, 11, 0.25));
    border: 1px solid rgba(245, 158, 11, 0.6);
    color: #fde047;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.25);
    animation: certPulseGlow 3s infinite ease-in-out;
}

.cert-nav-eligible:hover .cert-btn-inner {
    background: linear-gradient(135deg, rgba(253, 110, 139, 0.35), rgba(245, 158, 11, 0.4));
    box-shadow: 0 0 24px rgba(245, 158, 11, 0.45);
    transform: translateY(-1px);
}

.cert-badge-eligible {
    position: absolute;
    bottom: -3px;
    right: -4px;
    width: 14px;
    height: 14px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #FD6E8B, #F59E0B);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cert-pill-ready {
    background: linear-gradient(135deg, #FD6E8B, #F59E0B);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(253, 110, 139, 0.4);
}

@keyframes certPulseGlow {
    0%, 100% {
        box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
        border-color: rgba(245, 158, 11, 0.5);
    }
    50% {
        box-shadow: 0 0 22px rgba(253, 110, 139, 0.45);
        border-color: rgba(253, 110, 139, 0.8);
    }
}

/* Certificate Modal & Tabs Premium Redesign */
#certificate-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    overflow-y: auto;
}

#certificate-modal-overlay.hidden {
    display: none !important;
}

#certificate-modal-container {
    width: 95vw;
    max-width: 1140px;
    height: 86vh;
    max-height: 800px;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--outline);
    border-radius: 24px;
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.cert-tab-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--on-surface-variant);
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    background: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
}

.cert-tab-btn:hover {
    color: var(--on-surface);
}

.cert-tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.cert-tab-content {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cert-modal-layout {
    display: flex;
    flex-direction: row;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.cert-modal-form-col {
    width: 430px;
    flex-shrink: 0;
    padding: 1.5rem;
    overflow-y: auto;
    border-right: 1px solid var(--outline);
    background: var(--surface);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cert-modal-form-col::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.cert-modal-preview-col {
    flex: 1;
    min-width: 0;
    padding: 1.5rem 2rem;
    overflow-y: auto;
    background: var(--surface-container);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cert-modal-preview-col::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

@media (max-width: 960px) {
    #certificate-modal-container {
        height: auto;
        max-height: 94vh;
    }
    .cert-modal-layout {
        flex-direction: column;
        overflow-y: auto;
    }
    .cert-modal-form-col {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--outline);
        overflow-y: visible;
        padding: 1.25rem;
    }
    .cert-modal-preview-col {
        width: 100%;
        overflow-y: visible;
        padding: 1.25rem;
    }
}

/* Status: Requirements Met Banner */
.cert-status-unlocked {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.cert-status-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.22);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cert-status-text {
    flex: 1;
    min-width: 0;
}

.cert-status-title {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #10b981;
}

.cert-status-desc {
    display: block;
    font-size: 0.72rem;
    color: var(--on-surface-variant);
    opacity: 0.9;
    margin-top: 1px;
}

.cert-status-pill {
    padding: 0.3rem 0.65rem;
    border-radius: 99px;
    background: #10b981;
    color: #032b1a;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

/* Status: Requirements In Progress Card */
.cert-card-requirements {
    border-radius: 16px;
    border: 1px solid var(--outline);
    background: var(--surface-container);
    overflow: hidden;
}

.cert-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cert-card-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--on-surface);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.cert-criteria-badge {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--on-surface-variant);
    background: var(--surface);
    border: 1px solid var(--outline);
    padding: 0.15rem 0.5rem;
    border-radius: 99px;
}

.cert-progress-stack {
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cert-prog-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.cert-prog-labels {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--on-surface-variant);
}

.cert-prog-labels span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.cert-prog-labels strong {
    color: var(--on-surface);
    font-weight: 700;
}

.cert-track {
    height: 6px;
    border-radius: 99px;
    background: var(--surface);
    border: 1px solid var(--outline);
    overflow: hidden;
}

.cert-fill {
    height: 100%;
    border-radius: 99px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.cert-fill.streak {
    background: #f59e0b;
}

.cert-demo-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: var(--surface);
    font-size: 0.72rem;
    color: var(--on-surface-variant);
}

.cert-demo-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}

/* Student Full Name Input Field */
.cert-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cert-field-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--on-surface-variant);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.cert-required-mark {
    color: var(--primary);
    font-weight: 900;
}

.cert-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.cert-input-icon {
    position: absolute;
    left: 0.9rem;
    width: 17px;
    height: 17px;
    color: var(--on-surface-variant);
    pointer-events: none;
}

.cert-name-input {
    width: 100%;
    padding: 0.8rem 0.85rem 0.8rem 2.5rem;
    border-radius: 14px;
    border: 1px solid var(--outline);
    background: var(--surface-container);
    color: var(--on-surface);
    font-size: 0.92rem;
    font-weight: 700;
    outline: none;
    transition: all 0.2s ease;
}

.cert-name-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(253, 110, 139, 0.2);
    background: var(--surface);
}

.cert-name-input[readonly],
.cert-name-input:disabled,
.cert-name-input-locked {
    background: rgba(120, 140, 160, 0.08) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
    color: var(--on-surface) !important;
    cursor: not-allowed !important;
    user-select: none !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em;
    box-shadow: none !important;
}

.cert-locked-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #059669;
    background: rgba(16, 185, 129, 0.12);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.cert-field-hint {
    font-size: 0.7rem;
    color: var(--on-surface-variant);
    opacity: 0.85;
    margin: 0;
    line-height: 1.35;
}

/* Automated Credential Details Card (NO MANUAL INPUT BOXES) */
.cert-autogen-card {
    border-radius: 16px;
    border: 1px solid var(--outline);
    background: var(--surface-container);
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.cert-autogen-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cert-autogen-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--on-surface);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.cert-autogen-tag {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
}

.cert-autogen-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.cert-autogen-tile {
    background: var(--surface);
    border: 1px solid var(--outline);
    border-radius: 12px;
    padding: 0.65rem 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.cert-autogen-sub {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--on-surface-variant);
}

.cert-autogen-val-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cert-id-badge {
    font-family: var(--pluto-font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
}

.cert-date-badge {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--on-surface);
}

/* Download CTA Button */
.cert-cta-btn {
    width: 100%;
    padding: 0.95rem 1.25rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #FD6E8B 0%, #e65270 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    box-shadow: 0 10px 24px -4px rgba(253, 110, 139, 0.45);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.cert-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -4px rgba(253, 110, 139, 0.55);
    filter: brightness(1.05);
}

.cert-cta-btn:active {
    transform: translateY(0);
}

/* Canvas Container & Preview Stage */
.cert-preview-stage {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
}

.cert-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cert-preview-badge-live {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--on-surface);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cert-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
    animation: certPulseGlow 2s infinite ease-in-out;
}

.cert-preview-pill-tech {
    font-size: 0.68rem;
    font-family: var(--pluto-font-mono);
    color: var(--on-surface-variant);
    background: var(--surface);
    border: 1px solid var(--outline);
    padding: 0.2rem 0.55rem;
    border-radius: 8px;
}

.cert-canvas-container,
.cert-canvas-frame {
    width: 100%;
    aspect-ratio: 842.25 / 595.5;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cert-canvas-container canvas,
.cert-canvas-frame canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: fill;
}

.cert-preview-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    color: var(--on-surface-variant);
    text-align: center;
}

/* ==================== CERTIFICATE LOCKED VIEW ==================== */
.cert-locked-wrapper {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cert-locked-wrapper.hidden {
    display: none !important;
}

.cert-locked-card {
    max-width: 580px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.cert-locked-icon-shield {
    position: relative;
    width: 76px;
    height: 76px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(253, 110, 139, 0.18));
    border: 2px solid rgba(245, 158, 11, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
    box-shadow: 0 12px 30px -6px rgba(245, 158, 11, 0.25);
}

.cert-locked-badge-sub {
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--surface);
    border: 1.5px solid var(--outline);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cert-locked-pill-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #f59e0b;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cert-locked-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--on-surface);
    line-height: 1.25;
    margin: 0.35rem 0 0.25rem;
}

.cert-locked-desc {
    font-size: 0.82rem;
    color: var(--on-surface-variant);
    line-height: 1.5;
    max-width: 480px;
    margin: 0 auto;
}

.cert-locked-criteria-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
    text-align: left;
}

@media (max-width: 640px) {
    .cert-locked-criteria-grid {
        grid-template-columns: 1fr;
    }
}

.cert-locked-criterion-box {
    background: var(--surface-container);
    border: 1px solid var(--outline);
    border-radius: 16px;
    padding: 1.1rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cert-locked-criterion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cert-locked-criterion-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--on-surface-variant);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.cert-locked-criterion-badge {
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.15rem 0.55rem;
    border-radius: 9999px;
    background: var(--surface);
    border: 1px solid var(--outline);
    color: var(--on-surface-variant);
}

.cert-locked-criterion-badge.completed {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    color: #10b981;
}

.cert-locked-val-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}

.cert-locked-val-main {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--on-surface);
}

.cert-locked-val-sub {
    font-size: 0.72rem;
    color: var(--on-surface-variant);
    font-weight: 600;
}

.cert-locked-hint {
    font-size: 0.7rem;
    color: var(--on-surface-variant);
    opacity: 0.85;
    margin: 0;
    line-height: 1.35;
}

.cert-locked-actions-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    flex-wrap: wrap;
    padding-top: 0.5rem;
}

/* ==================== USEFUL LINKS & CHAT ==================== */
#useful-links-dropdown {
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    transform-origin: top right;
}
#useful-links-dropdown.hidden {
    display: none;
}
#useful-links-dropdown:not(.hidden) {
    display: block;
    animation: fadeInDown 0.2s ease;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ======================================================================
   VELO AI 2.5 PRO: COMPREHENSIVE REDESIGNED AI ASSISTANT SUITE
   - Clean, modern, high-contrast typography (Plus Jakarta Sans & JetBrains Mono)
   - Multi-Level Progressive Thinking & Reasoning Indicator
   - Glassmorphic Acrylic Panel with Expand/Collapse & Drag-Resize
   - Refined Chat Bubbles, Code Snippets & Action Toolbars
====================================================================== */

#ai-chat-panel {
    z-index: 60;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--pluto-font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid rgba(7, 45, 89, 0.1);
    box-shadow: -12px 0 40px -10px rgba(7, 45, 89, 0.16);
    width: 420px;
    min-width: 340px;
    max-width: 860px;
}

[data-theme="dark"] #ai-chat-panel {
    background: rgba(13, 17, 23, 0.96);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -12px 0 40px -10px rgba(0, 0, 0, 0.6);
}

#ai-chat-panel.open {
    transform: translateX(0) !important;
}

#ai-chat-panel.expanded {
    width: 720px !important;
}

/* Drag Resizer */
#ai-chat-resizer {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 10px;
    cursor: col-resize;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -5px;
    transition: background 0.2s ease;
}
#ai-chat-resizer:hover {
    background: rgba(253, 110, 139, 0.15);
}
#ai-chat-resizer .resizer-bar {
    width: 3px;
    height: 48px;
    border-radius: 99px;
    background: rgba(7, 45, 89, 0.2);
    transition: all 0.2s ease;
}
[data-theme="dark"] #ai-chat-resizer .resizer-bar {
    background: rgba(255, 255, 255, 0.2);
}
#ai-chat-resizer:hover .resizer-bar,
#ai-chat-resizer:active .resizer-bar {
    background: #FD6E8B;
    height: 64px;
    box-shadow: 0 0 10px rgba(253, 110, 139, 0.8);
}

/* Chat Header */
.velo-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--outline);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    position: relative;
    z-index: 20;
}
[data-theme="dark"] .velo-panel-header {
    background: rgba(18, 22, 30, 0.88);
}

.velo-brand-badge {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.velo-avatar-glow {
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(253,110,139,0.18), rgba(255,143,163,0.3));
    border: 1px solid rgba(253,110,139,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(253, 110, 139, 0.25);
    overflow: hidden;
    flex-shrink: 0;
}
.velo-avatar-glow img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}
.velo-brand-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--on-surface);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.velo-version-tag {
    font-family: var(--pluto-font-mono);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 5px;
    background: rgba(253, 110, 139, 0.12);
    color: #FD6E8B;
    border: 1px solid rgba(253, 110, 139, 0.3);
    letter-spacing: 0.02em;
}

.velo-model-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    height: 30px;
    padding: 0 0.65rem;
    border-radius: 99px;
    background: var(--surface-container);
    border: 1px solid var(--outline);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--on-surface-variant);
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
.velo-model-pill:hover {
    background: var(--surface-container-high);
    border-color: #FD6E8B;
    color: #FD6E8B;
    transform: translateY(-1px);
}

.velo-header-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.velo-icon-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--on-surface-variant);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
}
.velo-icon-btn:hover {
    background: var(--surface-container-high);
    color: var(--on-surface);
    transform: scale(1.05);
}
.velo-icon-btn:active {
    transform: scale(0.95);
}

/* Chat Messages Layout */
#chat-messages {
    padding: 1.25rem 1rem 1rem 1rem;
    gap: 1.25rem;
    font-family: var(--pluto-font-sans);
}

/* Welcome Screen */
.velo-welcome-container {
    padding: 1rem 0.5rem;
    text-align: center;
    animation: fadeIn 0.4s ease;
}
.velo-welcome-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(253,110,139,0.15), rgba(7,45,89,0.08));
    border: 1px solid rgba(253, 110, 139, 0.35);
    box-shadow: 0 8px 28px rgba(253, 110, 139, 0.25);
    margin: 0 auto 1.1rem;
    position: relative;
}
.velo-welcome-hero::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 28px;
    border: 1px dashed rgba(253, 110, 139, 0.35);
    animation: spinSlow 20s linear infinite;
}
@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.velo-welcome-title {
    font-size: 1.32rem;
    font-weight: 800;
    color: var(--on-surface);
    letter-spacing: -0.025em;
    margin-bottom: 0.35rem;
    line-height: 1.3;
}
.velo-welcome-desc {
    font-size: 0.82rem;
    color: var(--on-surface-variant);
    line-height: 1.6;
    max-width: 320px;
    margin: 0 auto 1.5rem;
}

/* Quick Prompt Grid */
.velo-prompts-grid {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    text-align: left;
}
.velo-prompt-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: var(--surface-container);
    border: 1px solid var(--outline);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}
.velo-prompt-card:hover {
    background: var(--surface-container-high);
    border-color: #FD6E8B;
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(253, 110, 139, 0.12);
}
.velo-prompt-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.velo-prompt-title {
    font-size: 0.83rem;
    font-weight: 700;
    color: var(--on-surface);
    line-height: 1.3;
}
.velo-prompt-sub {
    font-size: 0.72rem;
    color: var(--on-surface-variant);
    margin-top: 2px;
}

/* Chat Messages */
.chat-message-row {
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 1.15rem;
    width: 100%;
}

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

/* User Message */
.chat-message-user {
    align-items: flex-end;
}
.chat-bubble-user {
    max-width: 85%;
    padding: 0.75rem 1rem;
    border-radius: 18px 18px 4px 18px;
    background: linear-gradient(135deg, #FD6E8B 0%, #FF8FA3 100%);
    color: #ffffff;
    font-size: 0.885rem;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: -0.01em;
    word-break: break-word;
    box-shadow: 0 4px 14px rgba(253, 110, 139, 0.25);
}
.chat-meta-user {
    font-size: 0.68rem;
    color: var(--on-surface-variant);
    opacity: 0.65;
    margin-top: 4px;
    margin-right: 4px;
    font-family: var(--pluto-font-mono);
}

/* AI Message */
.chat-message-ai {
    align-items: flex-start;
}
.chat-ai-header {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.45rem;
    margin-left: 2px;
}
.chat-ai-avatar {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    object-fit: contain;
}
.chat-ai-name {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--on-surface);
    letter-spacing: 0.02em;
}
.chat-ai-badge {
    font-family: var(--pluto-font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    color: #FD6E8B;
    background: rgba(253, 110, 139, 0.1);
    padding: 1px 5px;
    border-radius: 4px;
    border: 1px solid rgba(253, 110, 139, 0.25);
}
.chat-ai-time {
    font-size: 0.68rem;
    color: var(--on-surface-variant);
    opacity: 0.65;
    margin-left: auto;
    font-family: var(--pluto-font-mono);
}
.chat-bubble-ai {
    width: 100%;
    padding: 1rem 1.15rem;
    border-radius: 4px 18px 18px 18px;
    background: var(--surface-container-low);
    border: 1px solid var(--outline);
    color: var(--on-surface);
    font-size: 0.885rem;
    line-height: 1.68;
    letter-spacing: -0.01em;
    word-break: break-word;
    box-shadow: 0 3px 12px rgba(7, 45, 89, 0.04);
}
[data-theme="dark"] .chat-bubble-ai {
    background: rgba(22, 27, 34, 0.85);
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

/* AI Action Toolbar */
.chat-ai-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.5rem;
    margin-left: 2px;
}
.chat-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--on-surface-variant);
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}
.chat-action-btn:hover {
    background: var(--surface-container-high);
    border-color: var(--outline);
    color: var(--on-surface);
}
.chat-action-btn.active {
    color: #10b981;
}

/* Markdown Styling inside AI Bubbles */
.markdown-body {
    font-family: var(--pluto-font-sans);
    font-size: 0.885rem;
    line-height: 1.68;
    color: var(--on-surface);
}
.markdown-body p {
    margin-bottom: 0.75rem;
}
.markdown-body p:last-child {
    margin-bottom: 0;
}
.markdown-body strong {
    font-weight: 700;
    color: var(--on-surface);
}
.markdown-body em {
    font-style: italic;
    color: var(--on-surface-variant);
}
.markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4 {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--on-surface);
    margin-top: 0.95rem;
    margin-bottom: 0.4rem;
    line-height: 1.35;
}
.markdown-body h1 { font-size: 1.15rem; }
.markdown-body h2 { font-size: 1.05rem; }
.markdown-body h3 { font-size: 0.95rem; }
.markdown-body ul, .markdown-body ol {
    margin-left: 1.25rem;
    margin-bottom: 0.75rem;
}
.markdown-body li {
    margin-bottom: 0.35rem;
    line-height: 1.6;
}
.markdown-body blockquote {
    border-left: 3px solid #FD6E8B;
    background: rgba(253, 110, 139, 0.06);
    padding: 0.5rem 0.85rem;
    border-radius: 0 8px 8px 0;
    margin: 0.75rem 0;
    font-style: italic;
    color: var(--on-surface);
}
.markdown-body hr {
    border: 0;
    border-top: 1px solid var(--outline);
    margin: 0.85rem 0;
}
.velo-inline-code {
    font-family: var(--pluto-font-mono) !important;
    font-size: 0.82rem;
    background: rgba(253, 110, 139, 0.1);
    color: #FD6E8B;
    padding: 2px 6px;
    border-radius: 5px;
    border: 1px solid rgba(253, 110, 139, 0.25);
}

/* Code Snippets */
.velo-code-box {
    position: relative;
    border-radius: 12px;
    background: #090D16;
    color: #E6EDF3;
    margin: 0.85rem 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.velo-code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0.85rem;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--pluto-font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: #8B949E;
    letter-spacing: 0.05em;
}
.velo-mac-dots {
    display: flex;
    align-items: center;
    gap: 5px;
}
.velo-mac-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}
.velo-mac-dot.red { background: #FF5F56; }
.velo-mac-dot.yellow { background: #FFBD2E; }
.velo-mac-dot.green { background: #27C93F; }

.velo-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: #E6EDF3;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}
.velo-copy-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

/* ======================================================================
   MULTI-LEVEL PROGRESSIVE THINKING & REASONING WIDGET
====================================================================== */
.velo-thinking-box {
    display: flex;
    flex-direction: column;
    padding: 0.95rem 1.15rem;
    border-radius: 16px;
    background: var(--surface-container-low);
    border: 1px solid rgba(253, 110, 139, 0.3);
    box-shadow: 0 4px 20px rgba(253, 110, 139, 0.1);
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.3s ease;
}
[data-theme="dark"] .velo-thinking-box {
    background: rgba(22, 27, 34, 0.85);
    border-color: rgba(253, 110, 139, 0.35);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

/* Top Shimmer Wave */
.velo-thinking-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FD6E8B, #FF8FA3, transparent);
    background-size: 200% 100%;
    animation: shimmerWave 1.8s infinite linear;
}
@keyframes shimmerWave {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.velo-thinking-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.velo-thinking-orb {
    position: relative;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.velo-orb-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px dashed #FD6E8B;
    animation: spinSlow 3s linear infinite;
}
.velo-orb-core {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #FD6E8B;
    box-shadow: 0 0 10px #FD6E8B;
    animation: pulseCore 1.5s ease-in-out infinite;
}
@keyframes pulseCore {
    0%, 100% { transform: scale(0.85); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; }
}

.velo-thinking-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.velo-thinking-status {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--on-surface);
    letter-spacing: -0.01em;
}
.velo-thinking-timer {
    font-family: var(--pluto-font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: #FD6E8B;
    background: rgba(253, 110, 139, 0.12);
    padding: 2px 7px;
    border-radius: 99px;
    border: 1px solid rgba(253, 110, 139, 0.25);
}

/* Progressive Reasoning Steps Checklist */
.velo-thinking-steps {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 0.25rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--outline);
}
.velo-step {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--on-surface-variant);
    transition: all 0.2s ease;
}
.velo-step.done {
    color: #10B981;
}
.velo-step.active {
    color: #FD6E8B;
    font-weight: 700;
}
.velo-step.pending {
    opacity: 0.45;
}
.velo-step-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}
.velo-step.active .velo-step-dot {
    box-shadow: 0 0 8px currentColor;
    animation: veloPulse 1.2s infinite ease-in-out;
}

/* Bottom Input Capsule */
.velo-input-capsule {
    position: relative;
    border-radius: 18px;
    background: var(--surface-container-high);
    border: 1px solid var(--outline);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 18px rgba(7, 45, 89, 0.05);
    padding: 0.55rem 0.65rem 0.45rem 0.75rem;
}
.velo-input-capsule:focus-within {
    border-color: #FD6E8B;
    box-shadow: 0 0 0 3px rgba(253, 110, 139, 0.2), 0 6px 20px rgba(7, 45, 89, 0.08);
}

#chat-input {
    font-family: var(--pluto-font-sans);
    font-size: 0.885rem;
    line-height: 1.5;
    color: var(--on-surface);
    background: transparent;
    border: none;
    outline: none;
    resize: none;
    width: 100%;
    min-height: 42px;
    max-height: 140px;
    padding: 0.25rem 0;
}
#chat-input::placeholder {
    color: var(--on-surface-variant);
    opacity: 0.65;
    font-family: var(--pluto-font-sans);
}

.velo-input-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.4rem;
    margin-top: 0.2rem;
    border-top: 1px solid rgba(7, 45, 89, 0.06);
}
[data-theme="dark"] .velo-input-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.velo-send-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FD6E8B 0%, #FF8FA3 100%);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(253, 110, 139, 0.35);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}
.velo-send-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(253, 110, 139, 0.45);
}
.velo-send-btn:active {
    transform: scale(0.95);
}
.velo-send-btn.stop-mode {
    background: #EF4444 !important;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

.velo-input-hint {
    font-size: 0.68rem;
    color: var(--on-surface-variant);
    opacity: 0.55;
    text-align: center;
    margin-top: 0.45rem;
    font-family: var(--pluto-font-mono);
}

.markdown-body pre {
    background-color: var(--surface-container-high);
    padding: 0.5rem;
    border-radius: var(--radius-md);
    overflow-x: auto;
    max-width: 100%;
    font-size: 0.85em;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.markdown-body code {
    font-family: monospace;
    background-color: var(--surface-container-high);
    padding: 0.1rem 0.3rem;
    border-radius: var(--radius-sm);
    font-size: 0.9em;
}

/* Highlight.js Override */
.hljs {
    padding: 1.25rem !important;
}

.markdown-body p {
    margin-bottom: 0.5rem;
}
.markdown-body ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}
/* AI Chat Specific Utility Additions */
.w-1\.5 { width: 0.375rem; }
.w-2 { width: 0.5rem; }
.-ml-1 { margin-left: -0.25rem; }
.-ml-0\.5 { margin-left: -0.125rem; }
.w-7 { width: 1.75rem; }
.h-7 { height: 1.75rem; }

.bg-primary\/5 { background-color: color-mix(in srgb, var(--primary) 5%, transparent); }
.bg-primary\/10 { background-color: color-mix(in srgb, var(--primary) 10%, transparent); }
.bg-primary\/30 { background-color: color-mix(in srgb, var(--primary) 30%, transparent); }
.bg-primary\/50 { background-color: color-mix(in srgb, var(--primary) 50%, transparent); }
.bg-surface-variant\/30 { background-color: color-mix(in srgb, var(--surface-variant) 30%, transparent); }
.bg-surface-variant\/80 { background-color: color-mix(in srgb, var(--surface-variant) 80%, transparent); }
.bg-outline\/50 { background-color: var(--outline-strong); }

.hover\:bg-primary\/10:hover { background-color: color-mix(in srgb, var(--primary) 10%, transparent); }
.hover\:bg-primary\/30:hover { background-color: color-mix(in srgb, var(--primary) 30%, transparent); }
.active\:bg-primary\/50:active { background-color: color-mix(in srgb, var(--primary) 50%, transparent); }

.opacity-0 { opacity: 0; }
.group:hover .group-hover\:opacity-100 { opacity: 1; }

.ring-2 { box-shadow: 0 0 0 2px var(--outline); }
.focus-within\:ring-2:focus-within { box-shadow: 0 0 0 2px var(--primary); }
.focus-within\:ring-primary\/20:focus-within { box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 20%, transparent); }

.last\:border-0:last-child { border-bottom: none; }
.cursor-col-resize { cursor: col-resize; }

@media (min-width: 640px) {
    .sm\:block { display: block; }
}

/* Main Content Area */
#content {
    padding-bottom: 100px !important; /* Ensure floating AI chat button doesn't hide content */
}

@media (min-width: 1024px) {
    .lg\:hidden { display: none !important; }
}

.resources-grid { display: flex; flex-direction: column; gap: 1rem; flex: 1; min-height: 0; }
@media (min-width: 1024px) {
    .resources-grid { display: grid; grid-template-columns: 220px 1fr; }
}

@media (min-width: 640px) {
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .sm\:gap-2 { gap: 0.5rem; }
    .sm\:gap-3 { gap: 0.75rem; }
    .sm\:px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
}
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }

[data-theme="dark"] #floating-ai-chat-btn {
    box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary), 0 0 30px var(--primary);
    border-color: var(--primary);
}

/* ==================== MOBILE: Chat Panel & Coding Practice Modal ==================== */
@media (max-width: 640px) {
    /* Chat panel: full width on mobile */
    #ai-chat-panel {
        width: 100vw !important;
        min-width: unset !important;
        max-width: 100vw !important;
    }

    /* Coding practice modal: tighter padding */
    #cp-modal-body {
        padding: 0.75rem !important;
    }

    /* Action buttons: wrap nicely */
    .cp-action-btns {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    .cp-action-btns .btn-sm {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

    /* Code blocks inside chat should not overflow */
    .markdown-body pre {
        max-width: calc(100vw - 6rem);
    }
}


/* ==================== HIGH-QUALITY ED-TECH LANDING PAGE ==================== */
/* Million-Dollar Pro EdTech Premium Design System (Minimalist, Linear / Reforge Aesthetic) */

.landing-page {
    background-color: var(--surface);
    color: var(--on-surface);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Header / Navbar */
.landing-navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--surface);
    border-bottom: 1px solid var(--outline);
    transition: all var(--transition-base);
}

.landing-nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0.9rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--on-surface);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.landing-brand-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--outline);
}

.landing-brand-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    background: var(--surface-container);
    color: var(--on-surface-variant);
    border: 1px solid var(--outline);
}

.landing-nav-links {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    list-style: none;
}

.landing-nav-link {
    color: var(--on-surface-variant);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: color var(--transition-fast);
}

.landing-nav-link:hover {
    color: var(--on-surface);
}

.landing-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.btn-landing-theme-toggle {
    width: 34px;
    height: 34px;
    border-radius: 7px;
    border: 1px solid var(--outline);
    background: transparent;
    color: var(--on-surface-variant);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.btn-landing-theme-toggle:hover {
    background: var(--surface-container);
    color: var(--on-surface);
}

.btn-landing-req {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.5rem 0.95rem;
    border-radius: 7px;
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--on-surface);
    background: transparent;
    border: 1px solid var(--outline);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
}
.btn-landing-req:hover {
    background: var(--surface-container);
    border-color: var(--on-surface-variant);
}

.btn-landing-signin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.5rem 1.05rem;
    border-radius: 7px;
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--on-primary);
    background: var(--primary);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
}
.btn-landing-signin:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.landing-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--on-surface);
    cursor: pointer;
    padding: 0.4rem;
}

.landing-mobile-menu {
    display: none;
    position: fixed;
    top: 58px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--outline);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    z-index: 99;
}
.landing-mobile-menu.open {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Hero Section */
.landing-hero {
    padding: 5.5rem 1.5rem 4.5rem;
    text-align: center;
    max-width: 1040px;
    margin: 0 auto;
}

.landing-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0.95rem;
    border-radius: 99px;
    background: var(--surface-container);
    color: var(--on-surface-variant);
    font-size: 0.775rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 2rem;
    border: 1px solid var(--outline);
}

.landing-hero-pill-badge {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.15rem 0.45rem;
    border-radius: 99px;
    background: var(--primary);
    color: var(--on-primary);
}

.landing-hero-title {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.04em;
    color: var(--on-surface);
    margin-bottom: 1.35rem;
}

.landing-hero-desc {
    font-size: 1.15rem;
    color: var(--on-surface-variant);
    line-height: 1.65;
    max-width: 720px;
    margin: 0 auto 2.5rem;
    font-weight: 400;
}

.landing-hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.25rem;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.85rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--on-primary);
    background: var(--primary);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
}
.btn-hero-primary:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--on-surface);
    background: var(--surface);
    border: 1px solid var(--outline);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
}
.btn-hero-secondary:hover {
    background: var(--surface-container);
    border-color: var(--on-surface-variant);
}

/* Alumni Company Trust Strip */
.landing-hero-trust {
    margin-bottom: 3.5rem;
    border-top: 1px solid var(--outline);
    border-bottom: 1px solid var(--outline);
    padding: 1.5rem 0;
}
.landing-trust-label {
    font-size: 0.725rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--on-surface-variant);
    margin-bottom: 1rem;
}
.landing-trust-companies {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.75rem;
    flex-wrap: wrap;
    color: var(--on-surface);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.02em;
    opacity: 0.75;
}

/* Interactive Preview Box */
.landing-showcase-box {
    margin: 0 auto;
    max-width: 1040px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--outline);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}
.landing-showcase-bar {
    display: flex;
    align-items: center;
    padding: 0.65rem 1rem;
    background: var(--surface-container);
    border-bottom: 1px solid var(--outline);
    gap: 0.4rem;
}
.landing-showcase-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--outline);
}
.landing-showcase-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Stats Section */
.landing-stats-section {
    border-top: 1px solid var(--outline);
    border-bottom: 1px solid var(--outline);
    background: var(--surface-container-low);
    padding: 3.5rem 1.5rem;
}
.landing-stats-grid {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
}
.landing-stat-item {
    border-left: 2px solid var(--outline);
    padding-left: 1.25rem;
    text-align: left;
}
.landing-stat-val {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--on-surface);
    margin-bottom: 0.25rem;
    line-height: 1;
}
.landing-stat-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: 0.2rem;
}
.landing-stat-sub {
    font-size: 0.775rem;
    color: var(--on-surface-variant);
}

/* Standard Section Layout */
.landing-section {
    padding: 5.5rem 1.5rem;
    max-width: 1160px;
    margin: 0 auto;
}
.landing-section-header {
    text-align: left;
    max-width: 720px;
    margin-bottom: 3.5rem;
}
.landing-section-tag {
    display: inline-block;
    font-size: 0.725rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.landing-section-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--on-surface);
    margin-bottom: 0.85rem;
    line-height: 1.2;
}
.landing-section-desc {
    font-size: 1.05rem;
    color: var(--on-surface-variant);
    line-height: 1.6;
}

/* 5-Stage Curriculum Grid */
.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}
.curriculum-card {
    background: var(--surface);
    border: 1px solid var(--outline);
    border-radius: 12px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-fast);
}
.curriculum-card:hover {
    border-color: var(--on-surface-variant);
    transform: translateY(-2px);
}
.curriculum-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.curriculum-stage-num {
    font-size: 0.725rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--primary);
    text-transform: uppercase;
}
.curriculum-duration {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--on-surface-variant);
    background: var(--surface-container);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}
.curriculum-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--on-surface);
    letter-spacing: -0.015em;
}
.curriculum-card-desc {
    font-size: 0.875rem;
    color: var(--on-surface-variant);
    line-height: 1.55;
    margin-bottom: 1.25rem;
}
.curriculum-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.curriculum-tag {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    background: var(--surface-container);
    color: var(--on-surface-variant);
    border: 1px solid var(--outline);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}
.feature-card {
    background: var(--surface);
    border: 1px solid var(--outline);
    border-radius: 12px;
    padding: 1.85rem;
    transition: all var(--transition-fast);
}
.feature-card:hover {
    border-color: var(--on-surface-variant);
    transform: translateY(-2px);
}
.feature-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--surface-container);
    color: var(--on-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.15rem;
    border: 1px solid var(--outline);
}
.feature-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: 0.45rem;
    letter-spacing: -0.015em;
}
.feature-card-desc {
    font-size: 0.875rem;
    color: var(--on-surface-variant);
    line-height: 1.6;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}
.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--outline);
    border-radius: 12px;
    padding: 1.85rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.testimonial-text {
    font-size: 0.925rem;
    color: var(--on-surface);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    font-style: normal;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-top: 1px solid var(--outline);
    padding-top: 1rem;
}
.testimonial-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface-container);
    color: var(--on-surface);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--outline);
}
.testimonial-name {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--on-surface);
}
.testimonial-role {
    font-size: 0.75rem;
    color: var(--on-surface-variant);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}
.pricing-card {
    background: var(--surface);
    border: 1px solid var(--outline);
    border-radius: 14px;
    padding: 2.25rem 1.85rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}
.pricing-card.highlighted {
    border: 2px solid var(--primary);
}
.pricing-ribbon {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--on-primary);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.2rem 0.65rem;
    border-radius: 99px;
}
.pricing-plan-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--on-surface);
}
.pricing-plan-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--on-surface);
    margin-bottom: 0.35rem;
    letter-spacing: -0.03em;
}
.pricing-plan-price span {
    font-size: 0.825rem;
    font-weight: 500;
    color: var(--on-surface-variant);
}
.pricing-plan-desc {
    font-size: 0.85rem;
    color: var(--on-surface-variant);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
.pricing-features-list {
    list-style: none;
    margin-bottom: 1.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.pricing-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--on-surface);
}
.pricing-feature-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* Minimalist Modal */
.landing-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 150;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    overflow-y: auto;
}
.landing-modal-card {
    background: var(--surface);
    border: 1px solid var(--outline);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 440px;
    padding: 2rem;
    position: relative;
}
.landing-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--on-surface-variant);
    cursor: pointer;
    font-size: 1.25rem;
}

/* Footer */
.landing-footer {
    background: var(--surface-container-low);
    border-top: 1px solid var(--outline);
    padding: 4.5rem 1.5rem 2.25rem;
}
.landing-footer-grid {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}
.landing-footer-brand p {
    color: var(--on-surface-variant);
    font-size: 0.85rem;
    margin-top: 0.65rem;
    line-height: 1.6;
    max-width: 320px;
}
.landing-footer-col h4 {
    font-size: 0.775rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--on-surface);
    margin-bottom: 1rem;
}
.landing-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.landing-footer-link {
    color: var(--on-surface-variant);
    text-decoration: none;
    font-size: 0.825rem;
    transition: color var(--transition-fast);
}
.landing-footer-link:hover {
    color: var(--on-surface);
}
.landing-footer-bottom {
    max-width: 1160px;
    margin: 0 auto;
    border-top: 1px solid var(--outline);
    padding-top: 1.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--on-surface-variant);
}

@media (max-width: 900px) {
    .landing-nav-links { display: none; }
    .landing-menu-toggle { display: block; }
    .landing-hero-title { font-size: 2.75rem; }
    .landing-footer-grid { grid-template-columns: 1fr 1fr; }
    .landing-section-header { text-align: center; margin-left: auto; margin-right: auto; }
}
@media (max-width: 600px) {
    .landing-hero-title { font-size: 2.15rem; }
    .landing-hero-desc { font-size: 1rem; }
    .btn-hero-primary, .btn-hero-secondary { width: 100%; }
    .landing-footer-grid { grid-template-columns: 1fr; }
    .landing-trust-companies { gap: 1.5rem; }
}




/* ======================================================================
   PLUTO LEARN — PREMIUM LANDING PAGE DESIGN SYSTEM
   Inspired by Linear, Stripe, Vercel, Reforge
   ====================================================================== */

/* ─── Google Font Import ─── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ─── Scroll Animation Foundation ─── */
.fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.08s; }
.fade-up-delay-2 { transition-delay: 0.16s; }
.fade-up-delay-3 { transition-delay: 0.24s; }
.fade-up-delay-4 { transition-delay: 0.32s; }
.fade-up-delay-5 { transition-delay: 0.40s; }

/* ─── Landing Page Root ─── */
.landing-page {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--surface);
    color: var(--on-surface);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* ========== NAVIGATION ========== */
.landing-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 1.5rem;
    height: 64px;
    display: flex;
    align-items: center;
    background: rgba(253, 252, 255, 0.72);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--outline);
    transition: background 0.3s, box-shadow 0.3s;
}
[data-theme="dark"] .landing-navbar {
    background: rgba(26, 28, 30, 0.78);
}

.landing-nav-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--on-surface);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}
.landing-brand-logo {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    object-fit: contain;
}
.landing-brand-badge {
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--primary);
    color: var(--on-primary);
    line-height: 1.4;
}

.landing-nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.landing-nav-link {
    padding: 0.4rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--on-surface-variant);
    text-decoration: none;
    border-radius: 6px;
    transition: color var(--transition-fast), background var(--transition-fast);
}
.landing-nav-link:hover {
    color: var(--on-surface);
    background: var(--surface-container);
}

.landing-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-landing-theme-toggle {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid var(--outline);
    background: transparent;
    color: var(--on-surface-variant);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.btn-landing-theme-toggle:hover {
    background: var(--surface-container);
    color: var(--on-surface);
}

.btn-landing-req {
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid var(--outline);
    background: transparent;
    color: var(--on-surface);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all var(--transition-fast);
}
.btn-landing-req:hover {
    background: var(--surface-container);
    border-color: var(--outline-strong);
}

.btn-landing-signin {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    background: var(--on-surface);
    color: var(--surface);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all var(--transition-fast);
}
.btn-landing-signin:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.landing-menu-toggle {
    display: none;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid var(--outline);
    background: transparent;
    color: var(--on-surface);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Mobile Menu */
.landing-mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--outline);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-lg);
}
.landing-mobile-menu.open {
    display: flex;
}

/* ========== HERO SECTION ========== */
.landing-hero {
    padding: 10rem 1.5rem 4rem;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.landing-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.85rem 0.25rem 0.25rem;
    border-radius: 99px;
    border: 1px solid var(--outline);
    background: var(--surface-container);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--on-surface-variant);
    margin-bottom: 1.75rem;
    cursor: default;
    transition: border-color var(--transition-fast);
}
.landing-hero-pill:hover {
    border-color: var(--primary);
}
.landing-hero-pill-badge {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.15rem 0.55rem;
    border-radius: 99px;
    background: var(--primary);
    color: var(--on-primary);
}

.landing-hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
    color: var(--on-surface);
    margin-bottom: 1.25rem;
}

.landing-hero-desc {
    font-size: 1.05rem;
    color: var(--on-surface-variant);
    line-height: 1.65;
    max-width: 620px;
    margin: 0 auto 2rem;
}

.landing-hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.btn-hero-primary {
    padding: 0.75rem 1.65rem;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    background: var(--on-surface);
    color: var(--surface);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}
.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-hero-secondary {
    padding: 0.75rem 1.5rem;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid var(--outline);
    background: transparent;
    color: var(--on-surface);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}
.btn-hero-secondary:hover {
    background: var(--surface-container);
    border-color: var(--outline-strong);
}

/* Trust Strip */
.landing-hero-trust {
    margin-bottom: 3rem;
}
.landing-trust-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--on-surface-variant);
    opacity: 0.6;
    margin-bottom: 0.75rem;
}
.landing-trust-companies {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    flex-wrap: wrap;
}
.landing-trust-companies span {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--on-surface-variant);
    opacity: 0.4;
    transition: opacity 0.2s;
}
.landing-trust-companies span:hover {
    opacity: 0.7;
}

/* Showcase Preview */
.landing-showcase-box {
    max-width: 820px;
    margin: 0 auto;
    border-radius: 14px;
    border: 1px solid var(--outline);
    overflow: hidden;
    background: var(--surface-container);
    box-shadow: 0 24px 80px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s ease;
}
[data-theme="dark"] .landing-showcase-box {
    box-shadow: 0 24px 80px rgba(0,0,0,0.3), 0 4px 16px rgba(0,0,0,0.2);
}
.landing-showcase-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 90px rgba(0,0,0,0.12), 0 6px 20px rgba(0,0,0,0.06);
}
.landing-showcase-bar {
    padding: 0.6rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border-bottom: 1px solid var(--outline);
    background: var(--surface);
}
.landing-showcase-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--outline-strong);
}
.landing-showcase-dot:first-child { background: #ff5f57; }
.landing-showcase-dot:nth-child(2) { background: #ffbd2e; }
.landing-showcase-dot:nth-child(3) { background: #28c840; }
.landing-showcase-img {
    width: 100%;
    display: block;
}

/* ========== STATS STRIP ========== */
.landing-stats-section {
    padding: 3.5rem 1.5rem;
    border-top: 1px solid var(--outline);
    border-bottom: 1px solid var(--outline);
    background: var(--surface-container);
}
.landing-stats-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.landing-stat-item {
    text-align: center;
    padding: 1rem 0.5rem;
}
.landing-stat-val {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--on-surface);
    line-height: 1.1;
    margin-bottom: 0.3rem;
}
.landing-stat-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--on-surface);
    margin-bottom: 0.15rem;
}
.landing-stat-sub {
    font-size: 0.72rem;
    color: var(--on-surface-variant);
}

/* ========== GENERIC SECTION ========== */
.landing-section {
    padding: 5rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.landing-section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.landing-section-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    padding: 0.2rem 0.7rem;
    border-radius: 99px;
    border: 1px solid var(--outline);
    background: var(--surface-container);
    margin-bottom: 0.85rem;
}
.landing-section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--on-surface);
    margin-bottom: 0.65rem;
    line-height: 1.2;
}
.landing-section-desc {
    font-size: 0.92rem;
    color: var(--on-surface-variant);
    line-height: 1.6;
}

/* ========== CURRICULUM GRID ========== */
.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1rem;
}
.curriculum-card {
    padding: 1.5rem;
    border-radius: 14px;
    border: 1px solid var(--outline);
    background: var(--surface);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.25s;
}
.curriculum-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), var(--shadow-md);
    transform: translateY(-2px);
}
.curriculum-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.curriculum-stage-num {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary);
    padding: 0.15rem 0.55rem;
    border-radius: 5px;
    background: var(--surface-container);
    border: 1px solid var(--outline);
}
.curriculum-duration {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--on-surface-variant);
}
.curriculum-card-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--on-surface);
    margin-bottom: 0.35rem;
}
.curriculum-card-desc {
    font-size: 0.82rem;
    color: var(--on-surface-variant);
    line-height: 1.55;
}
.curriculum-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.curriculum-tag {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 5px;
    background: var(--surface-container);
    color: var(--on-surface-variant);
    border: 1px solid var(--outline);
}

/* ========== FEATURES GRID ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
}
.feature-card {
    padding: 1.5rem;
    border-radius: 14px;
    border: 1px solid var(--outline);
    background: var(--surface);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.25s;
}
.feature-card:hover {
    border-color: var(--outline-strong);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.feature-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: var(--surface-container);
    border: 1px solid var(--outline);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
}
.feature-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--on-surface);
    margin-bottom: 0.35rem;
}
.feature-card-desc {
    font-size: 0.82rem;
    color: var(--on-surface-variant);
    line-height: 1.55;
}

/* ========== TESTIMONIALS ========== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
}
.testimonial-card {
    padding: 1.5rem;
    border-radius: 14px;
    border: 1px solid var(--outline);
    background: var(--surface);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
    transition: border-color 0.2s, transform 0.25s;
}
.testimonial-card:hover {
    border-color: var(--outline-strong);
    transform: translateY(-2px);
}
.testimonial-text {
    font-size: 0.88rem;
    color: var(--on-surface);
    line-height: 1.6;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.testimonial-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface-container);
    border: 1px solid var(--outline);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.testimonial-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--on-surface);
}
.testimonial-role {
    font-size: 0.72rem;
    color: var(--on-surface-variant);
}

/* ========== PRICING ========== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    max-width: 960px;
    margin: 0 auto;
}
.pricing-card {
    padding: 1.75rem;
    border-radius: 14px;
    border: 1px solid var(--outline);
    background: var(--surface);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    position: relative;
    transition: border-color 0.2s, transform 0.25s;
}
.pricing-card:hover {
    transform: translateY(-2px);
}
.pricing-card.highlighted {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), var(--shadow-lg);
}
.pricing-ribbon {
    position: absolute;
    top: -1px;
    right: 1.25rem;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.6rem 0.3rem;
    border-radius: 0 0 6px 6px;
    background: var(--primary);
    color: var(--on-primary);
}
.pricing-plan-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: 0.35rem;
}
.pricing-plan-price {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--on-surface);
    margin-bottom: 0.5rem;
}
.pricing-plan-price span {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--on-surface-variant);
}
.pricing-plan-desc {
    font-size: 0.82rem;
    color: var(--on-surface-variant);
    line-height: 1.5;
    margin-bottom: 1rem;
}
.pricing-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.pricing-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--on-surface);
}
.pricing-feature-item i {
    color: var(--primary);
    flex-shrink: 0;
}

/* ========== FOOTER ========== */
.landing-footer {
    border-top: 1px solid var(--outline);
    padding: 3rem 1.5rem 1.5rem;
    background: var(--surface-container);
}
.landing-footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}
.landing-footer-brand p {
    font-size: 0.82rem;
    color: var(--on-surface-variant);
    line-height: 1.55;
    margin-top: 0.65rem;
}
.landing-footer-col h4 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--on-surface);
    margin-bottom: 0.85rem;
}
.landing-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.landing-footer-link {
    font-size: 0.82rem;
    color: var(--on-surface-variant);
    text-decoration: none;
    transition: color var(--transition-fast);
}
.landing-footer-link:hover {
    color: var(--primary);
}
.landing-footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--outline);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--on-surface-variant);
}

/* ========== LANDING MODALS ========== */
.landing-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.landing-modal-backdrop.hidden {
    display: none !important;
}
.landing-modal-card {
    background: var(--surface);
    border: 1px solid var(--outline);
    border-radius: 16px;
    padding: 2rem;
    max-width: 440px;
    width: 100%;
    position: relative;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
    animation: modalSlideUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.landing-modal-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid var(--outline);
    background: var(--surface-container);
    color: var(--on-surface-variant);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.landing-modal-close:hover {
    background: var(--surface-variant);
    color: var(--on-surface);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .landing-nav-links { display: none; }
    .btn-landing-req { display: none; }
    .btn-landing-signin { display: none; }
    .landing-menu-toggle { display: flex; }

    .landing-hero { padding: 7rem 1rem 3rem; }
    .landing-hero-title { font-size: 1.85rem; }
    .landing-hero-desc { font-size: 0.92rem; }

    .landing-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .landing-stat-val { font-size: 1.5rem; }

    .curriculum-grid,
    .features-grid,
    .testimonials-grid { grid-template-columns: 1fr; }

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

    .landing-footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .landing-footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .landing-section { padding: 3rem 1rem; }
}

@media (max-width: 480px) {
    .landing-hero-cta-group {
        flex-direction: column;
    }
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
    .landing-trust-companies {
        gap: 1rem;
    }
}

/* ========== EXIT INTENT POPUP ========== */
@keyframes exitPopIn {
    0% {
        transform: scale(0.85) translateY(20px);
        opacity: 0;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}


/* ======================================================================
   PLUTO LEARN OFFICIAL DESIGN SYSTEM — LANDING & PUBLIC EXPERIENCES
   Engineered for Quality Engineering & SDET Career Acceleration
   Palette: Seal Blue #DBF2FC | Navy Blue #072D59 | Crimson Pink #FD6E8B
   ====================================================================== */

.brutal-landing {
    width: 100%;
    min-height: 100vh;
    background-color: #FFFFFF;
    color: #072D59;
    font-family: var(--pluto-font-sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(circle at 15% 10%, rgba(219, 242, 252, 0.75) 0%, transparent 45%),
        radial-gradient(circle at 85% 25%, rgba(219, 242, 252, 0.6) 0%, transparent 40%),
        radial-gradient(circle at 50% 70%, rgba(219, 242, 252, 0.35) 0%, transparent 60%);
    background-attachment: fixed;
}

[data-theme="dark"] .brutal-landing {
    background-color: #061528;
    color: #F0F8FD;
    background-image: 
        radial-gradient(circle at 15% 10%, rgba(14, 41, 75, 0.7) 0%, transparent 45%),
        radial-gradient(circle at 85% 25%, rgba(11, 34, 61, 0.6) 0%, transparent 40%),
        radial-gradient(circle at 50% 70%, rgba(14, 41, 75, 0.4) 0%, transparent 60%);
}

/* ─── Top Marquee Announcement Bar ─── */
.brutal-marquee-bar {
    background: #072D59;
    color: #FFFFFF;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    position: relative;
    z-index: 102;
}

[data-theme="dark"] .brutal-marquee-bar {
    background: #051A33;
    border-bottom: 1px solid #142F4F;
}

.brutal-marquee-bar span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.brutal-marquee-bar span:nth-child(even) {
    color: #FD6E8B;
}

.brutal-marquee-content {
    display: inline-flex;
    gap: 2.5rem;
    animation: plutoMarquee 32s linear infinite;
}

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

/* ─── Sticky Header Navbar & Liquid Glass System ─── */
.brutal-navbar,
.liquid-navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    border-bottom: 1px solid rgba(215, 231, 240, 0.65);
    box-shadow: 0 8px 32px 0 rgba(7, 45, 89, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    padding: 0.65rem 2rem;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.liquid-navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.9) 25%, rgba(253, 110, 139, 0.5) 50%, rgba(255, 255, 255, 0.9) 75%, transparent 100%);
    opacity: 0.85;
    pointer-events: none;
}

[data-theme="dark"] .brutal-navbar,
[data-theme="dark"] .liquid-navbar {
    background: rgba(8, 24, 48, 0.82);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    border-bottom: 1px solid rgba(27, 60, 99, 0.65);
    box-shadow: 0 14px 40px 0 rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .liquid-navbar::before {
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 25%, rgba(253, 110, 139, 0.55) 50%, rgba(255, 255, 255, 0.3) 75%, transparent 100%);
    opacity: 0.75;
}

.brutal-nav-container,
.liquid-nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.brutal-brand,
.liquid-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.liquid-brand:hover {
    transform: translateY(-0.5px);
}

.liquid-brand-logo-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(215, 231, 240, 0.85);
    box-shadow: 0 2px 8px rgba(7, 45, 89, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

[data-theme="dark"] .liquid-brand-logo-frame {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brutal-brand-logo,
.liquid-brand-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    background: transparent;
    border: none;
    box-shadow: none;
}

.liquid-brand-text-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.brutal-brand-text,
.liquid-brand-text {
    font-family: var(--pluto-font-sans);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #072D59;
}

[data-theme="dark"] .brutal-brand-text,
[data-theme="dark"] .liquid-brand-text {
    color: #F0F8FD;
}

.brutal-brand-tag,
.liquid-brand-tag {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    background: rgba(253, 110, 139, 0.12);
    color: #FD6E8B;
    border: 1px solid rgba(253, 110, 139, 0.28);
    padding: 3px 9px;
    border-radius: 9999px;
    text-transform: uppercase;
    box-shadow: 0 1px 4px rgba(253, 110, 139, 0.12);
}

/* Floating Frosted Dock for Navigation Links */
.brutal-nav-links,
.liquid-nav-dock {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(238, 244, 250, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 9999px;
    padding: 4px 6px;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.95), 0 3px 12px rgba(7, 45, 89, 0.04);
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

[data-theme="dark"] .brutal-nav-links,
[data-theme="dark"] .liquid-nav-dock {
    background: rgba(13, 31, 56, 0.68);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08), 0 4px 16px rgba(0, 0, 0, 0.28);
}

.brutal-nav-link,
.liquid-nav-link {
    white-space: nowrap !important;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: #4A607A;
    text-decoration: none;
    padding: 0.42rem 0.82rem;
    border-radius: 9999px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    border: 1px solid transparent;
    background: transparent;
    transform: none !important;
}

[data-theme="dark"] .brutal-nav-link,
[data-theme="dark"] .liquid-nav-link {
    color: #9FB5CE;
}

.brutal-nav-link:hover,
.liquid-nav-link:hover {
    color: #072D59;
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(215, 231, 240, 0.7);
    box-shadow: 0 2px 8px rgba(7, 45, 89, 0.06);
    transform: translateY(-0.5px) !important;
}

[data-theme="dark"] .brutal-nav-link:hover,
[data-theme="dark"] .liquid-nav-link:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

/* Distinct Liquid Badge Pill for Verify Certificate */
.liquid-nav-verify {
    background: rgba(253, 110, 139, 0.1) !important;
    color: #FD6E8B !important;
    border: 1px solid rgba(253, 110, 139, 0.3) !important;
    font-weight: 700 !important;
    box-shadow: 0 1px 4px rgba(253, 110, 139, 0.12);
}

.liquid-nav-verify:hover {
    background: rgba(253, 110, 139, 0.2) !important;
    color: #FD6E8B !important;
    border-color: rgba(253, 110, 139, 0.45) !important;
    box-shadow: 0 4px 14px rgba(253, 110, 139, 0.28) !important;
}

[data-theme="dark"] .liquid-nav-verify {
    background: rgba(253, 110, 139, 0.15) !important;
    color: #FF8FA3 !important;
    border-color: rgba(253, 110, 139, 0.35) !important;
}

[data-theme="dark"] .liquid-nav-verify:hover {
    background: rgba(253, 110, 139, 0.25) !important;
    box-shadow: 0 4px 16px rgba(253, 110, 139, 0.35) !important;
}

.brutal-nav-actions,
.liquid-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

/* Theme Orb */
.liquid-theme-orb {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.7) !important;
    border: 1px solid rgba(215, 231, 240, 0.8) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), 0 2px 6px rgba(7, 45, 89, 0.04) !important;
    backdrop-filter: blur(10px);
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #072D59 !important;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    padding: 0 !important;
}

.liquid-theme-orb:hover {
    background: #FFFFFF !important;
    border-color: rgba(7, 45, 89, 0.18) !important;
    box-shadow: 0 4px 12px rgba(7, 45, 89, 0.1) !important;
    transform: translateY(-1px) !important;
}

[data-theme="dark"] .liquid-theme-orb {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08), 0 3px 10px rgba(0, 0, 0, 0.25) !important;
    color: #F0F8FD !important;
}

[data-theme="dark"] .liquid-theme-orb:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}

/* Liquid Sign In CTA Button */
.liquid-signin-btn {
    background: linear-gradient(135deg, #FD6E8B 0%, #FF8FA3 100%) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 9999px !important;
    padding: 0.52rem 1.25rem !important;
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 16px rgba(253, 110, 139, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.liquid-signin-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 22px rgba(253, 110, 139, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;
}

.liquid-signin-btn:active {
    transform: translateY(0) !important;
}

/* Hamburger Toggle */
.liquid-menu-toggle {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.7) !important;
    border: 1px solid rgba(215, 231, 240, 0.8) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), 0 2px 6px rgba(7, 45, 89, 0.04) !important;
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    color: #072D59 !important;
    cursor: pointer;
    padding: 0 !important;
    transition: all 0.2s ease;
}

[data-theme="dark"] .liquid-menu-toggle {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #F0F8FD !important;
}

/* ─── Universal Button System ─── */
.brutal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.55rem 1.2rem;
    font-family: var(--pluto-font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 180ms cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    box-shadow: 0 1px 3px rgba(7, 45, 89, 0.06);
    transform: none;
}

.brutal-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(7, 45, 89, 0.12);
}

.brutal-btn:active {
    transform: translateY(0);
}

.brutal-btn-yellow {
    background: #FD6E8B;
    color: #FFFFFF;
    border: none;
    box-shadow: 0 4px 16px rgba(253, 110, 139, 0.3);
}

.brutal-btn-yellow:hover {
    background: #E85976;
    color: #FFFFFF;
    box-shadow: 0 8px 24px rgba(253, 110, 139, 0.4);
}

.brutal-btn-blue {
    background: #072D59;
    color: #FFFFFF;
    border: 1px solid rgba(7, 45, 89, 0.3);
    box-shadow: 0 4px 14px rgba(7, 45, 89, 0.15);
}

.brutal-btn-blue:hover {
    background: #0A3D73;
    color: #FFFFFF;
    box-shadow: 0 8px 22px rgba(7, 45, 89, 0.22);
}

.brutal-btn-green {
    background: #108A48;
    color: #FFFFFF;
    border: none;
    box-shadow: 0 4px 14px rgba(16, 138, 72, 0.25);
}

.brutal-btn-green:hover {
    background: #0D753D;
    color: #FFFFFF;
}

.brutal-btn-pink {
    background: #FD6E8B;
    color: #FFFFFF;
    border: none;
    box-shadow: 0 4px 14px rgba(253, 110, 139, 0.3);
}

.brutal-btn-pink:hover {
    background: #E85976;
    color: #FFFFFF;
}

.brutal-btn-white {
    background: #FFFFFF;
    color: #072D59;
    border: 1px solid #D7E7F0;
    box-shadow: 0 1px 3px rgba(7, 45, 89, 0.05);
}

.brutal-btn-white:hover {
    background: #F0F8FD;
    border-color: #B9D7EA;
    color: #072D59;
}

[data-theme="dark"] .brutal-btn-white {
    background: #0F2746;
    color: #F0F8FD;
    border-color: #1B3C63;
}

.brutal-btn-icon {
    padding: 0.55rem;
    border-radius: 10px;
    background: #F0F8FD;
    border: 1px solid #D7E7F0;
    color: #072D59;
}

[data-theme="dark"] .brutal-btn-icon {
    background: #102947;
    border-color: #1B3C63;
    color: #F0F8FD;
}

.brutal-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0.55rem;
    background: #F0F8FD;
    border: 1px solid #D7E7F0;
    border-radius: 10px;
    color: #072D59;
    cursor: pointer;
    box-shadow: none;
}

[data-theme="dark"] .brutal-menu-toggle {
    background: #102947;
    border-color: #1B3C63;
    color: #F0F8FD;
}

/* ─── Mobile Bottom Sheet & Backdrop ─── */
.brutal-mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(7, 45, 89, 0.52);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brutal-mobile-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

.brutal-mobile-drawer,
.brutal-bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 105%);
    width: 100%;
    max-width: 580px;
    max-height: 85vh;
    background: #FFFFFF;
    z-index: 999;
    padding: 0.75rem 1.5rem max(1.5rem, env(safe-area-inset-bottom));
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
    border: 1px solid #D7E7F0;
    border-bottom: none;
    box-shadow: 0 -16px 48px rgba(7, 45, 89, 0.2);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    visibility: hidden;
}

[data-theme="dark"] .brutal-mobile-drawer,
[data-theme="dark"] .brutal-bottom-sheet {
    background: #091C33;
    border-top: 1px solid rgba(219, 242, 252, 0.15);
    border-left: 1px solid rgba(219, 242, 252, 0.08);
    border-right: 1px solid rgba(219, 242, 252, 0.08);
    box-shadow: 0 -16px 54px rgba(0, 0, 0, 0.65);
}

.brutal-mobile-drawer.open,
.brutal-bottom-sheet.open {
    transform: translate(-50%, 0);
    visibility: visible;
}

/* Grab Handle Pill */
.sheet-grab-bar-wrap {
    display: flex;
    justify-content: center;
    padding: 0.25rem 0 0.85rem 0;
    cursor: pointer;
    touch-action: pan-y;
}

.sheet-grab-bar {
    width: 44px;
    height: 5px;
    border-radius: 9999px;
    background: rgba(7, 45, 89, 0.2);
    transition: background 0.2s ease, width 0.2s ease;
}

.sheet-grab-bar-wrap:hover .sheet-grab-bar {
    background: #FD6E8B;
    width: 54px;
}

[data-theme="dark"] .sheet-grab-bar {
    background: rgba(219, 242, 252, 0.25);
}

[data-theme="dark"] .sheet-grab-bar-wrap:hover .sheet-grab-bar {
    background: #FD6E8B;
}

/* Sheet Header */
.brutal-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid #D7E7F0;
    margin-bottom: 0.85rem;
}

[data-theme="dark"] .brutal-drawer-header {
    border-bottom-color: rgba(219, 242, 252, 0.12);
}

.sheet-header-brand {
    display: flex;
    flex-direction: column;
}

.sheet-brand-name {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #072D59;
    font-family: var(--pluto-font-sans);
}

[data-theme="dark"] .sheet-brand-name {
    color: #DBF2FC;
}

.sheet-brand-sub {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #FD6E8B;
    text-transform: uppercase;
}


.sheet-header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.sheet-claim-offer-btn {
    padding: 0.42rem 0.85rem !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    border-radius: 999px !important;
    border: 1.5px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 0 12px rgba(253, 110, 139, 0.6), 0 3px 10px rgba(255, 46, 99, 0.35) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    white-space: nowrap !important;
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
    animation: offerGlowPulse 2.4s infinite ease-in-out alternate;
}

@media (max-width: 640px) {
    .sheet-claim-offer-btn {
        width: auto !important; /* Keep compact pill inside hamburger title bar */
    }
}

.sheet-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(219, 242, 252, 0.4);
    color: #072D59;
    border: 1px solid rgba(7, 45, 89, 0.08);
    cursor: pointer;
    transition: all 0.2s ease;
}

.sheet-close-btn:hover {
    background: #FD6E8B;
    color: #FFFFFF;
    transform: rotate(90deg);
}

[data-theme="dark"] .sheet-close-btn {
    background: #102B4A;
    color: #DBF2FC;
    border-color: rgba(219, 242, 252, 0.15);
}

/* Navigation Links inside Sheet */
.brutal-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    overflow-y: auto;
    max-height: 48vh;
    padding-right: 0.35rem;
}

.brutal-drawer-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.98rem;
    font-weight: 600;
    color: #072D59;
    text-decoration: none;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.brutal-drawer-link i,
.brutal-drawer-link svg {
    color: #FD6E8B;
    flex-shrink: 0;
    transition: transform 0.18s ease;
}

.brutal-drawer-link:hover,
.brutal-drawer-link:active {
    background: #EBF6FC;
    color: #072D59;
    transform: translateX(4px);
}

.brutal-drawer-link:hover i,
.brutal-drawer-link:hover svg {
    transform: scale(1.15);
}

[data-theme="dark"] .brutal-drawer-link {
    color: #E4F2FC;
}

[data-theme="dark"] .brutal-drawer-link:hover,
[data-theme="dark"] .brutal-drawer-link:active {
    background: #102B4A;
    color: #FFFFFF;
}

/* Sheet Footer CTA */
.brutal-drawer-footer {
    padding-top: 1rem;
    border-top: 1px solid #D7E7F0;
    margin-top: auto;
}

[data-theme="dark"] .brutal-drawer-footer {
    border-top-color: rgba(219, 242, 252, 0.12);
}

.mobile-dream-banner {
    display: none !important;
}

/* ─── Hero Section — Apple Cupertino Liquid Glass with Hero Background ─── */
.brutal-hero,
.hero-liquid-section {
    width: 100%;
    position: relative;
    padding: 7rem 1.5rem 6.5rem;
    background-color: #031024;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(14, 165, 233, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% 25%, rgba(253, 110, 139, 0.15) 0%, transparent 45%),
        linear-gradient(180deg, rgba(2, 12, 28, 0.25) 0%, rgba(3, 16, 36, 0.12) 50%, rgba(2, 12, 28, 0.55) 100%),
        url('images/HeroSection-Background.jpg?v=67');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .brutal-hero,
[data-theme="dark"] .hero-liquid-section {
    background-color: #020B18;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(14, 165, 233, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 85% 25%, rgba(253, 110, 139, 0.18) 0%, transparent 45%),
        linear-gradient(180deg, rgba(2, 10, 24, 0.3) 0%, rgba(3, 14, 32, 0.15) 50%, rgba(2, 10, 24, 0.65) 100%),
        url('images/HeroSection-Background.jpg?v=67');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Ambient Glow Orbs for Hero */
.hero-liquid-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.hero-orb-1 {
    top: 8%;
    right: 10%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(253, 110, 139, 0.16) 0%, transparent 70%);
    filter: blur(85px);
}

.hero-orb-2 {
    bottom: 8%;
    left: 8%;
    width: 540px;
    height: 540px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.16) 0%, transparent 70%);
    filter: blur(90px);
}

.brutal-hero-wrapper,
.hero-liquid-wrapper {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    text-align: center;
    z-index: 2;
}

/* Apple Keynote Capsule Pill */
.hero-keynote-capsule {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 auto 2rem auto;
    padding: 0.45rem 1.25rem;
    border-radius: 9999px;
    background: rgba(8, 26, 50, 0.72) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
    cursor: default;
}

[data-theme="dark"] .hero-keynote-capsule {
    background: rgba(8, 26, 50, 0.72) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.hero-keynote-capsule:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
    border-color: rgba(255, 255, 255, 0.35) !important;
}

.keynote-beacon {
    position: relative;
    width: 8px;
    height: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.beacon-core {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FD6E8B;
    box-shadow: 0 0 10px rgba(253, 110, 139, 0.9);
}

.beacon-ring {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid rgba(253, 110, 139, 0.6);
    animation: beaconPulse 2s infinite ease-out;
}

@keyframes beaconPulse {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

.keynote-label {
    font-family: var(--pluto-font-sans);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #DBF2FC !important;
}

[data-theme="dark"] .keynote-label {
    color: #DBF2FC !important;
}

.keynote-sep {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.25) !important;
}

[data-theme="dark"] .keynote-sep {
    background: rgba(255, 255, 255, 0.25) !important;
}

.keynote-badge {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(253, 110, 139, 0.22) !important;
    color: #FF859D !important;
    padding: 2px 8px;
    border-radius: 9999px;
    border: 1px solid rgba(253, 110, 139, 0.45) !important;
}

/* Main Headline */
.brutal-hero-title,
.hero-liquid-title {
    font-size: clamp(2.3rem, 5.2vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #FFFFFF !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.75), 0 0 40px rgba(14, 165, 233, 0.25);
    margin-bottom: 1.5rem;
}

[data-theme="dark"] .brutal-hero-title,
[data-theme="dark"] .hero-liquid-title {
    color: #FFFFFF !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.75), 0 0 40px rgba(14, 165, 233, 0.25);
}

.brutal-marker-highlight,
.hero-liquid-gradient {
    background: linear-gradient(135deg, #FF7B95 0%, #FD6E8B 50%, #FF456A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #FD6E8B !important;
    padding: 0;
    border: none;
    box-shadow: none;
    display: inline;
    margin: 0;
    transform: none;
    text-shadow: 0 0 28px rgba(253, 110, 139, 0.45);
}

/* Subheadline */
.brutal-hero-sub,
.hero-liquid-sub {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.65;
    max-width: 740px;
    margin: 0 auto 2.5rem;
    color: rgba(226, 240, 253, 0.94) !important;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.65);
    font-weight: 450;
}

[data-theme="dark"] .brutal-hero-sub,
[data-theme="dark"] .hero-liquid-sub {
    color: rgba(226, 240, 253, 0.94) !important;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.65);
}

.hero-sub-pill {
    background: rgba(253, 110, 139, 0.2) !important;
    color: #FF859D !important;
    padding: 2px 10px;
    border-radius: 9999px;
    border: 1px solid rgba(253, 110, 139, 0.45) !important;
    font-weight: 700;
}
    font-weight: 700;
    display: inline-block;
}

[data-theme="dark"] .hero-sub-pill {
    background: rgba(253, 110, 139, 0.18);
    color: #FF8FA8;
    border-color: rgba(253, 110, 139, 0.35);
}

/* CTA Group */
.brutal-cta-group,
.hero-liquid-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.75rem;
}

/* Primary Liquid Coral Button */
.btn-claim-launch-offer,
.cupertino-offer-btn {
    background: linear-gradient(135deg, #FD6E8B 0%, #FF2E63 100%) !important;
    color: #FFFFFF !important;
    padding: 1rem 2.25rem !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em;
    border-radius: 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 
        0 10px 28px rgba(253, 110, 139, 0.45),
        inset 0 1px 1px rgba(255, 255, 255, 0.6) !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    font-family: var(--pluto-font-sans);
    position: relative;
    overflow: hidden;
}

.btn-claim-launch-offer::before,
.cupertino-offer-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
    animation: offerShimmer 3.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.btn-claim-launch-offer:hover,
.cupertino-offer-btn:hover {
    background: linear-gradient(135deg, #FF4572 0%, #FF1750 100%) !important;
    transform: translateY(-2px) scale(1.015);
    box-shadow: 
        0 14px 34px rgba(253, 110, 139, 0.55),
        inset 0 1px 1px rgba(255, 255, 255, 0.75) !important;
    color: #FFFFFF !important;
}

.btn-claim-launch-offer:active,
.cupertino-offer-btn:active {
    transform: translateY(0) scale(0.985);
}

/* Secondary Cupertino Buttons */
.brutal-btn-hero-yellow,
.cupertino-hero-btn {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #FFFFFF !important;
    padding: 0.95rem 1.85rem;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

[data-theme="dark"] .brutal-btn-hero-yellow,
[data-theme="dark"] .cupertino-hero-btn {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.brutal-btn-hero-yellow:hover,
.cupertino-hero-btn:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    text-decoration: none;
}

[data-theme="dark"] .brutal-btn-hero-yellow:hover,
[data-theme="dark"] .cupertino-hero-btn:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    color: #FFFFFF !important;
}

.brutal-btn-hero-blue,
.cupertino-hero-btn-dark {
    background: rgba(7, 45, 89, 0.9) !important;
    color: #FFFFFF !important;
    padding: 0.95rem 1.85rem;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.brutal-btn-hero-blue:hover,
.cupertino-hero-btn-dark:hover {
    background: #0B477D !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    color: #FFFFFF !important;
    text-decoration: none;
}

.brutal-btn-hero-white,
.cupertino-hero-btn-glass {
    background: rgba(8, 26, 50, 0.72) !important;
    color: #FFFFFF !important;
    padding: 0.95rem 1.75rem;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

[data-theme="dark"] .brutal-btn-hero-white,
[data-theme="dark"] .cupertino-hero-btn-glass {
    background: rgba(8, 26, 50, 0.72) !important;
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.brutal-btn-hero-white:hover,
.cupertino-hero-btn-glass:hover {
    background: rgba(14, 38, 70, 0.88) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .brutal-btn-hero-white:hover,
[data-theme="dark"] .cupertino-hero-btn-glass:hover {
    background: rgba(14, 38, 70, 0.88) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: #FFFFFF !important;
}

/* Cupertino Capsule Tag Strip */
.brutal-tag-strip,
.hero-liquid-tag-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.brutal-badge,
.hero-glass-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 7px 16px;
    border-radius: 9999px;
    background: rgba(8, 26, 50, 0.72) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    color: #F0F8FD !important;
    text-transform: uppercase;
    line-height: 1.25;
    white-space: nowrap;
    transition: transform 0.2s ease;
}

[data-theme="dark"] .brutal-badge,
[data-theme="dark"] .hero-glass-tag {
    background: rgba(8, 26, 50, 0.72) !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    color: #F0F8FD !important;
}

.brutal-badge:hover,
.hero-glass-tag:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.32) !important;
}

.brutal-badge-yellow { color: #FCD34D !important; background: rgba(245, 158, 11, 0.18) !important; border-color: rgba(245, 158, 11, 0.35) !important; }
.brutal-badge-pink { color: #FFA3B5 !important; background: rgba(253, 110, 139, 0.2) !important; border-color: rgba(253, 110, 139, 0.4) !important; }
.brutal-badge-green { color: #6EE7B7 !important; background: rgba(16, 185, 129, 0.18) !important; border-color: rgba(16, 185, 129, 0.35) !important; }
.brutal-badge-cyan { color: #7DD3FC !important; background: rgba(14, 165, 233, 0.18) !important; border-color: rgba(14, 165, 233, 0.35) !important; }
.brutal-badge-orange { color: #FDBA74 !important; background: rgba(249, 115, 22, 0.18) !important; border-color: rgba(249, 115, 22, 0.35) !important; }

/* ─── macOS High-Tech Liquid Glass Frame ─── */
.brutal-showcase-frame,
.macos-liquid-frame {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 
        0 28px 70px rgba(7, 45, 89, 0.12),
        0 4px 18px rgba(7, 45, 89, 0.04),
        inset 0 1px 1px rgba(255, 255, 255, 0.95);
    overflow: hidden;
    max-width: 1040px;
    margin: 0 auto;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
}

[data-theme="dark"] .brutal-showcase-frame,
[data-theme="dark"] .macos-liquid-frame {
    background: rgba(8, 26, 50, 0.78);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 
        0 32px 84px rgba(0, 0, 0, 0.55),
        inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.brutal-showcase-frame:hover,
.macos-liquid-frame:hover {
    transform: translateY(-3px);
    box-shadow: 0 36px 84px rgba(7, 45, 89, 0.16);
}

.brutal-window-header,
.macos-liquid-header {
    background: rgba(248, 251, 253, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(215, 231, 240, 0.75);
    padding: 0.85rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

[data-theme="dark"] .brutal-window-header,
[data-theme="dark"] .macos-liquid-header {
    background: rgba(10, 33, 61, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brutal-window-dots,
.macos-traffic-lights {
    display: flex;
    gap: 8px;
}

.brutal-window-dots span,
.macos-traffic-lights span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45);
}

.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.brutal-window-title,
.macos-window-title {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #52677D;
    font-family: var(--pluto-font-mono, monospace);
    display: flex;
    align-items: center;
}

[data-theme="dark"] .brutal-window-title,
[data-theme="dark"] .macos-window-title {
    color: #9EBBD6;
}

.brutal-window-badge,
.macos-window-badge {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    background: rgba(16, 185, 129, 0.12);
    color: #10B981;
    padding: 3px 10px;
    border-radius: 9999px;
    border: 1px solid rgba(16, 185, 129, 0.28);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.macos-badge-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
    animation: macosPulse 1.8s infinite alternate;
}

@keyframes macosPulse {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

.brutal-showcase-body,
.macos-showcase-body {
    padding: 0;
    background: transparent;
}

.brutal-showcase-img {
    width: 100%;
    display: block;
}

/* ─── Floating Liquid Glass Stats Island ─── */
.brutal-stats-strip,
.stats-liquid-section {
    position: relative;
    padding: 4.5rem 1.5rem;
    background: transparent;
    overflow: hidden;
    border-top: 1px solid rgba(215, 231, 240, 0.7);
    border-bottom: 1px solid rgba(215, 231, 240, 0.7);
}

[data-theme="dark"] .brutal-stats-strip,
[data-theme="dark"] .stats-liquid-section {
    border-color: rgba(255, 255, 255, 0.08);
}

.stats-liquid-container {
    max-width: 1240px;
    margin: 0 auto;
}

.brutal-stats-grid,
.stats-liquid-island {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.brutal-stat-box,
.stat-liquid-pod {
    position: relative;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 34px rgba(7, 45, 89, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.95);
    padding: 2.25rem 1.75rem;
    text-align: left;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

[data-theme="dark"] .brutal-stat-box,
[data-theme="dark"] .stat-liquid-pod {
    background: rgba(8, 26, 50, 0.72);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.brutal-stat-box:hover,
.stat-liquid-pod:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(7, 45, 89, 0.1);
    border-color: rgba(253, 110, 139, 0.45);
}

[data-theme="dark"] .brutal-stat-box:hover,
[data-theme="dark"] .stat-liquid-pod:hover {
    border-color: rgba(253, 110, 139, 0.5);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55);
}

.stat-pod-top-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
}

[data-theme="dark"] .stat-pod-top-shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.stat-pod-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.brutal-stat-num {
    font-size: clamp(2.2rem, 3.5vw, 2.85rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    color: #072D59;
    margin-bottom: 0.65rem;
    font-variant-numeric: tabular-nums;
}

[data-theme="dark"] .brutal-stat-num {
    color: #FFFFFF;
}

.brutal-stat-label {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #FD6E8B;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}

.brutal-stat-sub {
    font-size: 0.86rem;
    font-weight: 500;
    color: #52677D;
    line-height: 1.5;
}

[data-theme="dark"] .brutal-stat-sub {
    color: rgba(219, 242, 252, 0.7);
}

/* ─── Generic Section Styling ─── */
.brutal-section {
    padding: 6.5rem 1.5rem;
    max-width: 1240px;
    margin: 0 auto;
}

.brutal-section-alt,
.tracks-liquid-section {
    border-top: 1px solid rgba(215, 231, 240, 0.7);
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(219, 242, 252, 0.35) 0%, transparent 60%),
        linear-gradient(180deg, #F8FAFD 0%, #F1F6FB 50%, #F8FAFD 100%);
    max-width: 100%;
    padding: 6.5rem 1.5rem;
}

[data-theme="dark"] .brutal-section-alt,
[data-theme="dark"] .tracks-liquid-section {
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(14, 165, 233, 0.08) 0%, transparent 60%),
        linear-gradient(180deg, #020C1C 0%, #061933 50%, #030F21 100%);
    border-color: rgba(255, 255, 255, 0.08);
}

.brutal-section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 4rem;
}

.brutal-pill-label,
.cupertino-section-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    background: rgba(253, 110, 139, 0.12);
    color: #FD6E8B;
    padding: 5px 16px;
    border-radius: 9999px;
    border: 1px solid rgba(253, 110, 139, 0.28);
    margin-bottom: 1.15rem;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(253, 110, 139, 0.1);
}

.label-red {
    background: rgba(253, 110, 139, 0.12);
    color: #FD6E8B;
    border-color: rgba(253, 110, 139, 0.28);
}

.brutal-section-title {
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: #072D59;
    margin-bottom: 0.95rem;
}

[data-theme="dark"] .brutal-section-title {
    color: #FFFFFF;
}

.brutal-section-sub {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #52677D;
    font-weight: 450;
}

[data-theme="dark"] .brutal-section-sub {
    color: rgba(219, 242, 252, 0.75);
}

/* ─── Why Join 4-Grid Cards — Cupertino Feature Pillars ─── */
.brutal-why-grid,
.why-liquid-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.brutal-card,
.why-liquid-card {
    position: relative;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 14px 38px rgba(7, 45, 89, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.95);
    color: #072D59;
    padding: 2.5rem 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

[data-theme="dark"] .brutal-card,
[data-theme="dark"] .why-liquid-card {
    background: rgba(8, 26, 50, 0.72);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.12);
    color: #F0F8FD;
}

.brutal-card:hover,
.why-liquid-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(7, 45, 89, 0.1);
    border-color: rgba(253, 110, 139, 0.45);
}

[data-theme="dark"] .brutal-card:hover,
[data-theme="dark"] .why-liquid-card:hover {
    border-color: rgba(253, 110, 139, 0.5);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.55);
}

.why-card-top-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
}

[data-theme="dark"] .why-card-top-shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.brutal-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.35rem;
}

.brutal-card-num {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    background: rgba(7, 45, 89, 0.06);
    color: #072D59;
    padding: 4px 10px;
    border-radius: 8px;
    font-family: var(--pluto-font-mono, monospace);
}

[data-theme="dark"] .brutal-card-num {
    background: rgba(255, 255, 255, 0.08);
    color: #DBF2FC;
}

.brutal-sticker {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 9999px;
}

.cupertino-sticker-essential {
    background: rgba(253, 110, 139, 0.12);
    color: #FD6E8B;
    border: 1px solid rgba(253, 110, 139, 0.28);
}

.cupertino-sticker-squad {
    background: rgba(14, 165, 233, 0.12);
    color: #0284C7;
    border: 1px solid rgba(14, 165, 233, 0.28);
}

[data-theme="dark"] .cupertino-sticker-squad {
    color: #38BDF8;
}

.cupertino-sticker-future {
    background: rgba(16, 185, 129, 0.12);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.28);
}

.cupertino-sticker-roadmap {
    background: rgba(245, 158, 11, 0.12);
    color: #D97706;
    border: 1px solid rgba(245, 158, 11, 0.28);
}

[data-theme="dark"] .cupertino-sticker-roadmap {
    color: #FBBF24;
}

.brutal-card-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
    color: #072D59;
}

[data-theme="dark"] .brutal-card-title {
    color: #FFFFFF;
}

.brutal-card-desc {
    font-size: 0.94rem;
    line-height: 1.65;
    margin-bottom: 1.65rem;
    color: #52677D;
}

[data-theme="dark"] .brutal-card-desc {
    color: rgba(219, 242, 252, 0.75);
}

.brutal-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.brutal-mini-tag {
    font-size: 0.74rem;
    font-weight: 600;
    padding: 4px 12px;
    background: rgba(240, 248, 253, 0.75);
    color: #072D59;
    border: 1px solid rgba(215, 231, 240, 0.85);
    border-radius: 9999px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

[data-theme="dark"] .brutal-mini-tag {
    background: rgba(16, 43, 74, 0.75);
    color: #DBF2FC;
    border-color: rgba(255, 255, 255, 0.12);
}

/* ─── Explore Paths — Cupertino Liquid Consoles ─── */
.brutal-tracks-stack,
.tracks-liquid-stack {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.brutal-track-card,
.track-liquid-card {
    position: relative;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 16px 44px rgba(7, 45, 89, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.95);
    padding: 2.75rem 2.5rem;
    overflow: visible;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

[data-theme="dark"] .brutal-track-card,
[data-theme="dark"] .track-liquid-card {
    background: rgba(8, 26, 50, 0.72);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.brutal-track-card:hover,
.track-liquid-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 56px rgba(7, 45, 89, 0.1);
    border-color: rgba(253, 110, 139, 0.45);
}

[data-theme="dark"] .brutal-track-card:hover,
[data-theme="dark"] .track-liquid-card:hover {
    border-color: rgba(253, 110, 139, 0.5);
    box-shadow: 0 26px 58px rgba(0, 0, 0, 0.55);
}

.track-card-top-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
    border-radius: 26px 26px 0 0;
}

[data-theme="dark"] .track-card-top-shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.brutal-track-badge {
    position: absolute;
    top: -14px;
    left: 2.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 4px 14px;
    border-radius: 9999px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.track-badge-flagship {
    background: linear-gradient(135deg, #FD6E8B 0%, #FF2E63 100%);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.track-badge-ai {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.track-badge-mobile {
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.brutal-track-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2.5rem;
    align-items: center;
}

.brutal-track-name {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
    color: #072D59;
}

[data-theme="dark"] .brutal-track-name {
    color: #FFFFFF;
}

.brutal-track-desc {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.65rem;
    color: #52677D;
}

[data-theme="dark"] .brutal-track-desc {
    color: rgba(219, 242, 252, 0.75);
}

.brutal-tech-stack-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.brutal-stack-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #8494A5;
}

.brutal-stack-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.brutal-chip {
    font-size: 0.76rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 9999px;
    background: rgba(240, 248, 253, 0.75);
    color: #072D59;
    border: 1px solid rgba(215, 231, 240, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

[data-theme="dark"] .brutal-chip {
    background: rgba(16, 43, 74, 0.75);
    color: #DBF2FC;
    border-color: rgba(255, 255, 255, 0.12);
}

.brutal-track-action,
.track-liquid-action {
    background: rgba(248, 251, 253, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(215, 231, 240, 0.85);
    padding: 1.85rem 1.65rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.95);
}

[data-theme="dark"] .brutal-track-action,
[data-theme="dark"] .track-liquid-action {
    background: rgba(6, 21, 41, 0.75);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.brutal-track-meta {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 0.82rem;
    color: #52677D;
}

[data-theme="dark"] .brutal-track-meta {
    color: rgba(219, 242, 252, 0.75);
}

.meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meta-item strong {
    color: #072D59;
    font-weight: 800;
}

[data-theme="dark"] .meta-item strong {
    color: #FFFFFF;
}

.cupertino-track-btn {
    padding: 0.95rem 1.5rem !important;
    border-radius: 16px !important;
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
    border: none !important;
    background: #FD6E8B !important;
    color: #FFFFFF !important;
    box-shadow: 0 6px 20px rgba(253, 110, 139, 0.35) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
}

.cupertino-track-btn:hover {
    background: #E85976 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 26px rgba(253, 110, 139, 0.45) !important;
}

.cupertino-track-btn:active {
    transform: translateY(0) scale(0.985) !important;
}

/* ==========================================================================
   CUPERTINO LIQUID GLASS ALUMNI NETWORK SHOWCASE
   ========================================================================== */
.brutal-hiring-strip.alumni-glass-section {
    position: relative;
    padding: 3.5rem 1.5rem 3.25rem;
    overflow: hidden;
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(14, 165, 233, 0.12) 0%, transparent 65%),
        radial-gradient(circle at 15% 100%, rgba(253, 110, 139, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 100%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #020C1C 0%, #061933 50%, #030F21 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

[data-theme="dark"] .brutal-hiring-strip.alumni-glass-section {
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(14, 165, 233, 0.15) 0%, transparent 65%),
        linear-gradient(180deg, #010814 0%, #04142B 50%, #020A17 100%);
}

/* Background floating glow orbs */
.alumni-glass-glow-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.alumni-glow-1 {
    top: -40px;
    left: 20%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
    filter: blur(65px);
}

.alumni-glow-2 {
    bottom: -40px;
    right: 20%;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(253, 110, 139, 0.12) 0%, transparent 70%);
    filter: blur(65px);
}

.alumni-glass-inner {
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header & Badges */
.alumni-header-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.alumni-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(14, 165, 233, 0.32);
    color: #38BDF8;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.18);
}

.brutal-hiring-title.alumni-strip-title {
    font-family: var(--pluto-font-sans, sans-serif);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.78);
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* ─── Pristine Symmetrical Cupertino Liquid Glass Deck ─── */
.brutal-hiring-companies.alumni-glass-deck {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0.5rem 0;
}

/* Desktop: Perfect 1-Row Centered Fit with NO Wrapping & NO Cut-off */
@media (min-width: 1100px) {
    .brutal-hiring-companies.alumni-glass-deck {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 0.75rem;
    }

    .brutal-hiring-companies.alumni-glass-deck .hiring-logo-item {
        flex: 1 1 0;
        min-width: 115px;
        max-width: 142px;
        height: 52px;
        padding: 0.65rem 0.95rem;
    }
}

/* Tablet: Balanced 2 Rows of 4 Symmetrical Cards */
@media (min-width: 601px) and (max-width: 1099px) {
    .brutal-hiring-companies.alumni-glass-deck {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0.85rem;
        max-width: 660px;
        margin: 0 auto;
    }

    .brutal-hiring-companies.alumni-glass-deck .hiring-logo-item {
        width: 100%;
        height: 50px;
        padding: 0.65rem 1rem;
    }
}

/* Mobile: Balanced 2 Columns of 4 Symmetrical Pairs */
@media (max-width: 600px) {
    .brutal-hiring-companies.alumni-glass-deck {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        max-width: 340px;
        margin: 0 auto;
    }

    .brutal-hiring-companies.alumni-glass-deck .hiring-logo-item {
        width: 100%;
        height: 48px;
        padding: 0.6rem 0.85rem;
    }
}

/* ─── Cupertino Liquid Glass Logo Card ─── */
.hiring-logo-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(8, 26, 50, 0.68);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    box-shadow: 
        0 10px 25px -4px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -1px 0 rgba(0, 0, 0, 0.35);
    color: #FFFFFF;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    overflow: hidden;
}

/* Card Top Shimmer Highlight */
.hiring-logo-shimmer {
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1.5px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
    pointer-events: none;
}

.hiring-logo-item:hover {
    transform: translateY(-4px) scale(1.03);
    background: rgba(12, 36, 68, 0.85);
    border-color: rgba(253, 110, 139, 0.55);
    box-shadow: 
        0 16px 36px -6px rgba(0, 0, 0, 0.6),
        0 0 24px rgba(253, 110, 139, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.hiring-logo-svg {
    height: 22px;
    max-width: 105px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
    transition: transform 0.25s ease;
}

.hiring-logo-item:hover .hiring-logo-svg {
    transform: scale(1.05);
}

/* ==========================================================================
   CUPERTINO LIQUID GLASS PRICING SECTION
   ========================================================================== */
.cpricing-section {
    position: relative;
    padding: 7.5rem 1.5rem 6.5rem;
    overflow: hidden;
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(219, 242, 252, 0.7) 0%, transparent 65%),
        radial-gradient(circle at 10% 80%, rgba(253, 110, 139, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #F8FAFD 0%, #F1F6FB 50%, #F8FAFD 100%);
}

[data-theme="dark"] .cpricing-section {
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(14, 165, 233, 0.1) 0%, transparent 65%),
        radial-gradient(circle at 12% 80%, rgba(253, 110, 139, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 88% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #020C1C 0%, #061933 50%, #030F21 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Background floating glow orbs */
.cpricing-glow-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.cpricing-orb-1 {
    top: 12%;
    left: -5%;
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(253, 110, 139, 0.14) 0%, transparent 70%);
    filter: blur(80px);
}

.cpricing-orb-2 {
    bottom: 10%;
    right: -5%;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.14) 0%, transparent 70%);
    filter: blur(80px);
}

.cpricing-container {
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header */
.cpricing-header {
    text-align: center;
    margin-bottom: 3.75rem;
}

.cpricing-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.38rem 1.1rem;
    border-radius: 9999px;
    background: rgba(253, 110, 139, 0.12);
    border: 1px solid rgba(253, 110, 139, 0.3);
    color: #FD6E8B;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.95rem;
    box-shadow: 0 4px 14px rgba(253, 110, 139, 0.15);
}

[data-theme="dark"] .cpricing-pill {
    background: rgba(253, 110, 139, 0.15);
    border-color: rgba(253, 110, 139, 0.35);
}

.cpricing-title {
    font-family: var(--pluto-font-sans, sans-serif);
    font-size: clamp(2.3rem, 4.2vw, 3.25rem);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.15;
    color: #072D59;
    margin: 0 0 0.85rem;
    text-transform: uppercase;
}

[data-theme="dark"] .cpricing-title {
    background: linear-gradient(180deg, #FFFFFF 30%, #E2E8F0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cpricing-sub {
    font-size: 1.05rem;
    color: #5B728D;
    line-height: 1.6;
    font-weight: 450;
    max-width: 540px;
    margin: 0 auto;
}

[data-theme="dark"] .cpricing-sub {
    color: rgba(226, 232, 240, 0.75);
}

/* ─── Cupertino Liquid Glass Pricing Grid ─── */
.brutal-pricing-grid.cpricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1140px;
    margin: 0 auto;
    align-items: stretch;
    position: relative;
    padding: 1.5rem 0;
}

/* Base Card */
.cpricing-card {
    position: relative;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.75rem 2.25rem 2.25rem;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    overflow: visible;
}

/* Standard Plan Card */
.cpricing-card-standard {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1.5px solid rgba(219, 242, 252, 0.95);
    box-shadow: 
        0 20px 50px -12px rgba(7, 45, 89, 0.08),
        0 4px 16px rgba(7, 45, 89, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

[data-theme="dark"] .cpricing-card-standard {
    background: rgba(8, 26, 50, 0.72);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 25px 65px -15px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.cpricing-card-standard:hover {
    transform: translateY(-5px);
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 
        0 28px 65px -12px rgba(7, 45, 89, 0.14),
        0 8px 24px rgba(7, 45, 89, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

[data-theme="dark"] .cpricing-card-standard:hover {
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 35px 75px -15px rgba(0, 0, 0, 0.75),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

/* Featured / Popular Card (QUARTERLY) */
.cpricing-card-featured {
    transform: scale(1.04);
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: 1.5px solid rgba(253, 110, 139, 0.55);
    box-shadow: 
        0 30px 75px -15px rgba(253, 110, 139, 0.28),
        0 6px 25px rgba(7, 45, 89, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

[data-theme="dark"] .cpricing-card-featured {
    background: rgba(10, 30, 58, 0.85);
    border: 1.5px solid rgba(253, 110, 139, 0.55);
    box-shadow: 
        0 35px 85px -15px rgba(253, 110, 139, 0.35),
        0 8px 28px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cpricing-card-featured:hover {
    transform: scale(1.04) translateY(-5px);
    border-color: #FD6E8B;
    box-shadow: 
        0 38px 85px -15px rgba(253, 110, 139, 0.38),
        0 10px 30px rgba(253, 110, 139, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

[data-theme="dark"] .cpricing-card-featured:hover {
    box-shadow: 
        0 42px 95px -15px rgba(253, 110, 139, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Top Shimmer Edge */
.cpricing-card-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1.5px;
    border-radius: 28px 28px 0 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.6) 30%, rgba(253, 110, 139, 0.45) 50%, rgba(14, 165, 233, 0.45) 70%, transparent 100%);
    pointer-events: none;
}

/* Popular Badge */
.cpricing-popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #FD6E8B 0%, #FF4D73 100%);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.38rem 1.15rem;
    border-radius: 9999px;
    box-shadow: 0 6px 18px rgba(253, 110, 139, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    z-index: 20;
    border: none;
    white-space: nowrap;
}

/* Card Contents */
.cpricing-card-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cpricing-card-top {
    text-align: center;
    margin-bottom: 1.5rem;
}

.cpricing-plan-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #072D59;
    margin-bottom: 0.85rem;
}

[data-theme="dark"] .cpricing-plan-badge {
    color: #F1F5F9;
}

.cpricing-badge-popular {
    color: #FD6E8B !important;
}

/* Price Wrap */
.cpricing-price-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
    margin-bottom: 0.65rem;
}

.cpricing-currency {
    font-size: 1.75rem;
    font-weight: 800;
    color: #072D59;
    font-family: var(--pluto-font-sans, sans-serif);
}

[data-theme="dark"] .cpricing-currency {
    color: #FFFFFF;
}

.cpricing-amount {
    font-size: 3.25rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #072D59;
    font-family: var(--pluto-font-sans, sans-serif);
}

[data-theme="dark"] .cpricing-amount {
    color: #FFFFFF;
}

.cpricing-custom-amount {
    font-size: 2.35rem;
    letter-spacing: -0.02em;
}

.cpricing-period {
    font-size: 0.92rem;
    font-weight: 700;
    color: #64748B;
    margin-left: 0.2rem;
}

[data-theme="dark"] .cpricing-period {
    color: rgba(226, 232, 240, 0.65);
}

.cpricing-desc {
    font-size: 0.92rem;
    color: #5B728D;
    font-weight: 500;
    line-height: 1.45;
    margin: 0;
    min-height: 38px;
}

[data-theme="dark"] .cpricing-desc {
    color: rgba(226, 232, 240, 0.7);
}

/* Divider */
.cpricing-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(7, 45, 89, 0.1) 25%, rgba(7, 45, 89, 0.1) 75%, transparent);
    margin: 0 0 1.5rem;
}

[data-theme="dark"] .cpricing-divider {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.1) 75%, transparent);
}

/* Feature Checklist */
.cpricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    flex-grow: 1;
    text-align: left;
}

.cpricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: #1E3A5F;
}

[data-theme="dark"] .cpricing-features li {
    color: #E2E8F0;
}

.cpricing-check-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.cpricing-check-featured {
    background: rgba(253, 110, 139, 0.14);
    color: #FD6E8B;
    border-color: rgba(253, 110, 139, 0.3);
}

/* Buttons */
.cpricing-btn {
    width: 100%;
    border-radius: 16px;
    padding: 0.95rem 1.5rem;
    font-family: var(--pluto-font-sans, sans-serif);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-top: auto;
}

.cpricing-btn-primary {
    background: linear-gradient(135deg, #FD6E8B 0%, #FF4D73 100%);
    color: #FFFFFF !important;
    border: none;
    box-shadow: 
        0 10px 24px -4px rgba(253, 110, 139, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.cpricing-btn-primary:hover {
    transform: translateY(-1.5px);
    box-shadow: 
        0 14px 28px -4px rgba(253, 110, 139, 0.65),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.cpricing-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(253, 110, 139, 0.4);
}

.cpricing-btn-secondary {
    background: rgba(7, 45, 89, 0.04);
    color: #072D59 !important;
    border: 1.5px solid rgba(7, 45, 89, 0.14);
    box-shadow: 0 2px 8px rgba(7, 45, 89, 0.04);
}

.cpricing-btn-secondary:hover {
    background: #072D59;
    color: #FFFFFF !important;
    border-color: #072D59;
    transform: translateY(-1.5px);
    box-shadow: 0 8px 20px rgba(7, 45, 89, 0.2);
}

[data-theme="dark"] .cpricing-btn-secondary {
    background: rgba(255, 255, 255, 0.07);
    color: #FFFFFF !important;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .cpricing-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1.5px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}

/* ─── Carousel Indicators ─── */
.pricing-carousel-indicators {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
}

.pricing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(7, 45, 89, 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .pricing-dot {
    background: rgba(255, 255, 255, 0.25);
}

.pricing-dot.active {
    width: 26px;
    border-radius: 999px;
    background: linear-gradient(135deg, #FD6E8B 0%, #FF4D73 100%);
    box-shadow: 0 2px 8px rgba(253, 110, 139, 0.4);
}

/* ─── Footer CTA Banner — Apple Cupertino Liquid Glass Stage ─── */
.brutal-footer-cta-section,
.cta-liquid-stage-section {
    padding: 6.5rem 1.5rem 5.5rem;
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
}

.brutal-cta-banner,
.cta-liquid-stage {
    position: relative;
    border-radius: 32px;
    background: 
        radial-gradient(ellipse at 50% -20%, rgba(14, 165, 233, 0.24) 0%, transparent 65%),
        radial-gradient(circle at 10% 100%, rgba(253, 110, 139, 0.16) 0%, transparent 50%),
        radial-gradient(circle at 90% 100%, rgba(16, 185, 129, 0.14) 0%, transparent 50%),
        linear-gradient(135deg, #04142B 0%, #07264C 50%, #031226 100%);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 
        0 32px 84px rgba(0, 0, 0, 0.45),
        0 8px 24px rgba(7, 45, 89, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    padding: 5rem 3.5rem;
    text-align: center;
    overflow: hidden;
}

.cta-stage-top-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.cta-stage-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.cta-stage-glow-1 {
    top: -60px;
    left: 20%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, transparent 70%);
    filter: blur(75px);
}

.cta-stage-glow-2 {
    bottom: -60px;
    right: 20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(253, 110, 139, 0.16) 0%, transparent 70%);
    filter: blur(75px);
}

.cta-stage-badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    background: rgba(14, 165, 233, 0.14);
    border: 1px solid rgba(14, 165, 233, 0.35);
    color: #38BDF8;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.18);
}

.brutal-cta-title {
    position: relative;
    z-index: 1;
    font-size: clamp(2.1rem, 4.5vw, 3.4rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    line-height: 1.12;
    margin-bottom: 1.25rem;
    color: #FFFFFF;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.brutal-cta-sub {
    position: relative;
    z-index: 1;
    font-size: 1.12rem;
    line-height: 1.65;
    max-width: 680px;
    margin: 0 auto 2.75rem;
    font-weight: 400;
    color: rgba(226, 232, 240, 0.9);
}

.brutal-cta-btn-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.brutal-btn-cta-giant,
.cupertino-cta-giant {
    background: linear-gradient(135deg, #FD6E8B 0%, #FF2E63 100%) !important;
    color: #FFFFFF !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em !important;
    padding: 1.05rem 2.5rem !important;
    border-radius: 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 
        0 10px 30px rgba(253, 110, 139, 0.45),
        inset 0 1px 1px rgba(255, 255, 255, 0.6) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
}

.brutal-btn-cta-giant:hover,
.cupertino-cta-giant:hover {
    background: linear-gradient(135deg, #FF4572 0%, #FF1750 100%) !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 
        0 14px 38px rgba(253, 110, 139, 0.55),
        inset 0 1px 1px rgba(255, 255, 255, 0.75) !important;
}

.brutal-btn-cta-giant:active,
.cupertino-cta-giant:active {
    transform: translateY(0) scale(0.985) !important;
}

.brutal-btn-cta-discord,
.cupertino-cta-discord {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #FFFFFF !important;
    font-size: 1.02rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em !important;
    padding: 1.05rem 2.25rem !important;
    border-radius: 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.15) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    text-decoration: none !important;
}

.brutal-btn-cta-discord:hover,
.cupertino-cta-discord:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
}

/* ─── Request Access Modal — Cupertino Liquid Glass ─── */
.cupertino-modal-card {
    position: relative;
    border-radius: 28px !important;
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(32px) !important;
    -webkit-backdrop-filter: blur(32px) !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 
        0 28px 75px rgba(7, 45, 89, 0.16),
        inset 0 1px 1px rgba(255, 255, 255, 0.95) !important;
    overflow: hidden !important;
}

[data-theme="dark"] .cupertino-modal-card {
    background: rgba(8, 26, 50, 0.84) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 32px 84px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.15) !important;
}

.modal-top-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
}

.cupertino-modal-close {
    border-radius: 50% !important;
    background: rgba(7, 45, 89, 0.06) !important;
    border: 1px solid rgba(7, 45, 89, 0.1) !important;
    color: #072D59 !important;
    width: 34px !important;
    height: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

[data-theme="dark"] .cupertino-modal-close {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #FFFFFF !important;
}

.cupertino-modal-close:hover {
    background: rgba(253, 110, 139, 0.15) !important;
    color: #FD6E8B !important;
}

.cupertino-modal-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    border-radius: 9999px !important;
    padding: 3px 10px !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
}

.cupertino-input {
    border-radius: 14px !important;
    border: 1px solid rgba(215, 231, 240, 0.85) !important;
    background: rgba(248, 251, 253, 0.8) !important;
    backdrop-filter: blur(12px) !important;
    font-size: 16px !important;
    color: #072D59 !important;
    transition: all 0.2s ease !important;
}

[data-theme="dark"] .cupertino-input {
    background: rgba(6, 21, 41, 0.75) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #FFFFFF !important;
}

.cupertino-input:focus {
    border-color: #FD6E8B !important;
    box-shadow: 0 0 0 3.5px rgba(253, 110, 139, 0.18) !important;
    background: #FFFFFF !important;
}

[data-theme="dark"] .cupertino-input:focus {
    background: #091C33 !important;
}

.cupertino-btn-submit {
    border-radius: 14px !important;
    background: linear-gradient(135deg, #FD6E8B 0%, #FF2E63 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    box-shadow: 0 6px 20px rgba(253, 110, 139, 0.35) !important;
    transition: all 0.2s ease !important;
}

.cupertino-btn-submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 26px rgba(253, 110, 139, 0.45) !important;
}

.cupertino-btn-cancel {
    border-radius: 14px !important;
    background: rgba(7, 45, 89, 0.06) !important;
    color: #072D59 !important;
    border: 1px solid rgba(7, 45, 89, 0.1) !important;
}

[data-theme="dark"] .cupertino-btn-cancel {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #DBF2FC !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.cupertino-email-box {
    border-radius: 16px !important;
    background: rgba(240, 248, 253, 0.75) !important;
    border: 1px solid rgba(215, 231, 240, 0.85) !important;
    padding: 0.95rem !important;
    color: #072D59 !important;
}

[data-theme="dark"] .cupertino-email-box {
    background: rgba(14, 38, 70, 0.7) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #FFFFFF !important;
}

/* ─── Elite Next-Gen Dark Luxury Footer System (BugWizard AI Inspired) ─── */
.brutal-footer,
.liquid-footer,
.pluto-elite-footer {
    position: relative;
    overflow: hidden;
    background: #030611 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 5.5rem 1.5rem 2.5rem;
    color: #94A3B8;
    font-family: var(--pluto-font-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    transition: all 0.3s ease;
}

/* Specular Hairline Top Border Reflection */
.brutal-footer::before,
.liquid-footer::before,
.pluto-elite-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(253, 110, 139, 0.6) 25%, rgba(56, 189, 248, 0.5) 75%, transparent 100%);
    opacity: 0.9;
    pointer-events: none;
    z-index: 2;
}

/* Ambient Cosmic Light Mesh */
.pluto-footer-ambient-mesh {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.pluto-footer-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
}

.pluto-footer-glow-1 {
    top: -120px;
    left: 5%;
    width: 520px;
    height: 320px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
}

.pluto-footer-glow-2 {
    top: -80px;
    right: 8%;
    width: 560px;
    height: 340px;
    background: radial-gradient(circle, rgba(253, 110, 139, 0.16) 0%, transparent 70%);
}

.pluto-footer-glow-center {
    bottom: 120px;
    left: 25%;
    width: 750px;
    height: 400px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, rgba(56, 189, 248, 0.06) 50%, transparent 70%);
}

/* Container */
.pluto-footer-container {
    position: relative;
    z-index: 1;
    max-width: 1360px;
    margin: 0 auto;
}

/* Main Grid */
.pluto-footer-main-grid {
    display: grid;
    grid-template-columns: 1.55fr repeat(4, 1fr);
    gap: 3.5rem;
    margin-bottom: 4rem;
}

/* Left Brand Column */
.pluto-footer-brand-col {
    display: flex;
    flex-direction: column;
}

.pluto-footer-brand-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.pluto-footer-logo-frame {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.pluto-footer-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pluto-footer-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pluto-footer-brand-title {
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    color: #FFFFFF;
}

.pluto-brand-ai-gradient {
    background: linear-gradient(135deg, #FF3366 0%, #38BDF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pluto-footer-brand-tag {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #FF8FA3;
    background: rgba(255, 51, 102, 0.12);
    border: 1px solid rgba(255, 51, 102, 0.28);
    border-radius: 9999px;
    padding: 2px 8px;
    width: fit-content;
}

.pluto-footer-desc {
    font-size: 0.88rem;
    line-height: 1.68;
    color: #94A3B8;
    max-width: 370px;
    margin: 0.25rem 0 1.5rem;
}

/* CTA Buttons */
.pluto-footer-cta-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.pluto-footer-btn-primary {
    background: #FFFFFF !important;
    color: #030712 !important;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 11px 22px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.pluto-footer-btn-primary:hover {
    background: #F8FAFC !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 26px rgba(255, 255, 255, 0.35);
}

.pluto-footer-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 20px;
    border-radius: 9999px;
    text-decoration: none;
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    transition: all 0.25s ease;
}

.pluto-footer-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    color: #FFFFFF !important;
}

/* Powered by tech row */
.pluto-footer-powered-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.4rem;
}

.pluto-footer-powered-label {
    font-size: 0.74rem;
    font-weight: 600;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pluto-footer-tech-icons {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.pluto-tech-pill {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: default;
}

.pluto-tech-pill:hover {
    transform: translateY(-2px) scale(1.1);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Badges Grid */
.pluto-footer-badges-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.5rem;
    max-width: 380px;
}

.pluto-badge-chip {
    font-size: 0.72rem;
    font-weight: 600;
    color: #94A3B8;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 4px 9px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.pluto-badge-chip:hover {
    border-color: rgba(56, 189, 248, 0.4);
    color: #FFFFFF;
    background: rgba(56, 189, 248, 0.06);
}

.pluto-badge-chip .chip-icon {
    font-size: 0.78rem;
}

/* Headquarters */
.pluto-footer-hq-block {
    margin-top: 0.25rem;
}

.pluto-footer-hq-label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #CBD5E1;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pluto-footer-hq-val {
    font-size: 0.78rem;
    color: #64748B;
    margin-top: 2px;
}

/* Navigation Columns */
.pluto-footer-col {
    display: flex;
    flex-direction: column;
}

.pluto-footer-col-title {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #E2E8F0 !important;
    margin: 0 0 1.25rem 0;
}

.pluto-footer-col-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pluto-footer-link {
    font-size: 0.86rem;
    font-weight: 500;
    color: #8B9BB4 !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.pluto-footer-link:hover {
    color: #FFFFFF !important;
    transform: translateX(4px);
    text-decoration: none;
}

.pluto-footer-highlight-link {
    color: #FF8FA3 !important;
    font-weight: 700;
}

.pluto-verify-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FF3366;
    box-shadow: 0 0 8px #FF3366;
    display: inline-block;
}

.pluto-footer-cockpit-link {
    color: #38BDF8 !important;
    font-weight: 700;
}

.pluto-footer-cockpit-link svg {
    color: #38BDF8;
}

/* Interactive Contact Ribbon */
.pluto-footer-contact-ribbon {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.25rem 0;
    margin-bottom: 2.75rem;
    display: flex;
    align-items: baseline;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.pluto-footer-contact-label {
    font-size: clamp(1.85rem, 3.8vw, 3rem);
    font-weight: 400;
    color: #94A3B8;
    letter-spacing: -0.02em;
}

.pluto-footer-contact-link {
    font-size: clamp(1.85rem, 3.8vw, 3rem);
    font-weight: 900;
    color: #FFFFFF !important;
    text-decoration: underline;
    text-underline-offset: 8px;
    text-decoration-thickness: 3px;
    text-decoration-color: #FFFFFF;
    transition: all 0.2s ease;
    cursor: pointer;
}

.pluto-footer-contact-link:hover {
    color: #38BDF8 !important;
    text-decoration-color: #38BDF8;
    transform: translateX(4px);
}

/* Giant Watermark Brand Signature */
.pluto-footer-watermark-row {
    padding: 1.5rem 0 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    user-select: none;
}

.pluto-footer-watermark-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    text-align: center;
}

.pluto-footer-watermark-icon {
    width: clamp(48px, 6.5vw, 84px);
    height: clamp(48px, 6.5vw, 84px);
    flex-shrink: 0;
    filter: drop-shadow(0 0 24px rgba(255, 51, 102, 0.45));
}

.pluto-footer-watermark-text {
    font-family: var(--pluto-font-sans, -apple-system, sans-serif);
    font-size: clamp(3.2rem, 8.8vw, 8.5rem);
    font-weight: 900;
    letter-spacing: -0.035em;
    color: transparent;
    -webkit-text-stroke: 1.8px rgba(255, 255, 255, 0.16);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.03) 100%);
    -webkit-background-clip: text;
    transition: all 0.35s ease;
}

.pluto-footer-watermark-wrap:hover .pluto-footer-watermark-text {
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.45);
    filter: drop-shadow(0 0 32px rgba(56, 189, 248, 0.35));
}

/* Bottom Bar */
.pluto-footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.78rem;
    color: #64748B;
}

.pluto-footer-copyright strong,
.pluto-footer-dev-credit strong {
    font-weight: 700;
    color: #E2E8F0;
}

.pluto-footer-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 600;
    color: #94A3B8;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    padding: 5px 12px;
}

.pluto-status-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: liquidStatusPulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

/* Responsive Rules for Footer */
@media (max-width: 1100px) {
    .pluto-footer-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.75rem;
    }

    .pluto-footer-brand-col {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .brutal-footer,
    .liquid-footer,
    .pluto-elite-footer {
        padding: 4rem 1.25rem 2rem;
    }

    .pluto-footer-main-grid {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .pluto-footer-contact-ribbon {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .pluto-footer-bottom-bar {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        gap: 0.75rem;
    }
}

/* ─── Modal System Styling ─── */
.brutal-modal-card {
    border: 1px solid #D7E7F0 !important;
    box-shadow: 0 24px 64px rgba(7, 45, 89, 0.16) !important;
    border-radius: 20px !important;
    background: #FFFFFF !important;
    color: #072D59 !important;
    padding: 2.25rem 2rem !important;
}

[data-theme="dark"] .brutal-modal-card {
    background: #091C33 !important;
    border-color: #1B3C63 !important;
    color: #F0F8FD !important;
}

.brutal-modal-close {
    border: 1px solid #D7E7F0 !important;
    background: #F0F8FD !important;
    color: #072D59 !important;
    box-shadow: none !important;
    border-radius: 10px !important;
    padding: 0.4rem !important;
}

[data-theme="dark"] .brutal-modal-close {
    background: #102947 !important;
    border-color: #1B3C63 !important;
    color: #F0F8FD !important;
}

.brutal-modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.brutal-modal-title {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-top: 0.65rem;
    margin-bottom: 0.35rem;
    color: #072D59;
}

[data-theme="dark"] .brutal-modal-title {
    color: #FFFFFF;
}

.brutal-modal-sub {
    font-size: 0.88rem;
    color: #52677D;
}

[data-theme="dark"] .brutal-modal-sub {
    color: #9EBBD6;
}

.brutal-form-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #072D59;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

[data-theme="dark"] .brutal-form-label {
    color: #DBF2FC;
}

.brutal-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #D7E7F0;
    border-radius: 10px;
    background: #FFFFFF;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    color: #072D59;
    box-shadow: none;
    outline: none;
    transition: all 150ms ease;
}

[data-theme="dark"] .brutal-input {
    background: #0E233E;
    border-color: #1B3C63;
    color: #F0F8FD;
}

.brutal-input:focus {
    background: #FFFFFF;
    border-color: #072D59;
    box-shadow: 0 0 0 3px rgba(7, 45, 89, 0.08);
}

[data-theme="dark"] .brutal-input:focus {
    border-color: #FD6E8B;
    box-shadow: 0 0 0 3px rgba(253, 110, 139, 0.15);
}

.brutal-email-box {
    border: 1px solid #D7E7F0;
    background: #F0F8FD;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: none;
    margin-bottom: 1.5rem;
}

[data-theme="dark"] .brutal-email-box {
    background: #0E294B;
    border-color: #1B3C63;
}

/* ─── Responsive Breakpoints ─── */
@media (max-width: 1180px) {
    .brutal-nav-links,
    .liquid-nav-dock { 
        display: none !important; 
    }
    .brutal-menu-toggle,
    .liquid-menu-toggle { 
        display: inline-flex !important; 
    }
    .brutal-pricing-grid { grid-template-columns: 1fr; max-width: 440px; }
    .brutal-tracks-stack { max-width: 100%; }
}

@media (max-width: 960px) {
    .brutal-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .brutal-why-grid { grid-template-columns: 1fr; }
    .brutal-track-layout { grid-template-columns: 1fr; }
    .brutal-footer-grid,
    .liquid-footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
    .brutal-sticky-note { display: none; }
}

@media (max-width: 768px) {
    .brutal-navbar,
    .liquid-navbar { 
        padding: 0.65rem 1rem !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 100 !important;
    }
    .brutal-nav-container,
    .liquid-nav-container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        gap: 0.5rem !important;
    }
    .brutal-brand,
    .liquid-brand {
        display: flex !important;
        align-items: center !important;
        gap: 0.65rem !important;
        text-decoration: none !important;
    }
    .brutal-brand-logo,
    .liquid-brand-logo {
        width: 32px !important;
        height: 32px !important;
        object-fit: contain !important;
        flex-shrink: 0 !important;
    }
    .brutal-brand-text,
    .liquid-brand-text {
        display: inline-block !important;
        font-size: 1.15rem !important;
        font-weight: 900 !important;
        color: #072D59 !important;
    }
    [data-theme="dark"] .brutal-brand-text,
    [data-theme="dark"] .liquid-brand-text {
        color: #FFFFFF !important;
    }
    .brutal-brand-tag,
    .liquid-brand-tag {
        display: none !important;
    }
    #nav-btn-signin {
        display: none !important;
    }
    .brutal-menu-toggle,
    .liquid-menu-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        border-radius: 10px !important;
        background: #F0F8FD !important;
        border: 1px solid #D7E7F0 !important;
        color: #072D59 !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
    }
    [data-theme="dark"] .brutal-menu-toggle,
    [data-theme="dark"] .liquid-menu-toggle {
        background: #102947 !important;
        border-color: #1B3C63 !important;
        color: #F0F8FD !important;
    }
    .brutal-hero { padding: 3.5rem 1rem 3rem; }
    .brutal-hero-title { font-size: 2.15rem; }
    
    /* Stats grid: 2 in 1 row on mobile portrait (Request 2) */
    .brutal-stats-grid { 
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
    .brutal-stat-box {
        padding: 1.15rem 0.85rem !important;
        border-radius: 14px !important;
    }
    .brutal-stat-num {
        font-size: 1.75rem !important;
        line-height: 1.15 !important;
        margin-bottom: 0.35rem !important;
    }
    .brutal-stat-label {
        font-size: 0.72rem !important;
        letter-spacing: 0.04em !important;
    }
    .brutal-stat-sub {
        font-size: 0.7rem !important;
        line-height: 1.35 !important;
    }

    /* Pricing card auto-carousel on mobile portrait (Request 3) */
    .brutal-pricing-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        scroll-behavior: smooth !important;
        gap: 1rem !important;
        padding: 1rem 0.5rem 1.5rem !important;
        max-width: 100% !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }
    .brutal-pricing-grid::-webkit-scrollbar {
        display: none !important;
    }
    .brutal-pricing-grid .brutal-card {
        flex: 0 0 86% !important;
        max-width: 86% !important;
        min-width: 86% !important;
        scroll-snap-align: center !important;
        scroll-snap-stop: always !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        transform: none !important;
    }
    .pricing-carousel-indicators {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
        margin: 1.25rem 0 2rem !important;
    }
    .pricing-dot {
        width: 10px !important;
        height: 10px !important;
        border-radius: 9999px !important;
        background: rgba(7, 45, 89, 0.2) !important;
        border: none !important;
        padding: 0 !important;
        cursor: pointer !important;
        transition: all 0.25s ease !important;
    }
    [data-theme="dark"] .pricing-dot {
        background: rgba(219, 242, 252, 0.25) !important;
    }
    .pricing-dot.active {
        width: 26px !important;
        background: #FD6E8B !important;
    }

    .brutal-footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    .brutal-cta-banner { padding: 3rem 1.5rem; }
}

@media (min-width: 769px) {
    .pricing-carousel-indicators {
        display: none !important;
    }
}




/* ======================================================================
   Floating Bottom Navigation Bar (Mobile & Tablet)
   ====================================================================== */
.mobile-bottom-nav {
    display: none; /* Hidden on Desktop */
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    height: 65px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    z-index: 900;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
}

[data-theme="dark"] .mobile-bottom-nav {
    background: rgba(30, 30, 30, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--on-surface-variant);
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    gap: 4px;
    flex: 1 1 0;
    min-width: 0;
    transition: all 0.2s ease;
}



.bottom-nav-icon {
    width: 20px;
    height: 20px;
}

/* Show on Mobile and Tablet */
@media (max-width: 1024px) {
    .mobile-bottom-nav {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
    }
    
    /* Add padding to the bottom of the main content area so content isn't hidden behind the floating nav */
    #app .flex-1.overflow-y-auto {
        padding-bottom: 90px !important;
    }
}


/* Hide bottom navigation when AI chat is open */
body:has(#ai-chat-panel.open) .mobile-bottom-nav,
body:has(.sidebar.open) .mobile-bottom-nav {
    display: none !important;
}


/* Adjust Floating AI Chat Button on Mobile to not overlap bottom nav */
@media (max-width: 1024px) {
    #floating-ai-chat-btn {
        bottom: 95px !important;
    }
}





/* Pricing Grid */
.brutal-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 0;
    align-items: stretch;
}
.brutal-pricing-grid .brutal-card {
    display: flex;
    flex-direction: column;
}
.brutal-pricing-grid .brutal-btn {
    margin-top: auto;
}
.brutal-pricing-popular-badge,
.cpricing-popular-badge {
    position: absolute;
    top: -14px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    z-index: 20;
}
@media (max-width: 960px) {
    .brutal-pricing-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .brutal-pricing-grid .brutal-card {
        transform: none !important;
    }
}
.brutal-card-cyan { background: var(--surface); border: 1px solid var(--outline); }
[data-theme="dark"] .brutal-card-cyan { background: var(--surface); border-color: var(--outline); }

@media (max-width: 480px) {
    .brutal-nav-actions,
    .liquid-nav-actions {
        gap: 0.65rem !important; /* spacing in header */
    }
    .brutal-menu-toggle,
    .liquid-menu-toggle {
        margin-left: 0.25rem;
    }
}

@media (max-width: 640px) {
    .brutal-footer-bottom,
    .liquid-footer-bottom {
        flex-direction: column !important;
        gap: 0.75rem !important;
        text-align: center !important;
    }
}


/* Subtle Dotted Pattern Card */
.brutal-card-dotted {
    background-color: var(--surface);
    background-image: radial-gradient(rgba(7, 45, 89, 0.08) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    border: 1px solid var(--outline);
    border-radius: var(--radius-xl);
}
[data-theme="dark"] .brutal-card-dotted {
    background-color: var(--surface);
    background-image: radial-gradient(rgba(219, 242, 252, 0.08) 1.5px, transparent 1.5px);
    border-color: var(--outline);
}
.brutal-card-dotted .brutal-card-title,
.brutal-card-dotted .brutal-pricing-price,
.brutal-card-dotted .brutal-card-desc,
.brutal-card-dotted ul {
    background: transparent;
}


/* Fix selection shadow on bottom nav items (override .nav-link styles) */
.bottom-nav-item {
    -webkit-tap-highlight-color: transparent;
}
/* Prevent mobile sticky hover and strictly bind color to .active state */
.bottom-nav-item, .bottom-nav-item:hover {
    background-color: transparent !important;
    box-shadow: none !important;
}
.bottom-nav-item.active, .bottom-nav-item.nav-link.active {
    color: var(--primary) !important;
}
.bottom-nav-item:not(.active) {
    color: var(--on-surface-variant) !important;
}

/* ==========================================================================
   ENHANCED SDET PLANNER: KANBAN BOARD, RESUME BUILDER & PLANNER ENHANCEMENTS
   ========================================================================== */

/* --- Kanban Board ---------------------------------------------------------- */
.kanban-board {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    min-height: 520px;
    align-items: flex-start;
    scrollbar-width: thin;
}

.kanban-column {
    min-width: 280px;
    width: 290px;
    flex-shrink: 0;
    background: var(--surface-container);
    border-radius: var(--radius-lg);
    border: 1px solid var(--outline);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 280px);
    box-shadow: var(--shadow-sm);
    transition: border-color var(--transition-fast);
}

.kanban-column-header {
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--outline);
    background: var(--surface);
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
}

.kanban-cards-container {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow-y: auto;
    flex: 1;
    min-height: 140px;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.kanban-cards-container.drag-over {
    background: var(--primary-container);
    outline: 2px dashed var(--primary);
    outline-offset: -4px;
}

.kanban-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--outline);
    padding: 0.9rem;
    box-shadow: var(--shadow-sm);
    cursor: grab;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
    user-select: none;
    position: relative;
}

.kanban-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--outline-strong);
}

.kanban-card:active {
    cursor: grabbing;
}

.kanban-card.dragging {
    opacity: 0.4;
    transform: scale(0.96);
}

.kanban-quick-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.75rem;
    padding-top: 0.6rem;
    border-top: 1px solid var(--outline);
    font-size: 0.75rem;
}

/* --- Enhanced 90-Day Planner Day Details --------------------------------- */
.planner-milestone-banner {
    background: linear-gradient(135deg, rgba(219, 242, 252, 0.5), rgba(255, 255, 255, 0.8));
    border: 1px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--on-surface);
}

.planner-miniproject-box {
    background: var(--surface-container);
    border-left: 4px solid #FD6E8B;
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1.25rem;
}

/* --- Professional Resume Builder Split-Layout & Preview ------------------ */
.resume-split-layout {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .resume-split-layout {
        grid-template-columns: 1fr;
    }
    .resume-paper-container {
        position: static !important;
        max-height: none !important;
    }
}

.resume-paper-container {
    background: var(--surface-container-high);
    padding: 1.25rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--outline);
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.resume-paper {
    background: #ffffff;
    color: #1e293b;
    padding: 2.5rem 2.2rem;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
    font-size: 13px;
}

/* Resume Template 1: Modern Tech SDET */
.resume-paper.template-modern {
    border-top: 5px solid #072D59;
}
.resume-paper.template-modern .rp-header h1 {
    color: #1e1b4b;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 2px;
}
.resume-paper.template-modern .rp-section-title {
    color: #072D59;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 1.5px solid #e2e8f0;
    padding-bottom: 4px;
    margin-top: 1.25rem;
    margin-bottom: 0.65rem;
}

/* Resume Template 2: ATS-Optimized Clean */
.resume-paper.template-ats {
    font-family: Arial, Helvetica, sans-serif;
    color: #000000;
    padding: 2rem 1.8rem;
}
.resume-paper.template-ats .rp-header {
    text-align: center;
    border-bottom: 2px solid #000000;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}
.resume-paper.template-ats .rp-header h1 {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.resume-paper.template-ats .rp-section-title {
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 1px solid #000000;
    padding-bottom: 2px;
    margin-top: 1.1rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

/* Resume Template 3: Executive Minimalist */
.resume-paper.template-executive {
    font-family: 'Georgia', serif;
    color: #1a202c;
}
.resume-paper.template-executive .rp-header h1 {
    font-size: 1.7rem;
    font-weight: normal;
    letter-spacing: 0.02em;
    color: #2d3748;
}
.resume-paper.template-executive .rp-section-title {
    font-size: 0.85rem;
    font-style: italic;
    font-weight: bold;
    color: #4a5568;
    border-bottom: 1px double #cbd5e0;
    padding-bottom: 3px;
    margin-top: 1.25rem;
    margin-bottom: 0.6rem;
}

/* Print Styles for Standard PDF Export */
@media print {
    body * {
        visibility: hidden !important;
    }
    .resume-paper, .resume-paper * {
        visibility: visible !important;
    }
    .resume-paper {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        color: #000 !important;
        background: #fff !important;
    }
    .resume-paper-container {
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        background: transparent !important;
        overflow: visible !important;
    }
    @page {
        size: A4 portrait;
        margin: 15mm 15mm 15mm 15mm;
    }
}

/* ==========================================================================
   PREMIUM REDESIGN SUITE (Universal Capsules, Dashboard, Library, Roadmaps, Velo AI, Planners, Coding, Resources, Notes)
   ========================================================================== */

/* --- Universal Bulletproof Capsule / Pill / Badge System --- */
.capsule-badge,
.diff-badge-pill,
.resource-badge,
.roadmap-filter-pill,
.hero-sprint-chip,
.pdf-meta-pill,
.sprint-phase-badge,
.velo-status-pill,
.stat-trend-tag,
.pomodoro-mode-pill,
.planner-toggle-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
    border-radius: 9999px !important;
}

/* Base Difficulty & Status Pills */
.diff-badge-pill {
    padding: 0.28rem 0.85rem !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
    text-transform: uppercase !important;
    border: 1px solid transparent !important;
}

.diff-badge-pill.easy,
.diff-easy {
    background: rgba(16, 185, 129, 0.14) !important;
    color: #059669 !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
}
[data-theme="dark"] .diff-badge-pill.easy,
[data-theme="dark"] .diff-easy {
    background: rgba(16, 185, 129, 0.2) !important;
    color: #34d399 !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
}

.diff-badge-pill.medium,
.diff-medium {
    background: rgba(245, 158, 11, 0.14) !important;
    color: #d97706 !important;
    border-color: rgba(245, 158, 11, 0.3) !important;
}
[data-theme="dark"] .diff-badge-pill.medium,
[data-theme="dark"] .diff-medium {
    background: rgba(245, 158, 11, 0.2) !important;
    color: #fbbf24 !important;
    border-color: rgba(245, 158, 11, 0.4) !important;
}

.diff-badge-pill.intermediate,
.diff-intermediate {
    background: rgba(59, 130, 246, 0.14) !important;
    color: #2563eb !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
}
[data-theme="dark"] .diff-badge-pill.intermediate,
[data-theme="dark"] .diff-intermediate {
    background: rgba(59, 130, 246, 0.2) !important;
    color: #60a5fa !important;
    border-color: rgba(59, 130, 246, 0.4) !important;
}

.diff-badge-pill.hard,
.diff-hard {
    background: rgba(239, 68, 68, 0.14) !important;
    color: #dc2626 !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
}
[data-theme="dark"] .diff-badge-pill.hard,
[data-theme="dark"] .diff-hard {
    background: rgba(239, 68, 68, 0.2) !important;
    color: #f87171 !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
}

.diff-badge-pill.expert,
.diff-master,
.diff-very-hard {
    background: rgba(139, 92, 246, 0.14) !important;
    color: #7c3aed !important;
    border-color: rgba(139, 92, 246, 0.3) !important;
}
[data-theme="dark"] .diff-badge-pill.expert,
[data-theme="dark"] .diff-master,
[data-theme="dark"] .diff-very-hard {
    background: rgba(139, 92, 246, 0.2) !important;
    color: #c084fc !important;
    border-color: rgba(139, 92, 246, 0.4) !important;
}

/* Tailwind Shims for Capsule Reliability */
.bg-emerald-500\/10 { background: rgba(16, 185, 129, 0.14) !important; }
.text-emerald-600 { color: #059669 !important; }
.border-emerald-500\/20 { border-color: rgba(16, 185, 129, 0.3) !important; }

.bg-amber-500\/10 { background: rgba(245, 158, 11, 0.14) !important; }
.text-amber-600 { color: #d97706 !important; }
.border-amber-500\/20 { border-color: rgba(245, 158, 11, 0.3) !important; }

.bg-blue-500\/10 { background: rgba(59, 130, 246, 0.14) !important; }
.text-blue-600 { color: #2563eb !important; }
.border-blue-500\/20 { border-color: rgba(59, 130, 246, 0.3) !important; }

.bg-rose-500\/10 { background: rgba(239, 68, 68, 0.14) !important; }
.text-rose-600 { color: #dc2626 !important; }
.border-rose-500\/20 { border-color: rgba(239, 68, 68, 0.3) !important; }

.bg-purple-500\/10 { background: rgba(139, 92, 246, 0.14) !important; }
.text-purple-600 { color: #7c3aed !important; }
.border-purple-500\/20 { border-color: rgba(139, 92, 246, 0.3) !important; }

.bg-orange-500\/10 { background: rgba(249, 115, 22, 0.14) !important; }
.text-orange-600 { color: #ea580c !important; }
.border-orange-500\/20 { border-color: rgba(249, 115, 22, 0.3) !important; }

.bg-primary\/10 { background: rgba(7, 45, 89, 0.08) !important; }
.border-primary\/20 { border-color: rgba(7, 45, 89, 0.18) !important; }

.text-\[10px\] { font-size: 0.725rem !important; line-height: 1.25 !important; }
.text-\[11px\] { font-size: 0.775rem !important; line-height: 1.3 !important; }
.rounded-full { border-radius: 9999px !important; }
.px-2\.5 { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-0\.5 { padding-top: 0.2rem !important; padding-bottom: 0.2rem !important; }

/* Inset Search Icon Box Fix (Fixes 'Qearch' collision) */
.search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}
.search-input-wrap .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--on-surface-variant);
    pointer-events: none;
    z-index: 2;
}
.search-input-wrap input.input,
.search-inset-input {
    padding-left: 2.6rem !important;
    padding-right: 1rem !important;
}

/* --- 1. Dashboard Redesign --- */
.dashboard-hero-premium {
    position: relative;
    border-radius: var(--radius-2xl);
    padding: 2.5rem 2.25rem;
    overflow: hidden;
    background: linear-gradient(135deg, #072D59 0%, #0B477D 100%);
    color: #ffffff;
    box-shadow: 0 20px 48px -12px rgba(7, 45, 89, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}
[data-theme="light"] .dashboard-hero-premium {
    background: linear-gradient(135deg, #072D59 0%, #0C3E75 60%, #13559B 100%);
}
.dashboard-hero-ambient {
    position: absolute;
    top: -40%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(219, 242, 252, 0.25) 0%, rgba(253, 110, 139, 0.12) 50%, transparent 75%);
    border-radius: 50%;
    pointer-events: none;
    animation: splash-glow-pulse 5s ease-in-out infinite;
}
.hero-sprint-chip {
    padding: 0.35rem 0.95rem !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.hero-quote-box {
    margin-top: 1.35rem;
    padding: 0.9rem 1.4rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    border-left: 3.5px solid #FD6E8B;
    backdrop-filter: blur(8px);
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
}
.hero-action-primary {
    background: #FD6E8B !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    padding: 0.85rem 1.75rem !important;
    border-radius: var(--radius-lg) !important;
    border: none !important;
    box-shadow: 0 8px 20px rgba(253, 110, 139, 0.35) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
    cursor: pointer !important;
}
.hero-action-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 14px 28px rgba(253, 110, 139, 0.45) !important;
    background: #e65573 !important;
}
.hero-action-glass {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 0.85rem 1.5rem !important;
    border-radius: var(--radius-lg) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(12px) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
}
.hero-action-glass:hover {
    background: rgba(255, 255, 255, 0.24) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-2px);
}

/* Recommended Next Step Target Card */
.recommended-target-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.35rem 1.65rem;
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid var(--outline);
    box-shadow: 0 8px 24px rgba(7, 45, 89, 0.06);
    transition: all 0.2s ease;
}
.recommended-target-card:hover {
    border-color: #FD6E8B;
    box-shadow: 0 12px 32px rgba(7, 45, 89, 0.1);
}
.target-day-badge {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(219, 242, 252, 0.8) 0%, rgba(253, 110, 139, 0.15) 100%);
    border: 1.5px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 900;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Premium KPI Stat Card */
.premium-stat-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--outline);
    border-radius: 24px !important;
    padding: 1.5rem !important;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px -2px rgba(7, 45, 89, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}
.premium-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(7, 45, 89, 0.1);
    border-color: rgba(253, 110, 139, 0.5) !important;
}
.stat-card-value-row {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-top: 0.25rem !important;
}
.stat-card-value-main {
    font-size: 1.875rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    color: var(--on-surface) !important;
    display: inline-flex !important;
    align-items: center !important;
}
.stat-card-value-sub {
    font-size: 0.75rem !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    align-self: center !important;
}
.stat-card-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-container);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(7, 45, 89, 0.08);
}
.stat-trend-tag {
    padding: 0.25rem 0.65rem !important;
    font-size: 0.725rem !important;
    font-weight: 800 !important;
}
.stat-trend-tag.positive {
    background: rgba(16, 185, 129, 0.14) !important;
    color: #059669 !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
}
.stat-trend-tag.neutral {
    background: var(--surface-container) !important;
    color: var(--on-surface-variant) !important;
    border: 1px solid var(--outline) !important;
}

/* 90-Day Sprint Phase Matrix */
.sprint-phases-wrapper {
    background: var(--surface);
    border: 1px solid var(--outline);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}
.sprint-phase-col {
    padding: 1.15rem;
    border-radius: var(--radius-lg);
    background: var(--surface-container);
    border: 1px solid var(--outline);
}
.sprint-phase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
}
.sprint-phase-title {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--on-surface);
}
.sprint-phase-badge {
    padding: 0.2rem 0.65rem !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    background: var(--surface) !important;
    border: 1px solid var(--outline) !important;
    color: var(--primary) !important;
}
.sprint-heatmap-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 5px;
}
.sprint-day-dot {
    aspect-ratio: 1;
    border-radius: 5px;
    transition: all 0.15s ease;
    cursor: pointer;
    position: relative;
}
.sprint-day-dot:hover {
    transform: scale(1.35);
    z-index: 10;
    box-shadow: 0 0 10px currentColor;
}

/* --- 2. Your Library (PDF Viewer) Redesign --- */
.library-hero-banner {
    background: linear-gradient(135deg, #072D59 0%, #0B477D 100%);
    border: none;
    border-radius: var(--radius-2xl);
    padding: 2.5rem 2.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: 0 8px 32px rgba(7, 45, 89, 0.25);
    position: relative;
    overflow: hidden;
    color: #ffffff;
}
.library-hero-banner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(219, 242, 252, 0.22) 0%, rgba(253, 110, 139, 0.10) 50%, transparent 75%);
    pointer-events: none;
}
.library-hero-banner h1 { color: #ffffff !important; }
.library-hero-banner p { color: rgba(255,255,255,0.82) !important; }
.library-hero-banner .diff-badge-pill {
    background: rgba(255,255,255,0.15) !important;
    color: #fff !important;
    border-color: rgba(255,255,255,0.3) !important;
}

/* Pluto Library Hero Tab Switcher Buttons */
.lib-hero-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    line-height: 1.25;
}

/* Inactive State: Text and icon are white with subtle translucent background */
.lib-hero-tab:not(.active),
#lib-tab-personal:not(.active),
#lib-tab-handbooks:not(.active) {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    color: #FFFFFF !important;
}
.lib-hero-tab:not(.active) span,
#lib-tab-personal:not(.active) span,
#lib-tab-handbooks:not(.active) span {
    color: #FFFFFF !important;
}
.lib-hero-tab:not(.active) i,
.lib-hero-tab:not(.active) svg,
#lib-tab-personal:not(.active) i,
#lib-tab-personal:not(.active) svg,
#lib-tab-handbooks:not(.active) i,
#lib-tab-handbooks:not(.active) svg {
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
}

/* Hover on Inactive State: Text and icon become black with crisp solid white background */
.lib-hero-tab:not(.active):hover,
#lib-tab-personal:not(.active):hover,
#lib-tab-handbooks:not(.active):hover {
    background: #FFFFFF !important;
    border-color: #FFFFFF !important;
    color: #000000 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.lib-hero-tab:not(.active):hover span,
#lib-tab-personal:not(.active):hover span,
#lib-tab-handbooks:not(.active):hover span {
    color: #000000 !important;
}
.lib-hero-tab:not(.active):hover i,
.lib-hero-tab:not(.active):hover svg,
#lib-tab-personal:not(.active):hover i,
#lib-tab-personal:not(.active):hover svg,
#lib-tab-handbooks:not(.active):hover i,
#lib-tab-handbooks:not(.active):hover svg {
    color: #000000 !important;
    stroke: #000000 !important;
}

/* Active State: Signature Pluto Pink with White text */
.lib-hero-tab.active,
#lib-tab-handbooks.active,
#lib-tab-personal.active {
    background: #FD6E8B !important;
    border: 1px solid #FD6E8B !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(253, 110, 139, 0.35);
}
.lib-hero-tab.active span,
#lib-tab-handbooks.active span,
#lib-tab-personal.active span {
    color: #FFFFFF !important;
}
.lib-hero-tab.active i,
.lib-hero-tab.active svg,
#lib-tab-handbooks.active i,
#lib-tab-handbooks.active svg,
#lib-tab-personal.active i,
#lib-tab-personal.active svg {
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
}
.lib-hero-tab.active:hover,
#lib-tab-handbooks.active:hover,
#lib-tab-personal.active:hover {
    background: #fa5777 !important;
    border-color: #fa5777 !important;
    color: #FFFFFF !important;
}
.library-dropzone-premium {
    position: relative;
    border: 2px dashed rgba(7, 45, 89, 0.2);
    background: linear-gradient(135deg, rgba(219, 242, 252, 0.35) 0%, rgba(255, 255, 255, 0.9) 100%);
    border-radius: var(--radius-2xl);
    padding: 3rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.library-dropzone-premium:hover {
    background: linear-gradient(135deg, rgba(219, 242, 252, 0.6) 0%, rgba(219, 242, 252, 0.9) 100%);
    border-color: #072D59;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(7, 45, 89, 0.12);
}
.pdf-book-card {
    background: var(--surface);
    border: 1px solid var(--outline);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}
.pdf-book-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 14px 32px rgba(7, 45, 89, 0.1);
}
.pdf-card-spine {
    height: 8px;
    background: linear-gradient(90deg, #072D59, #FD6E8B);
}
.pdf-meta-pill {
    padding: 0.25rem 0.65rem !important;
    font-size: 0.725rem !important;
    color: var(--on-surface-variant) !important;
    background: var(--surface-container) !important;
    border: 1px solid var(--outline) !important;
}

/* --- 3. Roadmaps Redesign --- */
.roadmap-filter-tabs {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    /* Hide scrollbar track — scroll still works via touch/drag */
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.roadmap-filter-tabs::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}
.roadmap-filter-pill {
    padding: 0.5rem 1.25rem !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    border: 1px solid var(--outline) !important;
    background: var(--surface) !important;
    color: var(--on-surface-variant) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.roadmap-filter-pill:hover {
    background: var(--surface-container) !important;
    color: var(--on-surface) !important;
    border-color: var(--outline-strong) !important;
}
.roadmap-filter-pill.active {
    background: var(--primary) !important;
    color: var(--on-primary) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 6px 16px rgba(7, 45, 89, 0.2) !important;
}
.roadmap-card-premium {
    position: relative;
    background: var(--surface);
    border: none !important;
    border-radius: 24px !important;
    padding: 1.6rem 1.6rem 1.45rem !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px -2px rgba(7, 45, 89, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    overflow: hidden;
}
.roadmap-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(7, 45, 89, 0.14);
}
[data-theme="dark"] .roadmap-card-premium {
    border: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .roadmap-card-premium:hover {
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.6);
}

.roadmap-card-footer {
    padding-top: 0.95rem;
    margin-top: auto;
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
}
[data-theme="dark"] .roadmap-card-footer {
    border: none !important;
    border-top: none !important;
}

/* Roadmap Topic Chips & Track Badge */
.roadmap-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.65rem;
    margin-bottom: 0.85rem;
    align-items: center;
}

.roadmap-topic-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.75rem;
    border-radius: var(--radius-md);
    background: var(--surface-container);
    border: 1px solid var(--outline);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--on-surface-variant);
    line-height: 1.3;
    white-space: nowrap;
    letter-spacing: 0.01em;
    transition: all 0.15s ease;
}

.roadmap-topic-chip:hover {
    background: var(--surface-container-high);
    color: var(--on-surface);
    border-color: var(--outline-strong);
}

.roadmap-topic-chip.chip-count {
    background: var(--primary-container);
    color: var(--primary);
    border-color: rgba(7, 45, 89, 0.2);
    font-weight: 700;
}

.roadmap-track-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(219, 242, 252, 0.7);
    border: 1px solid rgba(7, 45, 89, 0.15);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-md);
    width: fit-content;
    align-self: flex-start;
    margin-bottom: 0.85rem;
}

.quick-dock-card {
    background: var(--surface);
    border: 1px solid var(--outline);
    border-radius: 20px !important;
    padding: 1.15rem 1.25rem !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px -2px rgba(7, 45, 89, 0.05);
    cursor: pointer;
    text-decoration: none !important;
    overflow: hidden;
}
.quick-dock-card:hover {
    transform: translateY(-3px);
    border-color: rgba(253, 110, 139, 0.5) !important;
    box-shadow: 0 12px 28px rgba(7, 45, 89, 0.1);
    background: var(--surface-container-low, var(--surface));
}
.quick-dock-arrow {
    color: var(--on-surface-variant);
    opacity: 0.4;
    transition: all 0.2s ease;
}
.quick-dock-card:hover .quick-dock-arrow {
    opacity: 1;
    color: var(--primary);
    transform: translate(2px, -2px);
}

.roadmap-step-timeline {
    position: relative;
    padding-left: 2.25rem;
}
.roadmap-step-timeline::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--outline);
}
.roadmap-timeline-node {
    position: relative;
    margin-bottom: 1.25rem;
}
.roadmap-node-indicator {
    position: absolute;
    left: -2.25rem;
    top: 2px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 2px solid var(--outline);
    transition: all 0.2s ease;
    z-index: 1;
}
.roadmap-node-indicator.done {
    background: var(--success);
    border-color: var(--success);
    color: #ffffff;
}

/* --- 4. Velo AI Assistant Redesign --- */
.velo-status-pill {
    padding: 0.25rem 0.75rem !important;
    background: rgba(16, 185, 129, 0.14) !important;
    color: #059669 !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    font-size: 0.725rem !important;
    font-weight: 800 !important;
}
[data-theme="dark"] .velo-status-pill {
    background: rgba(16, 185, 129, 0.2) !important;
    color: #34d399 !important;
}
.velo-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
    animation: splash-glow-pulse 2s infinite ease-in-out;
}
.velo-prompt-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.95rem 1.15rem;
    border-radius: var(--radius-lg);
    background: var(--surface-container);
    border: 1px solid var(--outline);
    font-size: 0.85rem;
    color: var(--on-surface);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    width: 100%;
}
.velo-prompt-card:hover {
    background: var(--surface-container-high);
    border-color: var(--primary);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}
.velo-code-box {
    position: relative;
    border-radius: var(--radius-md);
    background: #0d1117;
    color: #e6edf3;
    margin: 0.85rem 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.velo-code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0.95rem;
    background: #161b22;
    font-size: 0.75rem;
    font-family: monospace;
    color: #8b949e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.velo-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #e6edf3;
    font-size: 0.725rem;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease;
}
.velo-copy-btn:hover {
    background: rgba(255, 255, 255, 0.22);
}

/* Floating AI Chat Trigger Pill */
.floating-ai-capsule {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.35rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #072D59 0%, #0B477D 100%);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 800;
    box-shadow: 0 10px 28px rgba(7, 45, 89, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}
.floating-ai-capsule:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 14px 34px rgba(7, 45, 89, 0.45);
}

/* --- 5. Planners (Daily & Weekly) Redesign --- */
.planner-view-toggle {
    display: inline-flex;
    background: var(--surface-container);
    padding: 5px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--outline);
}
.planner-toggle-btn {
    padding: 0.5rem 1.35rem !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    border: none !important;
    background: transparent !important;
    color: var(--on-surface-variant) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
.planner-toggle-btn.active {
    background: var(--surface) !important;
    color: var(--primary) !important;
    box-shadow: var(--shadow-sm) !important;
}
.pomodoro-dial-card {
    background: var(--surface);
    border: 1px solid var(--outline);
    border-radius: var(--radius-2xl);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-sm);
}
.pomodoro-mode-pill {
    padding: 0.45rem 1rem !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    border: 1px solid var(--outline) !important;
    background: var(--surface-container) !important;
    color: var(--on-surface-variant) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
.pomodoro-mode-pill:hover {
    background: var(--surface-container-high) !important;
    color: var(--on-surface) !important;
}
.pomodoro-mode-pill.active {
    background: var(--primary) !important;
    color: var(--on-primary) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 14px rgba(253, 110, 139, 0.3) !important;
}
.daily-task-premium {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    padding: 0.95rem 1.15rem;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--outline);
    transition: all 0.2s ease;
    cursor: pointer;
}
.daily-task-premium:hover {
    border-color: var(--primary);
    background: var(--surface-container);
    box-shadow: var(--shadow-sm);
}
.daily-task-premium.completed {
    opacity: 0.65;
    background: var(--surface-container-high);
}

/* Weekly Velocity Grid */
.weekly-velocity-track {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.85rem;
    align-items: flex-end;
    padding: 1.5rem 0.5rem 0.5rem;
}
.weekly-day-bar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.weekly-day-bar {
    width: 100%;
    height: 120px;
    border-radius: 10px;
    background: var(--surface-container);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding: 3px;
    border: 1px solid var(--outline);
}
.weekly-day-fill {
    width: 100%;
    border-radius: 7px;
    background: linear-gradient(180deg, #FD6E8B 0%, #e65573 100%);
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.weekly-day-bar-wrap.is-today .weekly-day-fill {
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
}

/* --- 6. Coding Practice Tracker Redesign --- */
.coding-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}
.coding-card-premium {
    background: var(--surface);
    border: 1px solid var(--outline);
    border-radius: 24px !important;
    padding: 1.6rem !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px -2px rgba(7, 45, 89, 0.05);
    cursor: pointer;
    overflow: hidden;
}
.coding-card-premium:hover {
    transform: translateY(-5px);
    border-color: rgba(253, 110, 139, 0.5) !important;
    box-shadow: 0 18px 36px rgba(7, 45, 89, 0.12);
}

/* --- 7. Resource Library Redesign --- */
.resource-item-card {
    background: var(--surface);
    border: 1px solid var(--outline);
    border-radius: 24px !important;
    padding: 1.65rem !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px -2px rgba(7, 45, 89, 0.05);
    overflow: hidden;
    text-decoration: none !important;
}
.resource-item-card:hover {
    transform: translateY(-5px);
    border-color: rgba(253, 110, 139, 0.5) !important;
    box-shadow: 0 18px 36px rgba(7, 45, 89, 0.12);
}
.resource-badge {
    padding: 0.28rem 0.75rem !important;
    font-size: 0.725rem !important;
    font-weight: 800 !important;
    background: #DBF2FC !important;
    color: #072D59 !important;
    border: 1px solid rgba(7, 45, 89, 0.15) !important;
}

/* --- 8. Notes Studio Redesign --- */
.notes-studio-container {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 1.35rem;
    height: calc(100vh - 140px);
    min-height: 600px;
}
@media (max-width: 900px) {
    .notes-studio-container {
        grid-template-columns: 1fr;
        height: auto;
    }
}
.notes-sidebar-card {
    background: var(--surface);
    border: 1px solid var(--outline);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.notes-editor-card {
    background: var(--surface);
    border: 1px solid var(--outline);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.note-item-modern {
    padding: 0.95rem 1.15rem;
    border-bottom: 1px solid var(--outline);
    cursor: pointer;
    transition: all 0.2s ease;
}
.note-item-modern:hover {
    background: var(--surface-container);
}
.note-item-modern.active {
    background: var(--primary-container);
    border-left: 4px solid var(--primary);
}
.note-item-modern.active .note-item-title {
    color: var(--on-primary-container);
    font-weight: 800;
}
.notes-toolbar {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.85rem;
    background: var(--surface-container);
    border-bottom: 1px solid var(--outline);
    flex-wrap: wrap;
}
.notes-toolbar-btn {
    padding: 0.4rem 0.65rem;
    border-radius: 7px;
    background: transparent;
    border: none;
    color: var(--on-surface-variant);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.notes-toolbar-btn:hover {
    background: var(--surface);
    color: var(--on-surface);
}
.notes-preview-pane {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.75;
}

/* --- Velo AI Assistant Component Styles --------------------------------- */
#floating-ai-chat-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 55;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--primary);
    box-shadow: 0 10px 25px -4px rgba(7, 45, 89, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#floating-ai-chat-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 16px 32px -4px rgba(7, 45, 89, 0.35), 0 0 20px rgba(253, 110, 139, 0.35);
}
#floating-ai-chat-btn:active {
    transform: scale(0.95);
}

.velo-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #10b981;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.2;
    white-space: nowrap;
}

.velo-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: veloPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    display: inline-block;
    flex-shrink: 0;
}

@keyframes veloPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.85); }
}

.velo-prompt-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.95rem;
    border-radius: var(--radius-lg);
    background: var(--surface-container);
    border: 1px solid var(--outline);
    text-align: left;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}
.velo-prompt-card:hover {
    background: var(--surface-container-high);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* AI Chat Resizer indicator */
#ai-chat-resizer:hover > div {
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
}


/* ======================================================================
   PLUTO LEARN EXTENDED SECTIONS: ROADMAP, ABOUT, CONTACT & AUTH (PROTOTYPE)
   ====================================================================== */

/* Common Pill Badge */
.pluto-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    background: #FFE8EE;
    color: #FD6E8B;
    border: 1px solid rgba(253, 110, 139, 0.25);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: var(--pluto-font-sans);
    margin-bottom: 0.75rem;
}
[data-theme="dark"] .pluto-pill-badge {
    background: rgba(253, 110, 139, 0.15);
    border-color: rgba(253, 110, 139, 0.35);
}

/* ─── 1. Career Roadmap Flow Section (Screen 07) — Apple Cupertino Liquid Glass ─── */
.pluto-roadmap-section,
.roadmap-liquid-section {
    padding: 6.5rem 1.5rem 3.5rem;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.roadmap-liquid-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.roadmap-glow-1 {
    top: 0;
    left: 15%;
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    filter: blur(80px);
}

.roadmap-glow-2 {
    bottom: 5%;
    right: 15%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(253, 110, 139, 0.08) 0%, transparent 70%);
    filter: blur(80px);
}

.pluto-roadmap-container {
    max-width: 1240px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.pluto-roadmap-title {
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 900;
    color: #072D59;
    letter-spacing: -0.025em;
    margin: 0.5rem 0 0.95rem;
}

[data-theme="dark"] .pluto-roadmap-title {
    color: #FFFFFF;
}

.pluto-roadmap-subtitle {
    font-size: 1.05rem;
    color: #52677D;
    max-width: 740px;
    margin: 0 auto 3.75rem;
    line-height: 1.65;
    font-weight: 450;
}

[data-theme="dark"] .pluto-roadmap-subtitle {
    color: rgba(219, 242, 252, 0.75);
}

.pluto-journey-steps,
.roadmap-liquid-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin-bottom: 3.75rem;
    flex-wrap: wrap;
}

.pluto-step-card,
.roadmap-liquid-card {
    position: relative;
    flex: 1 1 210px;
    min-width: 200px;
    max-width: 255px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.25rem 1.25rem 2rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 12px 34px rgba(7, 45, 89, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.95);
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

[data-theme="dark"] .pluto-step-card,
[data-theme="dark"] .roadmap-liquid-card {
    background: rgba(8, 26, 50, 0.72);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.pluto-step-card:hover,
.roadmap-liquid-card:hover {
    transform: translateY(-4px);
    border-color: rgba(253, 110, 139, 0.45);
    box-shadow: 0 20px 46px rgba(7, 45, 89, 0.1);
}

[data-theme="dark"] .pluto-step-card:hover,
[data-theme="dark"] .roadmap-liquid-card:hover {
    border-color: rgba(253, 110, 139, 0.5);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55);
}

.roadmap-card-highlighted {
    border-color: rgba(16, 185, 129, 0.35) !important;
}

.roadmap-card-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
}

[data-theme="dark"] .roadmap-card-shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.roadmap-step-badge {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 3px 10px;
    border-radius: 9999px;
    background: rgba(7, 45, 89, 0.06);
    color: #072D59;
    margin-bottom: 1.15rem;
    font-family: var(--pluto-font-mono, monospace);
}

[data-theme="dark"] .roadmap-step-badge {
    background: rgba(255, 255, 255, 0.08);
    color: #DBF2FC;
}

.roadmap-badge-ai {
    background: rgba(16, 185, 129, 0.12) !important;
    color: #10B981 !important;
    border: 1px solid rgba(16, 185, 129, 0.28) !important;
}

.pluto-step-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, #FFE8EE 0%, #FFD6E0 100%);
    color: #FD6E8B;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.15rem;
    box-shadow: 0 8px 22px rgba(253, 110, 139, 0.22);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .pluto-step-icon-wrap {
    background: rgba(253, 110, 139, 0.16);
    box-shadow: 0 8px 22px rgba(253, 110, 139, 0.28);
}

.pluto-step-card:hover .pluto-step-icon-wrap {
    transform: scale(1.08);
}

.pluto-step-title {
    font-size: 1.12rem;
    font-weight: 800;
    color: #072D59;
    line-height: 1.25;
    margin-bottom: 0.65rem;
}

[data-theme="dark"] .pluto-step-title {
    color: #FFFFFF;
}

.pluto-step-desc {
    font-size: 0.86rem;
    color: #52677D;
    line-height: 1.5;
}

[data-theme="dark"] .pluto-step-desc {
    color: rgba(219, 242, 252, 0.7);
}

.pluto-step-arrow,
.roadmap-step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(253, 110, 139, 0.55);
    align-self: center;
    transition: transform 0.2s ease;
}

@media (max-width: 990px) {
    .pluto-step-arrow,
    .roadmap-step-arrow { display: none; }
    .pluto-step-card { min-width: calc(50% - 1rem); }
}

@media (max-width: 640px) {
    .pluto-step-arrow,
    .roadmap-step-arrow { display: none !important; }
    .pluto-journey-steps,
    .roadmap-liquid-steps {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        margin-bottom: 2rem !important;
    }
    .pluto-step-card,
    .roadmap-liquid-card {
        min-width: 0 !important;
        max-width: 100% !important;
        padding: 1.25rem 0.75rem !important;
        border-radius: 18px !important;
    }
    .pluto-step-icon-wrap {
        width: 52px !important;
        height: 52px !important;
        margin-bottom: 0.75rem !important;
    }
    .pluto-step-icon-wrap svg {
        width: 22px !important;
        height: 22px !important;
    }
    .pluto-step-title {
        font-size: 0.92rem !important;
        margin-bottom: 0.35rem !important;
        line-height: 1.25 !important;
    }
    .pluto-step-desc {
        font-size: 0.74rem !important;
        line-height: 1.35 !important;
    }
}

.pluto-btn-primary,
.cupertino-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #FD6E8B 0%, #FF2E63 100%);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 28px rgba(253, 110, 139, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.6);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.pluto-btn-primary:hover,
.cupertino-pill-btn:hover {
    background: linear-gradient(135deg, #FF4572 0%, #FF1750 100%);
    transform: translateY(-2px) scale(1.015);
    box-shadow: 0 14px 36px rgba(253, 110, 139, 0.52), inset 0 1px 1px rgba(255, 255, 255, 0.75);
    color: #FFFFFF;
    text-decoration: none;
}

.pluto-btn-primary:active,
.cupertino-pill-btn:active {
    transform: translateY(0) scale(0.985);
}

/* ─── Full-Width Showcase Wrapper (Image 1) ─── */
.pluto-fullwidth-showcase-section {
    padding: 1rem 1.5rem 5rem;
    position: relative;
}
.pluto-fullwidth-showcase-wrapper {
    max-width: 1360px;
    margin: 0 auto;
}
.brutal-showcase-frame.full-width {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 28px 80px rgba(7, 45, 89, 0.14), 0 0 0 1px rgba(7, 45, 89, 0.05);
}
[data-theme="dark"] .brutal-showcase-frame.full-width {
    box-shadow: 0 32px 84px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* ─── 2. About Pluto Learn Section (Screen 10) — Ultra-Premium Cupertino / Liquid Glass ─── */
.pluto-about-section {
    position: relative;
    padding: 7rem 1.5rem 6.5rem;
    overflow: hidden;
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(219, 242, 252, 0.45) 0%, transparent 65%),
        linear-gradient(180deg, #F8FAFD 0%, #F1F6FB 50%, #F8FAFD 100%);
}

[data-theme="dark"] .pluto-about-section {
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(14, 165, 233, 0.08) 0%, transparent 65%),
        linear-gradient(180deg, #020C1C 0%, #061933 50%, #030F21 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Ambient glow orbs */
.pluto-about-glow-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.pluto-about-orb-1 {
    top: 8%;
    left: -4%;
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(253, 110, 139, 0.12) 0%, transparent 70%);
    filter: blur(75px);
}

.pluto-about-orb-2 {
    bottom: 12%;
    right: -4%;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
    filter: blur(75px);
}

.pluto-about-container {
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pluto-about-grid {
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 4.5rem;
    align-items: center;
    margin-bottom: 4rem;
}

@media (max-width: 960px) {
    .pluto-about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.pluto-about-title {
    font-size: clamp(2.5rem, 4.5vw, 3.5rem);
    font-weight: 900;
    color: #072D59;
    letter-spacing: -0.035em;
    line-height: 1.1;
    margin: 0.6rem 0 1.5rem;
}

[data-theme="dark"] .pluto-about-title {
    background: linear-gradient(180deg, #FFFFFF 30%, #E2E8F0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pluto-about-lead-box {
    position: relative;
    padding-left: 1.25rem;
    border-left: 3.5px solid #FD6E8B;
    margin-bottom: 1.35rem;
}

.pluto-about-desc {
    font-size: 1.25rem;
    font-weight: 700;
    color: #072D59;
    line-height: 1.58;
    margin: 0;
    font-family: var(--pluto-font-sans);
}

[data-theme="dark"] .pluto-about-desc {
    color: #DBF2FC;
}

.pluto-about-subtext {
    font-size: 1.02rem;
    color: #4B637E;
    line-height: 1.75;
    font-weight: 450;
    margin-bottom: 1.85rem;
}

[data-theme="dark"] .pluto-about-subtext {
    color: rgba(219, 242, 252, 0.72);
}

/* Feature Chips */
.pluto-about-feature-chips {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pluto-feature-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(7, 45, 89, 0.04);
    border: 1px solid rgba(7, 45, 89, 0.1);
    font-size: 0.82rem;
    font-weight: 700;
    color: #072D59;
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

[data-theme="dark"] .pluto-feature-chip {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    color: #E2E8F0;
}

.pluto-feature-chip:hover {
    transform: translateY(-1.5px);
    border-color: #FD6E8B;
}

/* ─── Studio Visual Showcase Card (Right) ─── */
.pluto-about-visual-card {
    position: relative;
    border-radius: 30px;
    background: 
        radial-gradient(circle at 85% 15%, rgba(253, 110, 139, 0.24) 0%, transparent 48%),
        radial-gradient(circle at 15% 85%, rgba(14, 165, 233, 0.22) 0%, transparent 55%),
        linear-gradient(145deg, #072346 0%, #03142B 65%, #020B18 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 30px 75px -15px rgba(2, 12, 28, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    padding: 3rem 2.5rem 2.5rem;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.pluto-card-top-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45) 30%, rgba(253, 110, 139, 0.55) 50%, rgba(14, 165, 233, 0.45) 70%, transparent);
    pointer-events: none;
}

.pluto-about-wall-logo {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    position: relative;
    z-index: 2;
}

.pluto-card-logo-aura {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pluto-wall-logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 6px 20px rgba(253, 110, 139, 0.5));
}

.pluto-wall-brand {
    font-size: 2.25rem;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: -0.025em;
}

.pluto-brand-gradient {
    background: linear-gradient(135deg, #FD6E8B 0%, #FF85A1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Desk & Mockup */
.pluto-about-office-desk {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 2.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    z-index: 2;
}

.pluto-desk-laptop {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pluto-laptop-screen {
    width: 175px;
    height: 110px;
    background: #05101E;
    border: 2px solid rgba(255, 255, 255, 0.24);
    border-radius: 12px 12px 2px 2px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 
        0 15px 35px -5px rgba(0, 0, 0, 0.65),
        0 0 25px rgba(134, 239, 172, 0.15);
}

.pluto-laptop-window-bar {
    height: 18px;
    background: rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
}

.pluto-mac-dots {
    display: flex;
    gap: 4px;
}

.pluto-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.pluto-terminal-title {
    font-size: 8px;
    font-family: var(--pluto-font-mono, monospace);
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

.pluto-terminal-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 8px;
}

.pluto-terminal-prompt {
    font-family: var(--pluto-font-mono, monospace);
    font-size: 0.88rem;
    font-weight: 800;
    color: #4ade80;
    text-shadow: 0 0 12px rgba(74, 222, 128, 0.65);
}

.pluto-terminal-cursor {
    width: 7px;
    height: 13px;
    background: #4ade80;
    animation: vcertBlink 1s step-end infinite;
}

@keyframes vcertBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.pluto-screen-reflection {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.pluto-laptop-base {
    width: 215px;
    height: 9px;
    background: linear-gradient(180deg, #E2E8F0 0%, #94A3B8 100%);
    border-radius: 0 0 6px 6px;
    position: relative;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
    margin-top: -1px;
}

.pluto-laptop-thumb-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 3px;
    background: rgba(15, 23, 42, 0.4);
    border-radius: 0 0 3px 3px;
}

.pluto-laptop-ambient-glow {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 190px;
    height: 30px;
    background: radial-gradient(ellipse at center, rgba(134, 239, 172, 0.25) 0%, transparent 70%);
    filter: blur(10px);
    pointer-events: none;
}

.pluto-desk-plant {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(16, 185, 129, 0.15);
    border: 1.5px solid rgba(16, 185, 129, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
    transition: transform 0.25s ease;
}

.pluto-desk-plant:hover {
    transform: scale(1.08);
}

.pluto-plant-aura {
    position: absolute;
    inset: -6px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(8px);
    pointer-events: none;
}

/* ─── About Stats Strip (Cupertino Liquid Glass Island) ─── */
.pluto-about-stats-strip {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1.5px solid rgba(219, 242, 252, 0.95);
    border-radius: 30px;
    padding: 2.75rem 2.5rem;
    box-shadow: 
        0 30px 70px -15px rgba(7, 45, 89, 0.09),
        0 4px 20px rgba(7, 45, 89, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

[data-theme="dark"] .pluto-about-stats-strip {
    background: rgba(8, 25, 48, 0.82);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 35px 80px -15px rgba(0, 0, 0, 0.65),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.pluto-stats-card-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(253, 110, 139, 0.4) 30%, rgba(255, 255, 255, 0.6) 50%, rgba(14, 165, 233, 0.4) 70%, transparent);
    pointer-events: none;
}

.pluto-about-stat-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.5rem;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pluto-about-stat-col:hover {
    transform: translateY(-3px);
}

.pluto-stat-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(253, 110, 139, 0.12);
    border: 1px solid rgba(253, 110, 139, 0.25);
    color: #FD6E8B;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(253, 110, 139, 0.15);
}

.pluto-about-stat-col:hover .pluto-stat-icon-wrap {
    transform: scale(1.08);
    background: rgba(253, 110, 139, 0.18);
    box-shadow: 0 10px 24px rgba(253, 110, 139, 0.25);
}

.pluto-about-stat-num {
    font-size: clamp(2.4rem, 3.6vw, 3.25rem);
    font-weight: 900;
    color: #FD6E8B;
    letter-spacing: -0.035em;
    font-family: var(--pluto-font-sans);
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #FD6E8B 0%, #FF4D73 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pluto-about-stat-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #072D59;
    letter-spacing: -0.01em;
    margin-bottom: 0.35rem;
}

[data-theme="dark"] .pluto-about-stat-name {
    color: #FFFFFF;
}

.pluto-about-stat-micro {
    font-size: 0.82rem;
    color: #64748B;
    font-weight: 500;
    line-height: 1.4;
}

[data-theme="dark"] .pluto-about-stat-micro {
    color: rgba(219, 242, 252, 0.65);
}

.pluto-about-stat-divider {
    width: 1.5px;
    height: 84px;
    background: linear-gradient(180deg, transparent 0%, rgba(7, 45, 89, 0.14) 30%, rgba(7, 45, 89, 0.14) 70%, transparent 100%);
    align-self: center;
}

[data-theme="dark"] .pluto-about-stat-divider {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.14) 30%, rgba(255, 255, 255, 0.14) 70%, transparent 100%);
}

@media (max-width: 767px) {
    .pluto-about-section {
        padding: 4.5rem 1.15rem 3.5rem;
    }

    .pluto-about-title {
        font-size: 2.15rem !important;
        margin-bottom: 1rem;
    }

    .pluto-about-lead-box {
        padding-left: 1rem;
        border-left-width: 3px;
        margin-bottom: 1.15rem;
    }

    .pluto-about-desc {
        font-size: 1.1rem;
        line-height: 1.52;
    }

    .pluto-about-subtext {
        font-size: 0.92rem;
        line-height: 1.65;
        margin-bottom: 1.5rem;
    }

    .pluto-about-visual-card {
        padding: 2.25rem 1.35rem 1.85rem;
        border-radius: 24px;
        min-height: auto;
    }

    .pluto-wall-brand {
        font-size: 1.85rem;
    }

    .pluto-laptop-screen {
        width: 145px;
        height: 92px;
    }

    .pluto-laptop-base {
        width: 178px;
        height: 7px;
    }

    .pluto-about-stats-strip {
        grid-template-columns: 1fr;
        padding: 2.25rem 1.25rem;
        gap: 1.5rem;
        border-radius: 24px;
    }

    .pluto-about-stat-divider {
        width: 80%;
        height: 1.5px;
        background: linear-gradient(90deg, transparent 0%, rgba(7, 45, 89, 0.14) 30%, rgba(7, 45, 89, 0.14) 70%, transparent 100%);
        margin: 0 auto;
    }

    [data-theme="dark"] .pluto-about-stat-divider {
        background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.14) 30%, rgba(255, 255, 255, 0.14) 70%, transparent 100%);
    }

    .pluto-about-stat-num {
        font-size: 2.45rem;
    }
}

/* ─── 3. Contact Section (Screen 11) — Apple Cupertino Liquid Glass ─── */
.pluto-contact-section,
.contact-liquid-section {
    padding: 6.5rem 1.5rem 6rem;
    position: relative;
    border-top: 1px solid rgba(215, 231, 240, 0.7);
    overflow: hidden;
}

[data-theme="dark"] .pluto-contact-section,
[data-theme="dark"] .contact-liquid-section {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.contact-liquid-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.contact-glow-1 {
    top: 5%;
    left: -5%;
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(253, 110, 139, 0.08) 0%, transparent 70%);
    filter: blur(80px);
}

.contact-glow-2 {
    bottom: 5%;
    right: -5%;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    filter: blur(80px);
}

.pluto-contact-container {
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pluto-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 4.5rem;
    align-items: start;
}

@media (max-width: 900px) {
    .pluto-contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.pluto-contact-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 900;
    color: #072D59;
    letter-spacing: -0.03em;
    margin: 0.5rem 0 0.95rem;
}

[data-theme="dark"] .pluto-contact-title {
    color: #FFFFFF;
}

.pluto-contact-desc {
    font-size: 1.05rem;
    color: #52677D;
    line-height: 1.65;
    margin-bottom: 2.25rem;
    font-weight: 450;
}

[data-theme="dark"] .pluto-contact-desc {
    color: rgba(219, 242, 252, 0.75);
}

.pluto-contact-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.pluto-contact-item,
.contact-liquid-tile {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    padding: 1.35rem 1.65rem;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 22px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 10px 30px rgba(7, 45, 89, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.95);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

[data-theme="dark"] .pluto-contact-item,
[data-theme="dark"] .contact-liquid-tile {
    background: rgba(8, 26, 50, 0.72);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.pluto-contact-item:hover,
.contact-liquid-tile:hover {
    transform: translateY(-3px);
    border-color: rgba(253, 110, 139, 0.45);
    box-shadow: 0 16px 38px rgba(7, 45, 89, 0.09);
    text-decoration: none;
    color: inherit;
}

[data-theme="dark"] .pluto-contact-item:hover,
[data-theme="dark"] .contact-liquid-tile:hover {
    border-color: rgba(253, 110, 139, 0.5);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.5);
}

.pluto-contact-icon-bubble {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, #FFE8EE 0%, #FFD6E0 100%);
    color: #FD6E8B;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(253, 110, 139, 0.2);
    transition: transform 0.2s ease;
}

[data-theme="dark"] .pluto-contact-icon-bubble {
    background: rgba(253, 110, 139, 0.16);
    box-shadow: 0 6px 18px rgba(253, 110, 139, 0.28);
}

.pluto-contact-item:hover .pluto-contact-icon-bubble {
    transform: scale(1.08);
}

.pluto-contact-item-label {
    font-size: 0.85rem;
    font-weight: 800;
    color: #072D59;
    margin-bottom: 3px;
    letter-spacing: -0.01em;
}

[data-theme="dark"] .pluto-contact-item-label {
    color: #FFFFFF;
}

.pluto-contact-item-val {
    font-size: 1rem;
    font-weight: 600;
    color: #52677D;
}

[data-theme="dark"] .pluto-contact-item-val {
    color: #DBF2FC;
}

/* Contact Form Card — Cupertino Liquid Glass */
.pluto-contact-form-card,
.contact-liquid-form {
    position: relative;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 28px;
    padding: 3rem 2.5rem;
    box-shadow: 0 24px 60px rgba(7, 45, 89, 0.07), inset 0 1px 1px rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    overflow: hidden;
}

[data-theme="dark"] .pluto-contact-form-card,
[data-theme="dark"] .contact-liquid-form {
    background: rgba(8, 26, 50, 0.74);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.contact-form-top-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
}

[data-theme="dark"] .contact-form-top-shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.pluto-form-group {
    width: 100%;
}

.pluto-form-input,
.pluto-form-select,
.pluto-form-textarea,
.contact-liquid-input,
.contact-liquid-select,
.contact-liquid-textarea {
    width: 100%;
    padding: 1.05rem 1.35rem;
    border: 1px solid rgba(215, 231, 240, 0.85);
    border-radius: 16px;
    font-family: var(--pluto-font-sans);
    font-size: 16px; /* Prevents iOS auto-zoom */
    color: #072D59;
    background: rgba(246, 250, 254, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.22s ease;
    outline: none;
    box-sizing: border-box;
}

[data-theme="dark"] .pluto-form-input,
[data-theme="dark"] .pluto-form-select,
[data-theme="dark"] .pluto-form-textarea,
[data-theme="dark"] .contact-liquid-input,
[data-theme="dark"] .contact-liquid-select,
[data-theme="dark"] .contact-liquid-textarea {
    background: rgba(6, 21, 41, 0.75);
    border-color: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
}

.pluto-form-input:focus,
.pluto-form-select:focus,
.pluto-form-textarea:focus,
.contact-liquid-input:focus,
.contact-liquid-select:focus,
.contact-liquid-textarea:focus {
    border-color: #FD6E8B;
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(253, 110, 139, 0.18);
}

[data-theme="dark"] .pluto-form-input:focus,
[data-theme="dark"] .pluto-form-select:focus,
[data-theme="dark"] .pluto-form-textarea:focus,
[data-theme="dark"] .contact-liquid-input:focus,
[data-theme="dark"] .contact-liquid-select:focus,
[data-theme="dark"] .contact-liquid-textarea:focus {
    background: #091C33;
    border-color: #FD6E8B;
}

.pluto-btn-contact-submit,
.cupertino-contact-btn {
    width: 100%;
    padding: 1.15rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, #FD6E8B 0%, #FF2E63 100%);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 28px rgba(253, 110, 139, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.pluto-btn-contact-submit:hover,
.cupertino-contact-btn:hover {
    background: linear-gradient(135deg, #FF4572 0%, #FF1750 100%);
    transform: translateY(-2px) scale(1.015);
    box-shadow: 0 14px 36px rgba(253, 110, 139, 0.52), inset 0 1px 1px rgba(255, 255, 255, 0.75);
}

.pluto-btn-contact-submit:active,
.cupertino-contact-btn:active {
    transform: translateY(0) scale(0.985);
}

/* ─── 4. Recreated Login-Signup Modal (Screen 12) ─── */
.login-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(4, 20, 43, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    overflow-y: auto;
}
.login-modal-backdrop.hidden {
    display: none !important;
}
.login-dialog-card {
    max-width: 960px;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(7, 45, 89, 0.28);
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    position: relative;
    border: 1px solid rgba(215, 231, 240, 0.85);
    animation: loginCardPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-theme="dark"] .login-dialog-card {
    background: rgba(10, 24, 46, 0.94);
    backdrop-filter: blur(40px) saturate(190%);
    -webkit-backdrop-filter: blur(40px) saturate(190%);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
@keyframes loginCardPop {
    0% { transform: scale(0.96) translateY(8px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}


/* Left Brand Panel with SplashScreen-Mobile.png */
.login-left-brand-art {
    position: relative;
    background: #04142B url('images/SplashScreen-Mobile.png') center center / cover no-repeat;
    padding: 3.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #FFFFFF;
    overflow: hidden;
}
.login-left-brand-art::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 20, 43, 0.7) 0%, rgba(4, 20, 43, 0.3) 50%, rgba(4, 20, 43, 0.85) 100%);
    pointer-events: none;
}
.login-left-brand-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}
.login-brand-top {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.login-brand-top img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.login-brand-name {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    color: #FFFFFF;
}
.login-main-headline {
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    margin: 3.5rem 0 1.25rem;
}
.login-main-headline span {
    color: #FD6E8B;
}
.login-hero-desc {
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(219, 242, 252, 0.85);
    max-width: 320px;
}

/* Right Auth Form Panel */
.login-right-form-pane {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    background: transparent;
}
.login-modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(7, 45, 89, 0.05);
    border: 1px solid rgba(7, 45, 89, 0.12);
    color: #072D59;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}
[data-theme="dark"] .login-modal-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    color: #E2E8F0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.login-modal-close-btn:hover {
    background: #FD6E8B;
    color: #FFFFFF;
    border-color: #FD6E8B;
    transform: rotate(90deg) scale(1.05);
}
[data-theme="dark"] .login-modal-close-btn:hover {
    background: #FD6E8B;
    color: #FFFFFF;
    border-color: #FD6E8B;
    box-shadow: 0 0 16px rgba(253, 110, 139, 0.45);
}

/* Tabs */
.auth-tabs-row {
    display: flex;
    border-bottom: 2px solid #E2EBF2;
    margin-bottom: 2rem;
    gap: 1.5rem;
}
[data-theme="dark"] .auth-tabs-row {
    border-bottom-color: #1B3C63;
}
.auth-tab-btn {
    padding: 0.65rem 0.5rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: #52677D;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: all 0.2s ease;
}
[data-theme="dark"] .auth-tab-btn {
    color: #9EBBD6;
}
.auth-tab-btn.active {
    color: #072D59;
    border-bottom-color: #FD6E8B;
}
[data-theme="dark"] .auth-tab-btn.active {
    color: #FFFFFF;
}

.auth-form-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}
.auth-input-group {
    position: relative;
}
.auth-input-field {
    width: 100%;
    padding: 0.95rem 1.25rem;
    border: 1px solid #D7E7F0;
    border-radius: 14px;
    font-size: 0.95rem;
    color: #072D59;
    background: #F8FBFD;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
[data-theme="dark"] .auth-input-field {
    background: #061529;
    border-color: #1B3C63;
    color: #FFFFFF;
}
.auth-input-field:focus {
    border-color: #FD6E8B;
    background: #FFFFFF;
    box-shadow: 0 0 0 3.5px rgba(253, 110, 139, 0.16);
}
[data-theme="dark"] .auth-input-field:focus {
    background: #091C33;
}
.auth-password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748B;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.auth-password-toggle:hover {
    color: #072D59;
}
[data-theme="dark"] .auth-password-toggle:hover {
    color: #FFFFFF;
}

.auth-options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #52677D;
}
[data-theme="dark"] .auth-options-row {
    color: rgba(219, 242, 252, 0.7);
}
.auth-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}
.auth-forgot-link {
    color: #072D59;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease;
}
[data-theme="dark"] .auth-forgot-link {
    color: #DBF2FC;
}
.auth-forgot-link:hover {
    color: #FD6E8B;
    text-decoration: underline;
}

.btn-auth-submit {
    width: 100%;
    padding: 1rem;
    border-radius: 14px;
    border: none;
    background: #FD6E8B;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(253, 110, 139, 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0.5rem;
}
.btn-auth-submit:hover {
    background: #E85976;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(253, 110, 139, 0.45);
}

.auth-divider-line {
    display: flex;
    align-items: center;
    text-align: center;
    color: #64748B;
    font-size: 0.8rem;
    margin: 1.5rem 0 1.25rem;
}
.auth-divider-line::before,
.auth-divider-line::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #D7E7F0;
}
[data-theme="dark"] .auth-divider-line::before,
[data-theme="dark"] .auth-divider-line::after {
    border-bottom-color: #1B3C63;
}
.auth-divider-line span {
    padding: 0 1rem;
}

/* ─── OAuth Sign In Header & Controls (Apple Cupertino Liquid Glass) ─── */
.oauth-login-header {
    margin-bottom: 1.35rem;
}
.oauth-login-title {
    font-family: var(--font-heading, var(--pluto-font-sans));
    font-size: 1.75rem;
    font-weight: 900;
    color: #072D59;
    letter-spacing: -0.025em;
    margin: 0 0 0.45rem 0;
    line-height: 1.2;
    transition: color 0.2s ease;
}
[data-theme="dark"] .oauth-login-title {
    color: #FFFFFF !important;
}

.oauth-login-subtitle {
    font-size: 0.92rem;
    color: #4B607A;
    line-height: 1.5;
    margin: 0;
    transition: color 0.2s ease;
}
[data-theme="dark"] .oauth-login-subtitle {
    color: #94A3B8 !important;
}

/* Signup / Chosen Name Input */
.login-name-input-wrap {
    margin-bottom: 1.25rem;
}
.login-name-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    font-weight: 700;
    color: #072D59;
    margin-bottom: 0.45rem;
    transition: color 0.2s ease;
}
[data-theme="dark"] .login-name-label {
    color: #F0F6FC !important;
}
.login-name-badge {
    color: #FD6E8B;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: -0.01em;
}
[data-theme="dark"] .login-name-badge {
    color: #FD6E8B !important;
}

.login-name-field-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.login-name-icon {
    position: absolute;
    left: 14px;
    pointer-events: none;
    color: #7A92A8;
    transition: color 0.2s ease;
}
[data-theme="dark"] .login-name-icon {
    color: #94A3B8 !important;
}
.login-name-field-wrap:focus-within .login-name-icon {
    color: #FD6E8B !important;
}

.login-name-input {
    width: 100%;
    height: 48px;
    padding-left: 42px;
    padding-right: 14px;
    border-radius: 14px;
    border: 1.5px solid #D7E7F0;
    background: #FFFFFF;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    color: #072D59;
    outline: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}
.login-name-input::placeholder {
    color: #A0B2C6;
    font-weight: 500;
}
.login-name-input:focus {
    border-color: #FD6E8B;
    background: #FFFFFF;
    box-shadow: 0 0 0 3.5px rgba(253, 110, 139, 0.18);
}
[data-theme="dark"] .login-name-input {
    background: rgba(14, 30, 54, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #FFFFFF !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.25);
}
[data-theme="dark"] .login-name-input::placeholder {
    color: rgba(255, 255, 255, 0.38) !important;
}
[data-theme="dark"] .login-name-input:focus {
    background: rgba(18, 38, 68, 0.95) !important;
    border-color: #FD6E8B !important;
    box-shadow: 0 0 0 3.5px rgba(253, 110, 139, 0.28), inset 0 1px 3px rgba(0, 0, 0, 0.25) !important;
}

.login-name-hint {
    display: block;
    font-size: 0.75rem;
    color: #7A92A8;
    margin-top: 0.4rem;
    line-height: 1.35;
    transition: color 0.2s ease;
}
[data-theme="dark"] .login-name-hint {
    color: #94A3B8 !important;
}

/* OAuth Stack */
.auth-social-stack {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    width: 100%;
}
.btn-social-oauth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.95rem 1.25rem;
    font-size: 0.98rem;
    font-weight: 700;
    border-radius: 14px;
    border: 1.5px solid #D7E7F0;
    background: #FFFFFF;
    color: #072D59;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(7, 45, 89, 0.04);
}
.btn-social-oauth .oauth-provider-icon {
    width: 22px;
    height: 22px;
}
.btn-social-oauth:hover {
    border-color: #072D59;
    background: #F8FBFD;
    transform: translateY(-1.5px);
    box-shadow: 0 8px 20px rgba(7, 45, 89, 0.08);
}
[data-theme="dark"] .btn-social-oauth {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.12) !important;
    color: #FFFFFF !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
[data-theme="dark"] .btn-social-oauth:hover {
    background: rgba(255, 255, 255, 0.09) !important;
    border-color: rgba(253, 110, 139, 0.65) !important;
    color: #FFFFFF !important;
    transform: translateY(-1.5px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45), 0 0 16px rgba(253, 110, 139, 0.15);
}

.login-footer-disclaimer {
    margin-top: 2.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #E5EBF2;
    font-size: 0.8rem;
    color: #6B7C93;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    transition: all 0.2s ease;
}
.login-footer-disclaimer i,
.login-footer-disclaimer svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 2px;
    color: #7A92A8;
    transition: color 0.2s ease;
}
[data-theme="dark"] .login-footer-disclaimer {
    border-top-color: rgba(255, 255, 255, 0.12) !important;
    color: #94A3B8 !important;
}
[data-theme="dark"] .login-footer-disclaimer i,
[data-theme="dark"] .login-footer-disclaimer svg {
    color: #FD6E8B !important;
}

/* ─── Mobile Brand Header in Login Modal ─── */

/* ─── OTP Verification UI (Sign Up Email Verification) ─── */
.auth-otp-pane {
    display: flex;
    flex-direction: column;
    animation: fadeInOtp 0.25s ease-out;
}
.auth-otp-pane.hidden {
    display: none !important;
}

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

.otp-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.otp-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(253, 110, 139, 0.12);
    border: 2px solid rgba(253, 110, 139, 0.3);
    color: #FD6E8B;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.85rem;
    box-shadow: 0 0 20px rgba(253, 110, 139, 0.25);
    animation: otpPulse 2.4s infinite ease-in-out;
}

@keyframes otpPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); box-shadow: 0 0 28px rgba(253, 110, 139, 0.4); }
}

.otp-title {
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #072D59;
    margin-bottom: 0.35rem;
}

[data-theme="dark"] .otp-title {
    color: #FFFFFF;
}

.otp-subtitle {
    font-size: 0.88rem;
    color: #52677D;
    line-height: 1.45;
}

[data-theme="dark"] .otp-subtitle {
    color: #9EBBD6;
}

.otp-target-email {
    font-weight: 700;
    color: #072D59;
    word-break: break-all;
}

[data-theme="dark"] .otp-target-email {
    color: #F0F8FD;
}

.otp-edit-btn {
    background: none;
    border: none;
    color: #FD6E8B;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    margin-left: 0.4rem;
    padding: 0;
}

.otp-inputs-grid {
    display: flex;
    justify-content: center;
    gap: 0.55rem;
    margin: 1.25rem 0;
}

.otp-digit {
    width: 48px;
    height: 54px;
    border: 2px solid #D7E7F0;
    border-radius: 12px;
    background: #F8FBFD;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: #072D59;
    outline: none;
    transition: all 0.2s ease;
}

[data-theme="dark"] .otp-digit {
    background: #061529;
    border-color: #1B3C63;
    color: #FFFFFF;
}

.otp-digit:focus {
    border-color: #FD6E8B;
    box-shadow: 0 0 0 3px rgba(253, 110, 139, 0.2);
    transform: translateY(-2px);
    background: #FFFFFF;
}

[data-theme="dark"] .otp-digit:focus {
    background: #091C33;
}

.otp-digit.error-shake {
    animation: otpShake 0.4s ease;
    border-color: #FF2E63 !important;
}

@keyframes otpShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

.otp-error-msg {
    color: #FF2E63;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    background: rgba(255, 46, 99, 0.08);
    border: 1px solid rgba(255, 46, 99, 0.2);
    border-radius: 10px;
    padding: 0.55rem 0.85rem;
    margin-bottom: 1rem;
}

.otp-error-msg.hidden {
    display: none !important;
}

.otp-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1.15rem;
    font-size: 0.86rem;
    color: #52677D;
}

[data-theme="dark"] .otp-footer {
    color: #9EBBD6;
}

.otp-resend-btn {
    background: none;
    border: none;
    color: #FD6E8B;
    font-size: 0.86rem;
    font-weight: 800;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.2s;
}

.otp-resend-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    color: #8C9BAE;
}

.otp-countdown-text {
    font-size: 0.82rem;
    color: #8C9BAE;
}

.otp-back-link {
    text-align: center;
    margin-top: 1.25rem;
}

.otp-back-link a {
    color: #072D59;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
}

[data-theme="dark"] .otp-back-link a {
    color: #DBF2FC;
}

/* ─── Floating Security OTP Dispatch Banner ─── */
.security-otp-banner {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 10000;
    background: #072D59;
    color: #FFFFFF;
    border: 1px solid rgba(253, 110, 139, 0.5);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 20px rgba(253, 110, 139, 0.35);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    max-width: 380px;
    width: calc(100vw - 2rem);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    animation: bannerSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes bannerSlideIn {
    from { opacity: 0; transform: translateY(-20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.security-otp-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.security-otp-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #FD6E8B;
    background: rgba(253, 110, 139, 0.15);
    padding: 2px 8px;
    border-radius: 6px;
}

.security-otp-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0;
}
.security-otp-close:hover {
    color: #FFFFFF;
}

.security-otp-text {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #DBF2FC;
}

.security-otp-text strong {
    color: #FFFFFF;
}

.security-otp-code-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.5rem 0.85rem;
    border-radius: 10px;
}

.security-otp-code-val {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.25em;
    color: #FF2E63;
    font-family: monospace;
}

.security-otp-autofill-btn {
    background: #FD6E8B;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.security-otp-autofill-btn:hover {
    transform: scale(1.05);
}

/* ─── Upgraded License Gate Card on #invite-screen ─── */
.license-gate-offer-banner {
    background: linear-gradient(135deg, rgba(253, 110, 139, 0.12), rgba(7, 45, 89, 0.12));
    border: 1.5px dashed rgba(253, 110, 139, 0.45);
    border-radius: 16px;
    padding: 1.15rem 1rem;
    margin-bottom: 1.25rem;
    text-align: left;
}

[data-theme="dark"] .license-gate-offer-banner {
    background: linear-gradient(135deg, rgba(253, 110, 139, 0.15), rgba(11, 61, 115, 0.35));
    border-color: rgba(253, 110, 139, 0.4);
}

.license-gate-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #FF2E63;
    background: rgba(253, 110, 139, 0.15);
    padding: 2px 7px;
    border-radius: 6px;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}

.license-gate-offer-title {
    font-size: 1rem;
    font-weight: 800;
    color: #072D59;
    margin-bottom: 0.25rem;
}

[data-theme="dark"] .license-gate-offer-title {
    color: #FFFFFF;
}

.license-gate-offer-desc {
    font-size: 0.8rem;
    color: #52677D;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

[data-theme="dark"] .license-gate-offer-desc {
    color: #9EBBD6;
}

.license-gate-claim-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    font-weight: 800;
    border-radius: 12px;
    background: linear-gradient(135deg, #FF2E63 0%, #FD6E8B 100%);
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(253, 110, 139, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    transition: all 0.2s ease;
}

.license-gate-claim-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(253, 110, 139, 0.5);
}

.license-gate-divider {
    display: flex;
    align-items: center;
    margin: 1.25rem 0;
    color: #8C9BAE;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.license-gate-divider::before,
.license-gate-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #D7E7F0;
}

[data-theme="dark"] .license-gate-divider::before,
[data-theme="dark"] .license-gate-divider::after {
    background: #1B3C63;
}

.license-gate-divider span {
    padding: 0 0.75rem;
}

.claim-admin-review-box {
    background: rgba(16, 185, 129, 0.08);
    border: 1.5px solid rgba(16, 185, 129, 0.28);
    border-radius: 16px;
    padding: 1.35rem 1.45rem;
    margin: 1.5rem 0;
    text-align: left;
}

[data-theme="dark"] .claim-admin-review-box {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.35);
}

.claim-review-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.15);
    color: #0E7B46;
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 11px;
    border-radius: 9999px;
    margin-bottom: 0.85rem;
}

[data-theme="dark"] .claim-review-badge {
    color: #34D399;
}

.claim-review-status-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #072D59;
    font-weight: 700;
    margin-bottom: 0.95rem;
}

[data-theme="dark"] .claim-review-status-row {
    color: #F0F8FD;
}

.claim-review-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
    animation: livePulse 2s infinite ease-in-out;
}

.claim-review-steps {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 0.84rem;
    color: #4A637D;
    border-top: 1px solid rgba(16, 185, 129, 0.2);
    padding-top: 0.85rem;
}

[data-theme="dark"] .claim-review-steps {
    color: #9EBBD6;
    border-top-color: rgba(16, 185, 129, 0.25);
}

.claim-step-line {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.45;
}

.claim-step-num {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.2);
    color: #0E7B46;
    font-weight: 800;
    font-size: 0.72rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

[data-theme="dark"] .claim-step-num {
    color: #34D399;
}

.claim-btn-activate-pass:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 110, 139, 0.55);
}

.login-mobile-brand-header {
    display: none;
}

/* ─── Tablet & Mobile Portrait Responsiveness ─── */
@media (max-width: 820px) {
    .login-modal-backdrop {
        padding: 1.25rem 1rem;
        align-items: flex-start; /* Eliminates unreachable top content bug on scroll */
        -webkit-overflow-scrolling: touch;
    }
    .login-dialog-card {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: auto;
        border-radius: 24px;
    }
    .login-left-brand-art {
        display: none;
    }
    .login-mobile-brand-header {
        display: flex;
        align-items: center;
        margin-bottom: 1.25rem;
        padding-right: 2.75rem;
    }
    .login-mobile-logo-wrap {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    .login-mobile-logo-img {
        width: 34px;
        height: 34px;
        object-fit: contain;
    }
    .login-mobile-brand-text {
        display: flex;
        flex-direction: column;
    }
    .login-mobile-brand-name {
        font-size: 1.15rem;
        font-weight: 900;
        letter-spacing: -0.02em;
        color: #072D59;
        font-family: var(--pluto-font-sans);
        line-height: 1.15;
    }
    [data-theme="dark"] .login-mobile-brand-name {
        color: #DBF2FC;
    }
    .login-mobile-brand-tag {
        font-size: 0.62rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        color: #FD6E8B;
        text-transform: uppercase;
    }
    .login-right-form-pane {
        padding: 2.25rem 1.85rem 2rem;
    }
}

/* ─── Portrait Mobile View (< 640px) ─── */
@media (max-width: 640px) {
    .login-modal-backdrop {
        padding: 0.85rem 0.65rem 1.75rem;
    }
    .login-dialog-card {
        max-width: 100%;
        width: 100%;
        border-radius: 20px;
        box-shadow: 0 16px 48px rgba(7, 45, 89, 0.28);
    }
    .login-right-form-pane {
        padding: 1.35rem 1.15rem 1.35rem;
    }
    .login-modal-close-btn {
        top: 0.85rem;
        right: 0.85rem;
        width: 32px;
        height: 32px;
    }
    .login-mobile-brand-header {
        margin-bottom: 1rem;
        padding-right: 2.5rem;
    }
    .login-mobile-logo-img {
        width: 30px;
        height: 30px;
    }
    .login-mobile-brand-name {
        font-size: 1.05rem;
    }
    .auth-tabs-row {
        margin-bottom: 1.15rem;
        gap: 1.15rem;
    }
    .auth-tab-btn {
        font-size: 1.05rem;
        padding: 0.45rem 0.25rem;
    }
    .auth-form-wrap {
        gap: 0.85rem;
    }
    .auth-input-field {
        font-size: 16px; /* Prevents auto-zoom in iOS Safari */
        padding: 0.85rem 1rem;
        border-radius: 12px;
    }
    .auth-options-row {
        font-size: 0.8rem;
        gap: 0.35rem;
        flex-wrap: wrap;
    }
    .auth-checkbox-label {
        font-size: 0.8rem;
    }
    .auth-forgot-link {
        font-size: 0.8rem;
    }
    .btn-auth-submit {
        padding: 0.9rem;
        font-size: 1rem;
        border-radius: 12px;
        margin-top: 0.25rem;
    }
    .auth-divider-line {
        margin: 1.1rem 0 0.95rem;
        font-size: 0.75rem;
    }
    .auth-social-grid {
        gap: 0.65rem;
    }
    .btn-social-oauth {
        padding: 0.75rem 0.5rem;
        font-size: 0.88rem;
        border-radius: 12px;
        gap: 0.45rem;
    }
}

/* ─── Very Narrow Devices (< 360px) ─── */
@media (max-width: 360px) {
    .login-right-form-pane {
        padding: 1.15rem 0.85rem 1.15rem;
    }
    .btn-social-oauth span {
        font-size: 0.8rem;
    }
}




/* ═══════════════════════════════════════════════════════════════
   CLAIM LAUNCH OFFER PAGE & MULTI-STEP CHECKOUT
   ═══════════════════════════════════════════════════════════════ */

.claim-offer-page {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: #F8FBFD;
    color: #072D59;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    font-family: var(--pluto-font-sans);
}

[data-theme="dark"] .claim-offer-page {
    background: #061529;
    color: #F0F8FD;
}

.claim-offer-page.hidden {
    display: none !important;
}

/* ─── Top Sticky Nav ─── */
.claim-offer-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid #D7E7F0;
    padding: 0.85rem 1.5rem;
}

[data-theme="dark"] .claim-offer-nav {
    background: rgba(7, 45, 89, 0.92);
    border-bottom-color: #1B3C63;
}

.claim-offer-nav-container {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.claim-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.claim-brand-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.claim-brand-text {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #072D59;
    white-space: nowrap;
}

[data-theme="dark"] .claim-brand-text {
    color: #F0F8FD;
}

.claim-offer-pill-tag {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    background: rgba(253, 110, 139, 0.14);
    color: #FD6E8B;
    border: 1px solid rgba(253, 110, 139, 0.32);
    padding: 3px 8px;
    border-radius: 9999px;
    text-transform: uppercase;
    white-space: nowrap;
}

.claim-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.claim-back-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #FFFFFF;
    color: #072D59;
    border: 1px solid #D7E7F0;
    padding: 0.5rem 0.95rem;
    border-radius: 12px;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap !important;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.claim-back-home-btn * {
    white-space: nowrap !important;
}

.claim-back-text-desktop {
    display: inline;
    white-space: nowrap !important;
}

.claim-back-text-mobile {
    display: none;
    white-space: nowrap !important;
}

[data-theme="dark"] .claim-back-home-btn {
    background: #0B1C33;
    border-color: #1B3C63;
    color: #F0F8FD;
}

.claim-back-home-btn:hover {
    background: #F0F8FD;
    border-color: #072D59;
    transform: translateY(-1px);
}

[data-theme="dark"] .claim-back-home-btn:hover {
    background: #102947;
    border-color: #FD6E8B;
}

/* ─── Main Content ─── */
.claim-offer-main {
    max-width: 920px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 4rem;
}

.claim-step-section.hidden {
    display: none !important;
}

/* ─── Top Ribbon ─── */
.claim-ribbon-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(253, 110, 139, 0.12);
    border: 1px solid rgba(253, 110, 139, 0.25);
    color: #FD6E8B;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    margin-bottom: 2rem;
    text-align: center;
}

.claim-ribbon-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #FD6E8B;
    animation: pulse 2s infinite;
}

/* ─── Hero Header ─── */
.claim-hero-header {
    text-align: center;
    margin-bottom: 2.25rem;
}

.claim-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    background: rgba(7, 45, 89, 0.06);
    border: 1px solid rgba(7, 45, 89, 0.14);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #072D59;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

[data-theme="dark"] .claim-pill-badge {
    background: rgba(219, 242, 252, 0.08);
    border-color: rgba(219, 242, 252, 0.18);
    color: #DBF2FC;
}

.claim-page-title {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #072D59;
    margin-bottom: 0.85rem;
}

[data-theme="dark"] .claim-page-title {
    color: #FFFFFF;
}

.claim-page-sub {
    font-size: 1.05rem;
    color: #52677D;
    max-width: 620px;
    margin: 0 auto 1.25rem;
    line-height: 1.6;
}

[data-theme="dark"] .claim-page-sub {
    color: #9EBBD6;
}

.claim-validity-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #FFFFFF;
    border: 1px solid #D7E7F0;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-size: 0.84rem;
    color: #072D59;
    box-shadow: 0 4px 14px rgba(7, 45, 89, 0.04);
}

[data-theme="dark"] .claim-validity-pill {
    background: #0B1C33;
    border-color: #1B3C63;
    color: #F0F8FD;
}

/* ─── Poster Card ─── */
.claim-poster-card {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #D7E7F0;
    box-shadow: 0 20px 50px rgba(7, 45, 89, 0.12);
    margin-bottom: 2.5rem;
    background: #04142B;
}

[data-theme="dark"] .claim-poster-card {
    border-color: #1B3C63;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.claim-poster-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ─── Pricing Card ─── */
.claim-pricing-box {
    background: #FFFFFF;
    border-radius: 24px;
    border: 1px solid #D7E7F0;
    box-shadow: 0 16px 40px rgba(7, 45, 89, 0.08);
    overflow: hidden;
}

[data-theme="dark"] .claim-pricing-box {
    background: #0B1C33;
    border-color: #1B3C63;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.claim-pricing-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2rem 0;
}

.claim-currency-switch {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.claim-currency-label {
    font-size: 0.84rem;
    font-weight: 700;
    color: #52677D;
}

[data-theme="dark"] .claim-currency-label {
    color: #9EBBD6;
}

.claim-toggle-buttons {
    display: flex;
    background: #F0F8FD;
    border: 1px solid #D7E7F0;
    border-radius: 999px;
    padding: 3px;
}

[data-theme="dark"] .claim-toggle-buttons {
    background: #061529;
    border-color: #1B3C63;
}

.claim-curr-btn {
    border: none;
    background: transparent;
    color: #52677D;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

[data-theme="dark"] .claim-curr-btn {
    color: #9EBBD6;
}

.claim-curr-btn.active {
    background: #FD6E8B;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(253, 110, 139, 0.35);
}

.claim-deal-card {
    padding: 2.25rem 2.5rem;
    position: relative;
}

.claim-deal-ribbon {
    display: inline-block;
    background: linear-gradient(135deg, #FD6E8B 0%, #FF3366 100%);
    color: #FFFFFF;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 14px rgba(253, 110, 139, 0.3);
}

.claim-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.claim-price-strikethrough {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8494A5;
    text-decoration: line-through;
}

.claim-price-active {
    font-size: 3.25rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #072D59;
    line-height: 1;
}

[data-theme="dark"] .claim-price-active {
    color: #FFFFFF;
}

.claim-price-period {
    font-size: 1.05rem;
    font-weight: 700;
    color: #52677D;
}

[data-theme="dark"] .claim-price-period {
    color: #9EBBD6;
}

.claim-gift-highlight {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: rgba(253, 110, 139, 0.08);
    border: 1px solid rgba(253, 110, 139, 0.28);
    border-radius: 16px;
    padding: 1.15rem 1.35rem;
    margin-bottom: 1.5rem;
}

.claim-gift-icon {
    font-size: 1.75rem;
    line-height: 1;
}

.claim-gift-highlight strong {
    display: block;
    font-size: 1.05rem;
    color: #FD6E8B;
    margin-bottom: 0.25rem;
}

.claim-gift-highlight p {
    font-size: 0.85rem;
    color: #52677D;
    margin: 0;
    line-height: 1.45;
}

[data-theme="dark"] .claim-gift-highlight p {
    color: #9EBBD6;
}

.claim-validity-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #52677D;
    margin-bottom: 1.5rem;
}

[data-theme="dark"] .claim-validity-text {
    color: #9EBBD6;
}

.claim-divider {
    border: none;
    border-top: 1px solid #D7E7F0;
    margin: 1.75rem 0;
}

[data-theme="dark"] .claim-divider {
    border-top-color: #1B3C63;
}

.claim-features-title {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #072D59;
    margin-bottom: 1.15rem;
}

[data-theme="dark"] .claim-features-title {
    color: #DBF2FC;
}

.claim-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.claim-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #072D59;
}

[data-theme="dark"] .claim-features-list li {
    color: #F0F8FD;
}

.claim-btn-buy-now {
    width: 100%;
    padding: 1.15rem 2rem;
    border-radius: 16px;
    background: #FD6E8B;
    color: #FFFFFF;
    border: none;
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(253, 110, 139, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
}

.claim-btn-buy-now:hover {
    background: #E85070;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(253, 110, 139, 0.45);
}

.claim-guarantee-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.25rem;
    font-size: 0.76rem;
    font-weight: 700;
    color: #8494A5;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════
   STEP 2: FORM TYPE SCREEN (FILL YOUR DETAILS)
   ═══════════════════════════════════════════════════════════════ */

.claim-form-container {
    max-width: 620px;
    margin: 0 auto;
    background: #FFFFFF;
    border: 1px solid #D7E7F0;
    border-radius: 24px;
    padding: 2.5rem 2.25rem;
    box-shadow: 0 20px 48px rgba(7, 45, 89, 0.08);
}

[data-theme="dark"] .claim-form-container {
    background: #0B1C33;
    border-color: #1B3C63;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.claim-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: transparent;
    border: none;
    color: #52677D;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    margin-bottom: 1.5rem;
    transition: color 0.15s ease;
}

[data-theme="dark"] .claim-back-link {
    color: #9EBBD6;
}

.claim-back-link:hover {
    color: #FD6E8B;
}

.claim-form-header {
    margin-bottom: 1.75rem;
}

.claim-step-indicator {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
}

.claim-step-tag {
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    background: #072D59;
    color: #FFFFFF;
    padding: 3px 8px;
    border-radius: 6px;
}

[data-theme="dark"] .claim-step-tag {
    background: #FD6E8B;
    color: #FFFFFF;
}

.claim-step-name {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #8494A5;
}

.claim-form-title {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    color: #072D59;
    margin-bottom: 0.45rem;
}

[data-theme="dark"] .claim-form-title {
    color: #FFFFFF;
}

.claim-form-sub {
    font-size: 0.92rem;
    color: #52677D;
    line-height: 1.5;
}

[data-theme="dark"] .claim-form-sub {
    color: #9EBBD6;
}

.claim-order-summary-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F0F8FD;
    border: 1px solid #D7E7F0;
    border-radius: 16px;
    padding: 1.15rem 1.35rem;
    margin-bottom: 2rem;
}

[data-theme="dark"] .claim-order-summary-box {
    background: #061529;
    border-color: #1B3C63;
}

.claim-summary-badge {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #FD6E8B;
    text-transform: uppercase;
}

.claim-summary-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #072D59;
    margin: 0.15rem 0;
}

[data-theme="dark"] .claim-summary-title {
    color: #F0F8FD;
}

.claim-summary-sub {
    font-size: 0.78rem;
    color: #52677D;
    margin: 0;
}

[data-theme="dark"] .claim-summary-sub {
    color: #9EBBD6;
}

.claim-summary-price {
    text-align: right;
}

.claim-summary-amount {
    display: block;
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #072D59;
    line-height: 1;
}

[data-theme="dark"] .claim-summary-amount {
    color: #FFFFFF;
}

.claim-summary-tax {
    font-size: 0.72rem;
    color: #8494A5;
    font-weight: 600;
}

.claim-checkout-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.claim-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.claim-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    font-weight: 700;
    color: #072D59;
}

[data-theme="dark"] .claim-label {
    color: #DBF2FC;
}

.claim-required {
    color: #FD6E8B;
    font-weight: 800;
}

.claim-optional {
    font-size: 0.75rem;
    font-weight: 500;
    color: #8494A5;
}

.claim-input {
    width: 100%;
    padding: 0.9rem 1.15rem;
    border-radius: 14px;
    border: 1px solid #D7E7F0;
    background: #F8FBFD;
    color: #072D59;
    font-size: 0.95rem;
    font-family: var(--pluto-font-sans);
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

[data-theme="dark"] .claim-input {
    background: #061529;
    border-color: #1B3C63;
    color: #F0F8FD;
}

.claim-input:focus {
    border-color: #FD6E8B;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(253, 110, 139, 0.15);
}

[data-theme="dark"] .claim-input:focus {
    background: #091C33;
    border-color: #FD6E8B;
    box-shadow: 0 0 0 3px rgba(253, 110, 139, 0.25);
}

.claim-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23072D59' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    cursor: pointer;
}

[data-theme="dark"] .claim-select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DBF2FC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

.claim-help-text {
    font-size: 0.76rem;
    color: #8494A5;
    line-height: 1.4;
}

.claim-form-error {
    background: #FFDAD6;
    color: #BA1A1A;
    border: 1px solid #FF5449;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.claim-form-error.hidden {
    display: none !important;
}

.claim-btn-submit {
    width: 100%;
    padding: 1.15rem 1.5rem;
    border-radius: 16px;
    background: #FD6E8B;
    color: #FFFFFF;
    border: none;
    font-size: 1.1rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(253, 110, 139, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 0.5rem;
}

.claim-btn-submit:hover {
    background: #E85070;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(253, 110, 139, 0.45);
}

.claim-form-secure-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: #52677D;
    text-align: center;
    line-height: 1.4;
    margin-top: 0.25rem;
}

[data-theme="dark"] .claim-form-secure-notice {
    color: #9EBBD6;
}

/* ═══════════════════════════════════════════════════════════════
   STEP 3: SUCCESS / CONFIRMATION SCREEN
   ═══════════════════════════════════════════════════════════════ */

.claim-success-card {
    max-width: 600px;
    margin: 0 auto;
    background: #FFFFFF;
    border: 1px solid #D7E7F0;
    border-radius: 28px;
    padding: 3rem 2.25rem;
    box-shadow: 0 24px 60px rgba(7, 45, 89, 0.1);
    text-align: center;
}

[data-theme="dark"] .claim-success-card {
    background: #0B1C33;
    border-color: #1B3C63;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}

.claim-success-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #E0F8EA;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 0 10px rgba(16, 138, 72, 0.1);
}

[data-theme="dark"] .claim-success-icon-wrap {
    background: rgba(16, 138, 72, 0.25);
    box-shadow: 0 0 0 10px rgba(16, 138, 72, 0.15);
}

.claim-success-title {
    font-size: 2.15rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    color: #072D59;
    margin-bottom: 1.15rem;
}

[data-theme="dark"] .claim-success-title {
    color: #FFFFFF;
}

.claim-success-message-box {
    background: #F0F8FD;
    border: 1px solid #D7E7F0;
    border-radius: 18px;
    padding: 1.35rem 1.5rem;
    margin-bottom: 2rem;
}

[data-theme="dark"] .claim-success-message-box {
    background: #061529;
    border-color: #1B3C63;
}

.claim-success-primary-msg {
    font-size: 1.05rem;
    font-weight: 700;
    color: #072D59;
    line-height: 1.6;
    margin: 0;
}

[data-theme="dark"] .claim-success-primary-msg {
    color: #DBF2FC;
}

.claim-receipt-card {
    background: #F8FBFD;
    border: 1px solid #D7E7F0;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: left;
    margin-bottom: 2rem;
}

[data-theme="dark"] .claim-receipt-card {
    background: #091C33;
    border-color: #1B3C63;
}

.claim-receipt-head {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #52677D;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #D7E7F0;
}

[data-theme="dark"] .claim-receipt-head {
    color: #9EBBD6;
    border-bottom-color: #1B3C63;
}

.claim-receipt-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.88rem;
    padding: 0.4rem 0;
}

.claim-receipt-row.highlight {
    background: rgba(253, 110, 139, 0.08);
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    margin: 0.35rem 0;
}

.claim-receipt-key {
    color: #52677D;
    font-weight: 600;
}

[data-theme="dark"] .claim-receipt-key {
    color: #9EBBD6;
}

.claim-receipt-val {
    color: #072D59;
    font-weight: 700;
    text-align: right;
    word-break: break-word;
}

[data-theme="dark"] .claim-receipt-val {
    color: #F0F8FD;
}

.claim-receipt-row.highlight .claim-receipt-val {
    color: #FD6E8B;
    font-weight: 800;
}

.claim-success-actions {
    display: flex;
    gap: 0.85rem;
}

.claim-btn-home {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 14px;
    background: #072D59;
    color: #FFFFFF;
    border: none;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

.claim-btn-home:hover {
    background: #0B477D;
    transform: translateY(-2px);
}

.claim-btn-discord {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 14px;
    background: #F0F8FD;
    border: 1px solid #D7E7F0;
    color: #072D59;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

[data-theme="dark"] .claim-btn-discord {
    background: #061529;
    border-color: #1B3C63;
    color: #F0F8FD;
}

.claim-btn-discord:hover {
    border-color: #072D59;
    transform: translateY(-2px);
}

/* ─── Responsive Optimizations ─── */
@media (max-width: 640px) {

    /* OTP Mobile Adjustments */
    .otp-inputs-grid {
        gap: 0.35rem !important;
    }
    .otp-digit {
        width: 40px !important;
        height: 48px !important;
        font-size: 1.25rem !important;
        border-radius: 10px !important;
    }

    /* Responsive Claim Offer Header */
    .claim-offer-nav {
        padding: 0.65rem 0.85rem !important;
    }
    .claim-offer-nav-container {
        gap: 0.5rem !important;
    }
    .claim-brand {
        gap: 0.45rem !important;
        min-width: 0 !important;
        flex-shrink: 1 !important;
    }
    .claim-brand-logo {
        height: 26px !important;
        width: auto !important;
        flex-shrink: 0 !important;
    }
    .claim-brand-text {
        font-size: 0.95rem !important;
        white-space: nowrap !important;
        letter-spacing: -0.01em !important;
    }
    .claim-offer-pill-tag {
        display: none !important;
    }
    .claim-nav-actions {
        gap: 0.45rem !important;
        flex-shrink: 0 !important;
    }
    .claim-nav-actions .brutal-btn-icon {
        padding: 0.42rem !important;
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }
    .claim-back-home-btn {
        padding: 0.42rem 0.68rem !important;
        font-size: 0.82rem !important;
        border-radius: 10px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        gap: 0.3rem !important;
    }
    .claim-back-home-btn * {
        white-space: nowrap !important;
    }
    .claim-back-text-desktop {
        display: none !important;
    }
    .claim-back-text-mobile {
        display: inline !important;
        white-space: nowrap !important;
    }

    .claim-offer-main {
        padding: 1.5rem 1rem 3rem;
    }
    .claim-page-title {
        font-size: 1.85rem;
    }
    .claim-page-sub {
        font-size: 0.92rem;
    }
    .claim-deal-card {
        padding: 1.5rem 1.25rem;
    }
    .claim-price-active {
        font-size: 2.5rem;
    }
    .claim-form-container {
        padding: 1.75rem 1.25rem;
        border-radius: 20px;
    }
    .claim-form-title {
        font-size: 1.65rem;
    }
    .claim-success-card {
        padding: 2rem 1.25rem;
        border-radius: 20px;
    }
    .claim-success-actions {
        flex-direction: column;
    }
}


/* ─── Tablet & Mobile Claim Offer Header (screens <= 860px) ─── */
@media (max-width: 860px) {
    .claim-offer-pill-tag {
        display: none !important;
    }
    .claim-offer-nav {
        padding: 0.7rem 1rem !important;
    }
    .claim-brand {
        gap: 0.5rem !important;
    }
    .claim-brand-logo {
        height: 28px !important;
    }
    .claim-brand-text {
        font-size: 1.05rem !important;
    }
    .claim-nav-actions {
        gap: 0.55rem !important;
        flex-shrink: 0 !important;
    }
    .claim-back-home-btn {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
    .claim-back-home-btn * {
        white-space: nowrap !important;
    }
    .claim-back-text-desktop {
        display: none !important;
    }
    .claim-back-text-mobile {
        display: inline !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 380px) {
    .claim-brand-text {
        font-size: 0.88rem !important;
    }
    .claim-offer-nav {
        padding: 0.55rem 0.65rem !important;
    }
    .claim-back-home-btn {
        padding: 0.38rem 0.55rem !important;
        font-size: 0.78rem !important;
    }
}


/* ==========================================================================
   PLUTO LIBRARY & DRM COURSE HANDBOOKS ENGINE
   Zero-Download In-Browser Protected Reader with Forensic Watermarking
   ========================================================================== */

/* ─── Category Filter Chips Carousel (Zero Scrollbar + Arrow Controls) ─── */
.hb-chips-carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
    flex: 1;
}

.hb-chips-scroll-container {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    min-width: 0;
    /* Completely eliminate all scrollbars across browsers */
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}
.hb-chips-scroll-container::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.hb-chips-arrow-btn {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--surface-container);
    border: 1px solid var(--outline);
    color: var(--on-surface-variant);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 4px rgba(7, 45, 89, 0.08);
    padding: 0;
    z-index: 2;
}
.hb-chips-arrow-btn:hover {
    background: var(--surface-container-high);
    border-color: #FD6E8B;
    color: #FD6E8B;
    transform: scale(1.08);
}
.hb-chips-arrow-btn:active {
    transform: scale(0.95);
}

/* ─── Category Filter Chips ─── */
.hb-category-chip {
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid var(--outline);
    background: var(--surface);
    color: var(--on-surface-variant);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hb-category-chip:hover {
    background: var(--surface-container-high);
    color: var(--on-surface);
    border-color: #FD6E8B;
    transform: translateY(-1px);
}

.hb-category-chip.active {
    background: linear-gradient(135deg, #072D59 0%, #0B477D 100%);
    color: #ffffff;
    border-color: #0B477D;
    box-shadow: 0 4px 12px rgba(7, 45, 89, 0.25);
}

[data-theme="dark"] .hb-category-chip.active {
    background: linear-gradient(135deg, #FD6E8B 0%, #FF8FA3 100%);
    color: #ffffff;
    border-color: #FD6E8B;
    box-shadow: 0 4px 16px rgba(253, 110, 139, 0.3);
}

/* ─── Handbook Grid Layout — Guaranteed Spacing & Resilient Responsive Columns ─── */
#pluto-handbooks-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 32px !important;
    row-gap: 36px !important;
    column-gap: 32px !important;
    width: 100% !important;
    margin-top: 1.75rem !important;
    margin-bottom: 3.5rem !important;
}

@media (max-width: 1200px) {
    #pluto-handbooks-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 26px !important;
        row-gap: 30px !important;
        column-gap: 26px !important;
    }
}

@media (max-width: 680px) {
    #pluto-handbooks-grid {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
        row-gap: 24px !important;
    }
}

.gap-7 { gap: 1.75rem !important; }

/* ─── Handbook Cards — Premium Learning Library ─── */
.handbook-card {
    background: var(--surface) !important;
    border: none !important;
    border-radius: 24px !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px -2px rgba(7, 45, 89, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
}

.handbook-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(7, 45, 89, 0.16);
}

[data-theme="dark"] .handbook-card {
    border: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .handbook-card:hover {
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.6);
}

.handbook-cover-banner {
    position: relative;
    padding: 1.5rem 1.6rem 1.4rem;
    min-height: 155px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    color: #ffffff;
}

.handbook-cover-watermark {
    position: absolute;
    right: -10px;
    bottom: -15px;
    opacity: 0.13;
    transform: rotate(-15deg) scale(1.9);
    pointer-events: none;
    color: #ffffff;
}

.handbook-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.handbook-drm-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.03em;
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.handbook-edition-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.03em;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 6px;
}

.handbook-title-text {
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.35;
    color: #ffffff;
    letter-spacing: -0.015em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.handbook-card-body {
    padding: 1.4rem 1.6rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    background: var(--surface);
}

.handbook-desc-text {
    font-size: 0.84rem;
    line-height: 1.65;
    color: var(--on-surface-variant);
    margin-bottom: 1.15rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.handbook-meta-bar {
    padding-top: 0.85rem;
    border: none !important;
    border-top: none !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    margin-bottom: 1.25rem;
}

.handbook-action-btn {
    width: 100%;
    padding: 0.78rem 1.25rem;
    border-radius: 14px;
    font-size: 0.86rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #FD6E8B 0%, #FF8FA3 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 16px rgba(253, 110, 139, 0.28);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.handbook-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(253, 110, 139, 0.42);
    filter: brightness(1.04);
}

/* ─── Library Mode Switcher Tabs ─── */
.library-tab-btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid transparent;
    background: transparent;
    color: var(--on-surface-variant);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.library-tab-btn:hover {
    background: var(--surface-container);
    color: var(--on-surface);
}

.library-tab-btn.active {
    background: var(--surface);
    color: var(--on-surface);
    border-color: var(--outline);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ─── PDF Viewer Container & Fullscreen System (Zero Bottom Gap) ─── */
#pdf-viewer-container {
    background: #0b1320 !important;
    display: none !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border-radius: 20px;
    border: none !important;
    height: calc(100vh - 84px) !important;
    min-height: 650px !important;
    box-sizing: border-box;
}

#pdf-viewer-container.active,
#pdf-viewer-container:not(.hidden) {
    display: flex !important;
}

#pdf-viewer-container.hidden {
    display: none !important;
}

#pdf-viewer-container:fullscreen,
#pdf-viewer-container:-webkit-full-screen,
#pdf-viewer-container:-moz-full-screen,
#pdf-viewer-container:-ms-fullscreen {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    min-height: 100vh !important;
    border-radius: 0 !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #0b1320 !important;
    z-index: 999999 !important;
}

#drm-reader-viewport {
    background: #0b1320 !important;
    flex: 1 1 0% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    position: relative;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    -webkit-touch-callout: none !important;
    overflow-x: auto !important;
    overflow-y: auto !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 1.25rem 1rem 1rem !important;
}

#pdf-viewer-container:fullscreen #drm-reader-viewport,
#pdf-viewer-container:-webkit-full-screen #drm-reader-viewport,
#pdf-viewer-container:-moz-full-screen #drm-reader-viewport,
#pdf-viewer-container:-ms-fullscreen #drm-reader-viewport {
    height: calc(100vh - 54px) !important;
    max-height: calc(100vh - 54px) !important;
    min-height: calc(100vh - 54px) !important;
    border-radius: 0 !important;
    padding-bottom: 0.5rem !important;
}

#drm-pages-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0 3rem;
    user-select: none !important;
    -webkit-user-select: none !important;
}

.drm-page-slot {
    position: relative;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    transition: filter 0.15s ease-out, opacity 0.15s ease-out, transform 0.15s ease-out;
}

.drm-page-canvas {
    display: block;
    user-select: none !important;
    pointer-events: none !important;
    -webkit-user-select: none !important;
    background: #ffffff;
}

.drm-canvas-shield {
    user-select: none !important;
    pointer-events: auto !important;
    cursor: default;
}

/* ─── 3D Realistic Book Stage & Page Turn Engine ─── */
.drm-book-stage {
    perspective: 2600px;
    perspective-origin: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 1.25rem 2.5rem 2.5rem;
    min-height: 520px;
    user-select: none !important;
    -webkit-user-select: none !important;
}

.drm-book-shell {
    position: relative;
    background: #ffffff;
    border-radius: 4px 14px 14px 4px;
    box-shadow: 
        0 25px 60px -10px rgba(0, 0, 0, 0.65),
        0 10px 25px -5px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    transform-style: preserve-3d;
    transition: width 0.2s ease, height 0.2s ease;
    min-width: 320px;
    min-height: 480px;
}

/* Realistic Book Spine Effect on Left Edge */
.drm-book-spine-shadow {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 32px;
    background: linear-gradient(to right, 
        rgba(0, 0, 0, 0.28) 0%, 
        rgba(0, 0, 0, 0.12) 35%, 
        rgba(0, 0, 0, 0.03) 70%, 
        transparent 100%);
    pointer-events: none;
    z-index: 25;
}

/* Page Surface */
.drm-page-surface {
    position: absolute;
    inset: 0;
    background: #ffffff;
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* 3D Flipping Leaf */
.drm-flipping-leaf {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    transform-origin: 0% 50%;
    transform-style: preserve-3d;
    z-index: 40;
    pointer-events: none;
    will-change: transform, box-shadow;
}

.drm-leaf-front,
.drm-leaf-back {
    position: absolute;
    inset: 0;
    background: #ffffff;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
}

.drm-leaf-front {
    z-index: 2;
    transform: rotateY(0deg);
}

.drm-leaf-back {
    z-index: 1;
    transform: rotateY(180deg);
    background: #f8fafc;
}

/* Dynamic Page Curl Lighting & Depth Crease */
.drm-page-lighting-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to right,
        rgba(0,0,0,0.4) 0%,
        rgba(255,255,255,0.6) 20%,
        rgba(0,0,0,0.18) 45%,
        transparent 80%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.drm-page-back-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to left,
        rgba(0,0,0,0.32) 0%,
        rgba(255,255,255,0.45) 25%,
        rgba(0,0,0,0.12) 60%,
        transparent 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

/* Page Turn Keyframe Animations */
@keyframes drmTurnForward {
    0% {
        transform: rotateY(0deg) skewY(0deg);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    25% {
        transform: rotateY(-45deg) skewY(-1.8deg) scale(0.985);
        box-shadow: -15px 15px 35px rgba(0, 0, 0, 0.4);
    }
    60% {
        transform: rotateY(-115deg) skewY(1.4deg) scale(0.99);
        box-shadow: -25px 10px 45px rgba(0, 0, 0, 0.32);
    }
    100% {
        transform: rotateY(-180deg) skewY(0deg) scale(1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
}

@keyframes drmTurnBackward {
    0% {
        transform: rotateY(-180deg) skewY(0deg);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    25% {
        transform: rotateY(-135deg) skewY(1.8deg) scale(0.985);
        box-shadow: -25px 15px 35px rgba(0, 0, 0, 0.4);
    }
    60% {
        transform: rotateY(-65deg) skewY(-1.4deg) scale(0.99);
        box-shadow: -15px 10px 45px rgba(0, 0, 0, 0.32);
    }
    100% {
        transform: rotateY(0deg) skewY(0deg) scale(1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
}

.drm-turning-forward {
    animation: drmTurnForward 0.48s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.drm-turning-forward .drm-page-lighting-overlay {
    opacity: 1;
}

.drm-turning-backward {
    animation: drmTurnBackward 0.48s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.drm-turning-backward .drm-page-back-overlay {
    opacity: 1;
}

/* Floating Turn Buttons Beside Book */
.drm-turn-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 50;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.drm-turn-arrow:hover:not(:disabled) {
    background: #FD6E8B;
    color: #ffffff;
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 12px 30px rgba(253, 110, 139, 0.45);
}

.drm-turn-arrow:disabled {
    opacity: 0.2;
    cursor: not-allowed;
    pointer-events: none;
}

.drm-turn-arrow-left {
    left: 10px;
}

.drm-turn-arrow-right {
    right: 10px;
}

/* Clickable Edge Turn Zones on Page */
.drm-edge-zone {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 14%;
    cursor: pointer;
    z-index: 30;
    transition: background 0.2s ease;
}

.drm-edge-zone-left {
    left: 0;
}

.drm-edge-zone-right {
    right: 0;
}

.drm-edge-zone-right:hover {
    background: linear-gradient(to right, transparent, rgba(253, 110, 139, 0.05));
}

.drm-edge-zone-left:hover {
    background: linear-gradient(to left, transparent, rgba(253, 110, 139, 0.05));
}

/* ─── DRM Security Notification (Gentle Watermark, No Disruptive Blackout) ─── */
.drm-screen-protect-active {
    transition: opacity 0.2s ease !important;
}

/* ─── DRM Watermark Floating Badge ─── */
.drm-security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    background: rgba(253, 110, 139, 0.15);
    color: #FD6E8B;
    border: 1px solid rgba(253, 110, 139, 0.3);
}

/* ─── Media Print Security Guard ───
   If learner triggers browser print (Ctrl+P or Print command), blank out content */
@media print {
    body * {
        visibility: hidden !important;
    }

    #pdf-viewer-container,
    #drm-reader-viewport,
    #drm-pages-container,
    #drm-book-stage,
    #drm-book-shell,
    #drm-active-page,
    #drm-under-page,
    #drm-flipping-leaf,
    .drm-page-slot,
    .drm-page-canvas,
    #drm-canvas-wrapper,
    #drm-pdf-canvas,
    #drm-watermark-canvas,
    .handbook-card {
        display: none !important;
        visibility: hidden !important;
    }

    body::before {
        content: "SECURITY ENFORCEMENT: Printing, PDF exporting, and offline reproduction of Pluto Learn course handbooks is strictly prohibited by Digital Rights Management policy. Forensic record has been logged.";
        visibility: visible !important;
        display: block !important;
        position: fixed !important;
        top: 30% !important;
        left: 5% !important;
        right: 5% !important;
        font-family: sans-serif !important;
        font-size: 20px !important;
        font-weight: 900 !important;
        color: #d90429 !important;
        text-align: center !important;
        padding: 40px !important;
        border: 4px dashed #d90429 !important;
        background: #fff0f3 !important;
        border-radius: 16px !important;
    }
}

/* ─── Modern Settings & Accessibility System ─── */
.settings-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.15rem;
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--on-surface-variant);
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}
.settings-tab-btn:hover {
    background: var(--surface-container);
    color: var(--on-surface);
}
.settings-tab-btn.active {
    background: var(--surface-container-high);
    color: #FD6E8B;
    border-color: rgba(253, 110, 139, 0.35);
    box-shadow: 0 2px 8px rgba(253, 110, 139, 0.12);
}

/* Pluto iOS/Material Style Toggle Switch */
.pluto-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}
.pluto-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.pluto-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--outline);
    transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 24px;
}
.pluto-switch-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
.pluto-switch input:checked + .pluto-switch-slider {
    background-color: #FD6E8B;
}
.pluto-switch input:checked + .pluto-switch-slider:before {
    transform: translateX(20px);
}

/* Option Pill Card */
.settings-option-card {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--outline);
    background: var(--surface);
    color: var(--on-surface);
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    flex: 1;
    min-width: 120px;
    width: 100%;
}
.settings-option-card:hover {
    border-color: #FD6E8B;
    background: var(--surface-container);
}
.settings-option-card:hover .settings-option-title {
    color: var(--on-surface);
}
.settings-option-card:hover .text-on-surface-variant {
    color: var(--on-surface);
}
.settings-option-card.active {
    border-color: #FD6E8B;
    background: rgba(253, 110, 139, 0.08);
}
.settings-option-title {
    color: var(--on-surface);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.2s ease;
}
.settings-option-card.active .settings-option-title {
    color: #FD6E8B;
    font-weight: 800;
}

/* Accessibility Variables & Live Root Overrides */
[data-font-size="large"] {
    font-size: 17px !important;
}
[data-font-size="xlarge"] {
    font-size: 18.5px !important;
}

[data-high-contrast="true"] {
    --outline: rgba(7, 45, 89, 0.5) !important;
}
[data-theme="dark"][data-high-contrast="true"] {
    --outline: rgba(255, 255, 255, 0.5) !important;
}
[data-high-contrast="true"] :focus-visible {
    outline: 3px solid #FD6E8B !important;
    outline-offset: 2px !important;
}

[data-reduced-motion="true"] *,
[data-reduced-motion="true"] *::before,
[data-reduced-motion="true"] *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
}

[data-dyslexic-font="true"] body,
[data-dyslexic-font="true"] input,
[data-dyslexic-font="true"] button,
[data-dyslexic-font="true"] textarea,
[data-dyslexic-font="true"] select {
    font-family: 'OpenDyslexic', 'Comic Sans MS', -apple-system, sans-serif !important;
    letter-spacing: 0.035em !important;
    line-height: 1.65 !important;
}

[data-density="compact"] .card {
    padding: 0.85rem !important;
}
[data-density="compact"] .btn {
    padding: 0.35rem 0.75rem !important;
}

/* ======================================================================
   CUPERTINO QUICK SYNC 3D SYSTEM
   - Continuous squircle card geometry (border-radius: 32px)
   - Specular edge lighting & multi-tier ambient occlusion shadows
   - Apple segmented pill control with tactile sliding indicator
   - 3D Floating QR squircle island with specular border
   - Tactile passcode pill with 1-click clipboard micro-interaction
   - iOS tactile toggle switches & silky smooth spring micro-interactions
====================================================================== */

.cupertino-sync-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.cupertino-sync-overlay:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

.cupertino-sync-card {
    width: 100%;
    max-width: 410px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 
        0 28px 70px -12px rgba(0, 0, 0, 0.35),
        0 1px 2px rgba(0, 0, 0, 0.08),
        inset 0 1px 1.5px rgba(255, 255, 255, 0.9),
        inset 0 -1px 1px rgba(0, 0, 0, 0.04);
    padding: 1.75rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    transform: scale(0.95) translateY(12px);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.cupertino-sync-overlay:not(.hidden) .cupertino-sync-card {
    transform: scale(1) translateY(0);
}

[data-theme="dark"] .cupertino-sync-card {
    background: rgba(11, 28, 51, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 30px 80px -15px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 1.5px rgba(255, 255, 255, 0.22),
        inset 0 -1px 1px rgba(0, 0, 0, 0.4);
}

/* Specular Top Edge Glare Highlight */
.cupertino-sync-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
    pointer-events: none;
}

[data-theme="dark"] .cupertino-sync-card::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}

/* Close Button (Apple Frosted Glass Circle) */
.cupertino-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--on-surface-variant);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

[data-theme="dark"] .cupertino-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--on-surface);
}

.cupertino-close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--on-surface);
    transform: scale(1.06);
}

[data-theme="dark"] .cupertino-close-btn:hover {
    background: rgba(255, 255, 255, 0.16);
}

.cupertino-close-btn:active {
    transform: scale(0.92);
}

/* Emblem Icon */
.cupertino-emblem {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(253, 110, 139, 0.2), rgba(245, 158, 11, 0.22));
    border: 1.5px solid rgba(253, 110, 139, 0.35);
    box-shadow: 0 8px 22px -4px rgba(253, 110, 139, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

/* Typography */
.cupertino-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--on-surface);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.cupertino-desc {
    font-size: 0.8125rem;
    color: var(--on-surface-variant);
    line-height: 1.45;
    text-align: center;
    max-width: 320px;
    margin-bottom: 1.15rem;
}

/* Apple Segmented Control */
.cupertino-segmented-bar {
    width: 100%;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 3px;
    display: flex;
    gap: 3px;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .cupertino-segmented-bar {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.cupertino-segmented-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border-radius: 13px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--on-surface-variant);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.cupertino-segmented-tab:hover {
    color: var(--on-surface);
}

.cupertino-segmented-tab.active {
    background: #ffffff;
    color: var(--on-surface);
    font-weight: 800;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .cupertino-segmented-tab.active {
    background: #14355a;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Floating 3D QR Squircle Platter */
.cupertino-qr-platter {
    background: #ffffff;
    padding: 1.15rem;
    border-radius: 26px;
    box-shadow: 
        0 16px 36px -8px rgba(0, 0, 0, 0.22),
        0 2px 6px rgba(0, 0, 0, 0.08),
        inset 0 0 0 1px rgba(0, 0, 0, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.15rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cupertino-qr-platter:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 20px 44px -8px rgba(0, 0, 0, 0.28),
        0 2px 8px rgba(0, 0, 0, 0.1);
}

.cupertino-qr-platter #qrcode-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    padding: 0 !important;
}

.cupertino-qr-platter #qrcode-container img,
.cupertino-qr-platter #qrcode-container canvas {
    border-radius: 12px;
}

/* Tactile Passcode Capsule */
.cupertino-code-tile {
    width: 100%;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--outline);
    border-radius: 18px;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

[data-theme="dark"] .cupertino-code-tile {
    background: rgba(0, 0, 0, 0.22);
}

.cupertino-code-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--on-surface-variant);
}

.cupertino-code-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
}

.cupertino-code-val {
    font-family: var(--pluto-font-mono);
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.25em;
    color: var(--primary);
}

.cupertino-copy-btn {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--surface-container);
    border: 1px solid var(--outline);
    color: var(--on-surface-variant);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.18s ease;
}

.cupertino-copy-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--surface);
}

.cupertino-copy-btn:active {
    transform: scale(0.92);
}

/* Status Pill */
.cupertino-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    background: rgba(253, 110, 139, 0.08);
    border: 1px solid rgba(253, 110, 139, 0.25);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.15rem;
    max-width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.cupertino-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 3px rgba(253, 110, 139, 0.25);
    flex-shrink: 0;
}

/* Cupertino Action Buttons */
.cupertino-btn-primary {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #FD6E8B 0%, #e65270 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 8px 20px -3px rgba(253, 110, 139, 0.4);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cupertino-btn-primary:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px -4px rgba(253, 110, 139, 0.5);
}

.cupertino-btn-primary:active {
    transform: scale(0.97);
}

.cupertino-btn-ghost {
    background: transparent;
    border: none;
    color: var(--on-surface-variant);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.35rem;
}

.cupertino-btn-ghost:hover {
    color: var(--on-surface);
    background: rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .cupertino-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* Tactile Feature Row with iOS Switch */
.cupertino-switch-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.85rem;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--outline);
    margin-bottom: 1rem;
}

[data-theme="dark"] .cupertino-switch-row {
    background: rgba(0, 0, 0, 0.22);
}

.cupertino-switch-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.cupertino-switch-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--on-surface);
}

.cupertino-switch-sub {
    font-size: 0.6875rem;
    color: var(--on-surface-variant);
}

/* Manual Code Input Box in Scanner Mode */
.cupertino-code-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    border: 1.5px solid var(--outline);
    background: var(--surface);
    color: var(--on-surface);
    font-family: var(--pluto-font-mono);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    text-align: center;
    text-transform: uppercase;
    outline: none;
    transition: all 0.2s ease;
}

.cupertino-code-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(253, 110, 139, 0.2);
}

/* ==========================================================================
   PUBLIC CERTIFICATE VERIFICATION SECTION — ULTRA-PREMIUM CUPERTINO / LIQUID GLASS
   ========================================================================== */
.vcert-section {
    position: relative;
    padding: 7rem 1.5rem;
    background: 
        radial-gradient(circle at 50% 15%, rgba(16, 185, 129, 0.1) 0%, transparent 55%),
        radial-gradient(circle at 15% 85%, rgba(253, 110, 139, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(14, 165, 233, 0.08) 0%, transparent 45%),
        linear-gradient(180deg, #030F21 0%, #061933 45%, #051429 80%, #030C1C 100%);
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Decorative background glowing orbs */
.vcert-bg-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.vcert-orb-1 {
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, transparent 70%);
    filter: blur(60px);
}

.vcert-orb-2 {
    bottom: -60px;
    left: 8%;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(253, 110, 139, 0.14) 0%, transparent 70%);
    filter: blur(70px);
}

.vcert-orb-3 {
    top: 35%;
    right: 6%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.14) 0%, transparent 70%);
    filter: blur(65px);
}

/* Subtle grid overlay */
.vcert-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    pointer-events: none;
    z-index: 1;
}

/* Content wrapper */
.vcert-inner {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Section Header */
.vcert-header {
    text-align: center;
    margin-bottom: 3rem;
}

.vcert-shield-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 1.25rem;
}

.vcert-shield-glow {
    position: absolute;
    inset: -12px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.4) 0%, transparent 70%);
    filter: blur(14px);
    border-radius: 50%;
    z-index: 0;
    animation: vcertShieldPulse 4s ease-in-out infinite alternate;
}

@keyframes vcertShieldPulse {
    0% { transform: scale(0.95); opacity: 0.6; }
    100% { transform: scale(1.12); opacity: 1; }
}

.vcert-shield-icon {
    position: relative;
    z-index: 1;
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(16, 185, 129, 0.06) 100%);
    border: 1.5px solid rgba(16, 185, 129, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 12px 30px -4px rgba(16, 185, 129, 0.35),
        inset 0 1px 1px rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.vcert-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.38rem 1rem;
    border-radius: 9999px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1.15rem;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.15);
}

.vcert-title {
    font-family: var(--pluto-font-sans, sans-serif);
    font-size: clamp(2.1rem, 4.2vw, 3rem);
    font-weight: 900;
    line-height: 1.14;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    margin: 0 0 1rem 0;
    background: linear-gradient(180deg, #FFFFFF 20%, #E2E8F0 70%, #CBD5E1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.1);
}

.vcert-subtitle {
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.02rem;
    line-height: 1.65;
    color: rgba(226, 232, 240, 0.78);
    font-weight: 400;
}

/* Cupertino Liquid Glass Card */
.vcert-card {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    background: rgba(8, 26, 50, 0.72);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    padding: 2.25rem;
    box-shadow: 
        0 30px 70px -15px rgba(0, 0, 0, 0.65),
        0 10px 25px -5px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.vcert-card-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1.5px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 30%, rgba(16, 185, 129, 0.6) 50%, rgba(253, 110, 139, 0.4) 70%, transparent 100%);
    pointer-events: none;
}

.vcert-card-inner {
    position: relative;
    z-index: 1;
}

.vcert-input-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(226, 232, 240, 0.72);
    margin-bottom: 0.75rem;
}

.vcert-input-row {
    display: flex;
    align-items: stretch;
    gap: 0.85rem;
    background: rgba(3, 14, 30, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 0.5rem 0.55rem 0.5rem 1.15rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
}

.vcert-input-row:focus-within {
    border-color: #FD6E8B;
    background: rgba(3, 14, 30, 0.95);
    box-shadow: 
        0 0 0 4px rgba(253, 110, 139, 0.22),
        inset 0 2px 6px rgba(0, 0, 0, 0.5);
}

.vcert-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex: 1;
    min-width: 0;
}

.vcert-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--pluto-font-mono, monospace);
    font-size: 1.05rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vcert-input::placeholder {
    color: rgba(226, 232, 240, 0.38);
    font-family: var(--pluto-font-sans, sans-serif);
    font-weight: 450;
    letter-spacing: normal;
    text-transform: none;
    font-size: 0.95rem;
}

.vcert-verify-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.85rem;
    border-radius: 15px;
    border: none;
    background: linear-gradient(135deg, #FD6E8B 0%, #FF4D73 100%);
    color: #FFFFFF;
    font-family: var(--pluto-font-sans, sans-serif);
    font-size: 0.94rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 
        0 10px 24px -4px rgba(253, 110, 139, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.vcert-verify-btn:hover {
    transform: translateY(-1.5px);
    box-shadow: 
        0 14px 28px -4px rgba(253, 110, 139, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.vcert-verify-btn:active {
    transform: translateY(0);
    box-shadow: 0 6px 16px -2px rgba(253, 110, 139, 0.45);
}

.vcert-verify-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Result Area in Card */
.vcert-result-area {
    margin-top: 1.25rem;
    transition: all 0.3s ease;
}

.vcert-card #landing-cert-verify-result > div {
    background: rgba(3, 15, 33, 0.92) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 20px;
    box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.5);
}

.vcert-card #landing-cert-verify-result h3 {
    color: #FFFFFF !important;
}

.vcert-card #landing-cert-verify-result .text-on-surface {
    color: #F1F5F9 !important;
}

.vcert-card #landing-cert-verify-result .text-on-surface-variant {
    color: rgba(226, 232, 240, 0.72) !important;
}

.vcert-card #landing-cert-verify-result .border-outline {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Trust Badges */
.vcert-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    flex-wrap: wrap;
    margin-top: 2.75rem;
}

.vcert-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: rgba(226, 232, 240, 0.85);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.vcert-badge-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid;
    flex-shrink: 0;
}

.vcert-badge-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   CUSTOM CUPERTINO LIQUID GLASS POPUP: BIND EMAIL ID TO LICENSE CODE
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Modal Backdrop */
.bind-license-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(4, 15, 30, 0.68);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
}

.bind-license-modal-backdrop.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Dialog Card (Cupertino Squircle + Liquid Glass) */
.bind-license-card.cupertino-glass-dialog {
    position: relative;
    width: 100%;
    max-width: 490px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 32px 80px -12px rgba(7, 45, 89, 0.24),
        0 1px 2px rgba(0, 0, 0, 0.04),
        inset 0 1px 2px rgba(255, 255, 255, 1);
    padding: 2.25rem 2rem 2rem;
    color: #072D59;
    overflow: hidden;
    transform: scale(1);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    animation: cupertinoPopupIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cupertinoPopupIn {
    0% {
        opacity: 0;
        transform: scale(0.93) translateY(12px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Ambient Liquid Glass Glow Orbs */
.bind-card-glass-glow {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 180px;
    background: radial-gradient(circle, rgba(253, 110, 139, 0.22) 0%, rgba(255, 143, 163, 0.08) 50%, transparent 75%);
    pointer-events: none;
    z-index: 0;
    filter: blur(20px);
}

/* Close Button (Apple Frosted Squircle) */
.bind-license-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(7, 45, 89, 0.06);
    border: 1px solid rgba(7, 45, 89, 0.1);
    color: #4B607A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.bind-license-close-btn:hover {
    background: rgba(7, 45, 89, 0.12);
    color: #072D59;
    transform: scale(1.06);
}

.bind-license-close-btn:active {
    transform: scale(0.94);
}

/* Header Section */
.bind-license-header {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

/* Icon Badge */
.bind-license-icon-badge {
    position: relative;
    width: 64px;
    height: 64px;
    margin-bottom: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bind-license-icon-core {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(253, 110, 139, 0.14) 0%, rgba(255, 143, 163, 0.26) 100%);
    border: 1px solid rgba(253, 110, 139, 0.32);
    box-shadow: 
        0 10px 26px -4px rgba(253, 110, 139, 0.35),
        inset 0 1px 2px rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bind-license-icon-mini {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: linear-gradient(135deg, #FD6E8B 0%, #FF5277 100%);
    border: 2px solid #FFFFFF;
    box-shadow: 0 4px 10px rgba(253, 110, 139, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Pill Tag */
.bind-license-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 99px;
    background: rgba(253, 110, 139, 0.1);
    border: 1px solid rgba(253, 110, 139, 0.28);
    color: #FD6E8B;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.bind-pill-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FD6E8B;
    box-shadow: 0 0 8px rgba(253, 110, 139, 0.8);
    animation: bindDotPulse 2s ease-in-out infinite;
}

@keyframes bindDotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.35);
        opacity: 1;
        box-shadow: 0 0 12px rgba(253, 110, 139, 1);
    }
}

/* Title & Subtitle */
.bind-license-title {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', var(--font-heading, sans-serif);
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #072D59;
    margin: 0 0 0.45rem 0;
    line-height: 1.25;
}

.bind-license-subtitle {
    font-size: 0.88rem;
    color: #4B607A;
    line-height: 1.5;
    margin: 0;
    max-width: 390px;
}

.bind-license-subtitle strong {
    color: #072D59;
    font-weight: 700;
}

/* Target License Key Display Box */
.bind-license-key-box {
    position: relative;
    z-index: 1;
    background: rgba(240, 246, 255, 0.75);
    border: 1px solid rgba(7, 45, 89, 0.12);
    border-radius: 18px;
    padding: 0.9rem 1.15rem;
    margin-bottom: 1.35rem;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.bind-key-box-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.bind-key-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #6B7C93;
    text-transform: uppercase;
}

.bind-key-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #108A48;
}

.bind-key-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #108A48;
}

.bind-key-code-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(7, 45, 89, 0.1);
    border-radius: 12px;
    padding: 0.45rem 0.75rem;
}

.bind-key-icon-wrap {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(253, 110, 139, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bind-key-code-input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: 'SF Mono', 'JetBrains Mono', monospace;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #072D59;
    text-transform: uppercase;
    outline: none;
    min-width: 0;
}

.bind-key-plan-badge {
    padding: 3px 8px;
    border-radius: 6px;
    background: linear-gradient(135deg, #072D59 0%, #0B477D 100%);
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

/* Form Layout */
.bind-license-form {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Field Group */
.bind-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-align: left;
}

.bind-field-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    font-weight: 700;
    color: #072D59;
}

.bind-field-required {
    color: #FD6E8B;
    font-size: 0.72rem;
    font-weight: 800;
}

.bind-field-optional {
    color: #7A92A8;
    font-size: 0.72rem;
    font-weight: 500;
}

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

.bind-field-icon {
    position: absolute;
    left: 14px;
    color: #7A92A8;
    pointer-events: none;
    transition: color 0.2s ease;
}

.bind-field-input {
    width: 100%;
    height: 48px;
    padding-left: 44px;
    padding-right: 14px;
    border-radius: 14px;
    border: 1.5px solid rgba(7, 45, 89, 0.15);
    background: rgba(255, 255, 255, 0.8);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: #072D59;
    outline: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.bind-field-input:focus {
    border-color: #FD6E8B;
    background: #FFFFFF;
    box-shadow: 
        0 0 0 3.5px rgba(253, 110, 139, 0.22),
        inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.bind-field-input:focus + .bind-field-icon,
.bind-field-input-wrap:focus-within .bind-field-icon {
    color: #FD6E8B;
}

.bind-field-subtext {
    font-size: 0.72rem;
    color: #7A92A8;
    line-height: 1.35;
    margin-top: 1px;
}

/* Error Alert Box */
.bind-license-alert {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 0.65rem 0.9rem;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #DC2626;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    animation: bindShake 0.4s ease;
}

.bind-license-alert.hidden {
    display: none !important;
}

@keyframes bindShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

/* Security Policy Callout */
.bind-policy-callout {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 0.6rem 0.85rem;
    border-radius: 12px;
    background: rgba(7, 45, 89, 0.04);
    border: 1px solid rgba(7, 45, 89, 0.08);
    font-size: 0.74rem;
    color: #64748B;
    line-height: 1.4;
    text-align: left;
}

.bind-policy-callout strong {
    color: #072D59;
}

/* Action Buttons */
.bind-action-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 0.35rem;
}

.bind-btn-secondary {
    flex: 1;
    height: 48px;
    border-radius: 14px;
    background: rgba(7, 45, 89, 0.06);
    border: 1px solid rgba(7, 45, 89, 0.12);
    color: #4B607A;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.bind-btn-secondary:hover {
    background: rgba(7, 45, 89, 0.11);
    color: #072D59;
    transform: translateY(-1px);
}

.bind-btn-secondary:active {
    transform: scale(0.97);
}

.bind-btn-primary {
    flex: 2;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #FD6E8B 0%, #FF5277 100%);
    border: none;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(253, 110, 139, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.bind-btn-primary:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 8px 26px rgba(253, 110, 139, 0.52);
    filter: brightness(1.04);
}

.bind-btn-primary:active {
    transform: scale(0.98);
}

.bind-btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* ─── DARK THEME OVERRIDES ─── */
[data-theme="dark"] .bind-license-modal-backdrop {
    background: rgba(2, 8, 18, 0.78);
}

[data-theme="dark"] .bind-license-card.cupertino-glass-dialog {
    background: rgba(10, 24, 46, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 
        0 36px 90px -15px rgba(0, 0, 0, 0.75),
        inset 0 1px 1px rgba(255, 255, 255, 0.16);
    color: #F0F6FC;
}

[data-theme="dark"] .bind-license-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    color: #CBD5E1;
}

[data-theme="dark"] .bind-license-close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
}

[data-theme="dark"] .bind-license-icon-mini {
    border-color: #0A182E;
}

[data-theme="dark"] .bind-license-title {
    color: #FFFFFF;
}

[data-theme="dark"] .bind-license-subtitle {
    color: #94A3B8;
}

[data-theme="dark"] .bind-license-subtitle strong {
    color: #FFFFFF;
}

[data-theme="dark"] .bind-license-key-box {
    background: rgba(18, 38, 68, 0.65);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .bind-key-label {
    color: #94A3B8;
}

[data-theme="dark"] .bind-key-code-wrap {
    background: rgba(12, 27, 49, 0.85);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .bind-key-code-input {
    color: #FFFFFF;
}

[data-theme="dark"] .bind-field-label {
    color: #F0F6FC;
}

[data-theme="dark"] .bind-field-input {
    background: rgba(14, 30, 54, 0.75);
    border-color: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
}

[data-theme="dark"] .bind-field-input:focus {
    background: rgba(18, 38, 68, 0.95);
    border-color: #FD6E8B;
    box-shadow: 0 0 0 3.5px rgba(253, 110, 139, 0.28);
}

[data-theme="dark"] .bind-policy-callout {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    color: #94A3B8;
}

[data-theme="dark"] .bind-policy-callout strong {
    color: #FFFFFF;
}

[data-theme="dark"] .bind-btn-secondary {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.14);
    color: #CBD5E1;
}

[data-theme="dark"] .bind-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #FFFFFF;
}


