/* Font Face Declarations */
@font-face {
    font-family: 'ASM-Regular';
    src: url('../assets/fonts/ASM-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Loading Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Status dot pulse animation */
@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Status dot outer ring animation */
@keyframes pulseRing {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(2.5);
    }
}

/* Star bounce animation */
@keyframes starBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    background-color: #e8e4e0;
    color: #1a1a1a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 35px 48px;
    position: relative;
}

.nav-left {
    display: flex;
    align-items: center;
}

.logo-star {
    width: 55px;
    height: 55px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.logo-star:hover {
    animation: starBounce 0.6s ease;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 60px;
}

.nav-link {
    font-family: 'ASM-Regular', 'Inter', sans-serif;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1a1a1a;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #333;
    transform: translateY(-1px);
}

.nav-link:hover::after {
    width: 100%;
}

.join-waitlist {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #10DF61;
    border-radius: 50%;
    margin-top: -3px;
    position: relative;
    animation: pulse 2s infinite;
}

.status-dot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #10DF61;
    border-radius: 50%;
    animation: pulseRing 2s infinite;
    z-index: -1;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    min-height: 0;
    overflow: hidden;
}

.content-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    gap: 40px;
    padding: 0 48px;
}

.left-section {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.chaos-title {
    font-family: 'ASM-Regular';
    /* font-size: min(72px, 8vw); */
    font-size: 35px;
    font-weight: 400;
    letter-spacing: -2px;
    color: #0a0a0a;
    margin-bottom: -10px;
    animation: fadeInLeft 1s ease-out 0.3s both;
}

.center-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-container {
    position: relative;
    width: min(350px, calc(60vh * 350 / 715));
    height: min(715px, 60vh);
    transition: transform 0.1s ease-out;

    transform-style: preserve-3d;
    perspective: 1000px;
}

.phone-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}



