/* ============================================================
   GuardDix — style.css
   Dizayn sistemi: navy + cyan aksent, Inter / Space Grotesk
   ============================================================ */

:root {
    --navy: #10233f;
    --navy-deep: #081426;
    --accent: #38c5e8;
    --accent-strong: #5fd6f3;
    --accent-fg: #04212c;

    --bg: #fafbfd;
    --surface: #f2f5f9;
    --card: #ffffff;
    --border: #e3e8ef;
    --fg: #16202e;
    --muted: #5b6675;

    --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
    --font-display: "Space Grotesk", "Inter", sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

    --radius: 1rem;
    --radius-lg: 1.5rem;
    --shadow-card: 0 1px 2px rgba(16, 35, 63, .05), 0 8px 24px rgba(16, 35, 63, .06);
    --shadow-elegant: 0 12px 40px rgba(8, 20, 38, .18);
    --shadow-glow: 0 0 32px rgba(56, 197, 232, .35);
    --container: 72rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--fg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    font: inherit;
    cursor: pointer;
}

/* icon() inline SVG-ləri width/height atributu olmadan gəlir; bu default
   ölçü onların şişməsinin qarşısını alır. Spesifik konteyner qaydaları
   (.card-icon svg və s.) daha yüksək spesifikliklə bunu üstələyir. */
svg {
    width: 1.15rem;
    height: 1.15rem;
    flex: none;
}

.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 1.25rem;
}

/* ---------- Utility ---------- */
.eyebrow {
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
}

.eyebrow.on-light {
    color: #0e8fb0;
}

h1, h2, h3, .display {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -.02em;
}

.section {
    padding-block: 5.5rem;
}

@media (min-width: 768px) {
    .section {
        padding-block: 7.5rem;
    }
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-top: .8rem;
    line-height: 1.08;
}

.section-lead {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 40rem;
}

.grid-pattern {
    position: absolute;
    inset: 0;
    opacity: .3;
    pointer-events: none;
    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: 44px 44px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .95rem;
    padding: .8rem 1.6rem;
    border: 1px solid transparent;
    transition: all .2s ease;
}

.btn svg, .btn .arrow {
    width: 1rem;
    height: 1rem;
    flex: none;
}

.btn .arrow {
    transition: transform .2s ease;
}

.btn:hover .arrow {
    transform: translateX(4px);
}

.btn-accent {
    background: var(--accent);
    color: var(--accent-fg);
    box-shadow: var(--shadow-glow);
}

.btn-accent:hover {
    background: var(--accent-strong);
}

.btn-navy {
    background: var(--navy);
    color: #fff;
}

.btn-navy:hover {
    background: var(--navy-deep);
}

.btn-outline {
    border-color: var(--border);
    background: var(--card);
    color: var(--fg);
}

.btn-outline:hover {
    border-color: var(--accent);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .05);
    color: #fff;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, .12);
}

.btn-ghost {
    color: var(--fg);
}

.btn-ghost:hover {
    background: var(--surface);
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(8, 20, 38, .85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    color: #fff;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.25rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
}

/* Header üçün horizontal logo şəkli (nişan solda, yazı sağda) */
.logo-img {
    height: 3.3rem;
    width: auto;
    display: block;
}

/* Footer üçün stacked logo (nişan yuxarıda, yazı aşağıda) */
.logo-stacked {
    display: inline-block;
}

.logo-img-full {
    width: 200px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: .9rem;
}

.logo-mark {
    width: 2rem;
    height: 2rem;
    border-radius: .6rem;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--accent), #6b7bf7);
    color: var(--navy-deep);
}

.logo-mark svg {
    width: 1.1rem;
    height: 1.1rem;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 1.6rem;
    font-size: .92rem;
    font-weight: 500;
}

.nav-links a {
    color: rgba(255, 255, 255, .72);
    transition: color .15s;
}

.nav-links a:hover, .nav-links a.active {
    color: #fff;
}

.nav-links a.active {
    color: var(--accent);
}

.nav-cta {
    display: none;
}

.nav-toggle {
    background: none;
    border: none;
    color: #fff;
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
}

.nav-toggle svg {
    width: 1.4rem;
    height: 1.4rem;
}

