@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&display=swap");

:root {
    --site-bg: #f5f4ff;
    --site-surface: rgba(255, 255, 255, 0.94);
    --site-surface-strong: #0a0f2a;
    --site-text: #17153a;
    --site-text-soft: #666b89;
    --site-line: rgba(75, 31, 209, 0.10);

    --site-purple: #6c3bff;
    --site-purple-deep: #4b1fd1;
    --site-blue: #2f7bff;
    --site-blue-deep: #0b1e3a;
    --site-green: #3ed6b0;

    --site-white-soft: #f5f7fa;
    --site-highlight: rgba(108, 59, 255, 0.08);
    --site-highlight-soft: rgba(47, 123, 255, 0.08);

    --site-shadow: 0 24px 54px rgba(13, 17, 50, 0.12);
    --site-shadow-soft: 0 12px 28px rgba(13, 17, 50, 0.08);

    --site-radius: 4px;
    --site-max-width: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.site-body {
    margin: 0;
    color: var(--site-text);
    background:
        radial-gradient(circle at top left, rgba(108, 59, 255, 0.10), transparent 24%),
        radial-gradient(circle at top right, rgba(47, 123, 255, 0.08), transparent 22%),
        linear-gradient(180deg, #faf9ff 0%, #f2f4ff 56%, #f7f9ff 100%);
    font-family: "Inter", sans-serif;
}

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

.site-shell {
    width: min(calc(100% - 48px), var(--site-max-width));
    margin: 0 auto;
    padding: 28px 0 56px;
}

.site-header {
    position: sticky;
    top: 18px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(108, 59, 255, 0.10);
    box-shadow: var(--site-shadow-soft);
    backdrop-filter: blur(14px);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.site-brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.site-brand strong {
    display: block;
    font-size: 16px;
    letter-spacing: -0.02em;
}

.site-brand span {
    display: block;
    margin-top: 2px;
    color: var(--site-text-soft);
    font-size: 12px;
}

.site-nav {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    color: var(--site-text-soft);
    font-size: 14px;
}

.site-nav a,
.site-link,
.site-footer-links a {
    transition: color 0.2s ease;
}

.site-nav a:hover,
.site-footer-links a:hover,
.site-link:hover {
    color: var(--site-purple);
}

.site-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.site-link {
    color: var(--site-text-soft);
    font-size: 14px;
    font-weight: 600;
}

.site-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: var(--site-radius);
    font-size: 14px;
    font-weight: 700;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.site-button:hover {
    transform: translateY(-1px);
}

.site-button-primary {
    color: var(--site-white-soft);
    background: linear-gradient(135deg, var(--site-purple-deep) 0%, var(--site-purple) 56%, var(--site-blue) 100%);
    box-shadow: 0 14px 26px rgba(76, 41, 209, 0.20);
}

.site-button-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(128deg, transparent 0 58%, rgba(255, 255, 255, 0.10) 58% 66%, transparent 66% 100%),
        linear-gradient(150deg, transparent 0 74%, rgba(62, 214, 176, 0.18) 74% 82%, transparent 82% 100%);
    pointer-events: none;
}

.site-button-secondary {
    color: var(--site-purple);
    background: rgba(108, 59, 255, 0.06);
    border-color: rgba(108, 59, 255, 0.16);
}

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    gap: 42px;
    padding: 72px 0 44px;
    align-items: center;
}

.site-kicker {
    display: inline-block;
    margin-bottom: 18px;
    padding: 6px 10px;
    color: var(--site-purple);
    background: rgba(108, 59, 255, 0.08);
    border: 1px solid rgba(108, 59, 255, 0.10);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 2px;
}

.hero-copy h1,
.section-heading h2,
.site-cta-copy h2 {
    margin: 0;
    font-family: "Space Grotesk", "Inter", sans-serif;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.hero-copy h1 {
    max-width: 10.8ch;
    font-size: clamp(42px, 6vw, 72px);
}

.hero-copy p,
.section-heading p,
.module-card p,
.value-card p,
.timeline-card p,
.site-cta-copy p,
.site-footer p {
    color: var(--site-text-soft);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 26px;
}

.hero-points {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.hero-points li {
    position: relative;
    padding-left: 18px;
    color: var(--site-text-soft);
}

.hero-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--site-purple) 0%, var(--site-green) 100%);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.hero-panel {
    position: relative;
    padding: 24px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(108, 59, 255, 0.10);
    box-shadow: var(--site-shadow);
    overflow: hidden;
}

.hero-panel::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 240px;
    height: 220px;
    background:
        linear-gradient(135deg, rgba(108, 59, 255, 0.10) 0 50%, transparent 50% 100%),
        linear-gradient(160deg, rgba(47, 123, 255, 0.08) 0 54%, transparent 54% 100%),
        linear-gradient(120deg, rgba(62, 214, 176, 0.10) 0 20%, transparent 20% 100%);
    clip-path: polygon(36% 0%, 100% 0%, 100% 100%, 0% 100%, 12% 56%);
    pointer-events: none;
}

