:root {
    --blue: #075ff5;
    --blue-2: #0e82ff;
    --ink: #071938;
    --muted: #52637a;
    --line: #dbe5f2;
    --soft: #f3f8ff;
    --panel: #ffffff;
    --navy: #05172f;
    --green: #18b978;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
.page { min-height: 100vh; overflow-x: hidden; }
.container { width: min(1440px, calc(100% - 96px)); margin: 0 auto; }
svg { width: 1em; height: 1em; }

.site-header {
    height: 88px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,.96);
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 238px; }
.brand-mark { width: 47px; height: 54px; color: var(--blue); display: grid; place-items: center; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-title { display: block; font-size: 25px; line-height: .88; font-weight: 900; color: var(--ink); }
.brand-sub { display: block; color: var(--blue); font-size: 15px; font-weight: 800; letter-spacing: .08em; margin-top: 4px; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 700; }
.main-nav a { position: relative; padding: 34px 0; white-space: nowrap; }
.main-nav a.active { color: var(--blue); }
.main-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); }
.header-actions { display: flex; gap: 14px; align-items: center; }
.btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 11px;
    border: 1px solid #9cc2ff;
    padding: 0 22px;
    font-weight: 800;
    font-size: 14px;
    color: var(--ink);
    background: #fff;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(7, 95, 245, .05);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px rgba(7, 95, 245, .14); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }
