/* ═══════════════════════════════════════════════════════════
   WEBSITE STYLES
   Imports shared design variables from variables.css
═══════════════════════════════════════════════════════════ */

/* IMPORT SHARED VARIABLES & LOCAL FONTS FIRST */
@import './variables.css';
@import './fonts.css';

/* ─── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
    font-family: var(--font-primary);
    background: var(--light-bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.55;
}
a   { text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 6px; border: none; border-radius: 9px; cursor: pointer;
    font-family: var(--font-primary); font-weight: 500;
    transition: var(--transition-fast); white-space: nowrap; text-decoration: none; line-height: 1;
}
.btn-sm  { padding: 8px 16px;  font-size: 13px; }
.btn-md  { padding: 12px 22px; font-size: 14px; }
.btn-lg  { padding: 13px 28px; font-size: 15px; }

.btn-dark        { background: var(--text);  color: #fff; }
.btn-dark:hover  { background: #2a2a3a; }
.btn-ghost       { background: transparent; color: var(--text); border: 1.5px solid var(--light-border); }
.btn-ghost:hover { background: #eeeef8; }
.btn-accent      { background: var(--accent); color: #fff; }
.btn-accent:hover{ background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-accent); }
.btn-outline-w   { background: rgba(255,255,255,.08); color: rgba(255,255,255,.88); border: 1.5px solid rgba(255,255,255,.22); }
.btn-outline-w:hover { background: rgba(255,255,255,.15); color: #fff; }

.arrow { display: inline-block; transition: var(--transition-fast); }
.btn-accent:hover .arrow { transform: translateX(3px); }

/* ─── NAVIGATION ──────────────────────────────────────────── */
.site-nav {
    position: sticky; top: 0; z-index: 200;
    height: 58px;
    background: rgba(245,245,251,.93);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--light-border);
    display: flex; align-items: center;
    padding: 0 2rem; gap: 1rem;
    transition: box-shadow .3s;
}
.site-nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.07); }

.nav-logo {
    font-family: var(--font-heading); font-weight: 800; font-size: 17px;
    color: var(--text); display: flex; align-items: center; gap: 8px;
    flex-shrink: 0; white-space: nowrap; letter-spacing: -.3px;
}
.logo {
    max-width: 170px;
    max-height: 50px;
    width: 100%;
    height: auto;
    object-fit: contain;
}
.nav-links { display: flex; align-items: center; gap: 1.75rem; margin-left: 2rem; }
.nav-links a { font-size: 14px; color: #1b1919; transition: var(--transition-fast); }
.nav-links a:hover { color: var(--text); }
.nav-btns { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
    background: var(--dark);
    position: relative; overflow: hidden;
    padding: 4rem 2rem 4.5rem;
}
.hero-grid {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(108,99,255,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108,99,255,.06) 1px, transparent 1px);
    background-size: 52px 52px;
}
.hero-glow  {
    position: absolute; width: 550px; height: 550px; border-radius: 50%;
    background: radial-gradient(circle, rgba(108,99,255,.2) 0%, transparent 65%);
    top: -150px; right: -80px; pointer-events: none;
}
.hero-glow2 {
    position: absolute; width: 380px; height: 380px; border-radius: 50%;
    background: radial-gradient(circle, rgba(74,222,128,.09) 0%, transparent 65%);
    bottom: -80px; left: 80px; pointer-events: none;
}

.hero-inner {
    position: relative; z-index: 1;
    max-width: 1100px; margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Hero left text */
.hero-badge {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(108,99,255,.14); border: 1px solid rgba(108,99,255,.32);
    border-radius: 100px; padding: 5px 14px 5px 9px;
    font-size: 12px; color: rgba(200,195,255,1); font-weight: 500;
    margin-bottom: 1.25rem;
}
.badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent); flex-shrink: 0; animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.8vw, 3.4rem);
    font-weight: 800; color: #fff;
    line-height: 1.08; letter-spacing: -1.5px;
    margin-bottom: 1.1rem;
}
.hero-title .grad {
    background: var(--gradient-accent);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
    font-size: 15px; color: rgba(210,210,230,.72);
    line-height: 1.75; font-weight: 300; margin-bottom: 1.75rem;
}
.hero-sub strong { color: rgba(255,255,255,.95); font-weight: 600; }

.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 2rem; }