.right-section {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.tagline {
    font-family: 'Inter', sans-serif;
    font-size: 35px;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #1a1a1a;
    line-height: 1.1;
    white-space: nowrap;
    animation: fadeInRight 1s ease-out 0.9s both;
}

.tagline-star {
    width: 0.4em;
    height: 0.4em;
    vertical-align: super;
    margin-left: -0.2em;
    transition: transform 0.3s ease;
    cursor: pointer;
    filter: brightness(0) saturate(100%);
}

/* Footer */
.footer {
    padding: 20px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-link {
    font-family: 'ASM-Regular', 'Inter', sans-serif;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: opacity 0.2s ease;
}

.footer-link:hover {
    opacity: 0.7;
}

.footer-copyright {
    font-family: 'ASM-Regular', 'Inter', sans-serif;
    font-size: 12px;
    color: #666;
    letter-spacing: 0.02em;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .content-container {
        gap: 60px;
    }
    
    .chaos-title {
        font-size: 56px;
    }
    
    .tagline {
        font-size: 38px;
    }
}

@media (max-width: 968px) {
    .content-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 40px;
        text-align: center;
    }
    
    .left-section,
    .right-section {
        justify-content: center;
    }
    
    .chaos-title {
        font-size: 48px;
        animation: none;
    }
    
    .tagline {
        font-size: 32px;
        animation: none;
    }
    
    .phone-container {
        width: 300px;
        height: 613px;
    }

    .footer {
        padding: 24px 32px;
        flex-direction: column;
        gap: 20px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 24px 32px;
    }
    
    .main-content {
        align-items: flex-start;
        padding-top: 40px;
    }
    
    .content-container {
        padding: 0 32px;
        grid-template-rows: auto auto;
        gap: 20px;
    }
    
    .nav-right {
        gap: 32px;
    }
    
    .chaos-title {
        display: none;
    }
    
    .left-section {
        display: none;
    }
    
    .phone-container {
        width: 320px;
        height: 650px;
    }
}

@media (max-width: 480px) {
    .chaos-title {
        font-size: 36px;
    }
    
    .phone-container {
        width: 250px;
        height: 510px;
    }
    
    .nav-link:not(.join-waitlist) {
        display: none;
    }
    
    .footer-links {
        display: none;
    }
    
    .content-container {
        padding: 0 24px;
    }
}

@media (max-width: 360px) {
    .tagline {
        font-size: 18px;
    }
    
    .chaos-title {
        font-size: 32px;
    }
}

/* Shared Interactive Form Styles */
.interactive-form {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 40px 20px;
}

.interactive-waitlist {
    background-color: #e8e4e0;
}

.interactive-creator {
    background-color: #D2FF5F;
}

.form-step {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    position: absolute;
    width: 100%;
    max-width: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.form-step.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
    pointer-events: auto;
}

.form-step.fade-out {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.question-container,
.confirmation-container {
    width: 100%;
    max-width: 600px;
    text-align: left;
    padding: 0 20px;
}

.form-container {
    margin: 0;
    padding: 0;
    border: none;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.question-text {
    font-family: 'ASM-Regular', 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 40px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    position: relative;
}

.question-text::after {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: #1a1a1a;
    margin-left: 2px;
    animation: cursorBlink 1.2s infinite;
    vertical-align: text-top;
}

.input-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.answer-input {
    flex: 1;
    background: transparent;
    border: none;
    font-family: 'ASM-Regular', 'Inter', sans-serif;
    font-size: 24px;
    color: #999;
    padding: 16px 0;
    outline: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.submit-arrow {
    background: transparent;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    outline: none;
    user-select: none;
}

.submit-arrow:hover {
    color: #1a1a1a;
    transform: translateX(2px);
}

.answer-input:focus {
    color: #999;
}

.answer-input::placeholder {
    color: #999;
    font-style: normal;
    letter-spacing: 0.5px;
}

.confirmation-text {
    font-family: 'ASM-Regular', 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-align: center;
}

.confirmation-text::after {
    content: '';
    display: inline-block;
    width: 18px;
    height: 27px;
    background-color: #1a1a1a;
    margin-left: 2px;
    animation: cursorBlink 1.2s infinite;
    vertical-align: text-top;
}

.confirmation-subtitle {
    font-family: 'ASM-Regular', 'Inter', sans-serif;
    font-size: 24px;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: 0.5px;
    text-align: center;
}

.go-home-indicator {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.go-home-indicator.show {
    opacity: 1;
}

.go-home-text {
    font-family: 'ASM-Regular', 'Inter', sans-serif;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.go-home-arrow {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid #666;
    animation: arrowBounce 2s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(4px);
    }
}

.logo-container {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bottom-logo {
    width: 40px;
    height: 40px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.logo-link:hover .bottom-logo {
    opacity: 1;
    transform: scale(1.1);
}

/* Typewriter cursor blink animation */
@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Shake animation for validation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.answer-input.shake {
    animation: shake 0.5s ease-in-out;
}

.answer-input.email-error {
    border-color: #ff4444 !important;
    color: #ff4444 !important;
}

.answer-input.email-error::placeholder {
    color: #ff4444 !important;
}

/* Responsive styles for interactive forms */
@media (max-width: 768px) {
    .question-text {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .question-text::after {
        width: 14px;
        height: 21px;
    }
    
    .input-container {
        gap: 15px;
    }
    
    .answer-input {
        font-size: 20px;
        padding: 12px 0;
    }
    
    .submit-arrow {
        font-size: 24px;
        padding: 6px;
    }
    
    .confirmation-text {
        font-size: 28px;
    }
    
    .confirmation-text::after {
        width: 14px;
        height: 21px;
    }
    
    .confirmation-subtitle {
        font-size: 20px;
    }
    
    .interactive-form {
        padding: 20px 15px;
    }
    
    .go-home-indicator {
        bottom: 130px;
    }
    
    .go-home-text {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .question-text {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .question-text::after {
        width: 12px;
        height: 18px;
    }
    
    .input-container {
        gap: 12px;
    }
    
    .answer-input {
        font-size: 18px;
    }
    
    .submit-arrow {
        font-size: 20px;
        padding: 4px;
    }
    
    .confirmation-text {
        font-size: 24px;
    }
    
    .confirmation-text::after {
        width: 12px;
        height: 18px;
    }
    
    .confirmation-subtitle {
        font-size: 18px;
    }
    
    .logo-container {
        bottom: 40px;
    }
    
    .bottom-logo {
        width: 35px;
        height: 35px;
    }
    
    .go-home-indicator {
        bottom: 110px;
    }
}

/* Body styles for different form types */
.creator-body {
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    background-color: #D2FF5F;
    color: #1a1a1a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
} 