:root {
    --bg-body: #050816;
    --bg-body-alt: #070b21;
    --bg-card: rgba(15, 23, 42, 0.92);
    --bg-card-soft: rgba(15, 23, 42, 0.8);
    --accent: #6366f1;
    --accent-2: #ec4899;
    --accent-soft: rgba(99, 102, 241, 0.18);
    --accent-strong: #22c55e;
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --border-subtle: rgba(148, 163, 184, 0.4);
    --shadow-soft: 0 22px 60px rgba(15, 23, 42, 0.9);
    --radius-md: 1rem;
    --radius-lg: 1.6rem;
    --radius-pill: 999px;
    --transition-fast: 0.18s ease-out;
    --transition-med: 0.28s ease-out;
    --max-width: 1160px;
    --nav-height: 70px;
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* RESET */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background:
        radial-gradient(circle at top left, rgba(99, 102, 241, 0.22), transparent 60%),
        radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.18), transparent 60%),
        radial-gradient(circle at top right, rgba(34, 197, 94, 0.14), transparent 55%),
        var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--accent);
}

p {
    margin: 0 0 1rem;
}

h1, h2, h3, h4 {
    margin: 0 0 0.75rem;
    font-weight: 600;
}

/* LAYOUT */

.shell {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
}

.section-alt {
    padding: 4rem 0;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), transparent 55%);
}

.section-title {
    font-size: clamp(2rem, 3vw, 2.4rem);
    margin-bottom: 1rem;
}

.section-title span {
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    color: transparent;
}

.section-intro {
    max-width: 640px;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
    background: radial-gradient(circle at top, rgba(17, 24, 39, 0.9), rgba(5, 8, 22, 0.96));
    border-bottom: 1px solid rgba(51, 65, 85, 0.65);
}

.header-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 30%;
    background:
        radial-gradient(circle at 20% 20%, #facc15, transparent 60%),
        conic-gradient(from 150deg, var(--accent), var(--accent-2), var(--accent-strong), var(--accent));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #020617;
    font-size: 1rem;
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.9), 0 0 30px rgba(94, 234, 212, 0.5);
}

.logo-text {
    font-size: 1.25rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.7rem;
    font-size: 0.95rem;
}

.main-nav a {
    position: relative;
    color: var(--text-muted);
    padding: 0.25rem 0;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 0;
    height: 2px;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transition: width var(--transition-med);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a.active {
    color: var(--text-main);
}

.nav-cta {
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    background: radial-gradient(circle at top left, rgba(99, 102, 241, 0.24), rgba(236, 72, 153, 0.32));
    border: 1px solid rgba(129, 140, 248, 0.8);
    color: #e5e7eb;
}

/* MOBILE NAV */

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.22rem;
    background: none;
    border: none;
    padding: 0.3rem;
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: #e5e7eb;
    border-radius: 999px;
}

/* HERO */

.hero {
    padding: 4.2rem 0 3.8rem;
}

.hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.4rem, 4vw, 2.9rem);
    line-height: 1.1;
}

.hero-text h1 span {
    background: linear-gradient(120deg, var(--accent-2), var(--accent));
    -webkit-background-clip: text;
    color: transparent;
}

.hero-text p {
    color: var(--text-muted);
    max-width: 580px;
}

.hero-actions {
    margin: 1.8rem 0 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.hero-contact {
    list-style: none;
    padding: 0;
    margin: 0.4rem 0 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-contact li {
    margin-bottom: 0.25rem;
}

.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

.hero-card {
    position: relative;
    border-radius: 1.8rem;
    background: radial-gradient(circle at top left, rgba(129, 140, 248, 0.3), transparent 65%),
                radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.28), transparent 55%),
                rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.6);
    padding: 0.7rem;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.hero-card img {
    border-radius: 1.4rem;
    object-fit: cover;
    width: 100%;
    height: auto;
}