.hero-panel::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 180px;
    height: 120px;
    background:
        linear-gradient(145deg, rgba(108, 59, 255, 0.08) 0 50%, transparent 50% 100%),
        linear-gradient(165deg, rgba(47, 123, 255, 0.06) 0 62%, transparent 62% 100%);
    clip-path: polygon(0 100%, 0 42%, 44% 0, 100% 0, 58% 100%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.hero-card,
.value-card,
.module-card,
.timeline-card {
    padding: 20px;
    background: var(--site-surface);
    border: 1px solid var(--site-line);
    box-shadow: var(--site-shadow-soft);
    border-radius: var(--site-radius);
}

.hero-card-accent {
    position: relative;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #17134a 0%, #241b73 52%, #4b1fd1 100%);
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--site-white-soft);
    overflow: hidden;
}

.hero-card-accent::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 210px;
    height: 100%;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0 28%, transparent 28% 100%),
        linear-gradient(160deg, rgba(62, 214, 176, 0.16) 0 12%, transparent 12% 100%),
        linear-gradient(128deg, rgba(47, 123, 255, 0.18) 0 44%, transparent 44% 100%);
    clip-path: polygon(32% 0%, 100% 0%, 100% 100%, 0% 100%, 20% 56%);
    pointer-events: none;
}

.hero-card-accent p,
.hero-card-accent .hero-card-label {
    color: rgba(245, 247, 250, 0.78);
}

.hero-card-label {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    color: var(--site-purple);
    background: linear-gradient(135deg, rgba(108, 59, 255, 0.10) 0%, rgba(47, 123, 255, 0.08) 100%);
    font-size: 18px;
    border-radius: 2px;
}

.hero-card strong,
.value-card h3,
.module-card h3,
.timeline-card h3 {
    display: block;
    margin: 0 0 8px;
    font-size: 18px;
}

.site-section {
    padding: 46px 0;
}

.site-section-alt {
    margin: 8px 0;
    padding: 48px 28px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(75, 31, 209, 0.08);
    box-shadow: var(--site-shadow-soft);
    border-radius: var(--site-radius);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 26px;
}

.section-heading h2,
.site-cta-copy h2 {
    font-size: clamp(28px, 4vw, 44px);
}

.value-grid,
.module-grid,
.timeline-grid {
    display: grid;
    gap: 16px;
}

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

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

.module-card-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--site-line);
}

.module-card-cta .site-button {
    min-height: 40px;
    padding: 0 16px;
}

.module-card-cta-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    color: var(--site-purple);
    background: rgba(108, 59, 255, 0.08);
    border: 1px solid rgba(108, 59, 255, 0.10);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 2px;
}

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

.timeline-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 16px;
    color: var(--site-purple);
    background: linear-gradient(135deg, rgba(108, 59, 255, 0.10) 0%, rgba(62, 214, 176, 0.08) 100%);
    font-weight: 700;
    clip-path: polygon(22% 0%, 100% 0%, 100% 78%, 78% 100%, 0% 100%, 0% 22%);
}

.site-section-showcase {
    padding-top: 18px;
}

.showcase-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.75fr);
    gap: 20px;
    align-items: start;
}

.showcase-gallery {
    display: grid;
    gap: 18px;
}

.showcase-mobile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.showcase-card,
.showcase-spotlight {
    padding: 20px;
    background: var(--site-surface);
    border: 1px solid var(--site-line);
    box-shadow: var(--site-shadow-soft);
    border-radius: var(--site-radius);
}

.showcase-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.showcase-image-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(108, 59, 255, 0.12);
    background: linear-gradient(180deg, #fbf9ff 0%, #eef2ff 100%);
    box-shadow: 0 16px 34px rgba(13, 17, 50, 0.10);
    border-radius: 4px;
}

.showcase-image-shell-desktop {
    padding: 12px;
}

.showcase-image-shell-mobile {
    width: min(100%, 280px);
    margin: 0 auto;
    padding: 3px;
    background: var(--site-blue-deep);
    border: 3px solid rgba(75, 31, 209, 0.18);
    box-shadow: 0 18px 38px rgba(13, 17, 50, 0.16);
    border-radius: 10px;
}

