/* Abedev – public site */
:root {
    --bg: #ffffff;
    --bg-2: #f5f7fa;
    --surface: #ffffff;
    --surface-2: #eef2f6;
    --line: rgba(15, 23, 42, .08);
    --line-2: rgba(15, 23, 42, .14);
    --text: #0f172a;
    --muted: #5b6474;
    --brand: #5e9f1f;
    --brand-2: #0d9488;
    --brand-ink: #ffffff;
    --danger: #dc2626;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 24px 60px -24px rgba(15, 23, 42, .25);
    --font: "Inter", "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", sans-serif;
    --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; background: var(--bg); color: var(--text);
    font-family: var(--font); font-size: 16px; line-height: 1.65;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
:lang(ka) h1, :lang(ka) h2, :lang(ka) h3 { letter-spacing: 0; }
.ic { flex-shrink: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; }
.section-sm { padding: 70px 0; }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.center { text-align: center; }
.muted { color: var(--muted); }
.grad {
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

.kicker {
    display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
    letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 16px;
}
.kicker::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); }
.section-head p { color: var(--muted); font-size: 18px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
    border: 1px solid transparent; cursor: pointer; transition: .2s ease; white-space: nowrap;
    font-family: inherit; line-height: 1.2;
}
.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 8px 30px -8px rgba(94, 159, 31, .6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(94, 159, 31, .8); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; font-size: 15px; }
.link-arrow .ic { transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(4px); }

/* Header */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 50; transition: .25s;
    border-bottom: 1px solid transparent;
}
.site-header.scrolled, .site-header.solid {
    background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: .06em; }
