:root {
    --blue-600: #2563eb;
    --blue-500: #3b82f6;
    --blue-100: #dbeafe;
    --blue-50: #eff6ff;
    --gray-950: #0a0a0f;
    --gray-800: #1e1e2a;
    --gray-600: #4b5563;
    --gray-400: #9ca3af;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --font-display: "Poppins", system-ui, sans-serif;
    --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-950);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
    color: var(--gray-950);
    text-decoration: none;
}

.nav-logo img {
    width: min(84px, 16vw);
    height: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--gray-950);
}

.nav-cta {
    background: var(--blue-600);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600 !important;
    transition:
        background 0.2s,
        transform 0.15s !important;
}

.nav-cta:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.mobile-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--gray-950);
    border-radius: 2px;
    transition: transform 0.2s ease;
}

nav.nav-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

nav.nav-open .mobile-menu-toggle span:nth-child(2) {
    transform: scaleX(0);
}

nav.nav-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* HERO */
.hero {
    padding: 10rem 3rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue-600);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-label::before {
    content: "";
    display: block;
    width: 24px;
    height: 2px;
    background: var(--blue-600);
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.7rem, 5.9vw, 5.4rem);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--gray-950);
    max-width: 900px;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.35s forwards;
}

.hero h1 em {
    font-style: italic;
    color: var(--blue-600);
}

@media (min-width: 1025px) {
    .hero h1 {
        max-width: 1080px;
    }
}

.hero-sub {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--gray-600);
    max-width: 520px;
    margin-bottom: 2.5rem;
    font-weight: 400;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.5s forwards;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.65s forwards;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--blue-600);
    color: var(--white);
    padding: 0.9rem 2rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--gray-950);
    padding: 0.9rem 2rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: -0.01em;
    border: 1.5px solid var(--gray-200);
    transition: all 0.2s;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--gray-950);
    transform: translateY(-2px);
}

/* HERO IMAGE */
.hero-image {
    max-width: 1400px;
    margin: 4rem auto 0;
    padding: 0 3rem;
    opacity: 0;
    animation: fadeUp 1s ease 0.8s forwards;
}

.hero-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

/* ABOUT / INTRO */
.about {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 3rem;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 4rem;
    align-items: start;
}

.about-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue-600);
    padding-top: 0.5rem;
}

.about-content h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--gray-950);
    max-width: 700px;
    margin-bottom: 2rem;
}

.about-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-950);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.2s;
}

.about-link:hover {
    gap: 0.7rem;
}

.about-link::after {
    content: "\2192";
}

/* PILLARS */
.pillars {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.pillars-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 3rem;
}

.pillars-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.pillars-header h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 3.5vw, 3rem);
    letter-spacing: -0.02em;
}

.pillar-count {
    font-size: 5rem;
    font-weight: 800;
    color: var(--gray-200);
    line-height: 1;
    letter-spacing: -0.04em;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.pillar-card {
    background: var(--white);
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.pillar-card:first-child {
    border-radius: 16px 0 0 16px;
}

.pillar-card:last-child {
    border-radius: 0 16px 16px 0;
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    z-index: 2;
    border-radius: 16px;
}

.pillar-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--blue-600);
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.pillar-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.65rem;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.pillar-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.pillar-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue-600);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.2s;
}

.pillar-link:hover {
    gap: 0.6rem;
}

.pillar-link::after {
    content: "\2192";
}

/* MIDDLE / FEATURES */
.features {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.features-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
}

.features-content h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.features-content > p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray-800);
}

.feature-check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: var(--blue-50);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.feature-check svg {
    width: 12px;
    height: 12px;
    stroke: var(--blue-600);
    stroke-width: 2.5;
    fill: none;
}

/* CTA */
.cta {
    background: var(--gray-950);
    margin: 0 3rem 3rem;
    border-radius: 24px;
    padding: 6rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(
            ellipse at 30% 50%,
            rgba(37, 99, 235, 0.15),
            transparent 50%
        ),
        radial-gradient(
            ellipse at 70% 50%,
            rgba(59, 130, 246, 0.1),
            transparent 50%
        );
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    line-height: 1.1;
}

.cta h2 em {
    font-style: italic;
    color: var(--blue-500);
}