.showcase-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: top center;
    border-radius: 2px;
}

.showcase-meta strong {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
}

.showcase-meta p,
.showcase-spotlight p,
.showcase-spotlight small {
    color: var(--site-text-soft);
    line-height: 1.7;
}

.showcase-meta p,
.showcase-spotlight small {
    margin: 0;
}

.showcase-spotlight {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: rgba(255, 255, 255, 0.94);
    overflow: hidden;
}

.showcase-spotlight::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 160px;
    height: 140px;
    background:
        linear-gradient(145deg, rgba(108, 59, 255, 0.10) 0 48%, transparent 48% 100%),
        linear-gradient(125deg, rgba(62, 214, 176, 0.10) 0 16%, transparent 16% 100%);
    clip-path: polygon(34% 0%, 100% 0%, 100% 100%, 0% 100%, 20% 56%);
    pointer-events: none;
}

.showcase-spotlight .site-kicker {
    margin-bottom: 0;
}

.showcase-spotlight h3 {
    margin: 0;
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.site-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 12px;
    padding: 34px 30px;
    color: var(--site-white-soft);
    background: linear-gradient(135deg, #0a0f2a 0%, #17134a 52%, #4b1fd1 100%);
    box-shadow: var(--site-shadow);
    border-radius: var(--site-radius);
    overflow: hidden;
}

.site-cta::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 240px;
    height: 100%;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0 24%, transparent 24% 100%),
        linear-gradient(125deg, rgba(62, 214, 176, 0.16) 0 12%, transparent 12% 100%),
        linear-gradient(158deg, rgba(47, 123, 255, 0.16) 0 42%, transparent 42% 100%);
    clip-path: polygon(34% 0%, 100% 0%, 100% 100%, 0% 100%, 18% 56%);
    pointer-events: none;
}

.site-cta-copy,
.site-cta-actions {
    position: relative;
    z-index: 1;
}

.site-cta-copy {
    max-width: 720px;
}

.site-cta .site-kicker,
.site-cta-copy p {
    color: rgba(245, 247, 250, 0.78);
}

.site-cta .site-kicker {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.10);
    color: var(--site-white-soft);
}

.site-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.site-cta .site-button-primary {
    background: linear-gradient(135deg, var(--site-purple) 0%, var(--site-blue) 100%);
}

.site-cta .site-button-secondary {
    color: var(--site-white-soft);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
}

.site-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: 30px 0 12px;
    color: var(--site-text-soft);
    font-size: 14px;
}

.site-footer strong {
    display: block;
    margin-bottom: 4px;
    color: var(--site-text);
}

.site-footer p {
    margin: 0;
}

.site-footer-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 18px;
}

.site-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

@media (max-width: 1100px) {
    .site-shell {
        width: min(calc(100% - 32px), var(--site-max-width));
    }

    .site-header {
        flex-wrap: wrap;
    }

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

    .hero-copy h1 {
        max-width: 12ch;
    }

    .value-grid,
    .timeline-grid,
    .showcase-layout,
    .showcase-mobile-grid {
        grid-template-columns: 1fr;
    }

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

    .site-cta,
    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .site-shell {
        width: min(calc(100% - 20px), var(--site-max-width));
        padding-top: 16px;
    }

    .site-header {
        position: static;
        padding: 14px;
    }

    .site-brand img {
        width: 48px;
        height: 48px;
    }

    .site-nav {
        order: 3;
        width: 100%;
        flex-wrap: wrap;
        gap: 14px;
    }

    .site-header-actions {
        width: 100%;
        justify-content: space-between;
    }

    .hero-section {
        gap: 22px;
        padding: 36px 0 22px;
    }

    .hero-copy h1 {
        max-width: none;
        font-size: 40px;
    }

    .hero-grid,
    .module-grid,
    .value-grid,
    .timeline-grid,
    .showcase-mobile-grid {
        grid-template-columns: 1fr;
    }

    .module-card-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .module-card-cta .site-button,
    .showcase-spotlight .site-button {
        width: 100%;
    }

    .site-section-alt {
        padding: 30px 16px;
    }

    .site-cta {
        padding: 24px 18px;
    }

    .showcase-card,
    .showcase-spotlight {
        padding: 18px;
    }

    .showcase-image-shell-desktop,
    .showcase-image-shell-mobile {
        padding: 8px;
    }

    .site-button,
    .site-header-actions .site-link {
        width: 100%;
    }
}
