:root {
    --red: #e31c24;
    --red-hover: #c4181f;
    --ink: #111318;
    --muted: #6b7280;
    --line: #e6e8ec;
    --bg: #f4f5f7;
    --dark: #0c0f14;
    --dark-2: #151922;
    --radius: 16px;
    --shadow: 0 18px 50px rgba(12, 15, 20, 0.18);
    font-family: Manrope, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: Manrope, system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    max-width: 100%;
}

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 68px;
    padding: 8px 0;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 800;
    font-size: 18px;
}
.brand-logo {
    height: 36px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
}
.brand img { height: 36px; width: auto; }
.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--red), #9b1218);
    color: #fff;
    font-weight: 800;
}
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: #5b616b; font-weight: 600; font-size: 14px; }
.nav-links a:hover { color: var(--red); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    color: var(--ink);
    font-size: 22px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    padding: 10px 16px;
    font-weight: 800;
    font-size: 13px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: .15s ease;
}
.btn-red { background: var(--red); color: #fff !important; box-shadow: 0 10px 24px rgba(227,28,36,.35); }
.btn-red:hover { background: var(--red-hover); }
.btn-ghost { color: var(--ink) !important; border-color: var(--line); background: #fff; }
.btn-ghost:hover { border-color: #d0d4db; background: #f8f9fb; }
.btn-white { background: #fff; color: var(--ink) !important; border-color: var(--line); }
.btn-white:hover { background: #f8f9fb; }
.btn-outline { color: var(--ink) !important; border-color: var(--line); background: #fff; }
.btn-lg { padding: 14px 22px; font-size: 14px; }
.btn-block { width: 100%; }

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f7f8fa 55%, #f0f2f5 100%);
    color: var(--ink);
    padding: 48px 0 40px;
    border-bottom: 1px solid var(--line);
}
.hero-glow {
    position: absolute;
    width: 520px;
    height: 520px;
    right: -120px;
    top: -140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(227,28,36,.12), transparent 68%);
    pointer-events: none;
}
.hero > .container {
    position: relative;
    z-index: 1;
}
.hero-layout {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 28px 40px;
    align-items: start;
}
.hero-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-top: 8px;
}
.eyebrow {
    color: var(--red);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .04em;
    margin: 0 0 12px;
}
.hero h1 {
    margin: 0 0 14px;
    font-size: clamp(30px, 4.2vw, 48px);
    line-height: 1.08;
    letter-spacing: -.03em;
    font-weight: 800;
    color: var(--ink);
}
.hero h1 span {
    display: block;
    background: linear-gradient(90deg, #e31c24, #c4181f 55%, #ff4d55);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.lead {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 0 22px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }

/* Right visual */
.hero-visual {
    position: relative;
    min-height: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 8px 0 12px;
}
.erp-stage {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
}
.erp-frame {
    background: #0b0e13;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 30px 80px rgba(0,0,0,.45),
        0 0 0 1px rgba(227,28,36,.12),
        0 0 60px rgba(227,28,36,.18);
    transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
    transition: transform .35s ease;
}
.erp-stage:hover .erp-frame {
    transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}
.erp-chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #151922;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.erp-chrome span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3f4654;
}
.erp-chrome span:nth-child(1) { background: #ff5f57; }
.erp-chrome span:nth-child(2) { background: #febc2e; }
.erp-chrome span:nth-child(3) { background: #28c840; }
.erp-chrome em {
    margin-left: 10px;
    font-style: normal;
    font-size: 11px;
    color: #8b949e;
    font-weight: 600;
}
.erp-body {
    display: grid;
    grid-template-columns: 118px 1fr;
    min-height: 280px;
}
.erp-side {
    background: #11151c;
    padding: 12px 10px;
    border-right: 1px solid rgba(255,255,255,.05);
}
.erp-side-brand {
    font-size: 10px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
    padding: 8px;
    border-radius: 8px;
    background: rgba(255,255,255,.04);
}
.erp-side-item {
    font-size: 10px;
    color: #8b949e;
    font-weight: 600;
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 4px;
}
.erp-side-item.active {
    background: rgba(227,28,36,.18);
    color: #ff8a9a;
}
.erp-main { padding: 12px; background: #f3f4f6; }
.erp-banner {
    display: flex;
    gap: 10px;
    align-items: center;
    background: linear-gradient(135deg, #0c0f14, #1a1f28);
    color: #fff;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
}
.erp-banner-logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(145deg, #e31c24, #9b1218);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 14px;
}
.erp-banner small { display: block; color: #f3b0b3; font-size: 9px; }
.erp-banner strong { font-size: 12px; }
.erp-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 10px;
}
.erp-kpis div {
    background: #fff;
    border-radius: 10px;
    padding: 8px 6px;
    text-align: center;
    border: 1px solid #e5e7eb;
}
.erp-kpis b { display: block; font-size: 12px; color: #111; }
.erp-kpis span { font-size: 8px; color: #6b7280; font-weight: 700; }
.erp-charts {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 6px;
}
.erp-chart {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px;
    min-height: 96px;
}
.erp-chart span {
    display: block;
    margin-top: 8px;
    font-size: 9px;
    font-weight: 700;
    color: #6b7280;
}
.erp-bars {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 58px;
}
.erp-bars i {
    flex: 1;
    height: var(--h);
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, #e31c24, #7c1015);
    display: block;
}
.erp-bars i:nth-child(even) {
    background: linear-gradient(180deg, #334155, #0f172a);
}
.erp-donut {
    width: 54px;
    height: 54px;
    margin: 4px auto 0;
    border-radius: 50%;
    background: conic-gradient(#e31c24 0 55%, #111318 55% 78%, #d4a017 78% 100%);
    mask: radial-gradient(circle at center, transparent 52%, #000 53%);
    -webkit-mask: radial-gradient(circle at center, transparent 52%, #000 53%);
}
.erp-float {
    position: absolute;
    z-index: 3;
    background: rgba(17, 19, 24, .92);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    padding: 12px 14px;
    min-width: 128px;
    box-shadow: 0 16px 40px rgba(0,0,0,.35);
    backdrop-filter: blur(8px);
    animation: floatY 4.5s ease-in-out infinite;
}
.erp-float-a { top: 10px; left: 0; }
.erp-float-b { bottom: 20px; right: 0; animation-delay: -1.6s; }
.erp-float-label {
    display: block;
    font-size: 10px;
    color: #f3b0b3;
    font-weight: 700;
    margin-bottom: 4px;
}
.erp-float strong {
    display: block;
    color: #fff;
    font-size: 20px;
    letter-spacing: -.02em;
}
.erp-float small { color: #94a3b8; font-size: 11px; }
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Uploaded screenshot stack */
.hero-shots {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    min-height: 0;
}
.hero-shot {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 24px 60px rgba(0,0,0,.4);
    background: #111;
}
.hero-shot img {
    width: 100%;
    height: auto;
    display: block;
}
.hero-shot-1 {
    position: relative;
    z-index: 2;
    transform: rotate(-2deg);
}
.hero-shot-2 {
    position: absolute;
    width: 78%;
    right: -8%;
    top: 12%;
    z-index: 1;
    transform: rotate(4deg);
    opacity: .92;
}
.hero-shot-3 {
    position: absolute;
    width: 70%;
    left: -6%;
    bottom: 0;
    z-index: 3;
    transform: rotate(-5deg);
}
.trust {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(17, 19, 24, 0.06);
    margin: 0;
}
.trust strong { display: block; font-size: 13px; color: var(--ink); }
.trust small { color: var(--muted); font-size: 12px; }
.avatars { display: flex; }
.avatars span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -8px;
    background: linear-gradient(145deg, #e31c24, #7c1015);
}
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2) { background: linear-gradient(145deg, #334155, #0f172a); }
.avatars span:nth-child(3) { background: linear-gradient(145deg, #d4a017, #7c5a08); }
.avatars span:nth-child(4) { background: linear-gradient(145deg, #e11d8f, #7a0f4c); }

.stats {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 44px 0;
    box-shadow: 0 -1px 0 rgba(255,255,255,.04);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 24px;
}
.stat { text-align: center; padding: 4px 8px; }
.stat strong {
    display: block;
    color: var(--red);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
    margin-bottom: 6px;
}
.stat span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.section { padding: 56px 0; }
.section-muted { background: var(--bg); }
.section-title {
    margin: 0 0 28px;
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: -.02em;
    font-weight: 800;
    text-align: center;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.portal-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 10px 28px rgba(15,23,42,.04);
}
.portal-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    margin-bottom: 16px;
}
.portal-icon svg { width: 22px; height: 22px; }
.portal-card h3 { margin: 0 0 8px; font-size: 17px; }
.portal-card p { margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.55; min-height: 62px; }
.portal-card a { color: var(--red); font-weight: 800; font-size: 13px; }

.module-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.module-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px;
}
.module-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--red);
    margin-bottom: 12px;
}
.module-card h3 { margin: 0 0 6px; font-size: 15px; }
.module-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.promo {
    border-radius: 18px;
    padding: 28px;
    min-height: 160px;
}
.promo h3 { margin: 0 0 10px; font-size: 20px; }
.promo p { margin: 0; line-height: 1.55; font-size: 14px; }
.promo-light { background: #eef6ff; color: #0f172a; }
.promo-rose { background: #fdecec; color: #0f172a; }
.promo-dark { background: #111318; color: #fff; }

.section-lead {
    text-align: center;
    color: var(--muted);
    max-width: 560px;
    margin: -12px auto 28px;
    font-size: 15px;
    line-height: 1.55;
}
.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}
.plans-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plan-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px 14px;
    box-shadow: 0 10px 28px rgba(15,23,42,.04);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    min-width: 0;
}
.plan-card.is-featured {
    border-color: rgba(227,28,36,.35);
    box-shadow: 0 16px 40px rgba(227,28,36,.12);
}
.plan-badge {
    position: absolute;
    top: 12px;
    right: 10px;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 999px;
}
.plan-top h3 { margin: 0 0 4px; font-size: 18px; padding-right: 72px; }
.plan-tag { margin: 0 0 12px; color: var(--red); font-weight: 700; font-size: 12px; }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; margin-bottom: 6px; }
.plan-price strong { font-size: 20px; letter-spacing: -.02em; }
.plan-price span { color: var(--muted); font-size: 12px; font-weight: 600; }
.plan-setup { margin: 0 0 4px; font-size: 12px; color: #374151; }
.plan-setup b { color: var(--ink); }
.plan-range { margin: 0 0 12px; font-size: 12px; color: var(--muted); font-weight: 600; }
.plan-features {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    flex: 1;
}
.plan-features li {
    position: relative;
    padding: 6px 0 6px 18px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 12px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.35;
}
.plan-features li:last-child { border-bottom: 0; }
.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 6px;
    color: #e31c24;
    font-weight: 800;
    font-size: 12px;
}
.plan-features-lg li { font-size: 15px; padding: 12px 0 12px 28px; }
.plan-features-lg li::before { top: 12px; font-size: 14px; }
.plan-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.plan-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 10px 12px;
    font-size: 12px;
}
.btn-ghost-dark {
    background: #fff;
    color: var(--ink) !important;
    border: 1px solid var(--line);
}
.plans-enquire {
    background: #111318;
    color: #fff;
    border-radius: 18px;
    padding: 22px;
}
.plans-enquire h3 { margin: 0 0 10px; font-size: 18px; }
.plans-enquire p { margin: 0 0 16px; color: #aeb6c2; font-size: 13px; line-height: 1.55; }
.plans-enquire ul { list-style: none; margin: 16px 0 0; padding: 0; }
.plans-enquire li {
    font-size: 13px;
    font-weight: 600;
    color: #e8ecf2;
    padding: 8px 0;
    border-top: 1px solid rgba(255,255,255,.08);
}
.plan-detail-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #07090d 0%, #12161d 48%, #1a1f28 100%);
    color: #fff;
    padding: 40px 0 48px;
}
.plan-detail-glow {
    position: absolute;
    width: 560px;
    height: 560px;
    left: 50%;
    top: -220px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(227,28,36,.28), transparent 68%);
    pointer-events: none;
}
.plan-detail-shell {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    padding: 28px 28px 30px;
    box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.plan-detail-shell .back-link {
    display: inline-block;
    color: #f3b0b3;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 16px;
}
.plan-detail-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(227,28,36,.16);
    border: 1px solid rgba(227,28,36,.28);
    color: #ffb4b8;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 14px;
}
.plan-detail-shell h1 {
    margin: 0 0 10px;
    font-size: clamp(34px, 5vw, 48px);
    letter-spacing: -.03em;
    font-weight: 800;
    line-height: 1.1;
}
.plan-detail-shell .lead {
    margin: 0 auto 22px;
    max-width: 520px;
    color: #aeb6c2;
    font-size: 15px;
    line-height: 1.6;
}
.plan-detail-price-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0 auto 14px;
    max-width: 480px;
}
.plan-price-pill {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    padding: 14px 12px;
    text-align: center;
}
.plan-price-pill .label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #f3b0b3;
    margin-bottom: 6px;
}
.plan-price-pill strong {
    display: block;
    font-size: 24px;
    letter-spacing: -.02em;
    line-height: 1.15;
}
.plan-price-pill em {
    display: block;
    margin-top: 4px;
    font-style: normal;
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
}
.plan-detail-range {
    margin: 0 0 20px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
}
.plan-detail-cta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}
.plan-detail-body { background: #f4f5f7; }
.plan-detail-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 20px;
    align-items: start;
}
.plan-include-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px 24px;
    box-shadow: 0 10px 28px rgba(15,23,42,.04);
}
.plan-include-card h2 {
    margin: 0 0 14px;
    font-size: 22px;
}
.plan-side-card {
    position: sticky;
    top: 88px;
}
.plan-side-card .btn-outline {
    border-color: rgba(255,255,255,.2);
}

/* Support modal */
body.support-open { overflow: hidden; }
.support-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.support-modal.is-open { display: flex; }
.support-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 10, 14, .75);
    backdrop-filter: blur(6px);
}
.support-dialog {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    background: #fff;
    color: var(--ink);
    border-radius: 22px;
    padding: 22px 22px 18px;
    box-shadow: 0 28px 70px rgba(0,0,0,.4);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}
.support-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: #f3f4f6;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #4b5563;
}
.support-close:hover { background: #e5e7eb; }
.support-head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
    padding-right: 36px;
}
.support-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(145deg, #e31c24, #9b1218);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 20px;
    flex-shrink: 0;
}
.support-dialog h3 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 800;
}
.support-sub {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}
.support-form {
    display: grid;
    gap: 12px;
}
.support-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.support-form label {
    display: grid;
    gap: 6px;
}
.support-form label span {
    font-size: 12px;
    font-weight: 800;
    color: #374151;
}
.support-form input,
.support-form textarea {
    width: 100%;
    border: 1px solid #dfe3ea;
    border-radius: 12px;
    padding: 11px 12px;
    font: inherit;
    background: #fff;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.support-form input:focus,
.support-form textarea:focus {
    border-color: rgba(227,28,36,.45);
    box-shadow: 0 0 0 3px rgba(227,28,36,.12);
}
.support-form textarea { resize: vertical; min-height: 96px; }
.support-contacts {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.support-contact-item {
    background: #f8f9fb;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}
.support-contact-item span {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 4px;
}
.support-contact-item a {
    color: var(--red) !important;
    font-weight: 800;
    font-size: 13px;
    word-break: break-all;
}

@media (max-width: 720px) {
    .support-row,
    .support-contacts,
    .plan-detail-price-row {
        grid-template-columns: 1fr;
    }
    .plan-detail-shell { padding: 22px 16px; }
}

.demo {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #0c0f14, #171b22 55%, #1c222c);
    color: #fff;
    padding: 80px 0;
}
.demo-glow {
    position: absolute;
    width: 480px;
    height: 480px;
    left: 50%;
    top: -120px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(227,28,36,.35), transparent 70%);
    pointer-events: none;
}
.demo-inner { position: relative; z-index: 1; max-width: 720px; text-align: center; }
.demo h2 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 40px); letter-spacing: -.02em; }
.demo > .container > p,
.demo-inner > p { color: #aeb6c2; margin: 0 0 28px; }
.demo-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    text-align: left;
    margin-bottom: 18px;
}
.demo-form input,
.demo-form textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    color: #fff;
    border-radius: 12px;
    padding: 14px 16px;
    font: inherit;
    outline: none;
}
.demo-form textarea { grid-column: 1 / -1; resize: vertical; }
.demo-form input::placeholder,
.demo-form textarea::placeholder { color: #8b949e; }
.demo-form button { grid-column: 1 / -1; }
.demo-links { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.alert-ok, .alert-err {
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 16px;
    text-align: left;
    font-size: 14px;
}
.alert-ok { background: #ecfdf3; color: #067647; }
.alert-err { background: #fef3f2; color: #b42318; }

.footer {
    background: #0a0c10;
    color: #c7ced8;
    padding: 56px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 28px;
    margin-bottom: 28px;
}
.footer-brand {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.footer-brand .brand-logo {
    height: 40px;
    max-width: 240px;
}
.footer h4 { color: #fff; margin: 0 0 12px; font-size: 14px; }
.footer a, .footer p { display: block; margin: 0 0 8px; font-size: 14px; color: #aeb6c2; }
.footer a:hover { color: #fff; }
.footer-product-credit {
    margin-top: 12px !important;
    font-size: 13px !important;
    color: #c7ced8 !important;
}
.footer-product-credit a {
    display: inline !important;
    color: #fff !important;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.footer-product-credit a:hover { color: #f3b0b3 !important; }
.footer-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.footer-by-link {
    color: #fff !important;
    font-weight: 800;
    font-size: 13px;
    white-space: nowrap;
}
.footer-by-link:hover { color: #f3b0b3 !important; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 18px;
    font-size: 13px;
}

@media (max-width: 960px) {
    .nav-links, .nav-actions { display: none; }
    body.nav-open .nav-links,
    body.nav-open .nav-actions {
        display: flex;
        flex-direction: column;
        position: absolute;
        left: 16px;
        right: 16px;
        top: 72px;
        background: #fff;
        padding: 16px;
        border-radius: 14px;
        border: 1px solid var(--line);
        box-shadow: 0 16px 40px rgba(17, 19, 24, 0.12);
    }
    body.nav-open .nav-actions { top: 210px; }
    .nav-toggle { display: inline-flex; }
    .plan-detail-grid {
        grid-template-columns: 1fr;
    }
    .plan-side-card { position: static; }
    .plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .plans-grid-3 { grid-template-columns: 1fr; }
    .hero-layout { grid-template-columns: 1fr; gap: 28px; }
    .erp-stage, .hero-shots { margin: 0 auto; max-width: 480px; }
    .erp-frame { transform: none; }
    .erp-stage:hover .erp-frame { transform: none; }
    .hero-visual { padding-bottom: 8px; }
    .stats { padding: 36px 0; }
    .section { padding: 48px 0; }
    .stats-grid, .portal-grid, .module-grid, .promo-grid, .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 640px) {
    .stats-grid, .portal-grid, .module-grid, .promo-grid, .footer-grid, .demo-form,
    .plans-grid {
        grid-template-columns: 1fr;
    }
    .hero { padding: 36px 0 28px; }
    .hero-visual { min-height: 0; }
    .erp-float { display: none; }
    .erp-body { grid-template-columns: 1fr; }
    .erp-side { display: none; }
    .stats { padding: 32px 0; }
    .stat strong { font-size: 26px; }
    .section { padding: 40px 0; }
    .footer-bottom { flex-direction: column; }
}