.cta p {
    font-size: 1.1rem;
    color: var(--gray-400);
    margin-bottom: 2.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--blue-600);
    color: var(--white);
    padding: 1rem 2.25rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: all 0.25s;
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    background: var(--blue-500);
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(59, 130, 246, 0.4);
}

.btn-cta-outline {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 1rem 2.25rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
    cursor: pointer;
}

.btn-cta-outline:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* FOOTER */
footer {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 3rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.03em;
    color: var(--gray-950);
    text-decoration: none;
}

.footer-logo img {
    width: min(75px, 15vw);
    height: auto;
    display: block;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 1.5rem;
    row-gap: 0.5rem;
    max-width: 560px;
    list-style: none;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--gray-950);
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* LEGAL PAGE */
body.legal-page {
    background: var(--gray-50);
}

.legal-main {
    max-width: 980px;
    margin: 0 auto;
    padding: 8rem 1.5rem 4rem;
}

.legal-header {
    margin-bottom: 2rem;
}

.legal-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue-600);
    margin-bottom: 0.9rem;
}

.legal-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.legal-updated {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.legal-content {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 2rem;
}

.legal-section + .legal-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-100);
}

.legal-section h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: -0.01em;
    margin-bottom: 0.9rem;
}

.legal-section h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    margin: 1.2rem 0 0.7rem;
}

.legal-section p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--gray-800);
}

.legal-section p + p {
    margin-top: 1rem;
}

.legal-section ul {
    padding-left: 1.2rem;
    margin: 0.7rem 0 0;
}

.legal-section li {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--gray-800);
}

.legal-section li + li {
    margin-top: 0.5rem;
}

.legal-contact {
    margin-top: 0.75rem;
    font-style: normal;
    line-height: 1.7;
}

.legal-contact a {
    color: var(--blue-600);
    text-decoration: none;
}

.legal-contact a:hover {
    text-decoration: underline;
}

.legal-table-wrap {
    margin-top: 0.8rem;
    overflow-x: auto;
}

.legal-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    border: 1px solid var(--gray-200);
}

.legal-table th,
.legal-table td {
    border: 1px solid var(--gray-200);
    padding: 0.75rem;
    text-align: left;
    vertical-align: top;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--gray-800);
}

.legal-table th {
    background: var(--gray-50);
    font-weight: 700;
}

/* ANIMATIONS */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .about {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .pillar-card,
    .pillar-card:first-child,
    .pillar-card:last-child {
        border-radius: 16px;
    }
    .features {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .features-image {
        order: -1;
    }
    footer {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
        align-items: center;
    }
    .footer-links {
        max-width: 100%;
    }
    .footer-copy {
        text-align: center;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 0.7rem);
        left: 1rem;
        right: 1rem;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--gray-200);
        border-radius: 14px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
        padding: 0.7rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.3rem;
    }
    nav.nav-open .nav-links {
        display: flex;
    }
    .nav-links a {
        display: block;
        padding: 0.72rem 0.9rem;
        border-radius: 8px;
    }
    .nav-cta {
        display: block;
        text-align: center;
        width: 100%;
    }
    .mobile-menu-toggle {
        display: inline-flex;
    }
    .nav-logo img {
        width: min(73px, 26vw);
    }
    .hero {
        padding: 8rem 1.5rem 3rem;
    }
    .hero-image {
        padding: 0 1.5rem;
    }
    .hero-image img {
        height: 280px;
    }
    .about {
        padding: 5rem 1.5rem;
    }
    .pillars-inner {
        padding: 4rem 1.5rem;
    }
    .pillars-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .features {
        padding: 5rem 1.5rem;
    }
    .features-image img {
        height: 300px;
    }
    .cta {
        margin: 0 1.5rem 1.5rem;
        padding: 4rem 2rem;
    }
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary,
    .cta-actions .btn-cta,
    .cta-actions .btn-cta-outline {
        width: 100%;
        justify-content: center;
    }
    footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 2rem 1.5rem;
    }
    .footer-logo img {
        width: min(66px, 25vw);
    }
    .legal-main {
        padding: 6.5rem 1rem 2.5rem;
    }
    .legal-content {
        border-radius: 12px;
        padding: 1.2rem;
    }
    .legal-section + .legal-section {
        margin-top: 1.4rem;
        padding-top: 1.4rem;
    }
}
