:root {
    --primary: #ccff00;
    --on-primary: #003a00;
    --surface: #000000;
    --surface-container: #121212;
    --surface-variant: #212121;
    --outline: rgba(255, 255, 255, 0.1);
    --outline-variant: rgba(255, 255, 255, 0.05);
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 32px;
    --space-lg: 48px;
    --space-xl: 80px;
    --space-xxl: 120px;
    --ease: cubic-bezier(0.2, 0, 0, 1);
    --transition: all 0.5s var(--ease);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

:focus,
:active {
    outline: none !important;
}

input,
textarea,
select,
.selectable-text {
    -webkit-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 99px;
    background-color: var(--surface);
}

body {
    background-color: var(--surface);
    color: #fff;
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 100%;
    max-width: 100vw;
}

h1,
h2,
h3,
h4 {
    font-family: "Urbanist", sans-serif;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 88px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--outline-variant);
}

.nav-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    font-family: "Urbanist", sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.logo span {
    color: var(--primary);
}

/* Buttons */
.btn-m3,
.btn-outline {
    font-family: "Urbanist", sans-serif;
    padding: 12px 24px;
    border-radius: 99px;
    font-size: 16px;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    white-space: nowrap;
    border: 2px solid var(--primary);
    cursor: pointer;
}

.btn-m3 {
    background-color: var(--primary);
    color: #000;
}

.btn-m3:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 0 24px rgba(204, 255, 0, 0.5);
}

.btn-m3:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
}

.btn-outline:hover {
    background-color: rgba(204, 255, 0, 0.1);
    transform: scale(1.05);
    box-shadow: 0 0 24px rgba(204, 255, 0, 0.5);
}

/* Return to Top Button */
.return-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 56px;
    height: 56px;
    background-color: var(--primary);
    color: #000;
    border: none;
    border-radius: 16px;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s var(--ease);
}

.return-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.return-to-top:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 36px rgba(204, 255, 0, 0.5);
}

/* Badge */
.z-badge {
    width: fit-content;
    font-family: "Urbanist", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(204, 255, 0, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    margin-bottom: var(--space-md);
    display: inline-block;
    text-transform: uppercase;
    border: 1px solid rgba(204, 255, 0, 0.2);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: var(--space-lg);
    align-items: center;
    width: 100%;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 72px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: var(--space-md);
    color: #fff;
}

.hero h1 .stroke {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--primary);
}

.hero p {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.6);
    max-width: 640px;
    margin-bottom: var(--space-lg);
    font-weight: 400;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 600px;
    overflow: visible;
}

.shard-manifesto {
    position: relative;
    width: 240px;
    height: 440px;
    background: linear-gradient(135deg,
            rgba(204, 255, 0, 0.1) 0%,
            rgba(10, 10, 10, 1) 100%);
    border: 2px solid var(--primary);
    border-radius: 32px;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: float 4s ease-in-out infinite;
    z-index: 2;
}

.shard-manifesto i {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: var(--space-sm);
    filter: drop-shadow(0 0 35px rgba(204, 255, 0, 0.6));
}

.orbit-system {
    position: absolute;
    width: 600px;
    height: 600px;
    border: 4px solid var(--outline);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.orbit-system::after {
    content: "";
    position: absolute;
    top: -16px;
    left: 50%;
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 25px var(--primary);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(4deg);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Sections */
section {
    padding: var(--space-xxl) 0;
    text-align: left;
}

.section-header {
    margin-bottom: var(--space-lg);
    max-width: 900px;
}

.section-header h2 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
}

.section-header h2 span {
    color: var(--primary);
}

.section-header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.5);
}

/* Grid Layouts */
.z-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.z-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

/* Cards */
.z-card {
    background-color: var(--surface-container);
    padding: 36px;
    border-radius: 32px;
    border: 2px solid transparent;
    transition: var(--transition);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.z-card:hover {
    background-color: var(--surface-variant);
    border-color: var(--primary);
    box-shadow: 0 0 50px rgba(204, 255, 0, 0.3);
    transform: scale(1.05);
}

.z-card i.card-icon {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 24px;
    align-self: flex-start;
}

.card-label {
    font-family: "Urbanist", sans-serif;
    font-size: 14px;
    font-weight: 900;
    color: var(--surface);
    letter-spacing: -0.5px;
    margin-bottom: var(--space-sm);
    display: inline-block;
    text-transform: uppercase;
    background: var(--primary);
    padding: 4px 12px;
    border-radius: 99px;
    width: fit-content;
}

.z-card h3 {
    color: #fff;
    margin-bottom: var(--space-sm);
    font-size: 24px;
    font-weight: 800;
}

.z-card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
}

/* Friction Items */
.friction-item {
    margin-bottom: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.friction-item:last-child {
    margin-bottom: 0;
}

.friction-item i {
    color: var(--primary);
    font-size: 18px;
    margin-top: 6px;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.friction-item strong {
    display: block;
    color: #fff;
    font-size: 18px;
    margin-bottom: 4px;
    font-weight: 700;
}

.friction-item p {
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.5);
}

/* Footer */
footer {
    padding: var(--space-xl) 0 var(--space-xl);
    border-top: 1px solid var(--outline-variant);
    background: linear-gradient(to bottom, #000, #030303);
}

.footer-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: var(--space-xl);
    margin-bottom: var(--space-md);
}

.footer-layout h2 {
    font-size: 40px;
    margin-bottom: var(--space-md);
    font-weight: 900;
    letter-spacing: -0.5px;
}

.hq-info {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: var(--space-sm);
    color: rgba(255, 255, 255, 0.6);
}

.hq-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--surface-container);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
    color: var(--primary);
}

