/* ACIS Landing — statiska mārketinga lapa. Gaišs pastelis, konsekvents ar pārējiem ByteRoute projektiem. */

:root {
    --background: 40 30% 98%;
    --foreground: 210 40% 22%;
    --card: 0 0% 100%;

    --primary: 152 65% 60%;
    --primary-dark: 156 68% 22%;
    --primary-mid: 155 62% 38%;

    --secondary: 205 75% 68%;
    --secondary-dark: 208 70% 32%;

    --accent: 28 88% 66%;
    --accent-dark: 20 75% 38%;

    --violet: 262 60% 72%;
    --violet-dark: 262 50% 38%;

    --muted-foreground: 210 25% 40%;
    --border: 210 20% 89%;
    --radius: 0.75rem;
    --radius-sm: 0.5rem;

    /* Gradients tikai kā ļoti viegls fona akcents */
    --gradient-hero: linear-gradient(135deg, hsl(152 65% 60% / .14), hsl(205 75% 68% / .12));
    --gradient-card: linear-gradient(180deg, hsl(0 0% 100%), hsl(40 30% 98%));
    --gradient-cta: linear-gradient(135deg, hsl(155 62% 42%), hsl(160 68% 30%));
    --shadow-soft: 0 4px 20px -4px hsl(210 25% 30% / .08);
    --shadow-card: 0 8px 30px -8px hsl(210 25% 30% / .1);
    --shadow-button: 0 4px 14px -3px hsl(155 60% 35% / .4);
    --shadow-elevated: 0 20px 50px -15px hsl(210 25% 30% / .16);
}

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

html { scroll-behavior: smooth; }

body {
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    line-height: 1.55;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img, svg { max-width: 100%; display: block; }

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.site-header {
    background: hsl(var(--card) / .85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid hsl(var(--border));
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    font-size: 1.4rem;
    color: hsl(var(--primary-dark));
}

.logo svg { color: hsl(var(--primary-dark)); flex-shrink: 0; }

.nav-links {
    display: none;
    align-items: center;
    gap: 1.75rem;
}

.nav-links a {
    position: relative;
    font-size: 0.9rem;
    font-weight: 500;
    color: hsl(var(--foreground));
    padding-bottom: 0.3rem;
    transition: color .15s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: hsl(var(--primary-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .15s ease;
}

.nav-links a:hover { color: hsl(var(--primary-dark)); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: hsl(var(--primary-dark)); font-weight: 700; }
.nav-links a.active::after { transform: scaleX(1); }

@media (min-width: 860px) {
    .nav-links { display: flex; }
    .nav-toggle { display: none; }
}

.nav-cta { display: none; }

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

.nav-toggle {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: hsl(var(--foreground));
}

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 0.25rem 0 1rem;
    border-top: 1px solid hsl(var(--border));
}

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

@media (min-width: 860px) { .mobile-menu { display: none !important; } }

.mobile-menu a {
    padding: 0.65rem 0;
    color: hsl(var(--muted-foreground));
    border-bottom: 1px solid hsl(var(--border));
}

/* Buttons */
.btn-primary, .btn-header {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-cta);
    color: white;
    font-weight: 600;
    padding: 0.8rem 1.75rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-button);
    transition: box-shadow .15s ease, transform .15s ease;
}

.btn-header { padding: 0.55rem 1.2rem; font-size: 0.9rem; font-weight: 500; }

.btn-primary:hover, .btn-header:hover { box-shadow: var(--shadow-elevated); transform: translateY(-1px); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    color: hsl(var(--foreground));
    font-weight: 600;
    padding: 0.8rem 1.75rem;
    border-radius: var(--radius-sm);
    transition: border-color .15s ease;
}

.btn-secondary:hover { border-color: hsl(var(--primary-mid)); }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255,255,255,0.6);
    color: white;
    padding: 0.8rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: background .15s ease;
}

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

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero), hsl(var(--background));
    border-bottom: 1px solid hsl(var(--border));
}

.hero-inner {
    position: relative;
    z-index: 1;
    padding: 3.5rem 0 3.25rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .trust-list, .hero-actions { justify-content: center; }
}

.trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin-bottom: 1.5rem;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground));
}

.trust-item svg { color: hsl(var(--primary-dark)); flex-shrink: 0; }

.hero-inner h1 {
    font-size: clamp(1.85rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.18;
    margin: 0 0 1.1rem;
    color: hsl(var(--primary-dark));
}

.hero-inner p.lead {
    font-size: 1.1rem;
    margin: 0 0 1.75rem;
    color: hsl(var(--foreground));
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

/* Hero darba paneļa makets */
.agenda-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px dashed hsl(var(--border));
    font-size: 0.875rem;
    color: hsl(var(--foreground));
}

.agenda-row:last-child { border-bottom: none; }

.agenda-time {
    flex-shrink: 0;
    width: 3.1rem;
    font-weight: 700;
    font-size: 0.8rem;
    color: hsl(var(--primary-dark));
}

.agenda-status {
    flex-shrink: 0;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: hsl(var(--border));
    color: hsl(var(--muted-foreground));
}

.agenda-status.done { background: hsl(var(--primary) / .35); color: hsl(var(--primary-dark)); }
.agenda-status.next { background: hsl(var(--accent) / .45); color: hsl(var(--accent-dark)); }

.agenda-text { flex: 1; }
.agenda-text .sub { display: block; font-size: 0.78rem; color: hsl(var(--muted-foreground)); margin-top: 0.1rem; }

/* Sections */
section { padding: 3.75rem 0; }

.alt-bg { background: hsl(var(--card)); }

.section-heading { text-align: center; max-width: 660px; margin: 0 auto 2.5rem; }

.section-heading .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-weight: 700;
    color: hsl(var(--secondary-dark));
}