.hero-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(18px);
    opacity: 0.75;
    pointer-events: none;
}

.hero-orb-1 {
    width: 140px;
    height: 140px;
    top: -30px;
    right: -30px;
    background: radial-gradient(circle, rgba(129, 140, 248, 0.95), transparent 60%);
    animation: floatOrb 12s ease-in-out infinite;
}

.hero-orb-2 {
    width: 120px;
    height: 120px;
    bottom: -20px;
    left: -20px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.9), transparent 60%);
    animation: floatOrb 14s ease-in-out infinite alternate;
}

.hero-tag {
    position: absolute;
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-pill);
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.7);
    font-size: 0.75rem;
    color: var(--text-muted);
    backdrop-filter: blur(12px);
}

.hero-tag-top {
    left: 1.3rem;
    top: 1.2rem;
}

.hero-tag-bottom {
    right: 1.3rem;
    bottom: 1.2rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.stat {
    padding: 0.8rem 0.9rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(55, 65, 81, 0.8);
    box-shadow: var(--shadow-soft);
    font-size: 0.9rem;
}

.stat-number {
    display: block;
    font-weight: 600;
    font-size: 1.05rem;
}

.stat-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.7rem 1.6rem;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        background var(--transition-fast),
        border var(--transition-fast),
        color var(--transition-fast);
    background: none;
    color: var(--text-main);
}

.btn-primary {
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    color: #f9fafb;
    box-shadow: 0 18px 38px rgba(79, 70, 229, 0.6);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 60px rgba(79, 70, 229, 0.8);
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(148, 163, 184, 0.8);
}

.btn-secondary:hover {
    border-color: var(--accent);
}

.btn-ghost {
    border-color: rgba(148, 163, 184, 0.6);
    background: transparent;
}

.btn-ghost:hover {
    border-color: var(--accent);
    background: rgba(15, 23, 42, 0.8);
}

.btn-full {
    width: 100%;
}

/* GRIDS */

.grid {
    display: grid;
    gap: 1.6rem;
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* FEATURES */

.feature {
    padding: 1.5rem 1.4rem;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    font-size: 0.95rem;
}

/* ZONE CARDS */

.zone-card {
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
}

.zone-card img {
    height: 210px;
    object-fit: cover;
}

.zone-body {
    padding: 1.3rem 1.4rem 1.5rem;
}

/* SPLIT */

.layout-split {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2.4rem;
}

/* CARD-SOFT */

.card-soft {
    padding: 1.6rem 1.6rem 1.8rem;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at top left, rgba(99, 102, 241, 0.2), transparent 60%), var(--bg-card);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
}

/* LISTS */

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.45rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.info-list li {
    margin-bottom: 0.45rem;
}

.simple-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.simple-list li {
    margin-bottom: 0.35rem;
}

.timeline {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline li {
    position: relative;
    padding-left: 1.7rem;
    margin-bottom: 1.2rem;
}

.timeline li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4rem;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

/* PAGE HERO */

.page-hero {
    padding: 3.2rem 0 2.4rem;
}

.page-hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 2.3rem;
    align-items: center;
}

.page-hero p {
    color: var(--text-muted);
    max-width: 720px;
}

.page-hero-media img {
    border-radius: 1.6rem;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
}

.legal-hero {
    border-bottom: 1px solid rgba(55, 65, 81, 0.8);
}

/* TEAM */

.team-card {
    padding: 1.2rem 1.3rem 1.4rem;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    font-size: 0.95rem;
}

.team-card img {
    border-radius: 1.1rem;
    margin-bottom: 0.8rem;
}

/* ARTICLE LIST */

.article-list {
    display: grid;
    gap: 1.5rem;
}

.article-card {
    padding: 1.6rem 1.6rem 1.8rem;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    font-size: 0.96rem;
}

.article-card h2 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

/* CONTACT */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2.4rem;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-list li {
    margin-bottom: 1rem;
}