.hero-stats {
    display: flex; gap: 2rem; flex-wrap: wrap;
    padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.1);
}
.stat-num { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: #fff; letter-spacing: -.5px; }
.stat-lbl { font-size: 12px; color: var(--muted); margin-top: 3px; }

/* ─── HERO CARD (right column) ────────────────────────────── */
.hero-card {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius-xl); padding: 26px;
    min-width: 0;
    width: 100%;
}
.card-lbl {
    font-size: 11px; color: var(--muted); margin-bottom: 16px;
    display: flex; align-items: center; gap: 8px;
    font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px;
}
.card-lbl::before {
    content: ''; width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent2); display: inline-block; flex-shrink: 0;
    box-shadow: 0 0 6px rgba(74,222,128,.5);
}

/* ─── FORM inside dark card ───────────────────────────────── */
.field-label {
    font-size: 13px; color: rgba(220,220,245,.85);
    display: block; margin-bottom: 8px; font-weight: 400;
}

.url-input {
    width: 100%; padding: 13px 15px;
    background: rgba(255,255,255,.15);
    border: 1.5px solid rgba(255,255,255,.28);
    border-radius: var(--radius-md); color: #fff; font-size: 14px;
    font-family: var(--font-primary); outline: none;
    transition: var(--transition-fast);
    margin-bottom: 8px;
}
.url-input::placeholder { color: rgba(255,255,255,.42); }
.url-input:focus {
    border-color: var(--accent);
    background: rgba(255,255,255,.2);
    box-shadow: 0 0 0 3px rgba(108,99,255,.25);
}
.url-input.is-error { border-color: var(--danger); background: rgba(248,113,113,.08); }

