:root {
    --red: #b80f1a;
    --red-dark: #860a12;
    --yellow: #ffd21f;
    --yellow-soft: #fff5be;
    --ink: #17181d;
    --muted: #71737d;
    --line: #e7e7eb;
    --surface: #ffffff;
    --soft: #f5f5f7;
    --success: #158249;
    --shadow: 0 24px 70px rgba(23, 24, 29, .11);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--soft); }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
input, select, textarea {
    width: 100%;
    border: 1px solid #d9dae0;
    border-radius: 14px;
    background: #fff;
    min-height: 50px;
    padding: 12px 14px;
    color: var(--ink);
    outline: none;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(184, 15, 26, .09);
}
label { display: grid; gap: 7px; font-weight: 750; }
label small { color: var(--muted); font-weight: 500; }
.primary-btn, .secondary-btn {
    min-height: 50px;
    border-radius: 14px;
    padding: 0 22px;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 850;
    cursor: pointer;
    text-decoration: none;
}
.primary-btn {
    color: #fff;
    background: linear-gradient(135deg, var(--red), #e52a35);
    box-shadow: 0 14px 30px rgba(184, 15, 26, .22);
}
.primary-btn:hover { background: linear-gradient(135deg, var(--red-dark), var(--red)); }
.primary-btn:disabled { opacity: .65; cursor: wait; }
.secondary-btn { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.button-link { text-decoration: none; }
.small-button { min-height: 42px; padding: 0 16px; }
.eyebrow, .section-label {
    color: var(--red);
    font-weight: 900;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.pill {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--yellow-soft);
    color: #6e5700;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.logo-lockup { display: flex; align-items: center; gap: 12px; }
.logo-symbol {
    width: 48px; height: 48px; border-radius: 15px;
    display: grid; place-items: center;
    background: var(--red); color: #fff;
    font-size: 27px; font-weight: 950;
    box-shadow: 0 12px 28px rgba(184,15,26,.28);
}
.logo-lockup strong { display: block; letter-spacing: .09em; font-size: 19px; }
.logo-lockup span { display: block; color: rgba(255,255,255,.67); font-size: 12px; margin-top: 3px; }
.logo-lockup.dark span { color: var(--muted); }

/* Login */
.login-page {
    min-height: 100vh;
    min-height: 100svh;
    padding: clamp(16px, 3vw, 34px);
    display: grid;
    place-items: center;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 8% 12%, rgba(255, 210, 31, .18), transparent 26rem),
        radial-gradient(circle at 91% 88%, rgba(184, 15, 26, .32), transparent 30rem),
        #101116;
}
.login-shell {
    width: min(1160px, 100%);
    min-height: min(720px, calc(100svh - 40px));
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 34px 100px rgba(0,0,0,.34);
}
.login-brand-panel {
    position: relative;
    isolation: isolate;
    min-width: 0;
    padding: clamp(32px, 5vw, 64px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    background:
        linear-gradient(145deg, rgba(18,19,24,.9), rgba(17,18,22,.98)),
        #15161b;
    overflow: hidden;
}
.login-brand-panel::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: auto -160px -220px auto;
    width: 600px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184,15,26,.8), rgba(184,15,26,.16) 46%, transparent 70%);
}
.login-brand-panel::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -170px;
    right: -160px;
    width: 430px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.09);
    box-shadow: 0 0 0 58px rgba(255,255,255,.025), 0 0 0 116px rgba(255,255,255,.018);
}
.login-logo { position: relative; z-index: 1; }
.login-logo .logo-symbol {
    background: linear-gradient(145deg, var(--red), #ea3340);
    box-shadow: 0 14px 30px rgba(184,15,26,.3);
}
.login-brand-copy {
    max-width: 610px;
    position: relative;
    z-index: 1;
    padding: clamp(42px, 8vh, 92px) 0 34px;
}
.login-brand-copy h1 {
    max-width: 620px;
    margin: 18px 0 18px;
    font-size: clamp(40px, 5vw, 69px);
    line-height: .99;
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
}
.login-brand-copy p {
    max-width: 570px;
    margin: 0;
    color: rgba(255,255,255,.7);
    font-size: clamp(15px, 1.45vw, 18px);
    line-height: 1.7;
}
.login-feature-list {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.login-feature-list div {
    min-width: 0;
    padding: 15px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    background: rgba(255,255,255,.055);
    backdrop-filter: blur(8px);
}
.login-feature-list b {
    display: block;
    color: var(--yellow);
    font-size: 12px;
    letter-spacing: .08em;
    margin-bottom: 7px;
}
.login-feature-list span {
    display: block;
    color: rgba(255,255,255,.74);
    font-size: 12px;
    line-height: 1.4;
}
.login-form-panel {
    min-width: 0;
    padding: clamp(28px, 5vw, 64px);
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 100% 0, rgba(255,210,31,.14), transparent 20rem),
        linear-gradient(180deg, #fff, #f8f8fa);
}
.login-card {
    width: min(420px, 100%);
    display: grid;
    gap: 22px;
    background: transparent;
}
.mobile-login-brand { display: none; }
.login-heading h2 {
    margin: 8px 0 7px;
    font-size: clamp(36px, 4vw, 48px);
    line-height: 1;
    letter-spacing: -.035em;
}
.login-heading p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}
.login-fields { display: grid; gap: 17px; }
.login-card label { font-size: 13px; }
.login-card input {
    min-height: 56px;
    border-radius: 14px;
    font-size: 15px;
    background: rgba(255,255,255,.96);
}
.password-field { position: relative; }
.password-field input { padding-right: 76px; }
.password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    min-width: 58px;
    min-height: 38px;
    border: 0;
    border-radius: 10px;
    color: var(--red);
    background: #fff2f3;
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
}
.login-submit { width: 100%; min-height: 56px; }
.login-security-note {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    text-align: center;
}
.login-security-note > span { color: var(--success); font-size: 10px; }
.login-security-note small { line-height: 1.5; }
.login-card .alert { margin: 0; }