.contact-form-card {
    border-radius: var(--radius-lg);
    padding: 1.8rem 1.9rem 2rem;
    background:
        radial-gradient(circle at top right, rgba(236, 72, 153, 0.22), transparent 55%),
        radial-gradient(circle at bottom left, rgba(56, 189, 248, 0.16), transparent 55%),
        rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.85);
    box-shadow: var(--shadow-soft);
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-row label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-row input,
.form-row textarea {
    padding: 0.65rem 0.75rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(75, 85, 99, 0.9);
    background: rgba(15, 23, 42, 0.95);
    color: var(--text-main);
    font: inherit;
    outline: none;
    transition: border var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.7);
    background: rgba(15, 23, 42, 1);
}

.form-row textarea {
    resize: vertical;
    min-height: 130px;
}

.form-row-inline {
    align-items: flex-start;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.checkbox input {
    margin-top: 0.15rem;
}

/* CONTACT HIGHLIGHT */

.contact-highlight {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2.3rem;
    align-items: stretch;
}

.contact-box {
    padding: 1.7rem 1.6rem 1.9rem;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
}

/* LEGAL */

.legal {
    font-size: 0.95rem;
}

.legal h2 {
    margin-top: 1.8rem;
}

/* FOOTER */

.site-footer {
    margin-top: 3rem;
    padding-top: 2.5rem;
    padding-bottom: 1.4rem;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 1), rgba(5, 8, 22, 1));
    border-top: 1px solid rgba(31, 41, 55, 1);
    font-size: 0.88rem;
}

.footer-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
    gap: 2.2rem;
}

.footer-logo {
    margin-bottom: 0.6rem;
}

.site-footer p {
    color: var(--text-muted);
}

.site-footer h3 {
    font-size: 0.92rem;
    margin-bottom: 0.6rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.35rem;
    color: var(--text-muted);
}

.footer-bottom {
    margin-top: 1.6rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(31, 41, 55, 1);
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* TEXT LINK */

.text-link {
    font-size: 0.9rem;
    color: var(--accent);
}

/* SMALL */

.small {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* COOKIE BANNER */

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.cookie-banner.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.cookie-inner {
    max-width: var(--max-width);
    margin: 0 auto 1.2rem;
    padding: 1rem 1.4rem;
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.9);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.cookie-text {
    margin: 0;
    font-size: 0.86rem;
    color: var(--text-muted);
    flex: 1 1 auto;
}

.cookie-text a {
    color: var(--accent-strong);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

.cookie-actions {
    display: flex;
    flex-shrink: 0;
    gap: 0.6rem;
}

.cookie-btn {
    font-size: 0.85rem;
    padding-inline: 1.1rem;
}

/* REVEAL ANIMATION */

.block-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.block-reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ORB ANIMATION */

@keyframes floatOrb {
    0% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(10px, -12px, 0);
    }
    100% {
        transform: translate3d(-6px, 10px, 0);
    }
}

/* RESPONSIVE */

@media (max-width: 960px) {
    .hero-shell,
    .page-hero-shell,
    .layout-split,
    .contact-layout,
    .contact-highlight {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding-top: 3.4rem;
    }

    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-shell {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: absolute;
        inset: var(--nav-height) 0 auto 0;
        background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), rgba(5, 8, 22, 0.98));
        border-bottom: 1px solid rgba(55, 65, 81, 0.9);
        padding: 0.9rem 1.5rem 1.3rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        transform-origin: top;
        transform: scaleY(0);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.2s ease-out, opacity 0.2s ease-out;
    }

    .main-nav.open {
        transform: scaleY(1);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-toggle {
        display: flex;
    }

    .section,
    .section-alt {
        padding: 3.3rem 0;
    }

    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .cookie-inner {
        margin-inline: 1rem;
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stats {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-tag-top,
    .hero-tag-bottom {
        left: 1rem;
        right: 1rem;
        text-align: center;
    }
}