.footer-cta-box {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.contact-us-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.social-link {
    font-family: "Urbanist", sans-serif;
    height: 48px;
    padding: 0 24px;
    border-radius: 99px;
    background: var(--surface-container);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-link i {
    font-size: 18px;
    color: var(--primary);
}

.social-link:hover {
    background: var(--primary);
    color: var(--surface);
    box-shadow: 0 0 24px rgba(204, 255, 0, 0.5);
    transform: scale(1.05);
}

.social-link:hover i {
    color: var(--surface);
}

.footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid var(--outline-variant);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.legal-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
    font-weight: 800;
    text-transform: uppercase;
}

.legal-utility {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.legal-utility a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
}

.legal-utility a:hover {
    color: #fff;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
    padding: 20px;
    overscroll-behavior: contain;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--surface-container);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    max-height: 90dvh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 40px 99px rgba(0, 0, 0, 0.8);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-header h3 {
    font-size: 28px;
    margin: 0;
    text-transform: none;
    letter-spacing: -0.5px;
}

.modal-header h3 span {
    color: var(--primary);
}

.modal-header .close-btn,
.close-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px transparent var(--outline);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
}

.close-btn:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    transform: scale(1.05);
}

.legal-content h4 {
    color: #fff;
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 18px;
    font-family: "Inter", sans-serif;
    text-transform: none;
    letter-spacing: 0;
}

.legal-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
    line-height: 1.6;
}

/* Forms */
.form-group {
    margin-bottom: 16px;
    text-align: left;
}

.form-group input,
.form-group select {
    width: 100%;
    background: var(--surface-variant);
    border: 1px transparent var(--outline);
    color: #fff;
    padding: 16px;
    border-radius: 12px;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group select {
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg width="14" height="8" viewBox="0 0 14 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L7 7L13 1" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group select:invalid {
    color: rgba(255, 255, 255, 0.6);
}

.form-group select option {
    background-color: var(--surface-container);
    color: #fff;
}

.form-group input:focus,
.form-group select:focus {
    outline: none !important;
    border-color: var(--primary);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.input-with-prefix {
    display: flex;
    background: var(--surface-variant);
    border: 1px transparent var(--outline);
    border-radius: 12px;
    transition: border-color 0.3s ease;
    overflow: hidden;
    width: 100%;
}

.input-with-prefix:focus-within {
    border-color: var(--primary);
}

.input-with-prefix span {
    display: flex;
    align-items: center;
    padding: 14px 8px 14px 16px;
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    user-select: none;
    white-space: nowrap;
}

.form-group .input-with-prefix input {
    border: none;
    background: transparent;
    margin: 0;
    padding: 14px 16px 14px 8px;
    width: 100%;
    border-radius: 0;
}

.form-group .input-with-prefix input:focus {
    outline: none !important;
    border-color: transparent;
}

.success-message {
    display: none;
    text-align: center;
    padding-bottom: 48px;
}

.success-message.active {
    display: block;
}

.success-message i {
    font-size: 64px;
    color: var(--primary);
    margin-bottom: 24px;
}

.success-message .close-btn {
    justify-self: end;
    margin-bottom: 16px;
}

.success-message .close-btn i {
    color: unset;
    margin-bottom: 0;
    font-size: 16px;
}

.success-message h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.success-message p {
    color: rgba(255, 255, 255, 0.6);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 1s var(--ease),
        transform 1s var(--ease);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    .hero {
        padding-top: 99px;
        min-height: auto;
        padding-bottom: 40px;
    }

    .hero-grid {
        display: flex;
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        width: 100%;
        margin-top: 24px;
    }

    .hero h1,
    .hero p {
        text-align: center;
        margin-inline: auto;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-visual {
        height: 480px;
        margin-bottom: -20px;
        transform: scale(0.65);
    }

    .z-grid,
    .z-grid-2,
    .z-grid-4 {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .footer-layout {
        flex-direction: column;
        gap: 60px;
        margin-bottom: 60px;
    }
}

@media (max-width: 480px) {
    :root {
        --space-xxl: 80px;
    }

    .hero-visual {
        transform: scale(0.55);
        height: 380px;
    }

    .hero .btn-m3,
    .hero .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .footer-layout h2 {
        font-size: 32px;
    }

    .return-to-top {
        bottom: 24px;
        right: 24px;
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .modal-content {
        padding: 24px 20px;
        border-radius: 20px;
        max-height: 85dvh;
    }

    .modal-header {
        margin-bottom: 16px;
    }

    .modal-header h3 {
        font-size: 22px;
    }

    .form-group {
        margin-bottom: 12px;
    }

    .form-group input,
    .form-group select {
        padding: 12px 14px;
        font-size: 14px;
        border-radius: 8px;
    }

    .form-group .input-with-prefix input {
        padding: 12px 14px 12px 8px;
    }

    .input-with-prefix span {
        padding: 12px 0 12px 14px;
        font-size: 14px;
    }

    .btn-m3 {
        font-size: 14px;
    }
}