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

.site-bg-video-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.site-bg-video-el {
    position: absolute;
    left: 50%;
    top: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.site-bg-video-scrim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.28);
    pointer-events: none;
}

body {
    font-family: NeueHaasGrotesk, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #05070c;
    min-height: 100vh;
    padding: 24px;
    position: relative;
}

.brand-topbar {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
}

.brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.brand-pill-nav {
    width: 100%;
    justify-content: space-between;
}

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

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(145deg, #3658e8 0%, #1f3da8 100%);
    color: #fff;
    font-weight: 700;
    font-size: 30px;
    letter-spacing: 0.01em;
}

.brand-title {
    font-family: NeueHaasGrotesk, Helvetica, Arial, sans-serif;
    font-size: clamp(26px, 2.2vw, 40px);
    color: #111827;
    line-height: 1;
    margin: 0;
}

.brand-title strong {
    font-weight: 700;
}

.monks-word {
    display: inline-flex;
    gap: 0.01em;
    margin-left: 0.16em;
}

.monks-word span {
    display: inline-block;
    animation: monksLetterWave 3.8s ease-in-out infinite;
    will-change: transform;
}

.monks-word span:nth-child(1) { animation-delay: 0s; }
.monks-word span:nth-child(2) { animation-delay: 0.12s; }
.monks-word span:nth-child(3) { animation-delay: 0.24s; }
.monks-word span:nth-child(4) { animation-delay: 0.36s; }
.monks-word span:nth-child(5) { animation-delay: 0.48s; }

@keyframes monksLetterWave {
    0%, 20%, 100% { transform: translateY(0); }
    32% { transform: translateY(-6px); }
    46% { transform: translateY(4px); }
    60% { transform: translateY(0); }
}

.top-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.top-nav a {
    color: #111827;
    text-decoration: none;
    font-family: Inter-Variable, Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding: 8px 12px;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.top-nav a:hover {
    background: rgba(17, 24, 39, 0.08);
}

.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(360px, 520px);
    gap: 28px;
    align-items: center;
}

.promo-panel {
    color: #fff;
    min-height: 620px;
    display: flex;
    align-items: center;
    padding: 44px 40px;
    border-radius: 24px;
    background:
      linear-gradient(165deg, rgba(12, 14, 22, 0.92) 0%, rgba(18, 20, 32, 0.88) 50%, rgba(10, 12, 20, 0.94) 100%),
      radial-gradient(ellipse 80% 60% at 0% 100%, rgba(99, 102, 241, 0.22), transparent 55%),
      radial-gradient(ellipse 70% 50% at 100% 0%, rgba(167, 139, 250, 0.15), transparent 50%),
      #0a0b10;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
      0 4px 24px rgba(0, 0, 0, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
    position: relative;
}

.promo-headline {
    margin: 0 0 28px;
    font-weight: inherit;
}

.promo-line-static,
.promo-rotator-track span {
    font-family: NeueHaasGrotesk, Helvetica, Arial, sans-serif;
    font-style: normal;
    font-weight: 400;
    color: rgb(255, 255, 255);
    font-size: 96px;
    line-height: 96px;
    letter-spacing: -0.02em;
    display: block;
}

.promo-line-static {
    margin-bottom: 0;
}

.promo-rotator {
    height: 96px;
    overflow: hidden;
    position: relative;
    margin-top: 0;
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
}

.promo-rotator-track {
    display: flex;
    flex-direction: column;
    animation: promoRotatorScroll 32s linear infinite;
    will-change: transform;
}

@keyframes promoRotatorScroll {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .promo-rotator-track {
        animation: none;
        transform: translateY(0);
    }
    .promo-rotator {
        mask-image: none;
        -webkit-mask-image: none;
    }
}

.promo-overlay {
    max-width: 720px;
    position: relative;
    z-index: 1;
    transform: translateY(-10px);
}

.promo-subtitle {
    font-family: NeueHaasGrotesk, Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: clamp(20px, 2vw, 32px);
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.88);
    max-width: 520px;
    letter-spacing: -0.01em;
}

.registration-card {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 24px;
    box-shadow:
      0 24px 48px -20px rgba(3, 8, 24, 0.6),
      0 0 0 1px rgba(255, 255, 255, 0.45) inset;
    padding: 40px;
    animation: slideUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    backdrop-filter: blur(14px);
    position: relative;
    overflow: hidden;
}

