:root {
    --bg: #07110D;
    --surface: #0B1A14;
    --surface2: #0E221A;
    --text: #E8F2ED;
    --muted: #A6B8AE;
    --border: rgba(232, 242, 237, 0.10);
    --accentG: #1FE08B;
    --accentP: #8B5CFF;
    --accentP2: #C08BFF;
    --warn: #F4C95D;
    --danger: #FF5C7A;
    --radius: 0.5rem;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: 0.3px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

h4 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    margin-top: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text);
}

a {
    color: var(--accentG);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accentP2);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
}

/* UTILITIES */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section__title {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accentP), var(--accentG));
    border-radius: 2px;
}

/* HEADER */
.header {
    background-color: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

.header__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__left {
    flex: 1;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accentG);
    transition: all 0.2s ease;
}

.header__logo:hover {
    color: var(--accentP2);
}

.logo-icon {
    font-size: 1.5rem;
    display: inline-block;
}

.logo-text {
    letter-spacing: 1px;
}

.header__center {
    flex: 1;
    text-align: center;
}

.header__date {
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 500;
}

.header__right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
}

.header__theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--surface2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.header__theme-toggle:hover {
    background-color: var(--accentP);
    color: var(--bg);
    border-color: var(--accentP);
}

.header__contact-btn {
    padding: 0.5rem 1rem;
    background-color: var(--accentG);
    color: var(--bg);
    border-radius: var(--radius);
    font-weight: 600;
    transition: all 0.2s ease;
}

.header__contact-btn:hover {
    background-color: var(--accentP);
    color: var(--text);
}

/* NAV */
.nav {
    background-color: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
}

.nav__list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav__link {
    display: block;
    padding: 0.5rem 0;
    color: var(--muted);
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    position: relative;
}

.nav__link:hover,
.nav__link.active {
    color: var(--accentG);
    border-bottom-color: var(--accentG);
}

/* MAIN CONTENT */
.main {
    min-height: calc(100vh - 200px);
    padding: 3rem 0;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, rgba(31, 224, 139, 0.05) 0%, rgba(139, 92, 255, 0.05) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 4rem;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 3rem 1.5rem;
}

.hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero__title {
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.hero__theses {
    list-style: none;
}

.hero__theses li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 0.95rem;
}

.hero__theses li:last-child {
    border-bottom: none;
}

.hero__theses strong {
    color: var(--accentG);
}

.hero__image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* SIGNAL CARDS */
.signal-cards {
    margin-bottom: 4rem;
}

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

/* CARD */
.card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    background-color: var(--surface2);
    border-color: var(--accentG);
    box-shadow: 0 0 20px rgba(31, 224, 139, 0.1);
    transform: translateY(-2px);
}

.card__icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.card__title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.card__category {
    margin-bottom: 0.75rem;
}

