:root {
    --accent: #2a9d8f;
    --accent-soft: color-mix(in srgb, var(--accent) 14%, transparent);
}

html { font-size: 15px; }
@media (min-width: 768px) { html { font-size: 16px; } }

body {
    min-height: 100vh;
    background: #f6f7fb;
    font-family: "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    position: relative;
    overflow-x: hidden;
}

.min-vh-75 { min-height: 75vh; }

/* Decorative background */
.bg-shapes span {
    position: fixed;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .35;
    z-index: -1;
    background: var(--accent);
}
.bg-shapes span:nth-child(1) { width: 420px; height: 420px; top: -140px; left: -120px; }
.bg-shapes span:nth-child(2) { width: 300px; height: 300px; bottom: -100px; right: -60px; opacity: .25; }
.bg-shapes span:nth-child(3) { width: 200px; height: 200px; top: 40%; left: 45%; opacity: .12; }

/* Brand */
.brand-mark {
    width: 56px; height: 56px;
    border-radius: 16px;
    display: grid; place-items: center;
    background: var(--accent);
    color: #fff;
    font-weight: 800; font-size: 1.6rem;
    box-shadow: 0 10px 24px -8px var(--accent);
}
.brand-name { font-size: 1.35rem; font-weight: 700; line-height: 1.1; }

.badge-accent {
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 600;
    padding: .5rem .9rem;
    display: inline-flex; align-items: center; gap: .5rem;
}
.pulse-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent);
    animation: pulse 1.6s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); }
    70% { box-shadow: 0 0 0 10px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

.build-progress { height: 10px; max-width: 420px; background: var(--accent-soft); }
.build-progress .progress-bar { width: 72%; background-color: var(--accent); }

.countdown > div {
    background: #fff;
    border-radius: 12px;
    padding: .75rem 1rem;
    min-width: 72px;
    text-align: center;
    box-shadow: 0 6px 18px -10px rgba(0,0,0,.25);
}
.countdown span { display: block; font-size: 1.6rem; font-weight: 700; color: var(--accent); }
.countdown small { color: #6c757d; text-transform: uppercase; font-size: .7rem; letter-spacing: .05em; }

/* Card + forms */
.subscribe-card { border-radius: 20px; }

.subscriber-tabs { background: #f1f3f7; border-radius: 12px; padding: 4px; }
.subscriber-tabs .nav-link { color: #495057; border-radius: 10px; font-weight: 600; }
.subscriber-tabs .nav-link.active { background: #fff; color: var(--accent); box-shadow: 0 2px 8px rgba(0,0,0,.08); }

.form-control:focus, .form-check-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 .2rem var(--accent-soft);
}
.form-check-input:checked { background-color: var(--accent); border-color: var(--accent); }
.form-label { font-size: .875rem; font-weight: 500; margin-bottom: .3rem; }

.invalid-msg { display: block; color: #dc3545; font-size: .8rem; margin-top: .25rem; }
.input-validation-error { border-color: #dc3545; }

.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: 600;
}
.btn-accent:hover, .btn-accent:focus {
    background: color-mix(in srgb, var(--accent) 85%, #000);
    border-color: color-mix(in srgb, var(--accent) 85%, #000);
    color: #fff;
}

/* Social buttons */
.social-title {
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #6c757d;
    margin-bottom: .4rem;
}
.social-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: inline-grid; place-items: center;
    background: var(--accent);
    color: #fff;
    font-size: 1.05rem;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}
.social-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 6px 14px -6px var(--accent); }
.social-btn-outline { background: #fff; color: var(--accent); border: 1px solid var(--accent-soft); }
.social-btn-outline:hover { background: var(--accent); color: #fff; }

/* Language switcher */
.lang-switch {
    background: rgba(255,255,255,.8);
    border-radius: 999px;
    padding: 3px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    font-size: .8rem;
    font-weight: 600;
}
.lang-switch a {
    display: inline-block;
    padding: .3rem .8rem;
    border-radius: 999px;
    color: #495057;
    text-decoration: none;
}
.lang-switch a.active { background: var(--accent); color: #fff; }

/* Georgian headings are long; keep them readable */
html[lang="ka"] .display-5 { font-size: calc(1.4rem + 1.8vw); }
@media (min-width: 1200px) { html[lang="ka"] .display-5 { font-size: 2.6rem; } }

/* Honeypot: hidden from people, visible to naive bots */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
