/* Premium QR Codes — Signal 2027
   Original default theme layer. No templates, libraries, or copied design assets. */

:root {
    --p27-ink: #09111f;
    --p27-ink-2: #121d31;
    --p27-paper: #f5f7fb;
    --p27-white: #ffffff;
    --p27-line: #dce2ec;
    --p27-muted: #667085;
    --p27-blue: #2457ff;
    --p27-violet: #7548ff;
    --p27-mint: #35e6a3;
    --p27-coral: #ff7356;
    --p27-shadow: 0 24px 70px rgba(9, 17, 31, .11);

    --pqr-primary: var(--p27-blue);
    --pqr-primary-dark: #173bd3;
    --pqr-primary-soft: #edf1ff;
    --pqr-text: var(--p27-ink);
    --pqr-text-soft: #344054;
    --pqr-muted: var(--p27-muted);
    --pqr-border: var(--p27-line);
    --pqr-page: var(--p27-paper);
}

body.pqr-studio-page {
    color: var(--p27-ink);
    background:
        radial-gradient(circle at 7% 10%, rgba(36, 87, 255, .09), transparent 26rem),
        radial-gradient(circle at 93% 30%, rgba(117, 72, 255, .08), transparent 28rem),
        var(--p27-paper) !important;
}

body.pqr-studio-page::before {
    content: "" !important;
    display: block !important;
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .34;
    background-image:
        linear-gradient(rgba(9,17,31,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(9,17,31,.035) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, black, transparent 72%);
}

body.pqr-studio-page .container { max-width: 1240px; }

/* Header */
body.pqr-studio-page .pqr-site-header {
    position: sticky;
    top: 0;
    background: rgba(245, 247, 251, .94) !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(9, 17, 31, .09) !important;
    box-shadow: none !important;
    backdrop-filter: blur(18px) saturate(130%);
}

body.pqr-studio-page .pqr-header-inner { min-height: 78px; }

body.pqr-studio-page .pqr-brand {
    gap: 12px;
    color: var(--p27-ink) !important;
    font-size: 18px;
    letter-spacing: -.045em;
}

body.pqr-studio-page .pqr-brand-mark,
body.pqr-studio-page .pqr-footer-brand-icon {
    position: relative;
    overflow: hidden;
    color: white;
    background: linear-gradient(145deg, var(--p27-blue), var(--p27-violet)) !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 24px rgba(36, 87, 255, .24) !important;
}

body.pqr-studio-page .pqr-brand-mark::after {
    content: "";
    position: absolute;
    width: 11px;
    height: 11px;
    right: -2px;
    bottom: -2px;
    border: 3px solid var(--p27-mint);
    border-radius: 50%;
    background: var(--p27-ink);
}

body.pqr-studio-page .pqr-nav-link {
    min-height: 40px;
    padding: 9px 14px;
    color: #455066 !important;
    border-radius: 10px;
    font-size: 12px;
    letter-spacing: -.01em;
}

body.pqr-studio-page .pqr-nav-link:hover {
    color: var(--p27-ink) !important;
    border-color: #d6dce8;
    background: white;
}

body.pqr-studio-page .pqr-nav-primary {
    color: white !important;
    border-color: transparent !important;
    background: var(--p27-ink) !important;
    box-shadow: 0 9px 20px rgba(9, 17, 31, .16) !important;
}

/* Homepage hero */
body.pqr-studio-page .pqr-home-main { padding: 0 0 60px; }

body.pqr-studio-page .pqr-home-main > .container {
    max-width: 1240px !important;
}

body.pqr-studio-page .pqr-home-hero {
    position: relative;
    isolation: isolate;
    max-width: none;
    min-height: 530px;
    margin: 28px 0 54px;
    padding: clamp(66px, 8vw, 104px) clamp(24px, 7vw, 92px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    text-align: left;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 32px;
    color: white;
    background:
        radial-gradient(circle at 76% 12%, rgba(117,72,255,.65), transparent 31%),
        radial-gradient(circle at 94% 84%, rgba(36,87,255,.46), transparent 32%),
        linear-gradient(135deg, #09111f 0%, #101b33 60%, #151a42 100%);
    box-shadow: 0 32px 90px rgba(9, 17, 31, .20);
}

body.pqr-studio-page .pqr-home-hero::before,
body.pqr-studio-page .pqr-home-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

body.pqr-studio-page .pqr-home-hero::before {
    width: min(44vw, 480px);
    aspect-ratio: 1;
    right: 5%;
    top: 50%;
    transform: translateY(-50%) rotate(9deg);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 48px;
    background:
        linear-gradient(90deg, rgba(255,255,255,.09) 10%, transparent 10% 20%, rgba(255,255,255,.05) 20% 30%, transparent 30% 40%, rgba(255,255,255,.08) 40% 50%, transparent 50% 60%, rgba(255,255,255,.05) 60% 70%, transparent 70% 80%, rgba(255,255,255,.08) 80% 90%, transparent 90%),
        linear-gradient(rgba(255,255,255,.06) 10%, transparent 10% 20%, rgba(255,255,255,.08) 20% 30%, transparent 30% 40%, rgba(255,255,255,.05) 40% 50%, transparent 50% 60%, rgba(255,255,255,.09) 60% 70%, transparent 70% 80%, rgba(255,255,255,.04) 80% 90%, transparent 90%);
    box-shadow: inset 0 0 80px rgba(255,255,255,.05), 0 40px 90px rgba(0,0,0,.22);
}

body.pqr-studio-page .pqr-home-hero::after {
    width: 86px;
    height: 86px;
    right: 20%;
    top: 43%;
    border: 16px solid white;
    border-radius: 24px;
    box-shadow: 0 0 0 8px rgba(53,230,163,.92), 0 20px 50px rgba(0,0,0,.35);
    transform: rotate(9deg);
}

body.pqr-studio-page .pqr-home-eyebrow {
    position: relative;
    z-index: 2;
    margin-bottom: 22px;
    padding: 8px 13px;
    color: #cdd7ff;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.07);
    font-size: 10px;
    letter-spacing: .13em;
    text-transform: uppercase;
}

body.pqr-studio-page .pqr-home-eyebrow i { color: var(--p27-mint); }

body.pqr-studio-page .pqr-home-hero h1 {
    position: relative;
    z-index: 2;
    max-width: 690px;
    margin: 0 0 22px;
    color: white !important;
    font-size: clamp(46px, 6vw, 78px);
    line-height: .98;
    font-weight: 790;
    letter-spacing: -.065em;
}

body.pqr-studio-page .pqr-home-hero-text {
    position: relative;
    z-index: 2;
    max-width: 590px;
    margin: 0;
    color: #b8c2d8;
    font-size: 17px;
    line-height: 1.65;
}

body.pqr-studio-page .pqr-home-actions {
    position: relative;
    z-index: 2;
    justify-content: flex-start;
    margin-top: 31px;
}

body.pqr-studio-page .pqr-home-primary,
body.pqr-studio-page .pqr-social-showcase-primary {
    min-height: 51px;
    color: var(--p27-ink) !important;
    border: 0;
    border-radius: 12px;
    background: var(--p27-mint) !important;
    box-shadow: 0 13px 30px rgba(53,230,163,.22) !important;
}

body.pqr-studio-page .pqr-home-secondary {
    min-height: 51px;
    color: white;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 12px;
    background: rgba(255,255,255,.07);
    box-shadow: none;
}

body.pqr-studio-page .pqr-home-secondary:hover { color: white; background: rgba(255,255,255,.12); }

body.pqr-studio-page .pqr-home-trust {
    position: relative;
    z-index: 2;
    justify-content: flex-start;
    margin-top: 28px;
    color: #95a2bb;
    font-size: 11px;
}

body.pqr-studio-page .pqr-home-trust i { color: var(--p27-mint); }

/* Product bento */
body.pqr-studio-page .pqr-home-tools { margin: 0 0 80px; }
body.pqr-studio-page .pqr-home-tool-grid { gap: 22px; }

body.pqr-studio-page .pqr-home-tool {
    position: relative;
    min-height: 390px;
    padding: 38px;
    overflow: hidden;
    border: 1px solid var(--p27-line);
    border-radius: 24px;
    background: white;
    box-shadow: 0 18px 50px rgba(9,17,31,.07);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

body.pqr-studio-page .pqr-home-tool:hover {
    transform: translateY(-5px);
    border-color: #bac6e7;
    box-shadow: var(--p27-shadow);
}

body.pqr-studio-page .pqr-home-tool:first-child {
    color: white;
    border-color: transparent;
    background:
        radial-gradient(circle at 100% 0, rgba(117,72,255,.7), transparent 38%),
        linear-gradient(140deg, var(--p27-blue), #173bd3 78%);
}

body.pqr-studio-page .pqr-home-tool:first-child h2,
body.pqr-studio-page .pqr-home-tool:first-child p,
body.pqr-studio-page .pqr-home-tool:first-child .pqr-home-tool-link { color: white; }

body.pqr-studio-page .pqr-home-tool:first-child .pqr-home-chip {
    color: white;
    border-color: rgba(255,255,255,.17);
    background: rgba(255,255,255,.10);
}

body.pqr-studio-page .pqr-home-tool-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    color: var(--p27-blue);
    background: #edf1ff;
    box-shadow: none;
}

body.pqr-studio-page .pqr-home-tool:first-child .pqr-home-tool-icon {
    color: var(--p27-ink);
    background: var(--p27-mint);
}

body.pqr-studio-page .pqr-home-tool h2 { margin-top: 27px; font-size: 29px; letter-spacing: -.04em; }
body.pqr-studio-page .pqr-home-tool p { max-width: 500px; color: var(--p27-muted); line-height: 1.7; }
body.pqr-studio-page .pqr-home-chip { border-color: #dce2ec; background: #f7f8fb; font-size: 10px; letter-spacing: .04em; }
body.pqr-studio-page .pqr-home-tool-link { margin-top: 30px; color: var(--p27-blue); }

/* Social product showcase */
body.pqr-studio-page .pqr-social-showcase {
    margin: 0 0 80px;
    padding: clamp(34px, 5vw, 64px);
    border: 1px solid #dce2ec;
    border-radius: 28px;
    background: #eef2f8;
    box-shadow: none;
}

body.pqr-studio-page .pqr-social-showcase::before {
    background: radial-gradient(circle, rgba(36,87,255,.12), transparent 68%);
}

body.pqr-studio-page .pqr-social-showcase-eyebrow { color: var(--p27-blue); background: white; border-color: #d6dff5; }
body.pqr-studio-page .pqr-social-showcase-copy h2 { color: var(--p27-ink); font-size: clamp(34px,4vw,54px); line-height: 1.02; letter-spacing: -.055em; }
body.pqr-studio-page .pqr-social-showcase-lead { color: var(--p27-muted); }
body.pqr-studio-page .pqr-social-benefit { border-color: #d8dfeb; background: rgba(255,255,255,.72); }
body.pqr-studio-page .pqr-social-benefit-icon { color: var(--p27-blue); background: #edf1ff; }
body.pqr-studio-page .pqr-social-showcase-primary { color: var(--p27-ink) !important; }
body.pqr-studio-page .pqr-social-showcase-secondary { color: var(--p27-ink); border-color: #d3dae7; background: white; }
body.pqr-studio-page .pqr-social-browser { border-color: rgba(255,255,255,.65); border-radius: 22px; box-shadow: 0 30px 70px rgba(9,17,31,.16); }

/* Capability section */
body.pqr-studio-page .pqr-home-section { margin: 0; padding: 68px 0 20px; }
body.pqr-studio-page .pqr-home-section-head { max-width: 760px; margin-bottom: 38px; text-align: left; }
body.pqr-studio-page .pqr-home-section-head h2 { color: var(--p27-ink); font-size: clamp(34px,4.5vw,55px); line-height: 1; letter-spacing: -.055em; }
body.pqr-studio-page .pqr-home-section-head p { color: var(--p27-muted); font-size: 17px; }
body.pqr-studio-page .pqr-home-feature-grid { gap: 14px; }
body.pqr-studio-page .pqr-home-feature {
    min-height: 235px;
    padding: 28px;
    border: 1px solid var(--p27-line);
    border-radius: 20px;
    background: white;
    box-shadow: none;
}
body.pqr-studio-page .pqr-home-feature:nth-child(2) { background: #eff2ff; }
body.pqr-studio-page .pqr-home-feature:nth-child(3) { background: #eafbf5; }
body.pqr-studio-page .pqr-home-feature:nth-child(4) { background: #fff2ee; }
body.pqr-studio-page .pqr-home-feature-icon { color: var(--p27-blue); background: transparent; font-size: 24px; }
body.pqr-studio-page .pqr-home-feature h3 { color: var(--p27-ink); letter-spacing: -.025em; }
body.pqr-studio-page .pqr-home-feature p { color: var(--p27-muted); }

/* Footer */
body.pqr-studio-page .pqr-footer {
    margin-top: 68px;
    padding-top: 68px;
    color: #aab4c8;
    border-top: 0;
    background:
        radial-gradient(circle at 15% 0, rgba(36,87,255,.22), transparent 24rem),
        var(--p27-ink);
}
body.pqr-studio-page .pqr-footer-brand { color: white; }
body.pqr-studio-page .pqr-footer-description,
body.pqr-studio-page .pqr-footer-links a { color: #aab4c8; }
body.pqr-studio-page .pqr-footer-title { color: white; }
body.pqr-studio-page .pqr-footer-links a:hover { color: var(--p27-mint); }
body.pqr-studio-page .pqr-footer-bottom { color: #7f8ba2; border-top-color: rgba(255,255,255,.11); }

/* Motion and accessibility */
@keyframes p27-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
body.pqr-studio-page .pqr-home-hero > *,
body.pqr-studio-page .pqr-home-tool,
body.pqr-studio-page .pqr-social-showcase,
body.pqr-studio-page .pqr-home-feature { animation: p27-rise .7s cubic-bezier(.2,.75,.2,1) both; }
body.pqr-studio-page .pqr-home-tool:nth-child(2) { animation-delay: .08s; }
body.pqr-studio-page .pqr-home-feature:nth-child(2) { animation-delay: .05s; }
body.pqr-studio-page .pqr-home-feature:nth-child(3) { animation-delay: .1s; }
body.pqr-studio-page .pqr-home-feature:nth-child(4) { animation-delay: .15s; }

body.pqr-studio-page a:focus-visible,
body.pqr-studio-page button:focus-visible {
    outline: 3px solid var(--p27-mint);
    outline-offset: 3px;
}

@media (max-width: 991px) {
    body.pqr-studio-page .pqr-home-hero { min-height: 580px; align-items: center; text-align: center; }
    body.pqr-studio-page .pqr-home-hero::before { width: 300px; right: -120px; opacity: .35; }
    body.pqr-studio-page .pqr-home-hero::after { display: none; }
    body.pqr-studio-page .pqr-home-hero-text { margin-inline: auto; }
    body.pqr-studio-page .pqr-home-actions,
    body.pqr-studio-page .pqr-home-trust { justify-content: center; }
}

@media (max-width: 767px) {
    body.pqr-studio-page .pqr-header-inner { min-height: 68px; }
    body.pqr-studio-page .pqr-brand { font-size: 15px; }
    body.pqr-studio-page .pqr-brand-mark { width: 34px; height: 34px; }
    body.pqr-studio-page .pqr-header-nav { gap: 3px; }
    body.pqr-studio-page .pqr-nav-link { padding: 7px 9px; font-size: 0; }
    body.pqr-studio-page .pqr-nav-link i { font-size: 13px; }
    body.pqr-studio-page .pqr-nav-primary { font-size: 11px; }
    body.pqr-studio-page .pqr-home-hero { min-height: 560px; margin-top: 14px; border-radius: 22px; }
    body.pqr-studio-page .pqr-home-hero h1 { font-size: clamp(40px, 12vw, 58px); }
    body.pqr-studio-page .pqr-home-tool { min-height: auto; padding: 28px; }
    body.pqr-studio-page .pqr-social-showcase { border-radius: 22px; }
}

@media (max-width: 480px) {
    body.pqr-studio-page .pqr-header-nav .pqr-nav-link:not(.pqr-nav-primary) { display: none; }
    body.pqr-studio-page .pqr-home-hero { padding: 55px 20px; }
    body.pqr-studio-page .pqr-home-hero h1 { font-size: 40px; }
    body.pqr-studio-page .pqr-home-hero-text { font-size: 15px; }
    body.pqr-studio-page .pqr-home-actions { width: 100%; }
    body.pqr-studio-page .pqr-home-primary,
    body.pqr-studio-page .pqr-home-secondary { width: 100%; }
    body.pqr-studio-page .pqr-home-trust { display: grid; grid-template-columns: 1fr 1fr; text-align: left; }
}

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

/* Application, dashboard and routing surfaces */
body.pqr-studio-page .pqr-dashboard-main,
body.pqr-studio-page .pqr-social-builder-main,
body.pqr-studio-page main.container.py-5 {
    padding-top: clamp(34px, 5vw, 62px) !important;
    padding-bottom: 72px !important;
}

body.pqr-studio-page .pqr-dashboard-main h1,
body.pqr-studio-page .pqr-dashboard-main h2,
body.pqr-studio-page .pqr-social-builder-main h1,
body.pqr-studio-page .pqr-social-builder-main h2,
body.pqr-studio-page main.container.py-5 h1 {
    color: var(--p27-ink) !important;
    letter-spacing: -.045em;
}

body.pqr-studio-page .card,
body.pqr-studio-page .card-custom,
body.pqr-studio-page .studio-card,
body.pqr-studio-page .pqr-dashboard-card,
body.pqr-studio-page .pqr-stat-card,
body.pqr-studio-page .pqr-panel {
    border-color: var(--p27-line) !important;
    border-radius: 20px !important;
    background-color: var(--p27-white) !important;
    box-shadow: 0 16px 44px rgba(9,17,31,.07) !important;
}

body.pqr-studio-page .form-control,
body.pqr-studio-page .form-select,
body.pqr-studio-page .input-group-text {
    min-height: 46px;
    color: var(--p27-ink) !important;
    border-color: #d7deea !important;
    border-radius: 11px;
    background-color: #f9fafc !important;
}

body.pqr-studio-page .form-control:focus,
body.pqr-studio-page .form-select:focus {
    border-color: var(--p27-blue) !important;
    box-shadow: 0 0 0 4px rgba(36,87,255,.12) !important;
    background-color: white !important;
}

body.pqr-studio-page .btn-primary,
body.pqr-studio-page .btn-primary-custom,
body.pqr-studio-page .pqr-primary-action {
    border-color: var(--p27-ink) !important;
    border-radius: 11px !important;
    background: var(--p27-ink) !important;
    box-shadow: 0 10px 24px rgba(9,17,31,.16) !important;
}

body.pqr-studio-page .table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: #f6f8fb;
    color: var(--p27-ink);
}

body.pqr-studio-page .table thead th {
    padding-top: 14px;
    padding-bottom: 14px;
    color: #667085;
    border-bottom-color: #dce2ec;
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* Authentication pages receive pqr-auth-page from the site-wide installer. */
body.pqr-auth-page {
    min-height: 100vh;
    margin: 0;
    display: grid;
    place-items: center;
    padding: 32px 18px;
    color: var(--p27-ink);
    background:
        radial-gradient(circle at 13% 12%, rgba(36,87,255,.28), transparent 26rem),
        radial-gradient(circle at 88% 82%, rgba(117,72,255,.25), transparent 28rem),
        var(--p27-ink);
}

body.pqr-auth-page::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .18;
    background-image:
        linear-gradient(rgba(255,255,255,.11) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at center, black, transparent 75%);
}

body.pqr-auth-page > .container,
body.pqr-auth-page > main,
body.pqr-auth-page .auth-container {
    position: relative;
    z-index: 1;
}

body.pqr-auth-page .card,
body.pqr-auth-page form {
    border: 1px solid rgba(255,255,255,.65) !important;
    border-radius: 24px !important;
    background: white !important;
    box-shadow: 0 32px 90px rgba(0,0,0,.28) !important;
}

body.pqr-auth-page .card form { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
body.pqr-auth-page h1, body.pqr-auth-page h2, body.pqr-auth-page h3 { color: var(--p27-ink); letter-spacing: -.04em; }
body.pqr-auth-page .form-control { min-height: 48px; border-color: #d7deea; border-radius: 11px; background: #f7f9fc; }
body.pqr-auth-page .form-control:focus { border-color: var(--p27-blue); box-shadow: 0 0 0 4px rgba(36,87,255,.12); background: white; }
body.pqr-auth-page .btn-primary { min-height: 48px; border: 0; border-radius: 11px; background: linear-gradient(135deg,var(--p27-blue),var(--p27-violet)); box-shadow: 0 12px 28px rgba(36,87,255,.23); }
body.pqr-auth-page a { color: var(--p27-blue); }
