:root {
    --primary: #247291;
    --primary-dark: #1B5E77;
    --primary-light: #3A9BB8;
    --secondary: #F8DA5B;
    --accent: #F8DA5B;

    --bg: #0b1120;
    --bg-2: #121b31;
    --surface: rgba(15, 23, 42, 0.72);
    --surface-2: rgba(30, 41, 59, 0.62);
    --text: #f8fafc;
    --muted: #94a3b8;
    --line: rgba(148, 163, 184, 0.25);

    --gradient-1: linear-gradient(135deg, #247291, #3A9BB8);
    --gradient-2: linear-gradient(135deg, #247291, #F8DA5B);
    --gradient-3: linear-gradient(135deg, #0f172a, #1e293b);
    --gradient-glow: linear-gradient(135deg, rgba(36, 114, 145, 0.26), rgba(248, 218, 91, 0.22));

    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.18);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.22);
    --shadow-lg: 0 18px 40px rgba(0, 0, 0, 0.24);
    --shadow-xl: 0 22px 60px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 24px rgba(36, 114, 145, 0.38);

    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 30px;
}

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

html,
body {
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body.public-page {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(circle at 8% 0%, rgba(36, 114, 145, 0.22), transparent 35%), var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-y: auto;
}

body.public-page.theme-light {
    --bg: #eef4ff;
    --bg-2: #ffffff;
    --surface: rgba(255, 255, 255, 0.86);
    --surface-2: rgba(247, 250, 255, 0.94);
    --text: #0f172a;
    --muted: #475569;
    --line: rgba(36, 114, 145, 0.24);
    --gradient-3: linear-gradient(135deg, #f2f7ff, #ffffff);
    --shadow-sm: 0 2px 4px rgba(30, 41, 59, 0.08);
    --shadow-md: 0 8px 20px rgba(30, 41, 59, 0.12);
    --shadow-lg: 0 18px 40px rgba(30, 41, 59, 0.14);
    --shadow-xl: 0 22px 60px rgba(30, 41, 59, 0.2);
}

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

.loader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .4s ease, visibility .4s ease;
}

.loader-spinner {
    width: 64px;
    height: 64px;
    border: 4px solid rgba(148, 163, 184, 0.2);
    border-top-color: var(--primary);
    border-right-color: var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 14px;
}

.loader-text {
    font-size: 22px;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 2vw;
    transition: all .25s ease;
}

.navbar.scrolled {
    background: color-mix(in srgb, var(--bg) 76%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
}

.nav-container {
    width: min(1920px, 96vw);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--gradient-1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: var(--shadow-md);
    transition: transform .25s ease;
}

.logo:hover .logo-icon {
    transform: rotate(8deg) scale(1.05);
}

.logo-text {
    font-family: 'Sora', sans-serif;
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    position: relative;
    font-weight: 600;
    color: var(--text);
    opacity: .92;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width .25s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s ease;
}

.icon-toggle:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-demo,
.btn-ghost,
.btn-primary,
.btn-secondary {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .25s ease;
    border: 1px solid transparent;
}

.btn-demo,
.btn-primary {
    background: var(--gradient-1);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-demo:hover,
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-ghost {
    background: var(--surface);
    border-color: var(--line);
    color: var(--text);
}

.btn-ghost:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    color: var(--text);
    background: transparent;
    border-color: color-mix(in srgb, var(--primary) 60%, var(--line));
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity .25s ease;
    z-index: -1;
}

.btn-secondary:hover {
    color: #fff;
    border-color: transparent;
}

.btn-secondary:hover::before {
    opacity: 1;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 110px 2vw 70px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.1) contrast(1.05) brightness(0.55);
    pointer-events: none;
}

body.public-page.theme-light .hero-video {
    filter: saturate(1.03) contrast(1.01) brightness(0.82);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(175deg, rgba(11, 17, 32, 0.34) 0%, rgba(11, 17, 32, 0.92) 80%),
        radial-gradient(circle at 15% 22%, rgba(36, 114, 145, 0.3), transparent 45%),
        radial-gradient(circle at 90% 15%, rgba(248, 218, 91, 0.2), transparent 35%);
    pointer-events: none;
}

body.public-page.theme-light .hero-overlay {
    background:
        linear-gradient(175deg, rgba(255, 255, 255, 0.2) 0%, rgba(238, 244, 255, 0.92) 82%),
        radial-gradient(circle at 15% 22%, rgba(36, 114, 145, 0.2), transparent 45%),
        radial-gradient(circle at 90% 15%, rgba(248, 218, 91, 0.14), transparent 35%);
}

.hero-gradient {
    position: absolute;
    top: -40%;
    right: -25%;
    width: 70vw;
    height: 70vw;
    max-width: 900px;
    max-height: 900px;
    background: radial-gradient(circle, rgba(36, 114, 145, 0.22) 0%, transparent 70%);
    animation: rotate 22s linear infinite;
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 22% 32%, rgba(36, 114, 145, 0.24) 2px, transparent 2px),
        radial-gradient(circle at 76% 68%, rgba(248, 218, 91, 0.2) 2px, transparent 2px),
        radial-gradient(circle at 52% 56%, rgba(248, 218, 91, 0.22) 2px, transparent 2px);
    background-size: 52px 52px;
    animation: floatY 12s ease-in-out infinite;
    pointer-events: none;
}

.hero-content {
    width: min(1920px, 96vw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 44px;
    align-items: center;
}

.hero-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(36px, 5.1vw, 70px);
    line-height: 1.08;
    margin-bottom: 20px;
}

.hero-title span,
.section-title span,
.cta-title span {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    color: var(--muted);
    font-size: clamp(16px, 1.35vw, 20px);
    max-width: 680px;
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-image {
    position: relative;
}

.hero-image-card {
    border-radius: var(--radius-xl);
    padding: 20px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xl);
}

.glass {
    background: color-mix(in srgb, var(--surface-2) 95%, transparent);
    backdrop-filter: blur(10px);
}

.hero-image-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 14px;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    animation: pulseDot 1.8s infinite;
}