@media (min-width: 960px) {
    .nav-links, .nav-cta {
        display: inline-flex;
    }

    .nav-toggle {
        display: none;
    }
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: .25rem;
    padding: .75rem 1.25rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    padding: .65rem .5rem;
    border-radius: .6rem;
    color: rgba(255, 255, 255, .8);
    font-weight: 500;
}

.mobile-menu a:hover, .mobile-menu a.active {
    background: rgba(255, 255, 255, .07);
    color: #fff;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, #142c52 100%);
}

.hero-inner {
    position: relative;
    display: grid;
    gap: 3.5rem;
    padding-block: 6rem;
}

@media (min-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1.05fr 1fr;
        align-items: center;
        padding-block: 8rem;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .05);
    border-radius: 999px;
    padding: .3rem .85rem;
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent);
}

.hero-badge .dot {
    width: .4rem;
    height: .4rem;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;
}

@keyframes pulse {
    50% {
        opacity: .35;
    }
}

.hero h1 {
    margin-top: 1.5rem;
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    line-height: 1.02;
}

.text-gradient {
    background: linear-gradient(90deg, #fff, var(--accent-strong));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p.lead {
    margin-top: 1.5rem;
    max-width: 34rem;
    font-size: 1.12rem;
    color: rgba(255, 255, 255, .7);
}

.hero-actions {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

.hero-stats {
    margin-top: 3.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 2rem;
    max-width: 32rem;
}

.hero-stats dt {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 700;
}

.hero-stats dd {
    margin-top: .2rem;
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
}

.hero-visual {
    position: relative;
}

.hero-visual .glow {
    position: absolute;
    inset: -2rem;
    border-radius: 2rem;
    background: rgba(56, 197, 232, .2);
    filter: blur(60px);
}

.hero-visual .frame {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: var(--shadow-elegant);
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Trust bar ---------- */
.trust-bar {
    border-block: 1px solid var(--border);
    background: var(--surface);
}

.trust-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding-block: 2.4rem;
}

@media (min-width: 768px) {
    .trust-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

.trust-label {
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 1rem 2.4rem;
    font-size: .9rem;
    font-weight: 500;
    color: var(--muted);
}

@media (min-width: 768px) {
    .trust-items {
        grid-template-columns: repeat(5, auto);
    }
}

.trust-items span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.trust-items svg {
    width: 1rem;
    height: 1rem;
    color: var(--accent);
    flex: none;
}

/* ---------- Cards ---------- */
.cards-3 {
    margin-top: 3.5rem;
    display: grid;
    gap: 1rem;
}

@media (min-width: 700px) {
    .cards-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cards-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

a.card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 197, 232, .6);
    box-shadow: var(--shadow-elegant);
}

.card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: .8rem;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: #fff;
    transition: background .2s, color .2s;
}

.card-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

a.card:hover .card-icon {
    background: var(--accent);
    color: var(--accent-fg);
}

.card-icon.soft {
    background: rgba(56, 197, 232, .12);
    color: #0e8fb0;
}

.card h3 {
    margin-top: 1.4rem;
    font-size: 1.2rem;
}

.card p {
    margin-top: .55rem;
    font-size: .92rem;
    color: var(--muted);
    flex: 1;
}

.card .more {
    margin-top: 1.4rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .9rem;
    font-weight: 500;
}

.card .more svg {
    width: 1rem;
    height: 1rem;
    transition: transform .2s;
}

a.card:hover .more svg {
    transform: translateX(4px);
}

.section-head {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

@media (min-width: 768px) {
    .section-head {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

/* ---------- Industries ---------- */
.industry-grid {
    margin-top: 3.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .8rem;
}

@media (min-width: 900px) {
    .industry-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.industry {
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    padding: 1.15rem;
    transition: border-color .2s, box-shadow .2s;
}

.industry:hover {
    border-color: rgba(56, 197, 232, .6);
    box-shadow: var(--shadow-card);
}

.industry .ic {
    width: 2.6rem;
    height: 2.6rem;
    flex: none;
    border-radius: .7rem;
    display: grid;
    place-items: center;
    background: var(--surface);
    color: var(--navy);
    transition: background .2s, color .2s;
}

.industry:hover .ic {
    background: var(--navy);
    color: #fff;
}

.industry .ic svg {
    width: 1.15rem;
    height: 1.15rem;
}

.industry span {
    font-weight: 500;
    font-size: .95rem;
}

/* ---------- Steps (dark) ---------- */
.dark-section {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    color: #fff;
}

.steps {
    margin-top: 3.5rem;
    display: grid;
    gap: .9rem;
    position: relative;
}

@media (min-width: 700px) {
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .steps {
        grid-template-columns: repeat(4, 1fr);
    }
}

.step {
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .03);
    padding: 1.7rem;
    backdrop-filter: blur(4px);
    transition: border-color .2s;
}

.step:hover {
    border-color: rgba(56, 197, 232, .4);
}

.step .num {
    font-family: var(--font-mono);
    font-size: .85rem;
    color: var(--accent);
}

.step h3 {
    margin-top: .9rem;
    font-size: 1.15rem;
}

.step p {
    margin-top: .5rem;
    font-size: .9rem;
    color: rgba(255, 255, 255, .6);
}

/* ---------- CTA banner ---------- */
.cta-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--surface), var(--card));
    padding: 2.6rem;
    box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
    .cta-panel {
        padding: 4rem;
    }
}

.cta-panel .blur-blob {
    position: absolute;
    right: -5rem;
    top: -5rem;
    width: 16rem;
    height: 16rem;
    border-radius: 50%;
    background: rgba(56, 197, 232, .18);
    filter: blur(60px);
}

.cta-grid {
    position: relative;
    display: grid;
    gap: 2.2rem;
}

@media (min-width: 1024px) {
    .cta-grid {
        grid-template-columns: 1.4fr 1fr;
        align-items: center;
    }
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

@media (min-width: 1024px) {
    .cta-actions {
        justify-content: flex-end;
    }
}

.final-cta {
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #fff;
    border-radius: 2rem;
    padding: 3rem 1.5rem;
    box-shadow: var(--shadow-elegant);
    background: linear-gradient(160deg, var(--navy-deep), var(--navy) 60%, #142c52);
}

@media (min-width: 768px) {
    .final-cta {
        padding: 5rem 3rem;
    }
}

.final-cta .inner {
    position: relative;
    max-width: 46rem;
    margin-inline: auto;
}

.final-cta .icon {
    width: 2.6rem;
    height: 2.6rem;
    margin-inline: auto;
    color: var(--accent);
}

.final-cta .icon svg {
    width: 2.6rem;
    height: 2.6rem;
}

.final-cta h2 {
    margin-top: 1.4rem;
    font-size: clamp(1.9rem, 4vw, 3rem);
}

.final-cta p {
    margin-top: 1.2rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .7);
}

.final-cta .actions {
    margin-top: 2.4rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .8rem;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(160deg, var(--navy-deep), var(--navy) 65%, #142c52);
}

.page-hero .inner {
    position: relative;
    padding-block: 5rem;
    max-width: 48rem;
}

@media (min-width: 768px) {
    .page-hero .inner {
        padding-block: 6.5rem;
    }
}

.page-hero h1 {
    margin-top: .9rem;
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    line-height: 1.05;
}

.page-hero p {
    margin-top: 1.2rem;
    font-size: 1.12rem;
    color: rgba(255, 255, 255, .7);
}

/* ---------- Feature list ---------- */
.feature-list {
    margin-top: 3rem;
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .feature-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature {
    display: flex;
    gap: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
}

.feature .tick {
    flex: none;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: .6rem;
    display: grid;
    place-items: center;
    background: rgba(56, 197, 232, .12);
    color: #0e8fb0;
}

.feature .tick svg {
    width: 1.1rem;
    height: 1.1rem;
}

.feature h3 {
    font-size: 1.02rem;
}

.feature p {
    margin-top: .35rem;
    font-size: .9rem;
    color: var(--muted);
}

.check-list {
    margin-top: 2rem;
    display: grid;
    gap: .9rem;
}

.check-list li {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    color: var(--muted);
}

.check-list svg {
    flex: none;
    width: 1.15rem;
    height: 1.15rem;
    color: var(--accent);
    margin-top: .2rem;
}

/* ---------- Two column ---------- */
.two-col {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .two-col {
        grid-template-columns: 1fr 1.4fr;
        align-items: start;
    }
}

.two-col .sticky {
    position: sticky;
    top: 6rem;
}

.cols-2 {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Blog / resources ---------- */
.post-tag {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    background: rgba(56, 197, 232, .12);
    color: #0e8fb0;
    font-size: .75rem;
    font-weight: 500;
    padding: .25rem .8rem;
}

.post-meta {
    margin-top: 1rem;
    font-size: .8rem;
    color: var(--muted);
    font-family: var(--font-mono);
}

/* ---------- FAQ ---------- */
.faq-list {
    margin-top: 3rem;
    max-width: 48rem;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem 0;
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--fg);
}

.faq-q svg {
    flex: none;
    width: 1.1rem;
    height: 1.1rem;
    color: var(--muted);
    transition: transform .25s;
}

.faq-item.open .faq-q svg {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-a {
    overflow: hidden;
    max-height: 0;
    transition: max-height .3s ease;
}

.faq-a p {
    padding-bottom: 1.4rem;
    color: var(--muted);
    max-width: 42rem;
}

/* ---------- Forms ---------- */
.form-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--card);
    padding: 2rem;
    box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
    .form-card {
        padding: 2.6rem;
    }
}

.form-grid {
    display: grid;
    gap: 1.2rem;
}

@media (min-width: 640px) {
    .form-grid.two {
        grid-template-columns: 1fr 1fr;
    }
}

.field {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.field.full {
    grid-column: 1 / -1;
}

.field label {
    font-size: .85rem;
    font-weight: 600;
}

.field input, .field select, .field textarea {
    font: inherit;
    padding: .75rem .95rem;
    border-radius: .7rem;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--fg);
    transition: border-color .15s, box-shadow .15s;
}

.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(56, 197, 232, .18);
}

.field textarea {
    resize: vertical;
    min-height: 8rem;
}

.contact-info {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-info .row {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
}

.contact-info .ic {
    flex: none;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: .7rem;
    display: grid;
    place-items: center;
    background: rgba(56, 197, 232, .12);
    color: #0e8fb0;
}

.contact-info .ic svg {
    width: 1.1rem;
    height: 1.1rem;
}

.contact-info .label {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
}

.contact-info .value {
    font-weight: 600;
}

/* ---------- Toast ---------- */
.toast {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translate(-50%, 1rem);
    background: var(--navy-deep);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: .9rem;
    padding: .9rem 1.4rem;
    font-size: .92rem;
    font-weight: 500;
    box-shadow: var(--shadow-elegant);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, transform .3s;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.toast svg {
    width: 1.1rem;
    height: 1.1rem;
    color: var(--accent);
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, .65);
    margin-top: 0;
}

.footer-grid {
    display: grid;
    gap: 2.5rem;
    padding-block: 4rem;
}

@media (min-width: 900px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

.footer-grid h4 {
    color: #fff;
    font-family: var(--font-display);
    font-size: .95rem;
    margin-bottom: 1rem;
}

.footer-grid a {
    display: block;
    padding-block: .3rem;
    font-size: .9rem;
    transition: color .15s;
}

.footer-grid a:hover {
    color: var(--accent);
}

.footer-about p {
    margin-top: 1rem;
    font-size: .9rem;
    max-width: 20rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-block: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .8rem;
    font-size: .82rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ---------- Reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-badge .dot {
        animation: none;
    }
}

/* ============================================================
   Laravel əlavələri: form xətaları, paginasiya, blog filtrləri
   ============================================================ */
.form-errors {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: .75rem;
    padding: .85rem 1rem;
    margin-bottom: 1.25rem;
    font-size: .9rem;
}

.form-errors ul {
    padding-left: 1.1rem;
    list-style: disc;
}

.form-errors li {
    margin: .15rem 0;
}

.btn.active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

nav[role="navigation"] .pagination,
.section .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    list-style: none;
    padding: 0;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    list-style: none;
    padding: 0;
    align-items: center;
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 .6rem;
    border: 1px solid var(--border);
    border-radius: .6rem;
    background: var(--card);
    color: var(--fg);
    font-size: .9rem;
    text-decoration: none;
}

.pagination .active span, .pagination [aria-current] span {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.pagination .disabled span {
    opacity: .45;
}