.section-heading h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0.5rem 0 0.75rem;
    color: hsl(var(--primary-dark));
}

.section-heading p { color: hsl(var(--muted-foreground)); }

/* Card grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.vote-card {
    display: block;
    background: var(--gradient-card);
    border-radius: var(--radius);
    border: 1px solid hsl(var(--border));
    box-shadow: var(--shadow-card);
    padding: 1.75rem;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.vote-card:hover { box-shadow: var(--shadow-elevated); transform: translateY(-2px); border-color: hsl(var(--primary-mid) / .4); }

.vote-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.9rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: hsl(var(--primary-dark));
}

.vote-card .card-link svg { transition: transform .15s ease; }
.vote-card:hover .card-link svg { transform: translateX(3px); }

.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-sm);
    background: hsl(var(--primary) / .35);
    color: hsl(var(--primary-dark));
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.icon-badge.c-blue { background: hsl(var(--secondary) / .4); color: hsl(var(--secondary-dark)); }
.icon-badge.c-amber { background: hsl(var(--accent) / .5); color: hsl(var(--accent-dark)); }
.icon-badge.c-violet { background: hsl(var(--violet) / .4); color: hsl(var(--violet-dark)); }

.vote-card h3 { margin: 0 0 0.5rem; font-size: 1.05rem; color: hsl(var(--foreground)); }
.vote-card p { color: hsl(var(--muted-foreground)); font-size: 0.9375rem; }

/* Kāpēc ACIS — kompaktas kartiņas, visas 4 vienā rindā */
.benefit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

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

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

.benefit-card {
    background: var(--gradient-card);
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 1.35rem 1.25rem;
    transition: box-shadow .2s ease, transform .2s ease;
}

.benefit-card:hover { box-shadow: var(--shadow-elevated); transform: translateY(-2px); }

.benefit-card .icon-badge { width: 2.5rem; height: 2.5rem; margin-bottom: 0.85rem; }

.benefit-card h3 { margin: 0 0 0.4rem; font-size: 0.975rem; color: hsl(var(--foreground)); }
.benefit-card p { color: hsl(var(--muted-foreground)); font-size: 0.875rem; line-height: 1.5; }

/* Two column + mock panel (interaktīvais elements) */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.35rem;
}

.feature-list li:last-child { margin-bottom: 0; }
.feature-list .icon-badge { width: 2.4rem; height: 2.4rem; margin-bottom: 0; }
.feature-list h4 { margin: 0 0 0.25rem; font-size: 1rem; color: hsl(var(--foreground)); }
.feature-list p { color: hsl(var(--muted-foreground)); font-size: 0.92rem; }

.mock-panel {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    box-shadow: var(--shadow-elevated);
    overflow: hidden;
}

.mock-panel .mock-topbar {
    background: hsl(var(--background));
    border-bottom: 1px solid hsl(var(--border));
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mock-topbar .mock-dots { display: flex; gap: 0.4rem; }
.mock-dot { width: 0.6rem; height: 0.6rem; border-radius: 999px; background: hsl(var(--accent)); }
.mock-topbar .mock-title { font-size: 0.78rem; color: hsl(var(--muted-foreground)); }

.mock-panel .mock-body { padding: 1.4rem 1.5rem; }

.mock-row {
    padding: 0.75rem 0;
    border-bottom: 1px dashed hsl(var(--border));
}

.mock-row:last-child { border-bottom: none; }

.mock-row-top {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
}

.mock-row-top .mock-value { font-weight: 700; color: hsl(var(--primary-dark)); }

.mock-bar {
    height: 8px;
    border-radius: 0.2rem;
    background: hsl(var(--border));
    overflow: hidden;
}

.mock-bar span {
    display: block;
    height: 100%;
    width: 0%;
    border-radius: 0.2rem;
    background: hsl(var(--primary-mid));
    transition: width 1.1s cubic-bezier(.22,1,.36,1);
}

.mock-bar.c-blue span { background: hsl(var(--secondary-dark)); }
.mock-bar.c-amber span { background: hsl(var(--accent-dark)); }
.mock-bar.c-violet span { background: hsl(var(--violet-dark)); }

.mock-panel.in-view .mock-bar span { width: var(--target-width); }

/* Kam paredzēts — interaktīvs cilņu pārslēdzējs */
.audience-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 1.75rem;
}

.audience-tab {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    color: hsl(var(--muted-foreground));
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s ease;
}

.audience-tab:hover { border-color: hsl(var(--primary-mid)); color: hsl(var(--primary-dark)); }

.audience-tab.active {
    background: var(--gradient-cta);
    border-color: transparent;
    color: white;
    box-shadow: var(--shadow-button);
}

.audience-panel {
    background: var(--gradient-card);
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 2rem;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.audience-panel h3 { color: hsl(var(--primary-dark)); font-size: 1.15rem; margin-bottom: 0.6rem; }
.audience-panel p { color: hsl(var(--muted-foreground)); }

/* CTA */
.cta {
    background: var(--gradient-cta);
    color: white;
    text-align: center;
}

.cta h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 0.75rem; }
.cta p { color: hsl(155 45% 94%); max-width: 560px; margin: 0 auto 2rem; }
.cta .contact-line { margin-top: 1.25rem; font-size: 0.9rem; color: hsl(155 45% 94%); }
.cta .contact-line a { text-decoration: underline; color: white; }

/* Footer */
.site-footer {
    background: hsl(210 25% 16%);
    color: hsl(210 20% 78%);
    padding: 2.25rem 0;
    font-size: 0.88rem;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-row a { text-decoration: underline; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a:hover { color: hsl(var(--primary)); }