.version-pill {
    margin-left: auto;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--muted);
}

.hero-kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hero-kpi-item {
    border-radius: 16px;
    border: 1px solid var(--line);
    padding: 12px;
    background: color-mix(in srgb, var(--surface) 84%, transparent);
}

.hero-kpi-item i {
    color: var(--primary-light);
    margin-bottom: 6px;
}

.hero-kpi-item strong {
    display: block;
    font-size: 22px;
    line-height: 1.1;
    margin-bottom: 2px;
}

.hero-kpi-item span {
    font-size: 12px;
    color: var(--muted);
}

.hero-meta-line {
    margin-top: 12px;
    color: var(--muted);
    font-size: 12px;
}

.hero-image-glow {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 82%;
    height: 82%;
    transform: translate(-50%, -50%);
    background: var(--gradient-glow);
    filter: blur(48px);
    z-index: -1;
}

.modules-section,
.iso-section,
.projects-section,
.activities-section,
.cta-section {
    padding: 88px 2vw;
}

.iso-section,
.activities-section {
    background: var(--gradient-3);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-header {
    width: min(1920px, 96vw);
    margin: 0 auto 34px;
    text-align: center;
}

.section-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(30px, 3.6vw, 52px);
    line-height: 1.08;
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--muted);
    max-width: 860px;
    margin: 0 auto;
}

.modules-grid,
.iso-grid,
.projects-grid {
    width: min(1920px, 96vw);
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.module-card,
.iso-item,
.project-card,
.activity-content,
.routes-table-wrap {
    background: color-mix(in srgb, var(--surface) 96%, transparent);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.module-card:hover,
.iso-item:hover,
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.modules-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.module-card {
    padding: 28px;
    transition: all .25s ease;
}

.module-tag {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    background: var(--gradient-1);
    color: #fff;
    margin-bottom: 14px;
}

.module-title {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    margin-bottom: 10px;
}

.module-desc {
    color: var(--muted);
    margin-bottom: 16px;
}

.module-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-light);
    font-weight: 700;
}

.module-link:hover {
    gap: 12px;
}

.scenario-steps {
    margin-left: 18px;
    color: var(--muted);
    display: grid;
    gap: 6px;
}

.iso-stack {
    width: min(1920px, 96vw);
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.iso-grid {
    width: 100%;
    margin: 0;
}

.iso-grid--top {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.iso-grid--bottom {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.iso-flow {
    position: relative;
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iso-flow::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(130, 180, 210, 0.1) 0%, rgba(130, 180, 210, 0.85) 50%, rgba(130, 180, 210, 0.1) 100%);
}

.iso-flow::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--primary-light);
    border-bottom: 2px solid var(--primary-light);
    transform: translateX(-50%) rotate(45deg);
}

.iso-flow__chip {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}

.iso-item {
    padding: 18px 16px 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 220px;
}

.iso-code {
    font-family: 'Sora', sans-serif;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 2px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.iso-name {
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

.iso-role {
    display: inline-flex;
    align-self: flex-start;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface-2) 88%, transparent);
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
}

.iso-summary {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
    margin: 0;
}

.iso-footnote {
    width: min(1920px, 96vw);
    margin: 18px auto 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 18px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    color: var(--muted);
    box-shadow: var(--shadow-sm);
}

.iso-footnote i {
    color: var(--primary-light);
    margin-top: 2px;
}

.projects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
    overflow: hidden;
}

.project-header,
.project-body,
.project-footer {
    padding: 18px 20px;
}

.project-header {
    border-bottom: 1px solid var(--line);
}