.field-error { font-size: 12px; color: #fca5a5; display: block; margin-bottom: 8px; }
.limit-msg   { font-size: 12px; color: #fca5a5; margin-bottom: 10px; line-height: 1.5; }
.limit-msg a { color: #fcd34d; text-decoration: underline; }

.remaining        { font-size: 12px; color: var(--muted); text-align: right; margin-bottom: 12px; }
.remaining strong { color: rgba(255,255,255,.9); }

.submit-btn {
    width: 100%; padding: 13px; border-radius: var(--radius-md); border: none;
    background: var(--accent); color: #fff; font-size: 14px; font-weight: 600;
    cursor: pointer; font-family: var(--font-primary);
    transition: var(--transition-fast); letter-spacing: .2px;
}
.submit-btn:hover {
    background: var(--accent-hover);
    box-shadow: var(--shadow-accent);
}

/* Dark alerts */
.d-alert         { border-radius: 12px; padding: 14px 16px; font-size: 13.5px; line-height: 1.55; }
.d-alert.info    { background: rgba(59,130,246,.13); border: 1px solid rgba(59,130,246,.32); color: rgba(185,215,255,.95); }
.d-alert.warning { background: rgba(251,191,36,.11); border: 1px solid rgba(251,191,36,.32); color: rgba(255,230,150,.95); }
.d-alert.admin   { background: rgba(108,99,255,.13); border: 1px solid rgba(108,99,255,.38); color: rgba(205,200,255,.95); }
.d-alert-btns    { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.d-btn {
    display: inline-flex; align-items: center; padding: 7px 14px;
    border-radius: 8px; font-size: 12.5px; font-weight: 500;
    font-family: var(--font-primary); cursor: pointer; border: none;
    text-decoration: none; transition: var(--transition-fast);
}
.d-btn.solid         { background: var(--accent); color: #fff; }
.d-btn.solid:hover   { background: var(--accent-hover); }
.d-btn.outline       { background: transparent; border: 1px solid rgba(255,255,255,.26); color: rgba(255,255,255,.82); }
.d-btn.outline:hover { background: rgba(255,255,255,.1); color: #fff; }

/* Result row */
.result-row {
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius-md); padding: 11px 14px; margin-top: 14px; gap: 10px;
}
.result-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.short-link { font-size: 13px; color: #a5b4fc; font-family: var(--font-mono); word-break: break-all; }
.short-link:hover { color: #c4b5fd; text-decoration: underline; }

/* Copy button */
.copy-btn {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 11px; border-radius: 7px;
    border: 1px solid rgba(108,99,255,.45);
    background: rgba(108,99,255,.2); color: rgba(185,180,255,.95);
    font-size: 12px; font-weight: 500; font-family: var(--font-primary);
    cursor: pointer; transition: var(--transition-fast); white-space: nowrap;
}
.copy-btn:hover  { background: rgba(108,99,255,.35); border-color: rgba(108,99,255,.7); color: #fff; }
.copy-btn.copied { background: rgba(74,222,128,.18); border-color: rgba(74,222,128,.45); color: #4ade80; }
.copy-btn svg    { flex-shrink: 0; }

/* Decorative chart */
.mini-chart {
    display: flex; align-items: flex-end; gap: 3px; height: 28px;
    margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08);
}
.b  { border-radius: 3px 3px 0 0; background: rgba(108,99,255,.28); flex: 1; }
.bh { background: var(--accent); }
.chart-note { font-size: 11.5px; color: var(--muted); margin-top: 7px; text-align: center; }

/* ─── MOBILE FORM SECTION ─────────────────────────────────── */
.mobile-form-section {
    display: none;
    background: var(--dark);
    padding: 1.5rem 1.25rem 2.5rem;
    position: relative; z-index: 1;
}

/* ─── FEATURES ────────────────────────────────────────────── */
.features       { padding: 5.5rem 2rem; background: var(--light-bg); }
.features-inner { max-width: 1100px; margin: 0 auto; }

.sec-tag   { font-size: 11.5px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 10px; }
.sec-title { font-family: var(--font-heading); font-size: clamp(1.75rem, 2.8vw, 2.5rem); font-weight: 700; color: var(--text); letter-spacing: -.8px; margin-bottom: .8rem; line-height: 1.15; }
.sec-sub   { font-size: 15px; color: #6868a0; line-height: 1.7; font-weight: 300; max-width: 480px; }
.sec-header { margin-bottom: 2.75rem; }

.feat-grid  { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.feat-card  {
    padding: 26px; border-radius: var(--radius-lg);
    background: var(--light-surface); border: 1.5px solid var(--light-border);
    transition: var(--transition-base);
}
.feat-card:hover { border-color: #c8c8ee; transform: translateY(-3px); box-shadow: 0 10px 28px rgba(108,99,255,.09); }

.feat-icon  { width: 44px; height: 44px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; }
.ic-purple  { background: rgba(108,99,255,.12); }
.ic-green   { background: rgba(74,222,128,.12); }
.ic-blue    { background: rgba(59,130,246,.12); }
.ic-orange  { background: rgba(251,146,60,.12); }
.ic-pink    { background: rgba(236,72,153,.12); }
.ic-teal    { background: rgba(20,184,166,.12); }

.feat-h { font-family: var(--font-heading); font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.feat-p { font-size: 13.5px; color: #7878aa; line-height: 1.65; font-weight: 300; }

/* ─── HOW IT WORKS ────────────────────────────────────────── */
.how       { background: var(--dark); padding: 5.5rem 2rem; }
.how-inner { max-width: 1100px; margin: 0 auto; }
.how .sec-title { color: #fff; }
.how .sec-sub   { color: rgba(200,200,225,.65); }
.steps {
    display: grid; grid-template-columns: repeat(3,1fr);
    gap: 2.5rem; margin-top: 2.75rem; position: relative;
}
.steps::before {
    content: ''; position: absolute; top: 27px;
    left: calc(3.2% + 18px); right: calc(16.66% + 18px);
    height: 1px; background: linear-gradient(90deg, var(--accent), rgba(108,99,255,.08));
}
.step-num {
    width: 54px; height: 54px; border-radius: 14px;
    background: rgba(108,99,255,.15); border: 1px solid rgba(108,99,255,.35);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-size: 18px; font-weight: 700;
    color: var(--accent); margin-bottom: 18px; position: relative; z-index: 1;
}
.step-h { font-family: var(--font-heading); font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.step-p { font-size: 13.5px; color: rgba(200,200,225,.55); line-height: 1.7; font-weight: 300; }

/* ─── STATS STRIP ─────────────────────────────────────────── */
.stats-strip {
    background: var(--gradient-stats);
    padding: 3.5rem 2rem; overflow: hidden; position: relative;
}
.stats-strip::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 44px 44px;
}
.stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    position: relative; z-index: 1;
    max-width: 1100px; margin: 0 auto;
}
.stat-card {
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 18px; padding: 22px 18px; text-align: center;
    transition: var(--transition-base);
}
.stat-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.2); }
.stat-icon  { font-size: 26px; margin-bottom: 10px; display: block; line-height: 1; }
.stat-value { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -.5px; line-height: 1; margin-bottom: 6px; }
.stat-title { font-size: 13px; color: rgba(255,255,255,.97); font-weight: 600; margin-bottom: 4px; }
.stat-desc  { font-size: 11.5px; color: rgba(255,255,255,.68); font-weight: 300; line-height: 1.45; }

/* ─── CTA ─────────────────────────────────────────────────── */
.cta       { background: var(--dark); padding: 6.5rem 2rem; text-align: center; }
.cta-inner { max-width: 580px; margin: 0 auto; }
.cta-inner h2 { font-family: var(--font-heading); font-size: clamp(1.8rem, 3.2vw, 2.7rem); font-weight: 800; color: #fff; letter-spacing: -.8px; margin-bottom: .9rem; line-height: 1.15; }
.cta-inner p  { font-size: 15px; color: rgba(200,200,225,.65); line-height: 1.75; margin-bottom: 1.75rem; font-weight: 300; }
.cta-btns  { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ──────────────────────────────────────────────── */
.site-footer   { background: #07070f; padding: 2rem; text-align: center; border-top: 1px solid rgba(255,255,255,.06); }
.site-footer p { font-size: 13px; color: rgba(255,255,255,.3); }
.site-footer strong { color: rgba(255,255,255,.58); }

/* ═══════════════════════════════════════════════════════════
   404 PAGE STYLES
═══════════════════════════════════════════════════════════ */

.center {
    position: relative; z-index: 1;
    width: 100%;
    display: flex; flex-direction: column;
    align-items: center;
}
.center-404 {
    margin-top: -10px;
}

.big-code {
    font-family: var(--font-heading);
    font-size: clamp(7rem, 18vw, 10rem);
    font-weight: 800; line-height: .9;
    letter-spacing: -8px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 0 40px rgba(108,99,255,.25));
}

.reason-box {
    width: 100%;
    border-radius: var(--radius-lg); padding: 16px 18px;
    font-size: 14px; line-height: 1.65;
    display: flex; align-items: flex-start; gap: 12px;
    margin-bottom: 2rem; text-align: left;
}
.reason-box.expired  {
    background: rgba(251,146,60,.1);
    border: 1px solid rgba(251,146,60,.28);
    color: rgba(255,215,175,.95);
}
.reason-box.paused   {
    background: rgba(251,191,36,.1);
    border: 1px solid rgba(251,191,36,.28);
    color: rgba(255,232,155,.95);
}
.reason-box.notfound {
    background: rgba(108,99,255,.12);
    border: 1px solid rgba(108,99,255,.3);
    color: rgba(205,200,255,.95);
}
.reason-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.reason-text { flex: 1; }
.reason-text strong { display: block; font-weight: 600; margin-bottom: 3px; font-size: 14px; }

.divider {
    width: 100%; border: none;
    border-top: 1px solid rgba(255,255,255,.08);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex; gap: 12px; flex-wrap: wrap;
    justify-content: center;
}
.btn-accent {
    padding: 12px 26px; border-radius: var(--radius-md); border: none;
    background: var(--accent); color: #fff;
    font-size: 14px; font-weight: 500; cursor: pointer;
    font-family: var(--font-primary);
    transition: var(--transition-fast); text-decoration: none;
    display: inline-flex; align-items: center; gap: 7px;
}
.btn-accent:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-accent);
}
.btn-outline-w {
    padding: 12px 26px; border-radius: var(--radius-md);
    border: 1.5px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.82);
    font-size: 14px; font-weight: 500;
    font-family: var(--font-primary);
    transition: var(--transition-fast); text-decoration: none;
    display: inline-flex; align-items: center; gap: 7px;
    cursor: pointer;
}
.btn-outline-w:hover { background: rgba(255,255,255,.13); color: #fff; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
═══════════════════════════════════════════════════════════ */

/* Tablet landscape */
@media (max-width: 1024px) {
    .hero-inner   { gap: 2.5rem; }
    .hero-title   { font-size: clamp(2rem, 3.5vw, 3rem); }
    .stats-inner  { gap: 1rem; }
}

/* Tablet portrait */
@media (max-width: 900px) {
    .hero-inner          { grid-template-columns: 1fr; gap: 0; }
    .hero-card-desktop   { display: none !important; }
    .mobile-form-section { display: block; }
    .hero                { padding: 3rem 1.5rem 2.5rem; }

    .feat-grid    { grid-template-columns: repeat(2,1fr); }
    .features     { padding: 4rem 1.5rem; }

    .steps        { grid-template-columns: 1fr; gap: 1.5rem; }
    .steps::before{ display: none; }
    .how          { padding: 4rem 1.5rem; }

    .stats-inner  { grid-template-columns: repeat(2,1fr); gap: 1rem; }

    .cta          { padding: 5rem 1.5rem; }
}

/* Mobile */
@media (max-width: 600px) {
    .site-nav  { height: 54px; padding: 0 1rem; }
    .nav-logo  { font-size: 15px; }
    .nav-links { display: none; }
    .nav-btns  { gap: 7px; }
    .btn-sm    { padding: 7px 12px; font-size: 12.5px; }

    .hero        { padding: 2.5rem 1rem 2rem; }
    .hero-title  { font-size: 2.1rem; letter-spacing: -1px; }
    .hero-sub    { font-size: 14.5px; }
    .hero-badge  { font-size: 11.5px; padding: 4px 12px 4px 8px; }
    .hero-actions{ gap: 8px; }
    .btn-md      { padding: 11px 18px; font-size: 13.5px; }
    .hero-stats  { gap: 1.5rem; }
    .stat-num    { font-size: 18px; }

    .mobile-form-section {
        padding: 1.25rem 1rem 2.5rem;
    }
    .hero-card   { padding: 20px; border-radius: var(--radius-lg); }
    .url-input   { padding: 13px 14px; font-size: 14px; }
    .submit-btn  { padding: 13px; }

    .features    { padding: 3.5rem 1rem; }
    .feat-grid   { grid-template-columns: 1fr; gap: 1rem; }
    .feat-card   { padding: 20px; }

    .how         { padding: 3.5rem 1rem; }

    .stats-strip { padding: 2.5rem 1rem; }
    .stats-inner { grid-template-columns: repeat(2,1fr); gap: .875rem; }
    .stat-card   { padding: 18px 14px; border-radius: var(--radius-lg); }
    .stat-value  { font-size: 1.35rem; }
    .stat-icon   { font-size: 24px; }

    .cta         { padding: 4.5rem 1rem; }
    .btn-lg      { padding: 12px 22px; font-size: 14.5px; }

    .big-code  { font-size: clamp(5.5rem, 22vw, 7rem); letter-spacing: -5px; margin-bottom: 1.25rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .btn-accent, .btn-outline-w { justify-content: center; width: 100%; }
    .reason-box { font-size: 13.5px; }
}

/* Very small phones */
@media (max-width: 400px) {
    .hero-title  { font-size: 1.9rem; }
    .nav-logo    { font-size: 14.5px; }
    .stats-inner { grid-template-columns: 1fr; }
    .feat-grid   { grid-template-columns: 1fr; }
    .hero-stats  { gap: 1.1rem; }
    .big-code  { font-size: 5rem; letter-spacing: -4px; }
}
@media (max-width: 768px) {
    .desktop-view {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════
   PROTECTED PASSWORD PAGE
═══════════════════════════════════════════════════════════ */

.protected-page {
    position: relative;
    min-height: calc(100vh - 58px);
    background: var(--dark);
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 1.5rem;
}

.protected-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 460px;
}

.protected-card {
    padding: 32px;
}

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

.protected-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 1rem;

    font-size: 30px;

    background: var(--gradient-accent);

    box-shadow: 0 16px 35px rgba(108,99,255,.28);
}

.protected-title {
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 3vw, 2rem);
    font-weight: 800;

    color: #fff;

    letter-spacing: -1px;
    line-height: 1.1;

    margin-bottom: .55rem;
}

.protected-label {
    font-size: 11px;
    font-weight: 600;

    color: rgba(200,200,225,.7);

    text-transform: uppercase;
    letter-spacing: 1.3px;

    margin-bottom: .75rem;
}

.protected-subtitle {
    font-size: 13.5px;
    line-height: 1.6;

    color: rgba(210,210,230,.65);

    max-width: 360px;
    margin: 0 auto;
}

.password-form {
    margin-bottom: .5rem;
}

.protected-btn {
    width: 100%;
    margin-top: .5rem;
}

.protected-alert {
    margin-bottom: 1rem;
}

.protected-divider {
    height: 1px;

    margin: 1.5rem 0;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.12),
        transparent
    );
}

.protected-footer {
    display: flex;
    justify-content: center;
}

/* ─── Mobile ─────────────────────────────────────────────── */

@media (max-width: 600px) {

    .protected-page {
        padding: 1rem;
    }

    .protected-wrapper {
        max-width: 100%;
    }

    .protected-card {
        padding: 22px;
        border-radius: var(--radius-lg);
    }

    .protected-icon {
        width: 60px;
        height: 60px;
        font-size: 26px;
        border-radius: 16px;
    }

    .protected-title {
        font-size: 1.55rem;
    }

    .protected-subtitle {
        font-size: 13px;
    }
}
/* Custom Utility Classes added for Guidelines */
.text-violet { color: #a78bfa !important; }
.h-38p { height: 38% !important; }
.h-44p { height: 44% !important; }
.h-33p { height: 33% !important; }
.h-52p { height: 52% !important; }
.h-68p { height: 68% !important; }
.h-78p { height: 78% !important; }
.h-100p { height: 100% !important; }

/* Live demo banner (frontend) */
.demo-banner-frontend {
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    font-size: 13px;
    padding: 0.5rem 1rem;
    text-align: center;
}

.demo-banner-frontend a {
    color: #fff;
    text-decoration: underline;
}

.demo-banner-frontend code {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    color: #fff;
}