.card__description {
    flex-grow: 1;
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

.card__footer {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.card__link {
    padding: 0.5rem 1rem;
    background-color: var(--accentG);
    color: var(--bg);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.card__link:hover {
    background-color: var(--accentP);
    color: var(--text);
}

.card__context-btn {
    padding: 0.5rem 0.75rem;
    background-color: var(--surface2);
    color: var(--muted);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.card__context-btn:hover {
    background-color: var(--accentP);
    color: var(--text);
    border-color: var(--accentP);
}

/* CHIP */
.chip {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgba(31, 224, 139, 0.15);
    color: var(--accentG);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chip--lični-budžet {
    background-color: rgba(139, 92, 255, 0.15);
    color: var(--accentP);
}

.chip--rizici {
    background-color: rgba(244, 201, 93, 0.15);
    color: var(--warn);
}

.chip--digitalna-bezbednost {
    background-color: rgba(31, 224, 139, 0.15);
    color: var(--accentG);
}

.chip--regulativa {
    background-color: rgba(192, 139, 255, 0.15);
    color: var(--accentP2);
}

/* PULSE RAIL */
.pulse-rail {
    position: fixed;
    right: 0;
    top: 200px;
    width: 250px;
    background-color: var(--surface);
    border-left: 1px solid var(--border);
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    padding: 1.5rem;
    display: none;
}

@media (min-width: 1600px) {
    .pulse-rail {
        display: block;
    }
}

.pulse-rail__header {
    font-weight: 600;
    color: var(--accentG);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pulse-rail__items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pulse-item {
    padding: 1rem;
    background-color: var(--surface2);
    border-left: 3px solid var(--accentG);
    border-radius: 0 var(--radius) var(--radius) 0;
    transition: all 0.2s ease;
}

.pulse-item:hover {
    background-color: rgba(31, 224, 139, 0.1);
    border-left-color: var(--accentP);
}

.pulse-item__text {
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.pulse-item__tag {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background-color: var(--accentG);
    color: var(--bg);
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* CONSTELLATION */
.constellation {
    margin-bottom: 4rem;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

.constellation__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.constellation__node {
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, var(--surface2), var(--surface));
    border: 2px solid var(--accentG);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    color: var(--text);
    transition: all 0.3s ease;
    cursor: pointer;
}

.constellation__node:hover {
    background: radial-gradient(circle, var(--accentG), var(--surface2));
    color: var(--bg);
    box-shadow: 0 0 20px rgba(31, 224, 139, 0.3);
    transform: scale(1.05);
}

.node__inner {
    padding: 0.5rem;
}

/* GUIDES */
.guides {
    margin-bottom: 4rem;
}

.guides__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.guide-panel {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.guide-panel:hover {
    background-color: var(--surface2);
    border-color: var(--accentP);
}

.guide-panel h3 {
    color: var(--accentG);
    margin-bottom: 1rem;
}

.guide-panel__list {
    list-style: none;
}

.guide-panel__list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--muted);
    line-height: 1.6;
}

.guide-panel__list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accentP);
    font-size: 1.2rem;
}

/* DOSSIER */
.dossier {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 4rem;
    overflow: hidden;
}

.dossier__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.dossier__left,
.dossier__right {
    display: flex;
    flex-direction: column;
}

.dossier__left h3,
.dossier__right h3 {
    color: var(--accentG);
    margin-bottom: 1rem;
}

.dossier__callout {
    background-color: var(--surface2);
    border-left: 4px solid var(--accentG);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text);
}

.dossier__list {
    list-style: none;
    counter-reset: item;
    margin-top: 1rem;
}

.dossier__list li {
    counter-increment: item;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--muted);
    line-height: 1.6;
}

.dossier__list li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    width: 1.2rem;
    height: 1.2rem;
    background-color: var(--accentP);
    color: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .dossier__container {
        grid-template-columns: 1fr;
    }
}

/* ARCHIVE */
.archive {
    margin-bottom: 4rem;
}

.archive__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.archive-item {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.archive-item:hover {
    background-color: var(--surface2);
    border-color: var(--accentG);
}

.archive-item__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.archive-item__number {
    background-color: var(--accentG);
    color: var(--bg);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
}

.archive-item__date {
    color: var(--muted);
    font-size: 0.9rem;
}

.archive-item__title {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.archive-item__desc {
    color: var(--muted);
    font-size: 0.95rem;
}

.archive__load-more {
    width: 100%;
    padding: 1rem;
    background-color: var(--accentG);
    color: var(--bg);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.archive__load-more:hover {
    background-color: var(--accentP);
    color: var(--text);
}

/* GALLERY */
.gallery {
    margin-bottom: 4rem;
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8));
    padding: 1rem;
    color: var(--text);
    font-weight: 600;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item__overlay {
    transform: translateY(0);
}

/* FOOTER */
.footer {
    background-color: var(--surface);
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer__main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__block h4 {
    color: var(--accentG);
    margin-bottom: 0.75rem;
}

.footer__block p,
.footer__block li {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer__block ul {
    list-style: none;
}

.footer__block ul li {
    margin-bottom: 0.5rem;
}

.footer__link {
    color: var(--accentG);
    transition: color 0.2s ease;
}

.footer__link:hover {
    color: var(--accentP);
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.9rem;
}

/* HUB PAGE STYLES */
.hub-header {
    background: linear-gradient(135deg, rgba(31, 224, 139, 0.05) 0%, rgba(139, 92, 255, 0.05) 100%);
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
    margin-bottom: 2rem;
    text-align: center;
}

.hub-header__subtitle {
    font-size: 1.1rem;
    color: var(--muted);
}

.hub-filters {
    margin-bottom: 2rem;
}

.filters__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.filter-chip {
    padding: 0.5rem 1rem;
    background-color: var(--surface);
    border: 1px solid var(--border);
    color: var(--muted);
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.filter-chip:hover,
.filter-chip.active {
    background-color: var(--accentG);
    color: var(--bg);
    border-color: var(--accentG);
}

.hub-modules {
    margin-bottom: 4rem;
}

.modules__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.module-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.module-card:hover {
    background-color: var(--surface2);
    border-color: var(--accentP);
}

.module-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.module-card__header h3 {
    flex: 1;
    color: var(--text);
}

.module-card__tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgba(31, 224, 139, 0.15);
    color: var(--accentG);
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.module-card p {
    color: var(--muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.module-card__expand {
    padding: 0.5rem 1rem;
    background-color: var(--surface2);
    color: var(--accentG);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.module-card__expand:hover {
    background-color: var(--accentG);
    color: var(--bg);
    border-color: var(--accentG);
}

.module-card__content {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.module-card__content p {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.module-card__content dt {
    color: var(--accentG);
    font-weight: 600;
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
}

.module-card__content dd {
    color: var(--muted);
    margin-left: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* FAQ */
.hub-faq {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 4rem;
}

.hub-faq h2 {
    margin-bottom: 1.5rem;
    color: var(--accentG);
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-item__question {
    width: 100%;
    padding: 1rem;
    background-color: var(--surface2);
    color: var(--text);
    text-align: left;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.faq-item__question:hover {
    background-color: rgba(31, 224, 139, 0.1);
    color: var(--accentG);
}

.faq-item__icon {
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.faq-item__question[aria-expanded="true"] .faq-item__icon {
    transform: rotate(45deg);
}

.faq-item__answer {
    padding: 1rem;
    background-color: var(--surface);
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item__answer p {
    margin: 0;
}

/* METHODOLOGY */
.hub-methodology {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 4rem;
}

.hub-methodology h2 {
    color: var(--accentG);
    margin-bottom: 1rem;
}

.methodology__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.methodology__list li {
    padding-left: 2rem;
    position: relative;
    color: var(--muted);
    line-height: 1.7;
}

.methodology__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accentG);
    font-weight: 700;
    font-size: 1.2rem;
}

/* LEGAL / ACCORDION */
.hub-legal {
    margin-bottom: 4rem;
}

.hub-legal h2 {
    color: var(--accentG);
    margin-bottom: 1.5rem;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion__button {
    width: 100%;
    padding: 1rem;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    text-align: left;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.accordion__button:hover {
    background-color: var(--surface2);
    border-color: var(--accentG);
}

.accordion__icon {
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.accordion__button[aria-expanded="true"] .accordion__icon {
    transform: rotate(45deg);
}

.accordion__content {
    padding: 1.5rem;
    background-color: var(--surface2);
    border-left: 4px solid var(--accentG);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--muted);
    line-height: 1.7;
}

.accordion__content h4 {
    color: var(--accentG);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.accordion__content p {
    margin-bottom: 0.75rem;
    color: var(--muted);
}

.accordion__content a {
    color: var(--accentG);
}

/* CONTACT PAGE */
.contact-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-header h1 {
    color: var(--accentG);
}

.contact-header p {
    color: var(--muted);
    font-size: 1.1rem;
}

.contact-form-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.contact-form {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accentG);
    background-color: rgba(31, 224, 139, 0.05);
}

.form-group--checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-group--checkbox input {
    width: auto;
    margin-top: 0.25rem;
    cursor: pointer;
    accent-color: var(--accentG);
}

.form-group--checkbox label {
    margin: 0;
    font-weight: 400;
    cursor: pointer;
    color: var(--muted);
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background-color: var(--accentG);
    color: var(--bg);
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.form-submit:hover {
    background-color: var(--accentP);
    color: var(--text);
}

.contact-info {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    height: fit-content;
}

.contact-info h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accentG);
}

.contact-info p {
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.contact-info a {
    color: var(--accentG);
    font-weight: 600;
}

@media (max-width: 768px) {
    .contact-form-section {
        grid-template-columns: 1fr;
    }

    .hero .container {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .nav__list {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .constellation__grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}

/* THANK YOU PAGE */
.thank-you-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.thank-you-container {
    text-align: center;
}

.thank-you-content h1 {
    font-size: 2.5rem;
    color: var(--accentG);
    margin-bottom: 1rem;
}

.thank-you-message {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.action-link {
    padding: 0.75rem 1.5rem;
    background-color: var(--accentG);
    color: var(--bg);
    border-radius: var(--radius);
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-block;
}

.action-link:hover {
    background-color: var(--accentP);
    color: var(--text);
}

/* GLOSSARY */
.glossary {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.glossary dt {
    color: var(--accentG);
    font-weight: 600;
    margin-top: 0.75rem;
}

.glossary dd {
    color: var(--muted);
    margin-left: 1rem;
    font-size: 0.9rem;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 1024px) {
    .pulse-rail {
        display: none;
    }

    main {
        margin-right: 0;
    }
}

@media (max-width: 640px) {
    .header__right {
        gap: 0.75rem;
    }

    .header__contact-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .guides__grid {
        grid-template-columns: 1fr;
    }

    .signal-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

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