.registration-card::before {
    content: "";
    position: absolute;
    top: -45%;
    left: -80%;
    width: 65%;
    height: 190%;
    transform: rotate(18deg);
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.36) 45%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
    animation: cardGlossSweep 7s ease-in-out infinite;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h2 {
    color: #0f172a;
    font-size: 33px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.header p {
    color: #64748b;
    font-size: 14px;
}

.registration-form {
    margin-top: 24px;
    display: grid;
    gap: 18px;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    color: #1e293b;
    font-weight: 500;
    margin-bottom: 9px;
    font-size: 14px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-group input {
    width: 100%;
    height: 56px;
    padding: 0 18px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 14px;
    font-family: Inter-Variable, Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #0f172a;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
    background: rgba(248, 250, 252, 0.95);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.form-group input:focus {
    outline: none;
    border-color: #334155;
    background: #fff;
    transform: translateY(-0.5px);
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.08), 0 8px 20px rgba(15, 23, 42, 0.12);
}

.form-group input::placeholder {
    color: #94a3b8;
}

.form-group small {
    display: block;
    color: #64748b;
    font-size: 12px;
    margin-top: 8px;
    padding-left: 2px;
}

.submit-btn {
    width: 100%;
    height: 58px;
    padding: 0 16px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    font-family: Inter-Variable, Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.submit-btn::before {
    content: "";
    position: absolute;
    top: -120%;
    left: -150%;
    width: 90%;
    height: 320%;
    transform: rotate(20deg);
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.45) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
    animation: buttonShineSweep 3.6s ease-in-out infinite;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.72;
    cursor: not-allowed;
    filter: grayscale(0.1);
}

@keyframes cardGlossSweep {
    0%, 18% {
        left: -80%;
        opacity: 0;
    }
    24%, 46% {
        opacity: 1;
    }
    62%, 100% {
        left: 145%;
        opacity: 0;
    }
}

@keyframes buttonShineSweep {
    0%, 14% {
        left: -150%;
        opacity: 0;
    }
    24%, 52% {
        opacity: 1;
    }
    66%, 100% {
        left: 190%;
        opacity: 0;
    }
}

.success-message {
    text-align: center;
    padding: 30px 20px;
    background: #f0f9ff;
    border-radius: 12px;
    margin-top: 20px;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.success-icon {
    width: 60px;
    height: 60px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
    font-weight: bold;
}

.success-message h2 {
    color: #10b981;
    margin-bottom: 20px;
    font-size: 24px;
}

.success-details {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: left;
    margin-top: 15px;
}

.success-details p {
    margin-bottom: 12px;
    color: #333;
    font-size: 14px;
}

.success-details strong {
    color: #667eea;
    display: inline-block;
    min-width: 100px;
}

.store-url-container {
    margin-bottom: 12px;
}

.url-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.store-url {
    color: #667eea;
    font-size: 14px;
    font-weight: 500;
    word-break: break-all;
    flex: 1;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.copy-btn:hover {
    background: #5568d3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.copy-btn:active {
    transform: translateY(0);
}

.copy-btn svg {
    width: 14px;
    height: 14px;
}

.copy-feedback {
    color: #10b981 !important;
    font-size: 13px !important;
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    font-weight: 500;
    animation: fadeIn 0.3s ease-out;
}

.error-message {
    text-align: center;
    padding: 20px;
    background: #fef2f2;
    border: 2px solid #fecaca;
    border-radius: 12px;
    margin-top: 20px;
    animation: fadeIn 0.5s ease-out;
}

.error-icon {
    width: 50px;
    height: 50px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 15px;
    font-weight: bold;
}

.error-message p {
    color: #dc2626;
    font-size: 14px;
    font-weight: 500;
}

.commerce-showcase {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1180px;
    margin: 26px auto 10px;
    color: #fff;
    overflow: hidden;
}

.info-sections {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1180px;
    margin: 10px auto 50px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.info-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.info-card h3 {
    color: #111827;
    font-size: 24px;
    margin-bottom: 8px;
}

.info-card p {
    color: #374151;
    font-size: 15px;
    line-height: 1.5;
}

.info-card a {
    color: #1d4ed8;
}

.showcase-inner {
    margin-bottom: 22px;
}

.showcase-title {
    font-family: NeueHaasGrotesk, Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: clamp(34px, 5vw, 68px);
    line-height: 1.03;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    text-wrap: balance;
}

.showcase-copy {
    font-family: NeueHaasGrotesk, Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: clamp(20px, 2.6vw, 50px);
    line-height: 1.08;
    letter-spacing: -0.015em;
    color: rgba(255, 255, 255, 0.95);
    max-width: 1120px;
}

.showcase-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding-bottom: 4px;
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.showcase-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: showcaseScroll 36s linear infinite;
    will-change: transform;
}

.showcase-card {
    width: min(300px, 74vw);
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
    background: #090b10;
    flex: 0 0 auto;
}

.showcase-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes showcaseScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 8px));
    }
}

@media (max-width: 600px) {
    body {
        padding: 14px;
    }

    .container {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .brand-topbar {
        margin-bottom: 14px;
    }

    .brand-pill {
        gap: 8px;
        padding: 8px 12px;
        align-items: flex-start;
        flex-direction: column;
    }

    .brand-identity {
        gap: 10px;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        font-size: 20px;
    }

    .brand-title {
        font-size: 24px;
    }

    .top-nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 6px;
    }

    .top-nav a {
        font-size: 14px;
        padding: 6px 10px;
    }

    .promo-panel {
        min-height: 360px;
        padding: 24px 18px;
        align-items: center;
    }

    .promo-line-static,
    .promo-rotator-track span {
        font-size: 52px;
        line-height: 56px;
    }

    .promo-rotator {
        height: 56px;
    }

    .promo-headline {
        margin-bottom: 20px;
    }

    .promo-subtitle {
        font-size: 18px;
    }

    .registration-card {
        padding: 30px 20px;
    }
    
    .header h2 {
        font-size: 24px;
    }

    .commerce-showcase {
        margin-top: 20px;
    }

    .showcase-inner {
        margin-bottom: 16px;
    }

    .showcase-copy {
        line-height: 1.15;
    }

    .showcase-card {
        width: min(250px, 80vw);
        border-radius: 12px;
    }

    .showcase-track {
        gap: 12px;
        animation-duration: 30s;
    }

    .info-sections {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .registration-card::before,
    .submit-btn::before {
        animation: none !important;
        opacity: 0;
    }

    .monks-word span {
        animation: none !important;
        transform: none !important;
    }
}