.project-code {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    background: var(--gradient-1);
    color: #fff;
    margin-bottom: 10px;
}

.project-name {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    margin-bottom: 8px;
}

.project-location,
.project-description,
.meta-item {
    color: var(--muted);
    font-size: 14px;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.progress-bar {
    margin-top: 12px;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--line) 70%, transparent);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-1);
    border-radius: inherit;
}

.project-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface-2) 92%, transparent);
}

.project-status {
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.status-planning { background: rgba(245, 158, 11, 0.2); color: var(--warning); }
.status-design { background: rgba(36, 114, 145, 0.2); color: var(--primary-light); }
.status-construction { background: rgba(16, 185, 129, 0.2); color: var(--success); }
.status-completed { background: rgba(239, 68, 68, 0.2); color: var(--danger); }

.empty-card {
    grid-column: 1 / -1;
}

.activities-timeline {
    width: min(1400px, 96vw);
    margin: 0 auto;
    position: relative;
}

.activities-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-1);
}

.activity-item {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
}

.activity-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient-1);
    color: #fff;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.activity-content {
    flex: 1;
    padding: 14px 16px;
}

.activity-text {
    margin-bottom: 4px;
}

.activity-project {
    color: var(--primary-light);
    font-weight: 700;
    margin-bottom: 2px;
}

.activity-date {
    color: var(--muted);
}

.routes-table-wrap {
    width: min(1400px, 96vw);
    margin: 0 auto;
    overflow: auto;
}

.routes-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
}

.routes-table th,
.routes-table td {
    text-align: left;
    padding: 14px;
    border-bottom: 1px solid var(--line);
}

.routes-table thead th {
    font-family: 'Sora', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted);
}

.routes-table code {
    padding: 5px 8px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 90%, transparent);
}

.route-access {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.route-access.public {
    background: rgba(16, 185, 129, 0.18);
    color: var(--success);
}

.route-access.private {
    background: rgba(245, 158, 11, 0.18);
    color: var(--warning);
}

.cta-section {
    position: relative;
    text-align: center;
}

.cta-content {
    width: min(1100px, 96vw);
    margin: 0 auto;
    padding: 34px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 95%, transparent);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(30px, 3.5vw, 50px);
    line-height: 1.1;
    margin-bottom: 10px;
}

.cta-text {
    color: var(--muted);
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.cta-glow {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 72vw;
    height: 72vw;
    max-width: 800px;
    max-height: 800px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(36, 114, 145, 0.2) 0%, transparent 70%);
    filter: blur(6px);
    animation: pulseGlow 4s ease-in-out infinite;
}

.footer {
    background: color-mix(in srgb, var(--bg-2) 88%, var(--bg));
    border-top: 1px solid var(--line);
    padding: 46px 2vw 28px;
}

.footer-content {
    width: min(1920px, 96vw);
    margin: 0 auto 24px;
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-about {
    color: var(--muted);
    max-width: 440px;
}

.footer-title {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
    display: grid;
    gap: 8px;
}

.footer-links a {
    color: var(--muted);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    width: min(1920px, 96vw);
    margin: 0 auto;
    border-top: 1px solid var(--line);
    padding-top: 16px;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.demo-hero-wrap {
    min-height: 78vh;
}

/* Demo page: 4 сценарії як 2x2 */
.demo-page .modules-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    100% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

@keyframes pulseGlow {
    0%, 100% { opacity: .45; }
    50% { opacity: .9; }
}

@media (max-width: 1440px) {
    .iso-grid--top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .iso-grid--bottom { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
    .nav-links { display: none; }
    .hero-content { grid-template-columns: 1fr; }
    .projects-grid,
    .modules-grid,
    .iso-grid--top,
    .iso-grid--bottom { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-content { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .navbar { padding: 12px 3vw; }
    .logo-text { font-size: 20px; }
    .nav-actions { gap: 8px; }
    .btn-demo,
    .btn-ghost { min-height: 40px; padding: 0 14px; }

    .hero { padding: 92px 3vw 54px; }
    .hero-kpi-grid { grid-template-columns: 1fr; }

    .modules-section,
    .iso-section,
    .projects-section,
    .activities-section,
    .cta-section { padding: 60px 3vw; }

    .modules-grid,
    .projects-grid,
    .iso-grid,
    .footer-content { grid-template-columns: 1fr; }

    .demo-page .modules-grid { grid-template-columns: 1fr; }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 1200px) {
    .iso-item {
        min-height: 0;
    }
}

@media (max-width: 560px) {
    .btn-demo,
    .btn-ghost {
        padding: 0 11px;
        font-size: 13px;
    }

    .btn-demo {
        display: none;
    }

    .cta-content {
        padding: 22px;
    }
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 8px;
}

::-webkit-scrollbar-track {
    background: color-mix(in srgb, var(--bg) 88%, #000);
}