/* Survey */
.survey-page {
    min-height: 100vh;
    background:
      radial-gradient(circle at 10% 10%, rgba(255,210,31,.18), transparent 22rem),
      linear-gradient(180deg, #fff 0%, #f4f4f7 100%);
}
.survey-topbar {
    min-height: 78px;
    padding: 14px clamp(18px,4vw,54px);
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(255,255,255,.92);
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 20;
    backdrop-filter: blur(14px);
}
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-right > a { color: var(--muted); font-size: 13px; font-weight: 800; text-decoration: none; }
.staff-chip { border-right: 1px solid var(--line); padding-right: 18px; text-align: right; }
.staff-chip span { display: block; font-weight: 850; }
.staff-chip small { color: var(--muted); }
.progress-line {
    height: 5px; background: #ececef;
    position: sticky; top: 78px; z-index: 19;
}
.progress-line span {
    display: block; height: 100%; width: 0;
    background: linear-gradient(90deg, var(--red), #f34550);
    transition: width .3s ease;
}
.survey-container { width: min(920px, calc(100% - 28px)); margin: 0 auto; padding: 34px 0 40px; }
.survey-intro { text-align: center; margin: 0 auto 25px; max-width: 760px; }
.survey-intro h1 { font-size: clamp(32px,5vw,54px); line-height: 1.05; margin: 17px 0 10px; letter-spacing: -.035em; }
.survey-intro p { color: var(--muted); font-size: 16px; line-height: 1.6; }
.survey-step {
    min-height: 460px;
    display: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: clamp(26px,5vw,48px);
    box-shadow: var(--shadow);
    animation: reveal .25s ease;
}
.survey-step.active { display: block; }
@keyframes reveal { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
.step-badge {
    width: 46px; height: 46px; display: grid; place-items: center;
    background: var(--yellow); color: #2b2300;
    border-radius: 50%; font-weight: 950; float: right;
}
.step-category {
    color: var(--red); font-size: 12px; font-weight: 900;
    letter-spacing: .08em; text-transform: uppercase; margin-top: 6px;
}
.survey-step h2 {
    font-size: clamp(27px,4vw,40px);
    line-height: 1.14; letter-spacing: -.025em;
    margin: 14px 70px 28px 0;
}
.large-input { font-size: 18px; min-height: 62px; border-radius: 17px; }
.large-input.textarea { min-height: 170px; }
.option-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.service-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
.option-card { position: relative; cursor: pointer; }
.option-card input { position: absolute; opacity: 0; pointer-events: none; }
.option-card span {
    min-height: 62px; padding: 15px 17px;
    border: 1.5px solid #dedfe5; border-radius: 16px;
    display: flex; align-items: center;
    background: #fff; transition: .16s ease;
}
.option-card:hover span { border-color: #bbbcc4; transform: translateY(-1px); }
.option-card input:checked + span {
    border-color: var(--red);
    background: #fff3f4;
    box-shadow: inset 0 0 0 1px var(--red);
}
.option-card input:focus-visible + span { outline: 4px solid rgba(184,15,26,.12); }
.survey-navigation {
    display: grid; grid-template-columns: 1fr auto 1fr;
    align-items: center; gap: 14px; margin-top: 20px;
}
.survey-navigation .secondary-btn { justify-self: start; }
.survey-navigation .primary-btn { justify-self: end; }
.question-counter { color: var(--muted); font-weight: 850; }
#submitButton { display: none; }
.form-error { min-height: 23px; text-align: center; color: var(--red); font-weight: 800; }

/* Admin */
.admin-page { background:#f3f3f6; min-height:100vh; }
.admin-sidebar {
    width:270px; position:fixed; inset:0 auto 0 0;
    background:#15161b; color:#fff; padding:24px 18px;
    display:flex; flex-direction:column; z-index:50;
}
.sidebar-logo { padding:4px 8px 24px; border-bottom:1px solid rgba(255,255,255,.08); }
.admin-nav { display:grid; gap:6px; padding:22px 0; }
.admin-nav a {
    color:rgba(255,255,255,.68); text-decoration:none;
    padding:13px 14px; border-radius:12px; font-weight:750; font-size:14px;
}
.admin-nav a:hover, .admin-nav a.active { background:rgba(255,255,255,.09); color:#fff; }
.admin-nav a.active { box-shadow:inset 3px 0 0 var(--yellow); }
.sidebar-footer {
    margin-top:auto; padding:18px 10px 4px; border-top:1px solid rgba(255,255,255,.08);
}
.sidebar-footer span,.sidebar-footer small { display:block; }
.sidebar-footer small { color:rgba(255,255,255,.48); margin:3px 0 13px; }
.sidebar-footer a { color:var(--yellow); font-size:13px; font-weight:800; }
.admin-main { margin-left:270px; min-height:100vh; }
.admin-header {
    min-height:98px; background:#fff; border-bottom:1px solid var(--line);
    padding:18px clamp(22px,4vw,48px); display:flex; align-items:center; justify-content:space-between;
    position:sticky; top:0; z-index:30;
}
.admin-header h1 { margin:4px 0 0; font-size:32px; letter-spacing:-.025em; }
.header-actions { display:flex; gap:10px; }
.menu-toggle { display:none; border:0; background:transparent; font-size:25px; }
.admin-content { padding:28px clamp(20px,4vw,44px) 50px; }
.metric-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:15px; }
.metric-card {
    min-height:155px; border-radius:21px; padding:22px;
    display:flex; flex-direction:column; justify-content:space-between;
    border:1px solid var(--line); box-shadow:0 13px 34px rgba(22,23,28,.05);
}
.metric-card span { font-weight:800; font-size:13px; }
.metric-card strong { font-size:44px; line-height:1; }
.metric-card small { opacity:.66; }
.metric-card.red { background:linear-gradient(145deg,var(--red),#e4313c); color:#fff; border:0; }
.metric-card.yellow { background:linear-gradient(145deg,#ffd21f,#ffeb86); }
.metric-card.dark { background:linear-gradient(145deg,#1a1b21,#353741); color:#fff; border:0; }
.metric-card.light { background:#fff; }
.dashboard-columns { display:grid; grid-template-columns:1.15fr .85fr; gap:16px; margin:16px 0; }
.content-card {
    background:#fff; border:1px solid var(--line); border-radius:21px;
    padding:22px; box-shadow:0 13px 34px rgba(22,23,28,.045);
}
.card-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin-bottom:20px; }
.card-heading h2 { margin:4px 0 0; font-size:24px; }
.text-link { color:var(--red); font-weight:850; font-size:13px; text-decoration:none; }
.data-bar { margin:16px 0; }
.data-bar > div:first-child { display:flex; justify-content:space-between; gap:16px; font-size:14px; margin-bottom:8px; }
.data-track { height:11px; background:#eeeef1; border-radius:999px; overflow:hidden; }
.data-track span { display:block; height:100%; border-radius:999px; background:linear-gradient(90deg,var(--red),#ed4650); }
.data-track.dark-track span { background:linear-gradient(90deg,#24262d,#72757f); }
.empty-state { color:var(--muted); }
.table-wrap { overflow:auto; }
.data-table { width:100%; border-collapse:collapse; font-size:14px; }
.data-table th, .data-table td { text-align:left; padding:13px 11px; border-bottom:1px solid var(--line); vertical-align:top; white-space:nowrap; }
.data-table th { color:var(--muted); font-size:11px; letter-spacing:.06em; text-transform:uppercase; }
.data-table td small { display:block; color:var(--muted); margin-top:4px; }
.table-action { color:var(--red); font-weight:850; text-decoration:none; }
.alert { padding:14px 16px; border-radius:14px; margin-bottom:16px; }
.alert.success { background:#e8f8ef; color:#106b3b; }
.alert.error { background:#fff0f1; color:#9d1119; }
.split-layout { display:grid; grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr); gap:17px; align-items:start; }
.split-layout.wide-left { grid-template-columns:minmax(340px,.85fr) minmax(0,1.15fr); }
.sticky-card { position:sticky; top:126px; }
.cms-form { display:grid; gap:15px; }
.compact-form { padding:17px 0; }
.switch-line { display:flex; align-items:center; gap:10px; }
.switch-line input { width:auto; min-height:auto; }
.count-chip {
    border-radius:999px; background:var(--soft); padding:8px 12px;
    color:var(--muted); font-size:12px; font-weight:850;
}
.user-list,.category-list,.question-editor-list { display:grid; gap:12px; }
.user-card {
    display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:14px;
    align-items:center; padding:17px; border:1px solid var(--line); border-radius:17px;
}
.avatar {
    width:46px; height:46px; border-radius:14px; background:var(--yellow);
    display:grid; place-items:center; font-weight:950;
}
.user-info strong,.user-info span,.user-info small { display:block; }
.user-info span { color:var(--muted); font-size:13px; margin:3px 0; }
.user-info small { color:#92949c; }
.status-badge {
    padding:7px 10px; border-radius:999px; font-size:11px; font-weight:900;
    text-transform:uppercase; letter-spacing:.05em;
}
.status-badge.active { color:#0e6b3a; background:#e8f8ef; }
.status-badge.inactive { color:#8c3b00; background:#fff0dc; }
.user-actions { grid-column:2 / -1; display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.mini-button {
    min-height:36px; padding:0 12px; border-radius:10px;
    border:1px solid var(--line); background:#fff; cursor:pointer; font-weight:800; font-size:12px;
}
.mini-button.danger { color:#a0121b; background:#fff4f4; border-color:#ffd7da; }
.inline-details summary { cursor:pointer; font-size:12px; font-weight:800; color:var(--red); }
.inline-details form { display:flex; gap:7px; margin-top:8px; }
.inline-details input { min-height:36px; width:190px; }
.editor-card { border:1px solid var(--line); border-radius:17px; padding:0 16px; }
.editor-card > summary {
    cursor:pointer; list-style:none; display:flex; justify-content:space-between;
    align-items:center; gap:16px; padding:17px 0;
}
.editor-card summary::-webkit-details-marker { display:none; }
.editor-card summary strong,.editor-card summary small { display:block; }
.editor-card summary small { color:var(--muted); margin-top:4px; }
.editor-summary { min-width:0; }
.editor-summary > span { color:var(--red); font-weight:850; font-size:11px; text-transform:uppercase; letter-spacing:.05em; }
.editor-summary strong { margin:5px 0; }
.filter-bar {
    display:grid; grid-template-columns:1.7fr 1fr auto auto auto auto;
    gap:10px; align-items:end; margin-bottom:18px;
}
.filter-bar input,.filter-bar select,.filter-bar .secondary-btn { min-height:44px; }
.response-summary { display:flex; align-items:baseline; gap:8px; margin-bottom:10px; }
.response-summary strong { font-size:26px; }
.response-summary span { color:var(--muted); }
.response-profile { display:grid; grid-template-columns:.8fr 1.2fr; gap:16px; margin-bottom:16px; }
.profile-hero {
    color:#fff; border-radius:22px; padding:27px;
    background:
      radial-gradient(circle at 85% 15%, rgba(255,210,31,.28), transparent 11rem),
      linear-gradient(145deg,#17181e,#30323b);
}
.profile-hero h2 { font-size:34px; margin:10px 0 5px; }
.profile-hero p { color:rgba(255,255,255,.65); }
.profile-chips { display:flex; gap:7px; flex-wrap:wrap; margin-top:22px; }
.profile-chips span { padding:7px 9px; background:rgba(255,255,255,.1); border-radius:9px; font-size:12px; }
.profile-meta { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.profile-meta div { padding:15px; border-radius:14px; background:var(--soft); }
.profile-meta span,.profile-meta strong { display:block; }
.profile-meta span { color:var(--muted); font-size:12px; margin-bottom:6px; }
.answer-list { display:grid; gap:12px; }
.answer-card { padding:18px; border:1px solid var(--line); border-radius:17px; }
.answer-card span { color:var(--red); font-size:11px; text-transform:uppercase; font-weight:900; letter-spacing:.06em; }
.answer-card h3 { margin:7px 0 10px; font-size:17px; }
.answer-card p { margin:0; color:#4c4e56; line-height:1.6; }
.narrow-card { max-width:640px; }

@media (max-width: 1080px) {
    .metric-grid { grid-template-columns:repeat(2,1fr); }
    .filter-bar { grid-template-columns:1fr 1fr; }
    .login-layout { grid-template-columns:1fr; }
    .login-visual { min-height:560px; }
}
@media (max-width: 820px) {
    .admin-sidebar { transform:translateX(-100%); transition:.22s ease; }
    .sidebar-open .admin-sidebar { transform:translateX(0); }
    .admin-main { margin-left:0; }
    .menu-toggle { display:block; }
    .admin-header { justify-content:flex-start; gap:16px; }
    .header-actions { margin-left:auto; }
    .dashboard-columns,.split-layout,.split-layout.wide-left,.response-profile { grid-template-columns:1fr; }
    .sticky-card { position:static; }
    .visual-stats { flex-wrap:wrap; }
}
@media (max-width: 650px) {
    .survey-topbar { align-items:flex-start; }
    .staff-chip { display:none; }
    .topbar-right { gap:10px; padding-top:11px; }
    .survey-step { min-height:510px; padding:24px 18px; }
    .option-grid,.service-options { grid-template-columns:1fr; }
    .survey-navigation { grid-template-columns:1fr auto 1fr; }
    .metric-grid { grid-template-columns:1fr; }
    .profile-meta { grid-template-columns:1fr; }
    .user-card { grid-template-columns:auto 1fr; }
    .user-card > .status-badge { grid-column:2; justify-self:start; }
    .user-actions { grid-column:1 / -1; }
    .filter-bar { grid-template-columns:1fr; }
    .login-visual { padding:28px 22px; min-height:620px; }
    .visual-copy h1 { font-size:46px; }
    .visual-stats div { min-width:calc(50% - 8px); }
}

/* Login responsive fixes */
@media (max-width: 980px) {
    .login-page { padding: 18px; align-items: start; }
    .login-shell {
        min-height: auto;
        grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
    }
    .login-brand-panel { padding: 34px; }
    .login-brand-copy { padding: 56px 0 30px; }
    .login-brand-copy h1 { font-size: clamp(38px, 6vw, 52px); }
    .login-feature-list { grid-template-columns: 1fr; }
    .login-feature-list div { padding: 11px 13px; }
    .login-feature-list b, .login-feature-list span { display: inline; }
    .login-feature-list b { margin-right: 8px; }
    .login-form-panel { padding: 38px 30px; }
}

@media (max-width: 760px) {
    .login-page {
        padding: 0;
        place-items: stretch;
        background: #f7f7f9;
    }
    .login-shell {
        width: 100%;
        min-height: 100vh;
        min-height: 100svh;
        display: block;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .login-brand-panel { display: none; }
    .login-form-panel {
        min-height: 100vh;
        min-height: 100svh;
        padding: max(26px, env(safe-area-inset-top)) 22px max(26px, env(safe-area-inset-bottom));
        align-content: center;
    }
    .login-card { width: min(440px, 100%); gap: 20px; }
    .mobile-login-brand {
        display: flex;
        align-items: center;
        gap: 11px;
        margin-bottom: 14px;
    }
    .mobile-login-brand .logo-symbol { width: 45px; height: 45px; border-radius: 14px; }
    .mobile-login-brand strong { display: block; letter-spacing: .08em; }
    .mobile-login-brand span { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
    .login-heading h2 { font-size: 42px; }
}

@media (max-width: 380px) {
    .login-form-panel { padding-left: 16px; padding-right: 16px; }
    .login-heading h2 { font-size: 37px; }
}

/* Question requirement controls — v2.2 */
.question-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 17px;
}
.question-summary-grid article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 12px 30px rgba(22, 23, 28, .04);
}
.question-summary-grid span,
.question-summary-grid strong,
.question-summary-grid small { display: block; }
.question-summary-grid span { color: var(--muted); font-size: 12px; font-weight: 800; }
.question-summary-grid strong { font-size: 30px; margin: 7px 0 2px; }
.question-summary-grid small { color: var(--muted); font-size: 11px; }
.question-summary-grid .mandatory-summary { border-top: 4px solid var(--red); }
.question-summary-grid .optional-summary { border-top: 4px solid var(--yellow); }
.editor-badges { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.requirement-badge {
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.requirement-badge.mandatory { color: #fff; background: var(--red); }
.requirement-badge.optional { color: #654f00; background: var(--yellow-soft); }
.filter-tabs { display: inline-flex; gap: 5px; padding: 4px; border-radius: 12px; background: var(--soft); }
.filter-tabs a {
    padding: 8px 10px;
    border-radius: 9px;
    text-decoration: none;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}
.filter-tabs a.active { color: #fff; background: var(--ink); }
.answer-card .answer-requirement { display: inline-flex; margin-left: 8px; }
@media (max-width: 900px) {
    .question-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .question-bank-heading { align-items: stretch; flex-direction: column; }
    .filter-tabs { align-self: flex-start; }
}
@media (max-width: 560px) {
    .question-summary-grid { grid-template-columns: 1fr 1fr; }
    .editor-card > summary { align-items: flex-start; }
    .editor-badges { flex-direction: column; align-items: flex-end; }
}


/* Analytics and login/session reporting — v2.3 */
.analytics-filter-card { margin-bottom: 16px; }
.analytics-filter {
    grid-template-columns: repeat(3, minmax(170px, 1fr)) auto auto;
    align-items: end;
    margin-bottom: 0;
}
.analytics-filter label {
    color: var(--muted);
    font-size: 12px;
}
.analytics-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}
.analytics-metric-grid article {
    min-height: 132px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 19px;
    box-shadow: 0 12px 30px rgba(22,23,28,.045);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.analytics-metric-grid article:first-child {
    color: #fff;
    border: 0;
    background: linear-gradient(145deg, var(--red), #e6313c);
}
.analytics-metric-grid span,
.analytics-metric-grid strong,
.analytics-metric-grid small { display: block; }
.analytics-metric-grid span { font-size: 12px; font-weight: 850; }
.analytics-metric-grid strong { font-size: 38px; line-height: 1; }
.analytics-metric-grid small { color: var(--muted); }
.analytics-metric-grid article:first-child small { color: rgba(255,255,255,.72); }

.trend-list { display: grid; gap: 12px; }
.trend-row {
    display: grid;
    grid-template-columns: 100px minmax(100px, 1fr) 44px;
    gap: 12px;
    align-items: center;
    font-size: 13px;
}
.trend-track,
.distribution-track {
    height: 11px;
    background: #efeff2;
    border-radius: 999px;
    overflow: hidden;
}
.trend-track b,
.distribution-track b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--red), #ef4651);
}

.question-analytics-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.analytics-question-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 19px;
    background: linear-gradient(180deg, #fff, #fafafd);
}
.analytics-question-card h3 {
    margin: 7px 0 18px;
    font-size: 17px;
    line-height: 1.4;
}
.distribution-row { margin: 13px 0; }
.distribution-row > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 7px;
    font-size: 13px;
}
.distribution-row strong { white-space: nowrap; }

.device-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 10px;
}
.device-summary-grid article {
    padding: 17px;
    border-radius: 16px;
    background: var(--soft);
    text-align: center;
}
.device-summary-grid span,
.device-summary-grid strong { display: block; }
.device-summary-grid span { color: var(--muted); font-size: 12px; }
.device-summary-grid strong { margin-top: 7px; font-size: 30px; }

.performance-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
}
.performance-card {
    border: 1px solid var(--line);
    border-radius: 19px;
    padding: 19px;
    background: #fff;
}
.performance-card-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
}
.performance-card-head h3 { margin: 0 0 3px; font-size: 18px; }
.performance-card-head > div:nth-child(2) > span { color: var(--muted); font-size: 12px; }
.performance-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 8px;
    margin: 17px 0;
}
.performance-stat-grid div {
    padding: 12px 9px;
    border-radius: 13px;
    background: var(--soft);
    text-align: center;
}
.performance-stat-grid span,
.performance-stat-grid strong { display: block; }
.performance-stat-grid span { color: var(--muted); font-size: 10px; min-height: 28px; }
.performance-stat-grid strong { margin-top: 5px; font-size: 23px; }
.performance-meta {
    display: grid;
    gap: 5px;
    margin-bottom: 13px;
    color: #656770;
    font-size: 12px;
    line-height: 1.45;
}
.session-status {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
    background: #eef0f4;
    color: #555861;
}
.session-status.active { background: #e7f8ef; color: #0f6b3b; }
.session-status.logged_out { background: #eaf2ff; color: #24569a; }
.session-status.replaced { background: #fff0d9; color: #8a5100; }
.session-status.expired { background: #fff0f1; color: #9d1119; }

.answer-card > small {
    display: block;
    color: var(--muted);
    margin-top: 11px;
}

.data-bar small {
    color: var(--muted);
    margin-left: 5px;
    font-weight: 600;
}

@media (max-width: 1100px) {
    .analytics-metric-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .performance-card-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
    .analytics-filter { grid-template-columns: 1fr 1fr; }
    .question-analytics-grid { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
    .analytics-metric-grid { grid-template-columns: 1fr; }
    .analytics-filter { grid-template-columns: 1fr; }
    .trend-row { grid-template-columns: 86px minmax(80px,1fr) 35px; gap: 8px; }
    .device-summary-grid { grid-template-columns: 1fr 1fr; }
    .performance-card-head { grid-template-columns: auto 1fr; }
    .performance-card-head .status-badge { grid-column: 2; justify-self: start; }
    .performance-stat-grid { grid-template-columns: 1fr 1fr; }
}

/* Redesigned thank-you and QR download page — v2.4 */
.completion-page-v24 {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: clamp(18px, 3vw, 38px);
    background:
        radial-gradient(circle at 8% 14%, rgba(255, 210, 31, .25), transparent 24rem),
        radial-gradient(circle at 91% 83%, rgba(184, 15, 26, .24), transparent 27rem),
        linear-gradient(145deg, #f7f7f9 0%, #ececf1 100%);
}

.completion-shell {
    width: min(1060px, 100%);
    min-height: min(720px, calc(100vh - 48px));
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 32px;
    background: #fff;
    box-shadow: 0 34px 100px rgba(22, 23, 29, .16);
}

.completion-message-panel,
.completion-download-panel {
    padding: clamp(30px, 5vw, 60px);
}

.completion-message-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    background:
        radial-gradient(circle at 90% 12%, rgba(255, 210, 31, .16), transparent 17rem),
        #fff;
}

.completion-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: clamp(32px, 7vh, 66px);
}

.completion-brand strong,
.completion-brand span {
    display: block;
}

.completion-brand strong {
    font-size: 18px;
    letter-spacing: .09em;
}

.completion-brand span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
}

.completion-page-v24 .completion-icon {
    width: 74px;
    height: 74px;
    margin: 0 0 20px;
    border: 1px solid #c7efd9;
    box-shadow: 0 16px 32px rgba(21, 130, 73, .13);
}

.completion-message-panel h1 {
    max-width: 620px;
    margin: 18px 0 14px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.completion-lead {
    max-width: 600px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.reference-block {
    display: inline-grid;
    gap: 5px;
    margin: 24px 0;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--soft);
}

.reference-block span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.reference-block strong {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 15px;
}

.manual-close-note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    width: 100%;
    max-width: 610px;
    margin-top: auto;
    padding: 16px;
    border: 1px solid #ffe3a8;
    border-radius: 16px;
    background: #fff9e9;
}

.manual-close-icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--yellow);
    font-size: 20px;
    font-weight: 900;
}

.manual-close-note strong,
.manual-close-note p {
    display: block;
}

.manual-close-note p {
    margin: 3px 0 0;
    color: #6f6547;
    font-size: 13px;
    line-height: 1.45;
}

.completion-close-button {
    width: 100%;
    max-width: 610px;
    margin-top: 12px;
}

.close-help {
    width: 100%;
    max-width: 610px;
    margin: 10px 0 0;
    color: var(--red);
    font-size: 12px;
    font-weight: 750;
    text-align: center;
}

.completion-download-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(circle at 90% 8%, rgba(255, 210, 31, .20), transparent 15rem),
        radial-gradient(circle at 6% 90%, rgba(184, 15, 26, .45), transparent 19rem),
        linear-gradient(155deg, #17181e 0%, #252731 100%);
}

.download-eyebrow {
    color: var(--yellow);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.completion-download-panel h2 {
    margin: 9px 0 7px;
    font-size: clamp(31px, 4vw, 45px);
    letter-spacing: -.035em;
}

.completion-download-panel > p {
    max-width: 390px;
    margin: 0;
    color: rgba(255,255,255,.66);
    line-height: 1.55;
}

.qr-frame {
    width: min(310px, 82vw);
    margin: 25px auto 20px;
    padding: 16px;
    border-radius: 27px;
    background: #fff;
    box-shadow:
        0 22px 56px rgba(0,0,0,.32),
        0 0 0 8px rgba(255,255,255,.075);
}

.qr-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 13px;
}

.qr-instructions {
    width: 100%;
    max-width: 370px;
    display: grid;
    grid-template-columns: 27px 1fr;
    gap: 8px 11px;
    text-align: left;
}

.qr-instructions span {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(255, 210, 31, .15);
    color: var(--yellow);
    font-size: 12px;
    font-weight: 900;
}

.qr-instructions p {
    margin: 3px 0 0;
    color: rgba(255,255,255,.72);
    font-size: 13px;
}

.next-survey-area {
    width: 100%;
    margin-top: auto;
    padding-top: 24px;
}

.next-survey-area > p {
    margin: 0 0 10px;
    color: rgba(255,255,255,.58);
    font-size: 12px;
}

.next-survey-button {
    width: 100%;
    min-height: 56px;
}

@media (max-width: 900px) {
    .completion-shell {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .completion-message-panel {
        min-height: 580px;
    }

    .completion-download-panel {
        min-height: 690px;
    }
}

@media (max-width: 560px) {
    .completion-page-v24 {
        display: block;
        padding: 0;
        background: #fff;
    }

    .completion-shell {
        width: 100%;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .completion-message-panel,
    .completion-download-panel {
        padding: 28px 20px;
    }

    .completion-message-panel {
        min-height: 620px;
    }

    .completion-download-panel {
        min-height: 710px;
    }

    .completion-brand {
        margin-bottom: 38px;
    }

    .completion-message-panel h1 {
        font-size: 42px;
    }

    .qr-frame {
        width: min(300px, 84vw);
    }
}



/* Single and multiple answer selection — v2.5 */
.selection-hint {
    margin: -12px 0 17px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.multi-validator {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 1px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.multiple-option span::after {
    content: "✓";
    width: 25px;
    height: 25px;
    margin-left: auto;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid #d7d8de;
    border-radius: 8px;
    color: transparent;
    background: #fff;
    font-size: 14px;
    font-weight: 950;
    transition: .16s ease;
}

.multiple-option input:checked + span::after {
    color: #fff;
    border-color: var(--red);
    background: var(--red);
}

/* ============================================================
   EGARAGI PUBLIC MAIN-DOMAIN WEBSITE — v2.6
   ============================================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.public-site {
    --public-red: #b80f1a;
    --public-red-bright: #e32632;
    --public-yellow: #ffd21f;
    --public-dark: #121318;
    --public-text: #17181d;
    --public-muted: #6e7079;
    --public-border: #e9e9ed;
    margin: 0;
    color: var(--public-text);
    background: #fff;
    overflow-x: hidden;
}

.public-header {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 82px;
    border-bottom: 1px solid rgba(231,231,235,.92);
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(16px);
}

.public-header-inner {
    width: min(1240px, calc(100% - 36px));
    min-height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.public-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--public-text);
    text-decoration: none;
}

.public-brand-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(145deg, var(--public-red), var(--public-red-bright));
    box-shadow: 0 12px 28px rgba(184,15,26,.22);
    font-size: 26px;
    font-weight: 950;
}

.public-brand-copy strong,
.public-brand-copy small {
    display: block;
}

.public-brand-copy strong {
    font-size: 19px;
    letter-spacing: .1em;
}

.public-brand-copy small {
    margin-top: 2px;
    color: var(--public-muted);
    font-size: 11px;
}

.public-navigation {
    display: flex;
    align-items: center;
    gap: clamp(15px, 2vw, 28px);
}

.public-navigation > a {
    color: #484a52;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: color .16s ease;
}

.public-navigation > a:hover {
    color: var(--public-red);
}

.public-navigation .public-login-link {
    padding: 11px 15px;
    border: 1px solid var(--public-border);
    border-radius: 12px;
    color: var(--public-text);
    background: #fff;
}

.public-navigation .public-download-button {
    padding: 12px 17px;
    border-radius: 12px;
    color: #fff;
    background: var(--public-red);
    box-shadow: 0 10px 24px rgba(184,15,26,.18);
}

.public-navigation .public-download-button:hover {
    color: #fff;
    background: var(--public-red-bright);
}

.public-menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--public-border);
    border-radius: 13px;
    background: #fff;
    cursor: pointer;
}

.public-menu-toggle > span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 99px;
    background: var(--public-text);
}

.public-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 9% 9%, rgba(255,210,31,.2), transparent 25rem),
        radial-gradient(circle at 90% 73%, rgba(184,15,26,.16), transparent 27rem),
        linear-gradient(180deg, #fff 0%, #f7f7f9 100%);
}

.public-hero::after {
    content: "";
    position: absolute;
    inset: auto -180px -280px auto;
    width: 720px;
    height: 720px;
    border: 1px solid rgba(184,15,26,.08);
    border-radius: 50%;
    box-shadow: 0 0 0 90px rgba(184,15,26,.025), 0 0 0 180px rgba(184,15,26,.015);
}

.hero-grid {
    width: min(1240px, calc(100% - 36px));
    min-height: 760px;
    margin: 0 auto;
    padding: clamp(55px, 8vw, 105px) 0;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(430px, .96fr);
    align-items: center;
    gap: clamp(40px, 7vw, 100px);
    position: relative;
    z-index: 1;
}

.hero-copy {
    max-width: 700px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #6a5600;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hero-kicker i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--public-yellow);
    box-shadow: 0 0 0 6px rgba(255,210,31,.2);
}

.hero-copy h1 {
    max-width: 760px;
    margin: 22px 0 22px;
    font-size: clamp(54px, 7.4vw, 98px);
    line-height: .92;
    letter-spacing: -.058em;
}

.hero-copy h1 em {
    display: block;
    color: var(--public-red);
    font-style: normal;
}

.hero-copy > p {
    max-width: 650px;
    margin: 0;
    color: var(--public-muted);
    font-size: clamp(17px, 1.55vw, 20px);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 34px;
}

.hero-primary-action,
.hero-secondary-action {
    min-height: 56px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border-radius: 15px;
    font-weight: 900;
    text-decoration: none;
}

.hero-primary-action {
    color: #fff;
    background: linear-gradient(135deg, var(--public-red), var(--public-red-bright));
    box-shadow: 0 16px 34px rgba(184,15,26,.22);
}

.hero-primary-action span {
    font-size: 20px;
}

.hero-secondary-action {
    border: 1px solid var(--public-border);
    color: var(--public-text);
    background: #fff;
}

.hero-trust-row {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 14px;
}

.hero-trust-row div {
    padding-left: 15px;
    border-left: 2px solid var(--public-yellow);
}

.hero-trust-row strong,
.hero-trust-row span {
    display: block;
}

.hero-trust-row strong {
    font-size: 14px;
}

.hero-trust-row span {
    margin-top: 5px;
    color: var(--public-muted);
    font-size: 11px;
    line-height: 1.4;
}

.hero-visual {
    min-height: 610px;
    display: grid;
    place-items: center;
    position: relative;
}

.phone-shell {
    width: min(342px, 77vw);
    padding: 11px;
    position: relative;
    z-index: 3;
    border-radius: 48px;
    background: #17181d;
    box-shadow:
        0 42px 75px rgba(21,22,27,.25),
        inset 0 0 0 2px rgba(255,255,255,.12);
    transform: rotate(3deg);
}

.phone-speaker {
    position: absolute;
    z-index: 5;
    top: 17px;
    left: 50%;
    width: 88px;
    height: 24px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: #15161b;
}

.phone-screen {
    min-height: 650px;
    padding: 18px 16px 13px;
    overflow: hidden;
    border-radius: 39px;
    background: #f5f5f7;
}

.phone-status {
    height: 26px;
    display: flex;
    justify-content: space-between;
    color: #555760;
    font-size: 9px;
    font-weight: 850;
}

.phone-app-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
}

.phone-app-header small,
.phone-app-header strong {
    display: block;
}

.phone-app-header small {
    color: #898b93;
    font-size: 8px;
}

.phone-app-header strong {
    margin-top: 1px;
    font-size: 12px;
    letter-spacing: .08em;
}

.phone-app-header button {
    width: 29px;
    height: 29px;
    border: 0;
    border-radius: 9px;
    color: var(--public-red);
    background: #fff;
}

.mini-app-logo {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    background: var(--public-red);
    font-size: 16px;
    font-weight: 950;
}

.phone-search {
    margin: 13px 0;
    padding: 11px 12px;
    border-radius: 12px;
    color: #9a9ca3;
    background: #fff;
    font-size: 9px;
}

.phone-banner {
    min-height: 145px;
    padding: 20px;
    border-radius: 20px;
    color: #fff;
    background:
        radial-gradient(circle at 90% 10%, rgba(255,210,31,.27), transparent 8rem),
        linear-gradient(145deg, #1c1d22, #2d2f37);
}

.phone-banner span,
.phone-banner strong,
.phone-banner small {
    display: block;
}

.phone-banner span {
    color: var(--public-yellow);
    font-size: 8px;
    font-weight: 950;
    letter-spacing: .08em;
}

.phone-banner strong {
    margin: 8px 0;
    font-size: 22px;
    line-height: .96;
}

.phone-banner small {
    max-width: 170px;
    color: rgba(255,255,255,.65);
    font-size: 8px;
    line-height: 1.4;
}

.phone-section-heading {
    margin: 16px 2px 10px;
    display: flex;
    justify-content: space-between;
    font-size: 9px;
}

.phone-section-heading span {
    color: var(--public-red);
}

.phone-services {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 7px;
}

.phone-services div {
    text-align: center;
}

.phone-services b {
    width: 48px;
    height: 48px;
    margin: 0 auto 5px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: var(--public-red);
    background: #fff;
    font-size: 8px;
}

.phone-services span {
    display: block;
    color: #555760;
    font-size: 7px;
}

.phone-featured {
    margin-top: 16px;
    overflow: hidden;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(140deg, var(--public-red), #e83b45);
}

.car-silhouette {
    height: 108px;
    padding: 7px 5px 0;
    color: rgba(255,255,255,.95);
}

.car-silhouette svg {
    width: 100%;
    height: 100%;
}

.phone-featured > div:last-child {
    padding: 0 15px 13px;
}

.phone-featured span,
.phone-featured strong {
    display: block;
}

.phone-featured span {
    color: rgba(255,255,255,.68);
    font-size: 7px;
}

.phone-featured strong {
    margin-top: 2px;
    font-size: 12px;
}

.phone-bottom-nav {
    margin-top: 14px;
    padding: 10px 7px 3px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #e2e2e6;
    color: #989aa2;
    font-size: 7px;
}

.phone-bottom-nav .active {
    color: var(--public-red);
    font-weight: 900;
}

.hero-orbit {
    position: absolute;
    border: 1px solid rgba(184,15,26,.12);
    border-radius: 50%;
}

.hero-orbit-one {
    width: 500px;
    height: 500px;
}

.hero-orbit-two {
    width: 610px;
    height: 610px;
    border-color: rgba(255,210,31,.22);
}

.floating-service {
    position: absolute;
    z-index: 4;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 15px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 18px 40px rgba(24,25,30,.12);
    backdrop-filter: blur(10px);
}

.floating-service span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--public-red);
    background: #fff0f1;
    font-size: 11px;
    font-weight: 950;
}

.floating-service strong {
    font-size: 11px;
}

.floating-service-left {
    left: 0;
    top: 25%;
}

.floating-service-right {
    right: -12px;
    bottom: 27%;
}

.public-service-section {
    width: min(1240px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(80px, 10vw, 135px) 0;
}

.public-section-heading {
    max-width: 760px;
    margin-bottom: 45px;
}

.public-section-heading > span,
.public-section-label {
    color: var(--public-red);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.public-section-heading h2,
.how-copy h2,
.why-copy h2,
.public-download-section h2 {
    margin: 12px 0 15px;
    font-size: clamp(38px, 5vw, 63px);
    line-height: 1.03;
    letter-spacing: -.045em;
}

.public-section-heading p,
.how-copy > p {
    max-width: 700px;
    margin: 0;
    color: var(--public-muted);
    font-size: 17px;
    line-height: 1.65;
}

.public-services-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
}

.public-service-card {
    min-height: 180px;
    padding: 25px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: 18px;
    border: 1px solid var(--public-border);
    border-radius: 22px;
    background: #fff;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.public-service-card:hover {
    transform: translateY(-4px);
    border-color: #d9d9de;
    box-shadow: 0 22px 48px rgba(25,26,31,.08);
}

.public-service-card.featured {
    color: #fff;
    border-color: transparent;
    background:
        radial-gradient(circle at 95% 8%, rgba(255,210,31,.25), transparent 13rem),
        linear-gradient(145deg, #17181d, #2d2f37);
}

.service-card-icon {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: var(--public-red);
    background: #fff0f1;
    font-size: 10px;
    font-weight: 950;
}

.public-service-card.featured .service-card-icon {
    color: #2a2200;
    background: var(--public-yellow);
}

.public-service-card h3 {
    margin: 3px 0 8px;
    font-size: 20px;
}

.public-service-card p {
    margin: 0;
    color: var(--public-muted);
    line-height: 1.6;
}

.public-service-card.featured p {
    color: rgba(255,255,255,.65);
}

.public-service-card > span {
    color: #c5c6cc;
    font-size: 12px;
    font-weight: 900;
}

.public-how-section {
    width: min(1240px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(70px, 9vw, 120px);
    display: grid;
    grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
    gap: clamp(45px,7vw,95px);
    border-radius: 34px;
    color: #fff;
    background:
        radial-gradient(circle at 10% 95%, rgba(184,15,26,.5), transparent 25rem),
        radial-gradient(circle at 94% 9%, rgba(255,210,31,.15), transparent 19rem),
        linear-gradient(150deg, #14151a, #292b33);
}

.how-copy > p {
    color: rgba(255,255,255,.65);
}

.how-copy > a {
    margin-top: 28px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--public-yellow);
    font-weight: 900;
    text-decoration: none;
}

.how-steps {
    display: grid;
    gap: 12px;
}

.how-steps article {
    padding: 22px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 18px;
    background: rgba(255,255,255,.045);
}

.how-steps article > span {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #272100;
    background: var(--public-yellow);
    font-size: 11px;
    font-weight: 950;
}

.how-steps h3 {
    margin: 1px 0 6px;
}

.how-steps p {
    margin: 0;
    color: rgba(255,255,255,.58);
    font-size: 14px;
    line-height: 1.55;
}

.public-why-section {
    width: min(1240px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(90px, 11vw, 150px) 0;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    align-items: center;
    gap: clamp(55px,8vw,110px);
}

.why-visual {
    min-height: 520px;
    display: grid;
    place-items: center;
    position: relative;
}

.why-card {
    border-radius: 25px;
    box-shadow: 0 28px 70px rgba(23,24,29,.15);
}

.why-card-main {
    width: min(430px, 80vw);
    min-height: 420px;
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    background:
        radial-gradient(circle at 85% 15%, rgba(255,210,31,.22), transparent 15rem),
        linear-gradient(145deg, var(--public-red), #e2323d);
    transform: rotate(-3deg);
}

.why-card-main span,
.why-card-main strong,
.why-card-main small {
    display: block;
}

.why-card-main span {
    color: var(--public-yellow);
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .1em;
}

.why-card-main strong {
    margin: 15px 0;
    font-size: 38px;
    line-height: 1.02;
}

.why-card-main small {
    color: rgba(255,255,255,.66);
    font-size: 14px;
    line-height: 1.5;
}

.why-card-one,
.why-card-two {
    position: absolute;
    padding: 17px 19px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
}

.why-card-one {
    top: 11%;
    right: 1%;
}

.why-card-two {
    bottom: 11%;
    left: 0;
}

.why-card-one b,
.why-card-two b {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--public-red);
    background: #fff0f1;
}

.why-card-one span,
.why-card-two span {
    font-size: 12px;
    font-weight: 850;
}

.why-list {
    display: grid;
    gap: 6px;
    margin-top: 26px;
}

.why-list article {
    padding: 19px 0;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    border-bottom: 1px solid var(--public-border);
}

.why-list article > b {
    color: var(--public-red);
    font-size: 12px;
}

.why-list h3 {
    margin: -3px 0 5px;
    font-size: 18px;
}

.why-list p {
    margin: 0;
    color: var(--public-muted);
    line-height: 1.55;
}

.public-download-section {
    width: min(1240px, calc(100% - 36px));
    margin: 0 auto clamp(80px, 10vw, 130px);
    padding: clamp(45px, 7vw, 82px);
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 60px;
    overflow: hidden;
    border-radius: 32px;
    color: #fff;
    background:
        radial-gradient(circle at 7% 95%, rgba(255,210,31,.17), transparent 22rem),
        radial-gradient(circle at 95% 10%, rgba(184,15,26,.5), transparent 27rem),
        linear-gradient(145deg, #17181d, #2d2f37);
}

.download-copy > span {
    color: var(--public-yellow);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.download-copy p {
    max-width: 620px;
    color: rgba(255,255,255,.64);
    font-size: 16px;
    line-height: 1.65;
}

.download-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.download-actions a {
    min-height: 52px;
    padding: 0 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #fff;
    background: var(--public-red);
    font-weight: 900;
    text-decoration: none;
}

.download-actions a.outline {
    border: 1px solid rgba(255,255,255,.17);
    background: rgba(255,255,255,.05);
}

.download-qr-card {
    width: 245px;
    padding: 17px;
    border-radius: 25px;
    color: var(--public-text);
    background: #fff;
    box-shadow: 0 24px 55px rgba(0,0,0,.25);
}

.download-qr-card img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 13px;
}

.download-qr-card strong,
.download-qr-card span {
    display: block;
    text-align: center;
}

.download-qr-card strong {
    margin-top: 12px;
}

.download-qr-card span {
    margin-top: 3px;
    color: var(--public-muted);
    font-size: 11px;
}

.public-team-section {
    width: min(1240px, calc(100% - 36px));
    margin: 0 auto clamp(85px,10vw,130px);
    padding: 34px 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border: 1px solid var(--public-border);
    border-radius: 24px;
    background:
        radial-gradient(circle at 5% 50%, rgba(255,210,31,.15), transparent 14rem),
        #fff;
}

.public-team-section > div > span {
    color: var(--public-red);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.public-team-section h2 {
    margin: 7px 0 5px;
    font-size: clamp(28px,3.5vw,42px);
}

.public-team-section p {
    margin: 0;
    color: var(--public-muted);
}

.public-team-section > a {
    flex: 0 0 auto;
    min-height: 53px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    border-radius: 14px;
    color: #fff;
    background: var(--public-red);
    font-weight: 900;
    text-decoration: none;
}

.public-footer {
    color: #fff;
    background: #131419;
}

.public-footer-main {
    width: min(1240px, calc(100% - 36px));
    margin: 0 auto;
    padding: 68px 0 45px;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(500px,.9fr);
    gap: 70px;
}

.footer-brand {
    color: #fff;
}

.footer-brand .public-brand-copy small {
    color: rgba(255,255,255,.5);
}

.public-footer-main > div:first-child > p {
    max-width: 390px;
    color: rgba(255,255,255,.55);
    line-height: 1.6;
}

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

.footer-links div {
    display: grid;
    align-content: start;
    gap: 11px;
}

.footer-links strong {
    margin-bottom: 4px;
    color: var(--public-yellow);
    font-size: 12px;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.footer-links a {
    color: rgba(255,255,255,.63);
    font-size: 13px;
    text-decoration: none;
}

.public-footer-bottom {
    width: min(1240px, calc(100% - 36px));
    margin: 0 auto;
    padding: 20px 0 28px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.43);
    font-size: 12px;
}

.login-back-home {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: var(--red);
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}

@media (max-width: 1080px) {
    .public-navigation {
        gap: 14px;
    }

    .public-navigation > a:not(.public-login-link):not(.public-download-button) {
        display: none;
    }

    .hero-grid {
        grid-template-columns: minmax(0,1fr) minmax(390px,.82fr);
    }

    .hero-copy h1 {
        font-size: clamp(55px,8vw,82px);
    }

    .floating-service-left {
        left: -22px;
    }

    .floating-service-right {
        right: -22px;
    }

    .public-footer-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .public-header-inner {
        min-height: 74px;
    }

    .public-header {
        min-height: 74px;
    }

    .public-menu-toggle {
        display: block;
    }

    .public-navigation {
        position: fixed;
        inset: 74px 14px auto;
        padding: 16px;
        display: grid;
        gap: 7px;
        border: 1px solid var(--public-border);
        border-radius: 19px;
        background: #fff;
        box-shadow: 0 28px 65px rgba(23,24,29,.18);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: .18s ease;
    }

    .public-menu-open .public-navigation {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .public-navigation > a,
    .public-navigation > a:not(.public-login-link):not(.public-download-button) {
        display: flex;
        min-height: 46px;
        align-items: center;
        padding: 0 13px;
        border-radius: 11px;
    }

    .public-navigation .public-download-button {
        justify-content: center;
    }

    .hero-grid {
        min-height: 0;
        grid-template-columns: 1fr;
        padding-top: 68px;
    }

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

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

    .hero-copy > p {
        margin: 0 auto;
    }

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

    .hero-trust-row {
        text-align: left;
    }

    .hero-visual {
        min-height: 660px;
    }

    .public-services-grid {
        grid-template-columns: 1fr;
    }

    .public-how-section,
    .public-why-section {
        grid-template-columns: 1fr;
    }

    .public-how-section {
        padding: 55px 30px;
    }

    .why-copy {
        order: -1;
    }

    .public-download-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .download-copy p {
        margin-left: auto;
        margin-right: auto;
    }

    .download-actions {
        justify-content: center;
    }

    .download-qr-card {
        margin: 0 auto;
    }
}

@media (max-width: 620px) {
    .public-header-inner,
    .hero-grid,
    .public-service-section,
    .public-how-section,
    .public-why-section,
    .public-download-section,
    .public-team-section,
    .public-footer-main,
    .public-footer-bottom {
        width: min(100% - 24px, 1240px);
    }

    .public-brand-copy small {
        display: none;
    }

    .hero-grid {
        padding-top: 48px;
        gap: 10px;
    }

    .hero-copy h1 {
        margin-top: 18px;
        font-size: clamp(49px,15vw,68px);
    }

    .hero-copy > p {
        font-size: 16px;
    }

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

    .hero-primary-action,
    .hero-secondary-action {
        width: 100%;
    }

    .hero-trust-row {
        grid-template-columns: 1fr;
        margin-top: 38px;
    }

    .hero-visual {
        min-height: 600px;
    }

    .phone-shell {
        width: min(310px,82vw);
    }

    .phone-screen {
        min-height: 590px;
    }

    .hero-orbit-one {
        width: 390px;
        height: 390px;
    }

    .hero-orbit-two {
        width: 480px;
        height: 480px;
    }

    .floating-service {
        padding: 10px;
    }

    .floating-service strong {
        display: none;
    }

    .floating-service-left {
        left: 1px;
    }

    .floating-service-right {
        right: 1px;
    }

    .public-service-section {
        padding: 80px 0;
    }

    .public-service-card {
        grid-template-columns: auto 1fr;
        padding: 20px;
    }

    .public-service-card > span {
        display: none;
    }

    .public-how-section {
        width: calc(100% - 24px);
        padding: 45px 20px;
        border-radius: 24px;
    }

    .why-visual {
        min-height: 450px;
    }

    .why-card-main {
        min-height: 360px;
        padding: 30px;
    }

    .why-card-main strong {
        font-size: 32px;
    }

    .why-card-one {
        right: 0;
    }

    .public-download-section {
        width: calc(100% - 24px);
        padding: 45px 20px;
        border-radius: 24px;
    }

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

    .public-team-section {
        padding: 27px 22px;
        align-items: flex-start;
        flex-direction: column;
    }

    .public-team-section > a {
        width: 100%;
        justify-content: center;
    }

    .public-footer-main {
        padding-top: 50px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .public-footer-bottom {
        flex-direction: column;
    }
}

/* ============================================================
   Website update v2.6.1 — real uploaded EGARAGI mobile screen
   ============================================================ */
.hero-visual-real {
    min-height: 720px;
}

.real-phone-shell {
    width: min(430px, 84vw);
    padding: 0;
    overflow: hidden;
    background: transparent;
    box-shadow:
        0 48px 84px rgba(21,22,27,.24),
        0 0 0 1px rgba(255,255,255,.15);
    transform: rotate(0deg);
    border-radius: 54px;
}

.real-app-image-wrap {
    width: 100%;
    line-height: 0;
}

.real-app-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 54px;
}

@media (max-width: 860px) {
    .hero-visual-real {
        min-height: 760px;
    }

    .real-phone-shell {
        width: min(410px, 88vw);
    }
}

@media (max-width: 620px) {
    .hero-visual-real {
        min-height: 650px;
    }

    .real-phone-shell {
        width: min(320px, 86vw);
        border-radius: 42px;
    }

    .real-app-image {
        border-radius: 42px;
    }
}

/* ============================================================
   EGARAGI PUBLIC WEBSITE REDESIGN — v2.7
   ============================================================ */
.landing-v27 {
    --v27-red: #ed1c24;
    --v27-red-dark: #bf1118;
    --v27-red-soft: #fff1f2;
    --v27-black: #111216;
    --v27-ink: #18191e;
    --v27-muted: #6f7179;
    --v27-line: #e8e8ec;
    --v27-soft: #f7f7f9;
    margin: 0;
    overflow-x: hidden;
    color: var(--v27-ink);
    background: #fff;
}

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

.landing-v27 a {
    color: inherit;
}

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

.v27-header {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 82px;
    border-bottom: 1px solid rgba(232,232,236,.92);
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(16px);
}

.v27-header-inner {
    width: min(1320px, calc(100% - 40px));
    min-height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.v27-logo-link {
    flex: 0 0 auto;
    width: 180px;
    display: inline-flex;
}

.v27-logo-link img {
    display: block;
    width: 100%;
    height: auto;
}

.v27-navigation {
    display: flex;
    align-items: center;
    gap: clamp(15px, 1.8vw, 28px);
}

.v27-navigation > a {
    color: #484a52;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: color .16s ease, background .16s ease;
}

.v27-navigation > a:hover {
    color: var(--v27-red);
}

.v27-navigation .v27-login-button {
    padding: 11px 15px;
    border: 1px solid var(--v27-line);
    border-radius: 12px;
    color: var(--v27-ink);
    background: #fff;
}

.v27-navigation .v27-header-cta {
    padding: 12px 17px;
    border-radius: 12px;
    color: #fff;
    background: var(--v27-red);
    box-shadow: 0 10px 24px rgba(237,28,36,.18);
}

.v27-navigation .v27-header-cta:hover {
    color: #fff;
    background: var(--v27-red-dark);
}

.v27-menu-button {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--v27-line);
    border-radius: 13px;
    background: #fff;
    cursor: pointer;
}

.v27-menu-button > span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 99px;
    background: var(--v27-ink);
}

.v27-hero {
    min-height: 820px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(255,255,255,.97), rgba(255,255,255,.77)),
        radial-gradient(circle at 80% 20%, rgba(237,28,36,.14), transparent 31rem),
        #fff;
}

.v27-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .22;
    background-image:
        linear-gradient(rgba(17,18,22,.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17,18,22,.055) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to right, #000 0%, transparent 69%);
}

.v27-hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.v27-glow-one {
    width: 470px;
    height: 470px;
    right: -180px;
    top: -140px;
    background: rgba(237,28,36,.12);
    filter: blur(1px);
}

.v27-glow-two {
    width: 360px;
    height: 360px;
    left: -230px;
    bottom: 40px;
    background: rgba(237,28,36,.06);
}

.v27-hero-grid {
    min-height: 760px;
    padding: clamp(55px, 7vw, 92px) 0 45px;
    display: grid;
    grid-template-columns: minmax(0,1.03fr) minmax(440px,.97fr);
    align-items: center;
    gap: clamp(45px, 7vw, 100px);
    position: relative;
    z-index: 2;
}

.v27-hero-copy {
    max-width: 710px;
}

.v27-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--v27-red);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .09em;
}

.v27-eyebrow span {
    width: 30px;
    height: 2px;
    background: var(--v27-red);
}

.v27-hero h1 {
    max-width: 760px;
    margin: 24px 0 22px;
    font-size: clamp(55px, 7vw, 94px);
    line-height: .93;
    letter-spacing: -.058em;
    font-weight: 900;
}

.v27-hero h1 strong {
    display: block;
    color: var(--v27-red);
    font-weight: 900;
}

.v27-hero-description {
    max-width: 650px;
    margin: 0;
    color: var(--v27-muted);
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.72;
}

.v27-hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 33px;
}

.v27-primary-cta,
.v27-secondary-cta {
    min-height: 57px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border-radius: 15px;
    font-weight: 900;
    text-decoration: none;
}

.v27-primary-cta {
    color: #fff !important;
    background: linear-gradient(135deg, var(--v27-red), #ff3b43);
    box-shadow: 0 17px 34px rgba(237,28,36,.22);
}

.v27-primary-cta b {
    font-size: 20px;
}

.v27-secondary-cta {
    border: 1px solid var(--v27-line);
    color: var(--v27-ink);
    background: #fff;
}

.v27-hero-proof {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 13px;
}

.v27-hero-proof div {
    min-height: 81px;
    padding: 15px;
    border: 1px solid var(--v27-line);
    border-radius: 15px;
    background: rgba(255,255,255,.8);
    box-shadow: 0 10px 28px rgba(24,25,30,.04);
}

.v27-hero-proof strong,
.v27-hero-proof span {
    display: block;
}

.v27-hero-proof strong {
    color: var(--v27-red);
    font-size: 18px;
}

.v27-hero-proof span {
    margin-top: 5px;
    color: var(--v27-muted);
    font-size: 11px;
    line-height: 1.4;
}

.v27-hero-phone-column {
    min-height: 680px;
    display: grid;
    place-items: center;
    position: relative;
}

.v27-phone-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(237,28,36,.14);
}

.v27-phone-ring-one {
    width: 570px;
    height: 570px;
}

.v27-phone-ring-two {
    width: 690px;
    height: 690px;
    border-color: rgba(17,18,22,.06);
}

.v27-phone-stage {
    width: min(405px, 80vw);
    position: relative;
    z-index: 4;
    filter: drop-shadow(0 45px 39px rgba(17,18,22,.22));
}

.v27-phone-stage img {
    display: block;
    width: 100%;
    height: auto;
}

.v27-floating-card {
    position: absolute;
    z-index: 5;
    padding: 13px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255,255,255,.86);
    border-radius: 15px;
    background: rgba(255,255,255,.91);
    box-shadow: 0 18px 42px rgba(24,25,30,.13);
    backdrop-filter: blur(12px);
}

.v27-floating-card strong,
.v27-floating-card small {
    display: block;
}

.v27-floating-card strong {
    font-size: 12px;
}

.v27-floating-card small {
    margin-top: 3px;
    color: var(--v27-muted);
    font-size: 10px;
}

.v27-floating-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: var(--v27-red);
    font-size: 10px;
    font-weight: 950;
}

.v27-floating-top {
    top: 20%;
    left: -20px;
}

.v27-floating-bottom {
    right: -35px;
    bottom: 24%;
}

.v27-hero-marquee {
    min-height: 59px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background: var(--v27-black);
}

.v27-hero-marquee > div {
    min-width: max-content;
    padding: 0 26px;
    display: flex;
    align-items: center;
    gap: 26px;
    animation: v27Marquee 28s linear infinite;
}

.v27-hero-marquee span {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}

.v27-hero-marquee i {
    color: var(--v27-red);
    font-size: 22px;
    font-style: normal;
}

@keyframes v27Marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-15%); }
}

.v27-about {
    padding: clamp(85px, 10vw, 140px) 0;
    background: #fff;
}

.v27-about-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,.86fr);
    gap: clamp(45px,8vw,115px);
}

.v27-section-tag {
    color: var(--v27-red);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .1em;
}

.v27-section-heading h2,
.v27-services-heading h2,
.v27-feature-copy h2,
.v27-process-heading h2,
.v27-partners-copy h2,
.v27-download-copy h2 {
    margin: 14px 0 0;
    font-size: clamp(40px, 5.2vw, 68px);
    line-height: 1.02;
    letter-spacing: -.048em;
}

.v27-about-copy p {
    margin: 0 0 18px;
    color: var(--v27-muted);
    font-size: 17px;
    line-height: 1.7;
}

.v27-about-copy > a {
    margin-top: 11px;
    display: inline-flex;
    gap: 10px;
    color: var(--v27-red);
    font-weight: 900;
    text-decoration: none;
}

.v27-about-values {
    margin-top: 65px;
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    border-top: 1px solid var(--v27-line);
    border-left: 1px solid var(--v27-line);
}

.v27-about-values article {
    min-height: 218px;
    padding: 27px;
    border-right: 1px solid var(--v27-line);
    border-bottom: 1px solid var(--v27-line);
}

.v27-about-values article > span {
    color: var(--v27-red);
    font-size: 11px;
    font-weight: 950;
}

.v27-about-values h3 {
    margin: 42px 0 10px;
    font-size: 23px;
}

.v27-about-values p {
    margin: 0;
    color: var(--v27-muted);
    line-height: 1.6;
}

.v27-services {
    padding: clamp(85px,10vw,140px) 0;
    background: var(--v27-soft);
}

.v27-services-heading {
    margin-bottom: 45px;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(350px,.65fr);
    align-items: end;
    gap: 65px;
}

.v27-services-heading > p {
    margin: 0 0 7px;
    color: var(--v27-muted);
    font-size: 16px;
    line-height: 1.7;
}

.v27-services-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
}

.v27-service-card {
    min-height: 270px;
    padding: 27px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto 1fr auto;
    gap: 0 19px;
    border: 1px solid var(--v27-line);
    border-radius: 22px;
    background: #fff;
    transition: transform .18s ease, box-shadow .18s ease;
}

.v27-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(24,25,30,.08);
}

.v27-service-card-red {
    color: #fff;
    border-color: transparent;
    background:
        radial-gradient(circle at 94% 5%, rgba(255,255,255,.2), transparent 13rem),
        linear-gradient(145deg, var(--v27-red), #cb1119);
}

.v27-service-number {
    grid-column: 3;
    grid-row: 1;
    color: #bdbec4;
    font-size: 12px;
    font-weight: 950;
}

.v27-service-card-red .v27-service-number {
    color: rgba(255,255,255,.55);
}

.v27-service-symbol {
    grid-column: 1;
    grid-row: 1 / 4;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    color: var(--v27-red);
    background: var(--v27-red-soft);
    font-size: 10px;
    font-weight: 950;
}

.v27-service-card-red .v27-service-symbol {
    color: var(--v27-red);
    background: #fff;
}

.v27-service-card h3 {
    grid-column: 2 / 4;
    margin: 4px 0 11px;
    font-size: 23px;
}

.v27-service-card p {
    grid-column: 2 / 4;
    margin: 0;
    color: var(--v27-muted);
    line-height: 1.65;
}

.v27-service-card-red p {
    color: rgba(255,255,255,.68);
}

.v27-service-card a {
    grid-column: 2 / 4;
    align-self: end;
    margin-top: 25px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--v27-red);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.v27-service-card-red a {
    color: #fff;
}

.v27-features {
    padding: clamp(90px,11vw,155px) 0;
    background: #fff;
}

.v27-features-grid {
    display: grid;
    grid-template-columns: minmax(420px,.92fr) minmax(0,1.08fr);
    align-items: center;
    gap: clamp(60px,9vw,125px);
}

.v27-feature-visual {
    min-height: 680px;
    display: grid;
    place-items: center;
    position: relative;
}

.v27-feature-red-block {
    position: absolute;
    width: 86%;
    height: 74%;
    border-radius: 38px;
    background:
        radial-gradient(circle at 15% 12%, rgba(255,255,255,.24), transparent 13rem),
        linear-gradient(145deg, var(--v27-red), #c60f17);
    transform: rotate(-5deg);
}

.v27-feature-phone {
    width: min(350px,74vw);
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 35px 32px rgba(24,25,30,.26));
}

.v27-feature-phone img {
    display: block;
    width: 100%;
    height: auto;
}

.v27-feature-badge {
    position: absolute;
    z-index: 3;
    right: 2%;
    bottom: 13%;
    padding: 17px 20px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 22px 50px rgba(24,25,30,.18);
}

.v27-feature-badge strong,
.v27-feature-badge span {
    display: block;
}

.v27-feature-badge strong {
    color: var(--v27-red);
    font-size: 23px;
}

.v27-feature-badge span {
    margin-top: 3px;
    color: var(--v27-muted);
    font-size: 11px;
}

.v27-feature-copy > p {
    max-width: 650px;
    margin: 22px 0 0;
    color: var(--v27-muted);
    font-size: 17px;
    line-height: 1.7;
}

.v27-feature-list {
    margin-top: 26px;
    display: grid;
}

.v27-feature-list article {
    padding: 20px 0;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    border-bottom: 1px solid var(--v27-line);
}

.v27-feature-list b {
    color: var(--v27-red);
    font-size: 12px;
}

.v27-feature-list h3 {
    margin: -4px 0 5px;
    font-size: 19px;
}

.v27-feature-list p {
    margin: 0;
    color: var(--v27-muted);
    line-height: 1.55;
}

.v27-process {
    padding: clamp(80px,9vw,125px) 0;
    color: #fff;
    background:
        radial-gradient(circle at 7% 100%, rgba(237,28,36,.47), transparent 27rem),
        radial-gradient(circle at 95% 3%, rgba(237,28,36,.19), transparent 25rem),
        var(--v27-black);
}

.v27-process-heading {
    max-width: 750px;
}

.v27-process-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    border-top: 1px solid rgba(255,255,255,.12);
    border-left: 1px solid rgba(255,255,255,.12);
}

.v27-process-grid article {
    min-height: 250px;
    padding: 27px;
    border-right: 1px solid rgba(255,255,255,.12);
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.v27-process-grid span {
    color: var(--v27-red);
    font-size: 12px;
    font-weight: 950;
}

.v27-process-grid h3 {
    margin: 68px 0 10px;
    font-size: 23px;
}

.v27-process-grid p {
    margin: 0;
    color: rgba(255,255,255,.58);
    line-height: 1.6;
}

.v27-partners {
    padding: clamp(90px,11vw,150px) 0;
    background: var(--v27-soft);
}

.v27-partners-grid {
    display: grid;
    grid-template-columns: minmax(0,1.05fr) minmax(400px,.95fr);
    align-items: center;
    gap: clamp(55px,8vw,110px);
}

.v27-partners-copy > p {
    max-width: 650px;
    margin: 22px 0 0;
    color: var(--v27-muted);
    font-size: 17px;
    line-height: 1.7;
}

.v27-partners-copy ul {
    margin: 25px 0 31px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 11px 20px;
    list-style: none;
}

.v27-partners-copy li {
    position: relative;
    padding-left: 18px;
    color: #3d3f46;
    font-weight: 750;
}

.v27-partners-copy li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--v27-red);
}

.v27-partners-panel {
    min-height: 510px;
    padding: 42px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border-radius: 32px;
    color: #fff;
    background:
        radial-gradient(circle at 90% 6%, rgba(237,28,36,.46), transparent 22rem),
        linear-gradient(145deg, #15161a, #2b2d34);
    box-shadow: 0 32px 74px rgba(24,25,30,.17);
}

.v27-partner-logo {
    width: 180px;
    padding: 10px 14px;
    border-radius: 13px;
    background: #fff;
}

.v27-partner-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.v27-partner-panel-copy > span {
    color: var(--v27-red);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .08em;
}

.v27-partner-panel-copy strong {
    margin: 11px 0 12px;
    display: block;
    font-size: clamp(35px,4vw,52px);
    line-height: .98;
}

.v27-partner-panel-copy p {
    margin: 0;
    color: rgba(255,255,255,.63);
    line-height: 1.65;
}

.v27-partner-metrics {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 9px;
}

.v27-partner-metrics div {
    padding: 14px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 13px;
    background: rgba(255,255,255,.045);
}

.v27-partner-metrics b,
.v27-partner-metrics span {
    display: block;
}

.v27-partner-metrics b {
    color: var(--v27-red);
    font-size: 18px;
}

.v27-partner-metrics span {
    margin-top: 4px;
    color: rgba(255,255,255,.56);
    font-size: 9px;
    line-height: 1.35;
}

.v27-download {
    padding: clamp(75px,9vw,120px) 0;
    color: #fff;
    background:
        radial-gradient(circle at 10% 100%, rgba(255,255,255,.13), transparent 25rem),
        linear-gradient(135deg, var(--v27-red), #c50f17);
}

.v27-download-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 70px;
}

.v27-tag-light {
    color: #fff;
}

.v27-download-copy h2 {
    max-width: 790px;
}

.v27-download-copy p {
    max-width: 650px;
    margin: 20px 0 0;
    color: rgba(255,255,255,.72);
    font-size: 17px;
    line-height: 1.65;
}

.v27-download-actions {
    margin-top: 28px;
    display: flex;
    gap: 10px;
}

.v27-download-actions a {
    min-height: 54px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 14px;
    color: var(--v27-red);
    background: #fff;
    font-weight: 900;
    text-decoration: none;
}

.v27-download-actions .v27-download-login {
    border: 1px solid rgba(255,255,255,.32);
    color: #fff;
    background: transparent;
}

.v27-qr-card {
    width: 245px;
    padding: 17px;
    border-radius: 25px;
    color: var(--v27-ink);
    background: #fff;
    box-shadow: 0 26px 58px rgba(95,5,9,.25);
}

.v27-qr-card img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.v27-qr-card strong,
.v27-qr-card span {
    display: block;
    text-align: center;
}

.v27-qr-card strong {
    margin-top: 12px;
}

.v27-qr-card span {
    margin-top: 3px;
    color: var(--v27-muted);
    font-size: 11px;
}

.v27-team-access {
    padding: 45px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    color: #fff;
    background: var(--v27-black);
}

.v27-team-access-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.v27-team-access-inner > div > span {
    color: var(--v27-red);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .08em;
}

.v27-team-access h2 {
    margin: 8px 0 5px;
    font-size: clamp(27px,3.5vw,42px);
}

.v27-team-access p {
    margin: 0;
    color: rgba(255,255,255,.55);
}

.v27-team-access a {
    flex: 0 0 auto;
    min-height: 53px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    border-radius: 14px;
    color: #fff;
    background: var(--v27-red);
    font-weight: 900;
    text-decoration: none;
}

.v27-footer {
    color: #fff;
    background: #0d0e11;
}

.v27-footer-grid {
    padding: 65px 0 45px;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(540px,.9fr);
    gap: 75px;
}

.v27-footer-brand img {
    display: block;
    width: 205px;
    height: auto;
}

.v27-footer-brand p {
    max-width: 380px;
    color: rgba(255,255,255,.52);
    line-height: 1.65;
}

.v27-footer-links {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 25px;
}

.v27-footer-links > div {
    display: grid;
    align-content: start;
    gap: 11px;
}

.v27-footer-links strong {
    margin-bottom: 5px;
    color: var(--v27-red);
    font-size: 12px;
    letter-spacing: .08em;
}

.v27-footer-links a,
.v27-footer-links span {
    color: rgba(255,255,255,.6);
    font-size: 13px;
    text-decoration: none;
}

.v27-footer-bottom {
    padding: 20px 0 28px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.4);
    font-size: 12px;
}

.v27-footer-bottom a {
    color: rgba(255,255,255,.65);
    text-decoration: none;
}

@media (max-width: 1120px) {
    .v27-navigation {
        gap: 14px;
    }

    .v27-navigation > a:not(.v27-login-button):not(.v27-header-cta) {
        display: none;
    }

    .v27-hero-grid {
        grid-template-columns: minmax(0,1fr) minmax(390px,.82fr);
    }

    .v27-floating-top {
        left: -40px;
    }

    .v27-floating-bottom {
        right: -25px;
    }

    .v27-footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 880px) {
    .v27-header,
    .v27-header-inner {
        min-height: 74px;
    }

    .v27-logo-link {
        width: 160px;
    }

    .v27-menu-button {
        display: block;
    }

    .v27-navigation {
        position: fixed;
        inset: 74px 14px auto;
        padding: 15px;
        display: grid;
        gap: 6px;
        border: 1px solid var(--v27-line);
        border-radius: 19px;
        background: #fff;
        box-shadow: 0 28px 65px rgba(24,25,30,.18);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: .18s ease;
    }

    .v27-menu-open .v27-navigation {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .v27-navigation > a,
    .v27-navigation > a:not(.v27-login-button):not(.v27-header-cta) {
        min-height: 46px;
        padding: 0 13px;
        display: flex;
        align-items: center;
        border-radius: 11px;
    }

    .v27-navigation .v27-header-cta {
        justify-content: center;
    }

    .v27-hero-grid {
        grid-template-columns: 1fr;
        padding-top: 62px;
    }

    .v27-hero-copy {
        max-width: 760px;
        margin: 0 auto;
        text-align: center;
    }

    .v27-eyebrow {
        justify-content: center;
    }

    .v27-hero-description {
        margin: 0 auto;
    }

    .v27-hero-actions {
        justify-content: center;
    }

    .v27-hero-proof {
        text-align: left;
    }

    .v27-hero-phone-column {
        min-height: 720px;
    }

    .v27-floating-top {
        left: 4%;
    }

    .v27-floating-bottom {
        right: 4%;
    }

    .v27-about-grid,
    .v27-features-grid,
    .v27-partners-grid {
        grid-template-columns: 1fr;
    }

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

    .v27-services-heading {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .v27-feature-copy {
        order: -1;
    }

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

    .v27-download-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .v27-download-copy p {
        margin-left: auto;
        margin-right: auto;
    }

    .v27-download-actions {
        justify-content: center;
    }

    .v27-qr-card {
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .v27-container,
    .v27-header-inner {
        width: min(100% - 24px, 1240px);
    }

    .v27-logo-link {
        width: 145px;
    }

    .v27-hero-grid {
        padding-top: 48px;
    }

    .v27-hero h1 {
        font-size: clamp(48px,15vw,67px);
    }

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

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

    .v27-primary-cta,
    .v27-secondary-cta {
        width: 100%;
    }

    .v27-hero-proof {
        grid-template-columns: 1fr;
    }

    .v27-hero-phone-column {
        min-height: 620px;
    }

    .v27-phone-stage {
        width: min(320px,84vw);
    }

    .v27-phone-ring-one {
        width: 400px;
        height: 400px;
    }

    .v27-phone-ring-two {
        width: 490px;
        height: 490px;
    }

    .v27-floating-card {
        padding: 10px;
    }

    .v27-floating-card > div {
        display: none;
    }

    .v27-floating-top {
        left: 1%;
    }

    .v27-floating-bottom {
        right: 1%;
    }

    .v27-about-values,
    .v27-services-grid,
    .v27-process-grid {
        grid-template-columns: 1fr;
    }

    .v27-service-card {
        min-height: 250px;
        padding: 21px;
    }

    .v27-feature-visual {
        min-height: 580px;
    }

    .v27-feature-phone {
        width: min(300px,78vw);
    }

    .v27-feature-badge {
        right: -2%;
    }

    .v27-partners-copy ul {
        grid-template-columns: 1fr;
    }

    .v27-partners-panel {
        min-height: 500px;
        padding: 28px 22px;
    }

    .v27-partner-metrics {
        grid-template-columns: 1fr;
    }

    .v27-download-actions {
        flex-direction: column;
    }

    .v27-team-access-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .v27-team-access a {
        width: 100%;
        justify-content: center;
    }

    .v27-footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .v27-footer-bottom {
        flex-direction: column;
    }
}



/* ============================================================
   EGARAGI UI refinement — v2.7.1
   ============================================================ */
html { scroll-behavior: smooth; }

.brand-logo-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}
.brand-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(17,18,22,.08);
    transition: transform .35s ease, box-shadow .35s ease, filter .35s ease;
}
.brand-logo-badge.compact { padding: 9px 12px; border-radius: 14px; }
.brand-logo-badge.white-badge { background: #fff; }
.brand-logo-badge.light-border { border: 1px solid rgba(232,232,236,.92); }
.brand-logo-badge:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 22px 42px rgba(17,18,22,.12); }
.brand-logo-image {
    display: block;
    width: 148px;
    height: auto;
}
.brand-logo-copy strong,
.brand-logo-copy span { display: block; }
.brand-logo-copy strong { letter-spacing: .06em; font-size: 18px; }
.brand-logo-copy span { margin-top: 4px; color: rgba(255,255,255,.68); font-size: 12px; }
.brand-logo-copy.dark-copy span { color: var(--muted); }
.brand-logo-inline { min-width: 0; }

.login-logo.brand-logo-panel { align-items: center; }
.login-logo.brand-logo-panel .brand-logo-copy strong { color: #fff; }
.login-logo.brand-logo-panel .brand-logo-copy span { color: rgba(255,255,255,.72); }
.mobile-login-brand .brand-logo-copy strong { font-size: 16px; }
.mobile-login-brand .brand-logo-copy span { font-size: 11px; }

.sidebar-brand-wrap { display: block; padding: 4px 8px 24px; border-bottom:1px solid rgba(255,255,255,.08); }
.sidebar-badge { width: 100%; max-width: 218px; }
.sidebar-badge .brand-logo-image { width: 100%; max-width: 188px; }
.sidebar-copy { margin-top: 14px; }
.sidebar-copy strong { color: #fff; font-size: 17px; }
.sidebar-copy span { color: rgba(255,255,255,.62); font-size: 11px; }

.survey-topbar .brand-logo-copy strong,
.completion-brand .brand-logo-copy strong { color: var(--ink); }
.survey-topbar .brand-logo-badge,
.completion-brand .brand-logo-badge { border: 1px solid rgba(232,232,236,.92); }

/* Completion icon fix */
.completion-page-v24 .completion-icon {
    display: grid;
    place-items: center;
    position: relative;
    border-radius: 50%;
    background: linear-gradient(135deg, #24b768, #189150);
    color: #fff;
    font-size: 34px;
    font-weight: 950;
    line-height: 1;
    animation: completionPulse 2.3s ease-in-out infinite;
}
.completion-page-v24 .completion-icon::after {
    content: "";
    position: absolute;
    inset: -11px;
    border: 1px solid rgba(24,145,80,.18);
    border-radius: 50%;
    animation: completionRipple 2.3s ease-out infinite;
}
@keyframes completionPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 16px 32px rgba(21, 130, 73, .13); }
    50% { transform: scale(1.06); box-shadow: 0 22px 44px rgba(21, 130, 73, .18); }
}
@keyframes completionRipple {
    0% { transform: scale(.84); opacity: 0; }
    40% { opacity: .6; }
    100% { transform: scale(1.14); opacity: 0; }
}

/* Refined thank-you page */
.completion-brand.brand-logo-wrap { margin-bottom: clamp(30px, 7vh, 52px); }
.completion-close-button { margin-top: auto; }

/* High-quality hover and motion effects */
.v27-logo-link img,
.v27-phone-stage img,
.v27-feature-phone img,
.v27-qr-card img,
.v27-partner-logo img,
.v27-footer-brand img {
    transition: transform .5s cubic-bezier(.2,.6,.2,1), filter .45s ease, box-shadow .45s ease;
    will-change: transform;
}
.v27-phone-stage,
.v27-feature-phone {
    animation: floatSoft 6.5s ease-in-out infinite;
}
@keyframes floatSoft {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
.v27-phone-stage:hover img,
.v27-feature-phone:hover img,
.v27-qr-card:hover img,
.v27-partner-logo:hover img,
.v27-footer-brand:hover img,
.v27-logo-link:hover img {
    transform: translateY(-4px) scale(1.03);
    filter: saturate(1.04);
}

.v27-navigation > a,
.admin-nav a,
.sidebar-footer a,
.header-actions a,
.v27-download-actions a,
.v27-team-access a,
.v27-service-card,
.v27-about-values article,
.v27-process-grid article,
.v27-partners-panel,
.v27-qr-card,
.v27-feature-badge,
.v27-floating-card,
.v27-primary-cta,
.v27-secondary-cta,
.public-navigation > a,
.public-service-card,
.public-team-section > a,
.option-card,
.secondary-btn,
.primary-btn,
.button-link {
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background-color .28s ease, color .28s ease, filter .28s ease;
}
.v27-navigation > a,
.admin-nav a { position: relative; }
.v27-navigation > a::after,
.admin-nav a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 8px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
    opacity: .85;
}
.v27-navigation > a:hover,
.admin-nav a:hover,
.sidebar-footer a:hover,
.header-actions a:hover,
.v27-download-actions a:hover,
.v27-team-access a:hover,
.secondary-btn:hover,
.primary-btn:hover,
.button-link:hover,
.public-team-section > a:hover {
    transform: translateY(-2px);
}
.v27-navigation > a:hover::after,
.admin-nav a:hover::after,
.admin-nav a.active::after { transform: scaleX(1); }
.v27-navigation > a:hover,
.admin-nav a:hover,
.v27-navigation > a.active,
.admin-nav a.active { color: var(--v27-red); }

.v27-service-card:hover,
.v27-about-values article:hover,
.v27-process-grid article:hover,
.v27-partners-panel:hover,
.v27-qr-card:hover,
.v27-feature-badge:hover,
.v27-floating-card:hover,
.public-service-card:hover,
.option-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(17,18,22,.1);
}
.v27-service-card:hover .v27-service-symbol,
.option-card:hover span {
    filter: saturate(1.04);
}

/* Footer logo visibility fix */
.v27-footer-brand img {
    width: 214px;
    padding: 14px 18px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 42px rgba(0,0,0,.24);
}
.v27-footer-brand p { margin-top: 16px; }

/* Additional polish for cards */
.v27-service-card,
.v27-about-values article,
.v27-process-grid article,
.v27-partners-panel,
.v27-qr-card,
.public-service-card,
.option-card,
.login-card,
.survey-step { overflow: hidden; }
.v27-service-card::before,
.v27-about-values article::before,
.v27-process-grid article::before,
.v27-partners-panel::before,
.v27-qr-card::before,
.public-service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.18) 42%, transparent 84%);
    transform: translateX(-120%);
    transition: transform .8s ease;
    pointer-events: none;
}
.v27-service-card,
.v27-about-values article,
.v27-process-grid article,
.v27-partners-panel,
.v27-qr-card,
.public-service-card { position: relative; }
.v27-service-card:hover::before,
.v27-about-values article:hover::before,
.v27-process-grid article:hover::before,
.v27-partners-panel:hover::before,
.v27-qr-card:hover::before,
.public-service-card:hover::before { transform: translateX(120%); }

@media (max-width: 880px) {
    .brand-logo-image { width: 132px; }
    .brand-logo-copy strong { font-size: 16px; }
    .v27-phone-stage,
    .v27-feature-phone { animation-duration: 7.2s; }
}
@media (max-width: 640px) {
    .brand-logo-wrap { gap: 10px; }
    .brand-logo-image { width: 122px; }
    .brand-logo-copy strong { font-size: 15px; }
    .brand-logo-copy span { font-size: 10px; }
    .sidebar-badge { max-width: 188px; }
    .v27-footer-brand img { width: 190px; padding: 12px 14px; }
}


/* ============================================================
   EGARAGI CREATIVE HOMEPAGE — v2.8
   ============================================================ */
.landing-v28 {
    --v28-red: #f01d2d;
    --v28-red-deep: #b90816;
    --v28-black: #0a0b0e;
    --v28-charcoal: #15161b;
    --v28-silver: #d7d8de;
    --v28-cream: #fbfaf8;
    background: var(--v28-cream);
}

.landing-v28 .v27-header {
    top: 14px;
    width: min(1320px, calc(100% - 28px));
    min-height: 72px;
    margin: 0 auto -72px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 22px;
    background: rgba(17,18,22,.78);
    box-shadow: 0 22px 60px rgba(0,0,0,.22);
    backdrop-filter: blur(22px);
}
.landing-v28 .v27-header-inner { min-height: 72px; }
.landing-v28 .v27-logo-link {
    width: 166px;
    padding: 8px 12px;
    border-radius: 12px;
    background: #fff;
}
.landing-v28 .v27-navigation > a { color: rgba(255,255,255,.72); }
.landing-v28 .v27-navigation > a:hover,
.landing-v28 .v27-navigation > a.is-current { color: #fff; }
.landing-v28 .v27-navigation .v27-login-button {
    color: #fff;
    border-color: rgba(255,255,255,.17);
    background: rgba(255,255,255,.07);
}
.landing-v28 .v27-navigation .v27-header-cta {
    background: linear-gradient(135deg, var(--v28-red), #ff4a57);
    box-shadow: 0 14px 30px rgba(240,29,45,.28);
}

.v28-hero {
    min-height: 900px;
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 76% 42%, rgba(240,29,45,.2), transparent 23rem),
        radial-gradient(circle at 18% 95%, rgba(240,29,45,.14), transparent 32rem),
        linear-gradient(145deg, #08090c 0%, #131419 54%, #090a0d 100%);
}
.v28-hero-grid-pattern {
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image:
        linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(90deg, rgba(0,0,0,.85), transparent 78%);
}
.v28-hero::after {
    content: "";
    position: absolute;
    width: 58%;
    height: 135%;
    right: -12%;
    top: -18%;
    transform: rotate(11deg);
    background: linear-gradient(90deg, transparent, rgba(240,29,45,.06), rgba(240,29,45,.14), transparent);
    border-left: 1px solid rgba(255,255,255,.07);
    border-right: 1px solid rgba(255,255,255,.07);
}
.v28-hero-word {
    position: absolute;
    left: -1.5vw;
    bottom: -5vw;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,.055);
    font-size: clamp(130px, 20vw, 330px);
    font-weight: 950;
    letter-spacing: -.08em;
    line-height: .7;
    white-space: nowrap;
    user-select: none;
}
.v28-hero-flare { position: absolute; border-radius: 50%; filter: blur(3px); }
.v28-flare-one { width: 430px; height: 430px; right: 1%; top: 7%; border: 1px solid rgba(240,29,45,.27); box-shadow: 0 0 120px rgba(240,29,45,.14); }
.v28-flare-two { width: 260px; height: 260px; left: -110px; top: 38%; background: rgba(240,29,45,.13); filter: blur(35px); }
.v28-hero-layout {
    min-height: 900px;
    padding: 145px 0 75px;
    display: grid;
    grid-template-columns: minmax(0,1.06fr) minmax(440px,.94fr);
    align-items: center;
    gap: clamp(45px, 7vw, 100px);
    position: relative;
    z-index: 3;
}
.v28-live-label {
    width: fit-content;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 999px;
    color: rgba(255,255,255,.72);
    background: rgba(255,255,255,.045);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}
.v28-live-label b { padding: 4px 7px; border-radius: 999px; color: #fff; background: var(--v28-red); }
.v28-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #43da87; box-shadow: 0 0 0 6px rgba(67,218,135,.12); animation: v28LivePulse 1.8s ease-in-out infinite; }
@keyframes v28LivePulse { 50% { box-shadow: 0 0 0 10px rgba(67,218,135,0); } }
.v28-hero-copy h1 {
    max-width: 780px;
    margin: 27px 0 22px;
    font-size: clamp(55px, 6.6vw, 91px);
    line-height: .93;
    letter-spacing: -.06em;
    font-weight: 800;
}
.v28-hero-copy h1 strong {
    display: block;
    color: var(--v28-red);
    font-weight: 950;
    text-shadow: 0 17px 55px rgba(240,29,45,.18);
}
.v28-hero-copy > p { max-width: 670px; margin: 0; color: rgba(255,255,255,.62); font-size: clamp(17px,1.5vw,20px); line-height: 1.72; }
.v28-hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.v28-main-button,
.v28-ghost-button {
    min-height: 58px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-radius: 15px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.v28-main-button { color: #fff; background: linear-gradient(135deg, var(--v28-red), #ff4b58); box-shadow: 0 18px 40px rgba(240,29,45,.28); }
.v28-main-button i { font-size: 21px; font-style: normal; }
.v28-ghost-button { color: #fff; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.045); backdrop-filter: blur(10px); }
.v28-button-play { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: var(--v28-red); background: #fff; font-size: 9px; }
.v28-main-button:hover,
.v28-ghost-button:hover { transform: translateY(-4px); }
.v28-main-button:hover { box-shadow: 0 25px 55px rgba(240,29,45,.36); }
.v28-ghost-button:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); }
.v28-hero-metrics { margin-top: 52px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; }
.v28-hero-metrics article {
    min-height: 105px;
    padding: 15px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
    transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.v28-hero-metrics article:hover { transform: translateY(-5px); border-color: rgba(240,29,45,.45); background: rgba(240,29,45,.08); }
.v28-hero-metrics span,
.v28-hero-metrics strong,
.v28-hero-metrics small { display: block; }
.v28-hero-metrics span { color: var(--v28-red); font-size: 10px; font-weight: 950; }
.v28-hero-metrics strong { margin-top: 14px; font-size: 15px; }
.v28-hero-metrics small { margin-top: 5px; color: rgba(255,255,255,.46); font-size: 10px; line-height: 1.4; }
.v28-hero-visual { min-height: 690px; display: grid; place-items: center; position: relative; perspective: 1200px; }
.v28-visual-halo { position: absolute; width: 510px; height: 510px; border-radius: 50%; background: radial-gradient(circle, rgba(240,29,45,.2), rgba(240,29,45,.03) 57%, transparent 72%); filter: blur(3px); }
.v28-visual-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); }
.v28-visual-orbit.orbit-a { width: 560px; height: 560px; animation: v28Orbit 24s linear infinite; }
.v28-visual-orbit.orbit-b { width: 680px; height: 680px; border-style: dashed; border-color: rgba(240,29,45,.22); animation: v28Orbit 34s linear reverse infinite; }
@keyframes v28Orbit { to { transform: rotate(360deg); } }
.v28-phone-card {
    --phone-x: 0px;
    --phone-y: 0px;
    --phone-rx: 0deg;
    --phone-ry: 0deg;
    width: min(390px, 79vw);
    padding: 12px 12px 0;
    position: relative;
    z-index: 4;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 42px;
    background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.025));
    box-shadow: 0 55px 80px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.14);
    transform: translate3d(var(--phone-x),var(--phone-y),0) rotateX(var(--phone-rx)) rotateY(var(--phone-ry));
    transition: transform .28s ease-out;
    backdrop-filter: blur(18px);
}
.v28-phone-topline { padding: 4px 10px 11px; display: flex; justify-content: space-between; color: rgba(255,255,255,.45); font-size: 8px; letter-spacing: .09em; }
.v28-phone-topline b { color: var(--v28-red); }
.v28-phone-card img { display: block; width: 100%; height: auto; filter: drop-shadow(0 15px 22px rgba(0,0,0,.25)); }
.v28-orbit-chip {
    position: absolute;
    z-index: 5;
    min-width: 102px;
    padding: 11px 13px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    color: #fff;
    background: rgba(13,14,18,.79);
    box-shadow: 0 18px 38px rgba(0,0,0,.25);
    backdrop-filter: blur(13px);
    animation: v28ChipFloat 5.5s ease-in-out infinite;
}
.v28-orbit-chip span,
.v28-orbit-chip strong { display: block; }
.v28-orbit-chip span { color: var(--v28-red); font-size: 9px; font-weight: 950; }
.v28-orbit-chip strong { margin-top: 3px; font-size: 12px; }
.chip-buy { left: -4%; top: 19%; }
.chip-service { right: -6%; top: 29%; animation-delay: -1.3s; }
.chip-auction { left: -8%; bottom: 23%; animation-delay: -2.7s; }
.chip-help { right: -4%; bottom: 15%; animation-delay: -4s; }
@keyframes v28ChipFloat { 50% { transform: translateY(-10px); } }
.v28-visual-caption { position: absolute; z-index: 5; bottom: 1%; left: 50%; transform: translateX(-50%); width: min(310px,70vw); padding: 14px 17px; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; text-align: center; background: rgba(8,9,12,.78); backdrop-filter: blur(14px); }
.v28-visual-caption span,
.v28-visual-caption strong { display: block; }
.v28-visual-caption span { color: rgba(255,255,255,.45); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.v28-visual-caption strong { margin-top: 5px; font-size: 13px; }
.v28-scroll-cue { position: absolute; z-index: 5; left: 50%; bottom: 17px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.38); font-size: 9px; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.v28-scroll-cue i { width: 33px; height: 1px; position: relative; background: rgba(255,255,255,.3); }
.v28-scroll-cue i::after { content: ""; position: absolute; right: 0; top: -2px; width: 5px; height: 5px; border-right: 1px solid #fff; border-bottom: 1px solid #fff; transform: rotate(-45deg); }

/* Dual-lane creative marquee */
.v28-service-stream {
    position: relative;
    z-index: 8;
    margin-top: -1px;
    padding: 23px 0 27px;
    display: grid;
    grid-template-columns: 245px minmax(0,1fr);
    align-items: stretch;
    overflow: hidden;
    color: #111216;
    background: #f0f0f3;
    border-bottom: 1px solid #dadae0;
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
}
.v28-service-stream::before { content: ""; position: absolute; inset: 0; opacity: .55; background-image: linear-gradient(135deg, rgba(17,18,22,.04) 25%, transparent 25%, transparent 50%, rgba(17,18,22,.04) 50%, rgba(17,18,22,.04) 75%, transparent 75%); background-size: 22px 22px; }
.v28-stream-intro { z-index: 2; padding: 22px 25px 22px 35px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid #d5d5da; background: rgba(255,255,255,.74); backdrop-filter: blur(10px); }
.v28-stream-intro span,
.v28-stream-intro strong,
.v28-stream-intro small { display: block; }
.v28-stream-intro span { color: var(--v28-red); font-size: 10px; font-weight: 950; letter-spacing: .12em; }
.v28-stream-intro strong { margin-top: 7px; font-size: 19px; line-height: 1.04; }
.v28-stream-intro small { margin-top: 6px; color: #777982; font-size: 10px; }
.v28-stream-lanes { min-width: 0; z-index: 2; padding: 3px 0; display: grid; gap: 8px; overflow: hidden; }
.v28-stream-lane { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.v28-stream-track { width: max-content; display: flex; gap: 9px; animation: v28StreamForward 31s linear infinite; }
.lane-reverse .v28-stream-track { animation-name: v28StreamReverse; animation-duration: 35s; }
.v28-stream-lane:hover .v28-stream-track { animation-play-state: paused; }
.v28-stream-pill { min-height: 47px; padding: 0 17px; display: inline-flex; align-items: center; gap: 10px; border: 1px solid #d7d7dc; border-radius: 999px; color: #222329; background: rgba(255,255,255,.88); box-shadow: 0 9px 22px rgba(17,18,22,.05); font-size: 12px; font-weight: 850; white-space: nowrap; transition: transform .25s ease, box-shadow .25s ease; }
.v28-stream-pill b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--v28-red); background: #fff0f1; font-size: 8px; }
.v28-stream-pill i { color: #92949c; font-style: normal; }
.v28-stream-pill.red { color: #fff; border-color: var(--v28-red); background: var(--v28-red); }
.v28-stream-pill.red b { color: var(--v28-red); background: #fff; }
.v28-stream-pill.red i { color: rgba(255,255,255,.7); }
.v28-stream-pill.dark { color: #fff; border-color: var(--v28-black); background: var(--v28-black); }
.v28-stream-pill.dark b { color: #fff; background: var(--v28-red); }
.v28-stream-pill.dark i { color: rgba(255,255,255,.6); }
.v28-stream-pill:hover { transform: scale(1.035); box-shadow: 0 14px 28px rgba(17,18,22,.12); }
@keyframes v28StreamForward { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes v28StreamReverse { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* More creative section styling */
.landing-v28 .v27-about { padding-top: 130px; background: linear-gradient(180deg,#fbfaf8,#fff); }
.landing-v28 .v27-about-grid { padding: 40px 0 45px; border-top: 1px solid #e2e2e6; }
.landing-v28 .v27-section-heading h2,
.landing-v28 .v27-services-heading h2,
.landing-v28 .v27-feature-copy h2,
.landing-v28 .v27-process-heading h2,
.landing-v28 .v27-partners-copy h2,
.landing-v28 .v27-download-copy h2 { text-wrap: balance; }
.landing-v28 .v27-about-values { gap: 12px; border: 0; }
.landing-v28 .v27-about-values article { border: 1px solid #e3e3e8; border-radius: 20px; background: #fff; box-shadow: 0 14px 35px rgba(17,18,22,.04); }
.landing-v28 .v27-about-values article:hover { color: #fff; border-color: var(--v28-red); background: linear-gradient(145deg,var(--v28-red),var(--v28-red-deep)); }
.landing-v28 .v27-about-values article:hover > span,
.landing-v28 .v27-about-values article:hover p { color: rgba(255,255,255,.72); }
.landing-v28 .v27-services { position: relative; overflow: hidden; background: #101116; color: #fff; }
.landing-v28 .v27-services::before { content: "SERVICES"; position: absolute; right: -2vw; top: 0; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.04); font-size: clamp(100px,15vw,230px); font-weight: 950; line-height: 1; }
.landing-v28 .v27-services-heading > p { color: rgba(255,255,255,.56); }
.landing-v28 .v27-services .v27-section-tag { color: var(--v28-red); }
.v28-service-tabs { position: relative; z-index: 3; margin: 0 0 28px; padding: 6px; display: inline-flex; flex-wrap: wrap; gap: 5px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(255,255,255,.045); }
.v28-service-tabs button { min-height: 42px; padding: 0 16px; position: relative; overflow: hidden; border: 0; border-radius: 11px; color: rgba(255,255,255,.57); background: transparent; font-weight: 850; cursor: pointer; transition: color .25s ease, background .25s ease, transform .25s ease; }
.v28-service-tabs button::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg,var(--v28-red),#ff4a57); transform: scale(.75); opacity: 0; border-radius: inherit; transition: transform .3s ease, opacity .3s ease; }
.v28-service-tabs button span { position: relative; }
.v28-service-tabs button:hover { color: #fff; transform: translateY(-2px); }
.v28-service-tabs button.active { color: #fff; background: var(--v28-red); box-shadow: 0 12px 25px rgba(240,29,45,.22); }
.landing-v28 .v27-services-grid { perspective: 1100px; }
.landing-v28 .v27-service-card {
    --rotate-x: 0deg;
    --rotate-y: 0deg;
    --pointer-x: 50%;
    --pointer-y: 50%;
    color: #fff;
    border-color: rgba(255,255,255,.1);
    background:
        radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(240,29,45,.14), transparent 32%),
        linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.022));
    box-shadow: 0 18px 40px rgba(0,0,0,.16);
    transform: rotateX(var(--rotate-x)) rotateY(var(--rotate-y));
    transform-style: preserve-3d;
}
.landing-v28 .v27-service-card:hover { border-color: rgba(240,29,45,.5); box-shadow: 0 28px 58px rgba(0,0,0,.28), 0 0 0 1px rgba(240,29,45,.1); }
.landing-v28 .v27-service-card p { color: rgba(255,255,255,.55); }
.landing-v28 .v27-service-card a { color: #fff; }
.landing-v28 .v27-service-symbol { color: #fff; background: rgba(240,29,45,.19); border: 1px solid rgba(240,29,45,.35); }
.landing-v28 .v27-service-number { color: rgba(255,255,255,.32); }
.landing-v28 .v27-service-card-red { background: linear-gradient(145deg,var(--v28-red),var(--v28-red-deep)); }
.v27-service-card.is-filtered-out { position: absolute !important; opacity: 0; pointer-events: none; transform: scale(.87) translateY(15px) !important; }
.landing-v28 .v27-services-grid { position: relative; }
.landing-v28 .v27-service-card { transition: opacity .35s ease var(--filter-delay,0ms), transform .35s ease var(--filter-delay,0ms), border-color .25s ease, box-shadow .25s ease; }
.landing-v28 .v27-features { background: linear-gradient(180deg,#fff,#f5f5f7); }
.landing-v28 .v27-feature-red-block { background: linear-gradient(145deg,#ff2332,#a70511); box-shadow: 0 35px 75px rgba(240,29,45,.25); }
.landing-v28 .v27-process { background: radial-gradient(circle at 86% 10%,rgba(240,29,45,.19),transparent 25rem),#090a0d; }
.landing-v28 .v27-process-grid article { transition: transform .3s ease, background .3s ease; }
.landing-v28 .v27-process-grid article:hover { transform: translateY(-7px); background: rgba(240,29,45,.1); }
.landing-v28 .v27-partners { background: linear-gradient(180deg,#f6f6f8,#fff); }
.landing-v28 .v27-partners-panel { background: radial-gradient(circle at 92% 7%,rgba(240,29,45,.5),transparent 22rem),linear-gradient(145deg,#0b0c0f,#25272e); }
.landing-v28 .v27-download { position: relative; overflow: hidden; background: linear-gradient(135deg,#ed1d2d,#a90613); }
.landing-v28 .v27-download::before { content: "DOWNLOAD"; position: absolute; right: -1%; bottom: -10%; color: rgba(255,255,255,.07); font-size: clamp(85px,14vw,200px); font-weight: 950; letter-spacing: -.07em; }

/* Scroll reveal */
.v28-js .v28-reveal { opacity: 0; transform: translateY(38px); transition: opacity .8s cubic-bezier(.2,.7,.2,1) var(--reveal-delay,0ms), transform .8s cubic-bezier(.2,.7,.2,1) var(--reveal-delay,0ms); }
.v28-js .v28-reveal[data-reveal="left"] { transform: translateX(-42px); }
.v28-js .v28-reveal[data-reveal="right"] { transform: translateX(42px); }
.v28-js .v28-reveal.is-visible { opacity: 1; transform: translate(0,0); }

@media (max-width: 1050px) {
    .v28-hero-layout { grid-template-columns: minmax(0,1fr) minmax(390px,.78fr); }
    .v28-orbit-chip { min-width: 86px; }
    .v28-service-stream { grid-template-columns: 205px minmax(0,1fr); }
}
@media (max-width: 880px) {
    .landing-v28 .v27-header { top: 8px; }
    .landing-v28 .v27-navigation { background: rgba(12,13,17,.97); border-color: rgba(255,255,255,.1); }
    .v28-hero-layout { min-height: 0; padding-top: 132px; grid-template-columns: 1fr; text-align: center; }
    .v28-live-label { margin: 0 auto; }
    .v28-hero-copy > p { margin: 0 auto; }
    .v28-hero-actions { justify-content: center; }
    .v28-hero-metrics { text-align: left; }
    .v28-hero-visual { min-height: 720px; }
    .v28-service-stream { grid-template-columns: 1fr; clip-path: none; }
    .v28-stream-intro { padding: 18px 24px; align-items: center; text-align: center; border-right: 0; border-bottom: 1px solid #d5d5da; }
    .landing-v28 .v27-about { padding-top: 95px; }
}
@media (max-width: 640px) {
    .landing-v28 .v27-header { width: calc(100% - 16px); border-radius: 17px; }
    .landing-v28 .v27-logo-link { width: 140px; }
    .v28-hero-layout { width: calc(100% - 24px); padding-top: 124px; }
    .v28-hero-copy h1 { font-size: clamp(47px,14.5vw,65px); }
    .v28-live-label { font-size: 9px; }
    .v28-hero-actions { flex-direction: column; }
    .v28-main-button,
    .v28-ghost-button { width: 100%; }
    .v28-hero-metrics { grid-template-columns: 1fr; }
    .v28-hero-visual { min-height: 590px; }
    .v28-phone-card { width: min(310px,81vw); }
    .v28-visual-orbit.orbit-a { width: 390px; height: 390px; }
    .v28-visual-orbit.orbit-b { width: 470px; height: 470px; }
    .chip-buy { left: 0; }
    .chip-service { right: 0; }
    .chip-auction { left: -2%; }
    .chip-help { right: -2%; }
    .v28-orbit-chip strong { display: none; }
    .v28-orbit-chip { min-width: 0; padding: 10px; }
    .v28-visual-caption { bottom: 0; }
    .v28-scroll-cue { display: none; }
    .v28-stream-intro strong { font-size: 16px; }
    .v28-stream-pill { min-height: 43px; padding: 0 14px; font-size: 11px; }
    .v28-service-tabs { width: 100%; display: grid; grid-template-columns: repeat(2,1fr); }
    .v28-service-tabs button { padding: 0 9px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .v28-live-dot,
    .v28-visual-orbit,
    .v28-orbit-chip,
    .v28-stream-track { animation: none !important; }
    .v28-js .v28-reveal { opacity: 1; transform: none; transition: none; }
    .v28-phone-card { transition: none; }
}


/* ============================================================
   v2.8.1 visual fix update
   Fix overlapping service cards, invisible buttons and low-contrast text
   ============================================================ */

/* Stronger CTA visibility */
.landing-v28 .v27-primary-cta,
.landing-v28 .v27-primary-cta:link,
.landing-v28 .v27-primary-cta:visited {
    min-width: 236px;
    color: #fff !important;
    border: 0;
    background: linear-gradient(135deg, #f11d2d 0%, #b30815 100%) !important;
    box-shadow: 0 18px 38px rgba(241,29,45,.24);
}
.landing-v28 .v27-primary-cta span,
.landing-v28 .v27-primary-cta b { color: #fff !important; position: relative; z-index: 1; }
.landing-v28 .v27-primary-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 46px rgba(241,29,45,.30);
}

.landing-v28 .v27-download-actions {
    align-items: center;
    flex-wrap: wrap;
}
.landing-v28 .v27-download-actions a,
.landing-v28 .v27-download-actions a:link,
.landing-v28 .v27-download-actions a:visited {
    min-width: 214px;
    padding: 0 22px;
    position: relative;
    overflow: hidden;
    text-align: center;
    font-size: 15px;
    line-height: 1;
    box-shadow: 0 14px 28px rgba(106,7,14,.12);
}
.landing-v28 .v27-download-actions a:first-child {
    color: #c30b18 !important;
    background: #fff !important;
}
.landing-v28 .v27-download-actions a:first-child span,
.landing-v28 .v27-download-actions a:first-child { color: #c30b18 !important; }
.landing-v28 .v27-download-actions .v27-download-login,
.landing-v28 .v27-download-actions .v27-download-login:link,
.landing-v28 .v27-download-actions .v27-download-login:visited {
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.45);
    background: rgba(255,255,255,.08) !important;
    backdrop-filter: blur(10px);
    box-shadow: none;
}
.landing-v28 .v27-download-actions a span { position: relative; z-index: 1; }

.landing-v28 .v27-team-access {
    padding: 58px 0;
    color: #fff;
    background:
      radial-gradient(circle at 88% 16%, rgba(241,29,45,.16), transparent 24rem),
      linear-gradient(135deg, #07080b 0%, #111318 100%) !important;
}
.landing-v28 .v27-team-access-inner {
    padding: 18px 22px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 28px;
    background: rgba(255,255,255,.03);
    box-shadow: 0 18px 44px rgba(0,0,0,.16);
}
.landing-v28 .v27-team-access-inner > div > span {
    color: rgba(255,255,255,.7) !important;
}
.landing-v28 .v27-team-access h2 {
    color: #fff !important;
}
.landing-v28 .v27-team-access p {
    color: rgba(255,255,255,.68) !important;
}
.landing-v28 .v27-team-access a,
.landing-v28 .v27-team-access a:link,
.landing-v28 .v27-team-access a:visited {
    min-width: 220px;
    justify-content: center;
    color: #fff !important;
    background: linear-gradient(135deg, #f11d2d 0%, #b30815 100%) !important;
    box-shadow: 0 18px 34px rgba(241,29,45,.22);
}
.landing-v28 .v27-team-access a span { color: #fff !important; }

/* Partners area CTA visibility */
.landing-v28 .v27-partners-copy .v27-primary-cta {
    display: inline-flex;
    margin-top: 12px;
}

/* Service tabs and grid stability */
.landing-v28 .v27-services-grid {
    align-items: stretch;
    grid-auto-rows: 1fr;
}
.landing-v28 .v27-service-card {
    min-height: 284px;
    isolation: isolate;
}
.landing-v28 .v27-service-card h3,
.landing-v28 .v27-service-card p,
.landing-v28 .v27-service-card a,
.landing-v28 .v27-service-card .v27-service-symbol,
.landing-v28 .v27-service-card .v27-service-number {
    position: relative;
    z-index: 2;
}
.landing-v28 .v27-service-card h3 {
    line-height: 1.08;
}
.landing-v28 .v27-service-card p {
    font-size: 16px;
    line-height: 1.58;
}
.landing-v28 .v27-service-card a {
    margin-top: 18px;
    align-self: end;
}
.landing-v28 .v27-service-card::before {
    z-index: 1;
}
.landing-v28 .v27-service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,.035), transparent 40%, rgba(0,0,0,.04));
    pointer-events: none;
    z-index: 0;
}
.v28-service-tabs button.active::before {
    transform: scale(1);
    opacity: 1;
}
.v28-service-tabs button.active span,
.v28-service-tabs button:hover span { position: relative; z-index: 1; }

/* Robust filtering: no overlap */
.v27-service-card.is-filtered-out {
    display: none !important;
    opacity: 0 !important;
    transform: none !important;
    pointer-events: none !important;
}

/* Better copy visibility on light sections */
.landing-v28 .v27-partners-copy > p,
.landing-v28 .v27-partners-copy li,
.landing-v28 .v27-download-copy p {
    color: #40424a;
}
.landing-v28 .v27-download-copy p {
    color: rgba(255,255,255,.86);
}
.landing-v28 .v27-partners-panel,
.landing-v28 .v27-qr-card {
    overflow: hidden;
}

/* Mobile cleanup */
@media (max-width: 880px) {
    .landing-v28 .v27-services-grid {
        grid-template-columns: 1fr;
    }
    .landing-v28 .v27-team-access-inner {
        padding: 18px;
    }
}
@media (max-width: 640px) {
    .landing-v28 .v27-download-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }
    .landing-v28 .v27-download-actions a,
    .landing-v28 .v27-team-access a,
    .landing-v28 .v27-primary-cta {
        width: 100%;
        min-width: 0;
    }
    .landing-v28 .v27-service-card {
        min-height: 250px;
    }
    .landing-v28 .v27-service-card p {
        font-size: 15px;
    }
}


/* ============================================================
   v2.8.2 — active service-tab text visibility fix
   ============================================================ */
.v28-service-tabs button {
    isolation: isolate;
    color: rgba(255,255,255,.68) !important;
}
.v28-service-tabs button::before {
    z-index: 0;
    pointer-events: none;
}
.v28-service-tabs button > span {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit !important;
    white-space: nowrap;
    opacity: 1 !important;
    visibility: visible !important;
}
.v28-service-tabs button:hover,
.v28-service-tabs button.active,
.v28-service-tabs button[aria-selected="true"] {
    color: #fff !important;
}
.v28-service-tabs button.active,
.v28-service-tabs button[aria-selected="true"] {
    background: linear-gradient(135deg, #f21e2f 0%, #ff4351 100%) !important;
    box-shadow: 0 12px 27px rgba(242,30,47,.28);
}
.v28-service-tabs button.active::before,
.v28-service-tabs button[aria-selected="true"]::before {
    opacity: 0 !important;
    transform: none !important;
}
.v28-service-tabs button.active > span,
.v28-service-tabs button[aria-selected="true"] > span,
.v28-service-tabs button:hover > span {
    color: #fff !important;
    text-shadow: 0 1px 1px rgba(0,0,0,.12);
}
@media (max-width: 640px) {
    .v28-service-tabs button > span {
        white-space: normal;
        line-height: 1.2;
        text-align: center;
    }
}


/* v2.8.3 QR caption visibility fix */
.landing-v28 .v27-qr-card {
    color: #161922 !important;
}
.landing-v28 .v27-qr-card > div {
    position: relative;
    z-index: 2;
    padding: 12px 8px 4px;
    border-radius: 12px;
    background: #fff;
}
.landing-v28 .v27-qr-card strong {
    color: #111318 !important;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.25;
}
.landing-v28 .v27-qr-card span {
    color: #44484f !important;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}