.btn.primary { border-color: var(--blue); background: linear-gradient(180deg, var(--blue-2), var(--blue)); color: #fff; box-shadow: 0 14px 30px rgba(7, 95, 245, .22); }
.btn.primary:hover { filter: brightness(1.08); box-shadow: 0 18px 34px rgba(7, 95, 245, .3); }
.btn.success { border-color: var(--green); background: linear-gradient(180deg, #24ca89, #0fa66a); color: #fff; box-shadow: 0 14px 30px rgba(15, 166, 106, .24); }
.btn.success:hover { filter: brightness(1.08); box-shadow: 0 18px 34px rgba(15, 166, 106, .32); }
.btn.large { min-width: 258px; min-height: 58px; font-size: 16px; }

.hero {
    min-height: 368px;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(90deg, #fff 0%, rgba(255,255,255,.96) 29%, rgba(241,247,255,.88) 56%, rgba(255,255,255,.98) 76%),
        radial-gradient(circle at 70% 48%, rgba(6, 95, 245, .15), transparent 28%),
        repeating-linear-gradient(90deg, rgba(7,25,56,.04) 0 1px, transparent 1px 96px);
}
.theme-features .hero, .theme-blog .subhero { background: linear-gradient(120deg, #f4fbff, #fff 42%, #eef7ff); }
.theme-screens .hero, .theme-admin { background: linear-gradient(120deg, #f6f8ff, #fff 38%, #edf5ff); }
.theme-about .subhero { background: linear-gradient(120deg, #f8fbff, #fff 44%, #efffff); }
.theme-contact .subhero { background: linear-gradient(120deg, #f6fbff, #fff 45%, #eef9f4); }

.hero-inner { display: grid; grid-template-columns: minmax(430px, 1.05fr) minmax(520px, .95fr); align-items: stretch; min-height: 368px; }
.hero-copy { padding: 44px 0 26px; display: flex; flex-direction: column; justify-content: center; }
h1 { margin: 0; font-size: clamp(34px, 3vw, 47px); line-height: 1.08; letter-spacing: 0; }
h1 span { color: var(--blue); display: block; }
.hero-copy p, .lead { max-width: 650px; margin: 22px 0 30px; color: #354864; font-size: 17px; line-height: 1.7; font-weight: 500; }
.hero-actions { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.hero-badges { display: grid; grid-template-columns: repeat(4, max-content); gap: 42px; margin-top: 44px; color: var(--ink); font-weight: 700; font-size: 14px; }
.hero-badges span { display: inline-flex; align-items: center; gap: 10px; }
.hero-badges svg { width: 22px; height: 22px; color: var(--blue); }
.hero-visual { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: 368px; isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; inset: 0 28% 0 0; background: linear-gradient(90deg, rgba(255,255,255,.2), rgba(180,206,222,.38)), repeating-linear-gradient(90deg, transparent 0 44px, rgba(4,18,41,.05) 45px 46px); z-index: -2; }
.hand { width: 132px; height: 225px; border-radius: 70px 70px 22px 22px; background: linear-gradient(160deg, #f7c9a8, #d99572 68%, #b7785e); position: absolute; left: 33%; bottom: -38px; transform: rotate(5deg); box-shadow: -20px 16px 35px rgba(24,45,70,.15); z-index: -1; }
.phone { width: 176px; height: 318px; border-radius: 31px; background: #07111f; border: 6px solid #101827; padding: 15px 13px; color: #fff; box-shadow: 0 22px 38px rgba(3, 19, 43, .28); position: relative; margin-bottom: 20px; }
.phone::before { content: ""; width: 54px; height: 6px; background: #0d2039; border-radius: 12px; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); }
.phone-top { height: 30px; display: flex; align-items: end; justify-content: center; color: #cbd8ea; font-size: 11px; font-weight: 800; margin-bottom: 18px; }
.scan-box { width: 112px; height: 112px; margin: 0 auto 18px; border: 2px solid rgba(255,255,255,.85); border-radius: 4px; padding: 13px; position: relative; }
.scan-box::before, .scan-box::after { content: ""; position: absolute; inset: -10px; border: 3px solid transparent; border-top-color: rgba(255,255,255,.92); border-left-color: rgba(255,255,255,.92); width: 26px; height: 26px; }
.scan-box::after { inset: auto -10px -10px auto; border-top-color: transparent; border-left-color: transparent; border-right-color: rgba(255,255,255,.92); border-bottom-color: rgba(255,255,255,.92); }
.qr-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 2px; width: 100%; height: 100%; background: #fff; padding: 5px; }
.qr-grid span.on { background: #050505; }
.phone-code { text-align: center; font-size: 12px; color: #d8e1ef; font-weight: 800; }
.phone-code strong { display: block; font-size: 21px; color: #fff; margin: 4px 0 8px; letter-spacing: .03em; }
.phone-note { text-align: center; font-size: 10px; color: rgba(255,255,255,.78); line-height: 1.35; }
.checkpoint { width: 206px; min-height: 258px; padding: 20px 20px 18px; background: #fff; border-radius: 6px; border: 1px solid #b8c3d3; box-shadow: 0 17px 33px rgba(12,35,64,.18); position: absolute; right: 4%; top: 48px; transform: rotate(-3deg); }
.checkpoint-title { background: #0d60c9; color: #fff; font-weight: 900; text-align: center; margin: -13px -12px 18px; padding: 10px 8px; border-radius: 3px 3px 0 0; font-size: 17px; }
.checkpoint .qr-grid { width: 118px; height: 118px; margin: 0 auto 16px; }
.checkpoint-code { text-align: center; font-size: 28px; line-height: 1; font-weight: 900; color: #050505; }
.checkpoint-place { text-align: center; margin-top: 12px; font-weight: 850; color: #050505; }

.section { padding: 54px 0; }
.subhero { padding: 58px 0; border-bottom: 1px solid var(--line); }
.subhero h1 { max-width: 830px; }
.section-title { margin: 0 0 18px; text-align: center; font-size: 22px; font-weight: 900; letter-spacing: 0; }
.feature-strip { padding: 30px 0 26px; background: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.feature { min-height: 132px; padding: 0 28px; text-align: center; border-right: 1px solid var(--line); }
.feature:last-child { border-right: 0; }
.feature svg { width: 40px; height: 40px; color: var(--blue); margin-bottom: 13px; }
.feature h3 { margin: 0 0 9px; font-size: 15px; line-height: 1.25; }
.feature p { margin: 0; color: #273b58; font-size: 13px; line-height: 1.55; }
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-card, .blog-card, .contact-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; box-shadow: 0 12px 30px rgba(6,35,72,.08); transition: transform .2s ease, box-shadow .2s ease; }
.info-card:hover, .contact-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(6,35,72,.12); }
.info-card svg, .contact-card svg { width: 38px; height: 38px; color: var(--blue); }
.info-card h3, .blog-card h2, .contact-card h3 { margin: 16px 0 10px; }
.info-card p, .blog-card p, .contact-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.screens { padding: 6px 0 42px; }
.screens-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.screen-item { text-align: center; }
.screen-shot { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 14px 30px rgba(6, 35, 72, .14); border: 1px solid #d7e2ef; transition: transform .2s ease, box-shadow .2s ease; }
.screen-shot img { display: block; width: 100%; height: 168px; object-fit: cover; object-position: top; }
.screen-item:hover .screen-shot { transform: translateY(-4px); box-shadow: 0 22px 42px rgba(6, 35, 72, .2); }
.screen-item h3 { margin: 16px 0 4px; font-size: 15px; }
.screen-item p { margin: 0; color: #2d405e; font-size: 13px; }

.cta { margin: 0 0 28px; background: linear-gradient(90deg, #eff7ff, #f8fbff); border-radius: 6px; min-height: 112px; display: grid; grid-template-columns: 1.3fr 2.2fr 284px; align-items: center; gap: 26px; padding: 20px 28px; }
.cta-brand { display: flex; align-items: center; gap: 16px; border-right: 1px solid #c8d7ea; min-height: 72px; }
.cta-brand svg { width: 54px; height: 54px; color: var(--blue); }
.cta-brand strong { display: block; font-size: 21px; line-height: 1.1; }
.cta-brand span { color: var(--blue); }
.cta-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cta-point { display: flex; gap: 12px; align-items: center; font-size: 13px; line-height: 1.35; font-weight: 600; }
.cta-point svg { width: 31px; height: 31px; color: var(--blue); flex: 0 0 auto; }
.cta .btn { width: 100%; min-height: 68px; justify-content: space-between; padding: 0 22px; text-align: left; }
.cta .btn small { display: block; font-weight: 500; margin-top: 3px; }

.blog-grid { display: grid; grid-template-columns: 1.1fr .65fr; gap: 34px; align-items: start; }
.article { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 34px; box-shadow: 0 14px 32px rgba(6,35,72,.08); }
.article h2 { margin: 28px 0 10px; }
.article p, .article li { color: #354864; font-size: 16px; line-height: 1.78; }
.article ul { padding-left: 22px; }
.visual-panel { min-height: 260px; border-radius: 8px; padding: 28px; color: #fff; background: linear-gradient(140deg, rgba(5,23,47,.96), rgba(7,95,245,.82)), repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 1px, transparent 1px 48px); display: grid; align-content: end; box-shadow: 0 20px 44px rgba(5,23,47,.18); }
.visual-panel svg { width: 66px; height: 66px; margin-bottom: 18px; }
.visual-panel h3 { margin: 0 0 10px; font-size: 26px; }
.visual-panel p { margin: 0; line-height: 1.6; color: rgba(255,255,255,.88); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.site-footer { margin-top: 30px; background: #061a33; color: #d8e7fb; padding: 44px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .9fr .8fr; gap: 36px; }
.footer-brand .brand-title { color: #fff; }
.site-footer p { color: #afc2dc; line-height: 1.65; max-width: 440px; }
.site-footer h3 { margin: 0 0 14px; color: #fff; font-size: 16px; }
.site-footer a { display: block; color: #d8e7fb; margin: 9px 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 18px; color: #9db4cf; font-size: 13px; }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 30; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 18px 36px rgba(12,137,79,.34); transition: transform .2s ease, box-shadow .2s ease; padding: 6px; }
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 22px 44px rgba(12,137,79,.42); }
.whatsapp-float img { width: 100%; height: 100%; object-fit: contain; }

.admin-body { min-height: 100vh; background: linear-gradient(130deg, #05172f, #0d63da 52%, #f4f8ff); display: grid; place-items: center; padding: 24px; }
.login-card { width: min(430px, 100%); background: rgba(255,255,255,.96); border-radius: 12px; padding: 32px; box-shadow: 0 30px 70px rgba(3,18,42,.35); }
.login-card h1 { font-size: 30px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: grid; gap: 7px; margin: 14px 0; font-weight: 800; font-size: 13px; }
.field.full { grid-column: 1 / -1; }
.field input, .field textarea { width: 100%; border: 1px solid #cbd8ea; border-radius: 7px; padding: 12px 13px; font: inherit; color: var(--ink); background: #fff; }
.field textarea { min-height: 92px; resize: vertical; }
.alert { padding: 12px 14px; border-radius: 7px; margin: 14px 0; font-weight: 700; }
.alert.error { background: #fff1f1; color: #b42318; border: 1px solid #ffcccc; }
.alert.success { background: #effdf5; color: #087443; border: 1px solid #bcebd1; }
.admin-shell { min-height: 100vh; background: #f4f8ff; }
.admin-top { background: #071b34; color: #fff; padding: 18px 0; }
.admin-top .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.admin-panel { padding: 30px 0 54px; }
.admin-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 20px; }
.admin-tabs a { border: 1px solid #cbd8ea; background: #fff; border-radius: 7px; padding: 10px 13px; font-weight: 800; }
.admin-tabs a.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px; box-shadow: 0 14px 34px rgba(6,35,72,.08); }

@media (max-width: 1180px) {
    .container { width: min(100% - 44px, 1080px); }
    .main-nav { gap: 18px; }
    .brand { min-width: 210px; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { min-height: 330px; }
    .checkpoint { right: 14%; }
    .features-grid { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
    .feature:nth-child(3) { border-right: 0; }
    .feature-cards, .contact-grid { grid-template-columns: repeat(2, 1fr); }
    .screens-grid { grid-template-columns: repeat(2, 1fr); }
    .cta, .blog-grid, .footer-grid { grid-template-columns: 1fr; }
    .cta-brand { border-right: 0; border-bottom: 1px solid #c8d7ea; padding-bottom: 18px; }
}
@media (max-width: 860px) {
    .site-header { height: auto; padding: 14px 0; position: relative; }
    .nav-wrap { flex-wrap: wrap; }
    .brand { min-width: auto; }
    .main-nav { order: 3; width: 100%; overflow-x: auto; gap: 24px; padding-top: 8px; }
    .main-nav a { padding: 10px 0; flex: 0 0 auto; }
    .header-actions { margin-left: auto; }
    .hero-copy { padding-top: 34px; }
    .hero-badges { grid-template-columns: repeat(2, max-content); gap: 18px 26px; }
    .hero-visual { justify-content: flex-start; padding-left: 22px; }
    .checkpoint { right: 0; width: 176px; }
    .features-grid, .feature-cards, .contact-grid, .cta-points, .form-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .feature { border-right: 1px solid var(--line); }
    .feature:nth-child(2n) { border-right: 0; }
}
@media (max-width: 620px) {
    .container { width: min(100% - 28px, 540px); }
    .brand-title { font-size: 22px; }
    .brand-sub { font-size: 12px; }
    .brand-mark { width: 40px; height: 47px; }
    .header-actions { width: 100%; }
    .header-actions .btn { width: 100%; }
    .hero-actions .btn { width: 100%; min-width: 0; }
    .hero-badges { grid-template-columns: 1fr; }
    .phone { width: 156px; height: 286px; }
    .hand { left: 22%; }
    .checkpoint { width: 148px; min-height: 218px; padding: 18px 14px; top: 70px; }
    .checkpoint-title { font-size: 13px; }
    .checkpoint .qr-grid { width: 88px; height: 88px; }
    .checkpoint-code { font-size: 22px; }
    .checkpoint-place { font-size: 13px; }
    .features-grid, .screens-grid { grid-template-columns: 1fr; }
    .feature { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 10px; }
    .mock-window { height: 132px; }
    .cta, .article, .login-card { padding: 18px; }
    .footer-bottom { flex-direction: column; }
}