.logo-mark {
    width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
    background: var(--brand); color: var(--brand-ink); font-family: ui-monospace, monospace; font-size: 17px; font-weight: 800;
}
.logo small { display: block; font-size: 9.5px; letter-spacing: .14em; color: var(--brand); font-weight: 600; text-transform: uppercase; margin-top: -2px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: 15px; transition: .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(15, 23, 42, .05); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.lang-switch a { font-size: 12px; font-weight: 700; padding: 5px 9px; border-radius: 999px; color: var(--muted); text-transform: uppercase; }
.lang-switch a.active { background: var(--brand); color: var(--brand-ink); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 8px; }

@media (max-width: 1020px) {
    .nav-links {
        position: fixed; inset: 76px 0 auto; flex-direction: column; background: rgba(255, 255, 255, .98);
        backdrop-filter: blur(14px); padding: 16px 24px 28px; border-bottom: 1px solid var(--line);
        transform: translateY(-120%); transition: transform .3s; margin: 0;
    }
    .nav-links a { padding: 14px 12px; font-size: 17px; border-radius: 10px; }
    .nav-open .nav-links { transform: none; }
    .nav-toggle { display: block; }
    .nav-right { margin-left: auto; }
    .nav-right .btn { display: none; }
}

/* Hero */
.hero { position: relative; padding: 170px 0 110px; overflow: hidden; }
.aurora { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .22; animation: float 18s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { width: 620px; height: 620px; background: #8cc63f; top: -260px; left: -120px; }
.aurora span:nth-child(2) { width: 520px; height: 520px; background: #2dd4bf; top: -140px; right: -160px; animation-delay: -6s; }
.aurora span:nth-child(3) { width: 440px; height: 440px; background: #60a5fa; bottom: -260px; left: 35%; opacity: .15; animation-delay: -12s; }
@keyframes float { to { transform: translate(60px, 40px) scale(1.1); } }
.grid-bg {
    position: absolute; inset: 0;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); opacity: .6;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 68px); font-weight: 800; letter-spacing: -.035em; margin-bottom: 24px; }
:lang(ka) .hero h1 { font-size: clamp(32px, 4.4vw, 54px); letter-spacing: 0; }
.hero-text { font-size: 19px; color: var(--muted); max-width: 580px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 44px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.hero-stats b { display: block; font-size: 30px; font-weight: 800; }
.hero-stats span { color: var(--muted); font-size: 14px; }

.hero-visual { position: relative; }
.window {
    background: linear-gradient(180deg, #1b2435, #111826); border: 1px solid rgba(15, 23, 42, .2);
    border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.window-bar { display: flex; gap: 7px; padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.window-bar i:nth-child(2) { background: #febc2e; }
.window-bar i:nth-child(3) { background: #28c840; }
.code { padding: 22px 24px; font: 14px/1.9 ui-monospace, "SF Mono", Menlo, monospace; color: #a9b4c6; white-space: pre; overflow: hidden; }
.code .k { color: #c792ea; } .code .s { color: #a3e05f; } .code .f { color: #82aaff; } .code .c { color: #546178; }
.float-card {
    position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px;
    background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); border: 1px solid var(--line-2);
    border-radius: 14px; box-shadow: var(--shadow); font-size: 14px; font-weight: 600;
    animation: bob 6s ease-in-out infinite;
}
.float-card .dot { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(94, 159, 31, .12); color: var(--brand); }
.float-card small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.float-card.a { left: -40px; bottom: 40px; }
.float-card.b { right: -24px; top: -26px; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

@media (max-width: 960px) {
    .hero { padding: 130px 0 70px; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .hero-stats { gap: 28px; flex-wrap: wrap; }
}

/* Cards / grids */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
    position: relative; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: .25s ease;
}
.card:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 20px; }
.card p { color: var(--muted); font-size: 15px; }
.card-icon {
    width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
    background: linear-gradient(135deg, rgba(94, 159, 31, .2), rgba(45, 212, 191, .12)); color: var(--brand);
    border: 1px solid rgba(94, 159, 31, .25);
}

/* Product cards */
.product-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.product-cover { aspect-ratio: 16 / 10; position: relative; overflow: hidden; background: var(--surface-2); }
.product-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-cover img { transform: scale(1.04); }
.product-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, .18)); }
.product-logo {
    position: absolute; left: 22px; bottom: -26px; z-index: 2; width: 60px; height: 60px; border-radius: 16px;
    background: #fff; padding: 8px; box-shadow: 0 10px 30px rgba(15, 23, 42, .18);
}
.product-logo img { width: 100%; height: 100%; object-fit: contain; }
.product-body { padding: 40px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { margin-bottom: 6px; }
.product-foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
.price-from { font-weight: 700; }
.price-from small { color: var(--muted); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.chip { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg-2); color: var(--muted); border: 1px solid var(--line); }
.chip.brand { color: var(--brand); background: rgba(94, 159, 31, .1); border-color: rgba(94, 159, 31, .25); }

/* Process */
.steps { counter-reset: step; }
.step { padding-top: 70px; }
.step::before {
    counter-increment: step; content: "0" counter(step); position: absolute; top: 26px; left: 30px;
    font-size: 15px; font-weight: 800; color: var(--brand); padding: 6px 12px; border-radius: 999px;
    background: rgba(94, 159, 31, .1); border: 1px solid rgba(94, 159, 31, .25);
}

/* About */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.about-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); position: relative; }
.about-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .ic { color: var(--brand); margin-top: 3px; }

/* Tech */
.tech-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tech-cloud span { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; color: var(--muted); font-weight: 500; }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.partner { display: grid; place-items: center; height: 104px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); padding: 18px 24px; transition: .2s; }
.partner img { max-height: 64px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: .2s; }
.partner:hover img { filter: none; opacity: 1; }
@media (max-width: 760px) { .partners { grid-template-columns: repeat(2, 1fr); } }

/* News */
.news-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.news-img { aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-img.ph { display: grid; place-items: center; color: var(--brand); background: linear-gradient(135deg, rgba(94, 159, 31, .15), rgba(45, 212, 191, .08)); }
.news-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.news-date { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.news-body .link-arrow { margin-top: auto; }

/* CTA */
.cta {
    position: relative; overflow: hidden; border-radius: 28px; padding: 70px 50px; text-align: center;
    background: radial-gradient(ellipse at top, rgba(94, 159, 31, .25), transparent 60%), var(--surface);
    border: 1px solid var(--line-2);
}
.cta h2 { font-size: clamp(28px, 4vw, 44px); }
.cta p { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0 auto 30px; }

/* Page header */
.page-hero { position: relative; padding: 160px 0 70px; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; }
.page-hero p { color: var(--muted); font-size: 19px; max-width: 640px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--brand); }

/* Product detail */
.app-hero { position: relative; padding: 150px 0 80px; overflow: hidden; }
.app-hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.app-title { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.app-title .product-logo { position: static; width: 76px; height: 76px; border-radius: 20px; }
.app-title h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; margin: 0; }
.app-tagline { font-size: 21px; color: var(--text); font-weight: 500; margin-bottom: 14px; }
.app-hero .lead { color: var(--muted); font-size: 17px; margin-bottom: 30px; }
.app-hero .hero-actions { margin-bottom: 30px; }
.app-media { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); background: #000; }
.app-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.play-btn {
    position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--brand); color: var(--brand-ink); display: grid; place-items: center;
    box-shadow: 0 0 0 12px rgba(94, 159, 31, .2), 0 0 0 24px rgba(94, 159, 31, .08); transition: .2s;
}
.play-btn:hover { transform: scale(1.08); }
.play-btn .ic { margin-left: 4px; fill: currentColor; }
.meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.meta-grid div { background: var(--bg); padding: 14px 18px; }
.meta-grid small { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.meta-grid b { font-weight: 600; font-size: 15px; }
@media (max-width: 960px) { .app-hero-inner { grid-template-columns: 1fr; } .app-hero { padding: 120px 0 60px; } }

.subnav { position: sticky; top: 76px; z-index: 20; background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; align-items: center; }
.subnav a { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.subnav a:hover { color: var(--text); background: rgba(15, 23, 42, .05); }
.subnav .btn { margin-left: auto; }

.prose { font-size: 17px; color: #334155; }
.prose h2, .prose h3 { color: var(--text); margin-top: 1.6em; }
.prose a { color: var(--brand); text-decoration: underline; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius-sm); margin: 1.5em 0; }
.prose blockquote { border-left: 3px solid var(--brand); margin: 1.5em 0; padding: .2em 0 .2em 1.2em; color: var(--muted); }

.feature { display: flex; gap: 16px; padding: 24px; }
.feature .card-icon { width: 42px; height: 42px; border-radius: 12px; margin: 0; flex-shrink: 0; }
.feature h4 { font-size: 17px; margin: 0 0 4px; }
.feature p { margin: 0; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery a { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; display: block; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.05); }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

.video-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: #000; aspect-ratio: 16 / 9; }
.video-wrap video, .video-wrap iframe { width: 100%; height: 100%; border: 0; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 34px 30px; }
.plan.hl { border-color: var(--brand); background: linear-gradient(180deg, rgba(94, 159, 31, .1), rgba(94, 159, 31, .02)); box-shadow: 0 30px 60px -30px rgba(94, 159, 31, .45); }
.plan .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: var(--brand-ink); font-size: 12px; font-weight: 800; padding: 5px 14px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.plan h3 { font-size: 19px; }
.plan .price { font-size: 46px; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 4px; display: flex; align-items: baseline; gap: 10px; }
.plan .price s { font-size: 20px; color: var(--muted); font-weight: 500; }
.plan .term { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .ic { color: var(--brand); margin-top: 3px; }
.plan .btn { margin-top: auto; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: #334155; }
.input, textarea.input, select.input {
    width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-2);
    background: #fff; color: var(--text); font: inherit; font-size: 15px; transition: .2s;
}
.input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(94, 159, 31, .15); }
textarea.input { min-height: 160px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.radio-card { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); cursor: pointer; margin: 0 0 10px; font-weight: 600; }
.radio-card:has(input:checked) { border-color: var(--brand); background: rgba(94, 159, 31, .07); }
.radio-card input { accent-color: var(--brand); width: 18px; height: 18px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 14px; color: var(--muted); }
.check input { accent-color: var(--brand); margin-top: 4px; }
.check a { color: var(--brand); }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 22px; font-size: 15px; border: 1px solid; }
.alert-success { background: #f0f9e6; border-color: #cfe8ad; color: #3f6b12; }
.alert-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert ul { margin: 0; padding-left: 18px; }

.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-item .card-icon { width: 44px; height: 44px; margin: 0; border-radius: 12px; }
.contact-item small { display: block; color: var(--muted); font-size: 13px; }
.contact-item b { font-weight: 600; }

.license-box {
    display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
    padding: 20px 22px; border-radius: var(--radius-sm); border: 1px dashed var(--brand); background: rgba(94, 159, 31, .06);
    font: 600 22px/1.3 ui-monospace, Menlo, monospace; letter-spacing: .06em; color: var(--brand);
}
.summary-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.summary-row:last-child { border: 0; font-weight: 800; font-size: 20px; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-paid { background: rgba(94, 159, 31, .12); color: var(--brand); }
.status-pending { background: #fef9c3; color: #854d0e; }
.status-cancelled, .status-refunded { background: rgba(248, 113, 113, .12); color: var(--danger); }
.bank-details { white-space: pre-line; font-family: ui-monospace, Menlo, monospace; font-size: 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .92); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox img, .lightbox video, .lightbox iframe { max-width: min(1200px, 100%); max-height: 86vh; border-radius: 12px; }
.lightbox iframe { width: min(1200px, 100%); aspect-ratio: 16 / 9; height: auto; border: 0; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.lightbox .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* Pagination */
.pagination { display: flex; gap: 6px; justify-content: center; list-style: none; padding: 0; margin: 50px 0 0; }
.pagination a { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); color: var(--muted); }
.pagination .active a { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 70px 0 30px; background: var(--bg-2); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a:hover { color: var(--brand); }
.footer-grid p { color: var(--muted); font-size: 15px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--muted); }
.socials a:hover { color: var(--brand); border-color: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer-bottom nav { display: flex; gap: 20px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .section { padding: 80px 0; } .cta { padding: 50px 24px; } }

.cookie {
    position: fixed; left: 20px; bottom: 20px; z-index: 60; max-width: 420px; display: none; gap: 14px; align-items: center;
    background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; padding: 14px 16px; font-size: 14px; color: var(--muted); box-shadow: var(--shadow);
}
.cookie.show { display: flex; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
    .aurora span, .float-card { animation: none; }
    html { scroll-behavior: auto; }
}

@media (max-width: 560px) {
    .site-header .logo small { display: none; }
    .lang-switch a { padding: 5px 7px; }
}

/* Quill 2 output: bullet lists are stored as <ol><li data-list="bullet"> */
.prose ol { padding-left: 1.2em; }
.prose li[data-list="bullet"] { list-style-type: disc; }
.prose .ql-ui { display: none; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose iframe.ql-video { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-sm); }

/* Payment method badges */
.pay-badges { display: inline-flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.pb { display: inline-flex; align-items: center; justify-content: center; height: 24px; min-width: 38px; padding: 0 7px; border-radius: 5px; font: 800 11px/1 Arial, sans-serif; background: #fff; color: #1a1f71; letter-spacing: .02em; border: 1px solid #e2e8f0; }
.pb-visa { color: #1a1f71; font-style: italic; font-size: 12px; }
.pb-mastercard { position: relative; width: 38px; }
.pb-mastercard i { position: absolute; width: 14px; height: 14px; border-radius: 50%; top: 5px; }
.pb-mastercard i:first-child { background: #eb001b; left: 7px; }
.pb-mastercard i:last-child { background: #f79e1b; left: 16px; mix-blend-mode: multiply; }
.pb-amex { background: #2e77bc; color: #fff; }
.pb-paypal { color: #003087; font-style: italic; }
.pb-klarna { background: #ffb3c7; color: #0b051d; }
.pb-bog { background: #ff6a13; color: #fff; }
.pb-tbc { background: #00a3e0; color: #fff; }
.pb-applepay { background: #000; color: #fff; }
.pb-googlepay { color: #3c4043; }
.pb-bank { background: #2a3446; color: #cbd5e1; }
.radio-card { flex-wrap: wrap; }
.radio-card .pay-badges { margin-left: auto; }
.radio-card small { flex-basis: 100%; padding-left: 30px; color: var(--muted); font-weight: 500; font-size: 13px; }
.pay-list { display: grid; gap: 10px; }
.pay-list form { margin: 0; }
.pay-list button { width: 100%; justify-content: space-between; }

/* ---------- Light theme accents ---------- */
.site-header:not(.scrolled):not(.solid) { background: transparent; }
.kicker { color: var(--brand); }
.card-icon { background: linear-gradient(135deg, rgba(94, 159, 31, .12), rgba(13, 148, 136, .08)); border-color: rgba(94, 159, 31, .2); }
.hero { background: linear-gradient(180deg, #f3f9ec 0%, #ffffff 70%); }
.page-hero, .app-hero { background: linear-gradient(180deg, #f3f9ec 0%, #ffffff 100%); }
.hero-stats { border-top-color: var(--line); }
.news-img.ph { background: linear-gradient(135deg, #eaf5dc, #e0f5f1); }
.product-cover { background: var(--bg-2); }
.cta { background: linear-gradient(135deg, #5e9f1f 0%, #0d9488 100%); border: 0; color: #fff; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .88); }
.cta .btn-primary { background: #fff; color: #2f5a0c; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .35); }
.site-footer { background: #0f172a; color: #cbd5e1; border-top: 0; }
.site-footer .logo, .site-footer h4 { color: #fff; }
.site-footer .footer-grid p, .site-footer .muted, .site-footer .footer-bottom { color: #94a3b8; }
.site-footer .footer-bottom { border-top-color: rgba(255, 255, 255, .1); }
.site-footer .socials a { border-color: rgba(255, 255, 255, .15); color: #cbd5e1; }
.site-footer .logo small { color: #a3e05f; }
.site-footer a:hover { color: #a3e05f; }
.plan.hl { background: linear-gradient(180deg, #f3f9ec, #ffffff); }
.license-box { background: #f3f9ec; }
.cookie { background: #fff; color: var(--muted); }
.radio-card:has(input:checked) { background: #f3f9ec; }
.lang-switch a.active { color: #fff; }
.partner img { opacity: .7; }
.step::before { background: #f3f9ec; }
.nav-open .site-header { background: #fff; border-bottom-color: var(--line); }

/* Customer portal */
.portal-grid { display: grid; grid-template-columns: 250px 1fr; gap: 32px; align-items: start; }
.portal-nav { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.portal-user { display: flex; gap: 12px; align-items: center; padding: 6px 8px 16px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.portal-user b { display: block; font-size: 15px; line-height: 1.3; }
.portal-user small { color: var(--muted); font-size: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.portal-nav nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--muted); font-weight: 500; font-size: 15px; }
.portal-nav nav a:hover { background: var(--bg-2); color: var(--text); }
.portal-nav nav a.active { background: #f3f9ec; color: var(--brand); font-weight: 600; }
.portal-title { font-size: clamp(26px, 3vw, 34px); margin-bottom: 22px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.stat-card { display: flex; flex-direction: column; gap: 4px; }
.stat-card .card-icon { margin-bottom: 10px; }
.stat-card b { font-size: 30px; line-height: 1; }
.stat-card span:last-child { color: var(--muted); font-size: 14px; }
.mono { font-family: ui-monospace, Menlo, monospace; }
a.summary-row:hover { background: var(--bg-2); }
.portal .summary-row:last-child { border-bottom: 0; font-weight: inherit; font-size: inherit; }
@media (max-width: 900px) {
    .portal-grid { grid-template-columns: 1fr; }
    .portal-nav { position: static; padding: 10px; }
    .portal-nav nav { display: flex; gap: 4px; overflow-x: auto; }
    .portal-nav nav a { white-space: nowrap; padding: 8px 12px; font-size: 14px; }
    .portal-user { display: none; }
}
.account-link { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-weight: 600; font-size: 14px; padding: 8px 10px; border-radius: 999px; }
.account-link:hover { color: var(--text); background: rgba(15, 23, 42, .05); }
@media (max-width: 1200px) { .account-link span { display: none; } }
@media (max-width: 1440px) { .site-header .logo small { display: none; } .nav { gap: 20px; } .nav-links a { padding: 8px 11px; } }

/* Two-column page layouts (checkout, order, contact) */
.split-main { grid-template-columns: 1.3fr .9fr; align-items: flex-start; }
.split-contact { grid-template-columns: .8fr 1.2fr; align-items: flex-start; }
.split > * { min-width: 0; }
.sticky-aside { position: sticky; top: 100px; }
@media (max-width: 900px) {
    .split-main, .split-contact { grid-template-columns: 1fr; }
    .sticky-aside { position: static; }
}
@media (max-width: 560px) {
    .split-main .card, .split-contact .card { padding: 22px !important; }
    .summary-row { gap: 12px; }
    .summary-row > span:last-child { text-align: right; }
}
