/* Base Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Fraunces', serif;
    /* Soft, warm light gray background inspired by the template */
    background-color: #ecede8;
    color: #000000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 80px 24px;
}

/* Wide, open container for a spacious layout */
.coming-soon-container {
    width: 100%;
    max-width: 1000px;
}

/* Frameless wrapper for the content */
.coming-soon-card {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logo & Branding Styling */
.logo-container {
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    /* Soft pastel purple logo button background */
    background-color: #f8e0fa;
    color: #252321;
    border-radius: 12px;
    font-size: 22px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 500;
    color: #252321;
    letter-spacing: -0.02em;
}

/* Content Container */
.state-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title {
    font-size: 2.8rem;
    font-weight: 400;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: #252321;
}

.subtitle {
    font-size: 1rem;
    color: #252321;
    line-height: 1.6;
    max-width: 540px;
    margin-bottom: 32px;
}

/* Form Styling */
.waitlist-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 460px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    width: 100%;
    background: #ffffff;
    padding: 6px;
    border-radius: 100px;
    border: 1px solid #e1deda;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.email-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 20px;
    font-family: inherit;
    font-size: 0.95rem;
    color: #252321;
    outline: none;
}

.submit-btn {
    /* Soft dark purple/plum for a striking yet elegant call to action */
    background-color: #f8e0fa;
    color: #252321;
    border: none;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.1s ease, background-color 0.25s ease-in-out;
}

.submit-btn:hover {
    background-color: #fdf4fd; /* Lighter purple hover state */
}

.submit-btn:active {
    transform: scale(0.98);
}

.form-note {
    font-size: 0.8rem;
    color: #8c8279;
    margin-top: 10px;
    font-weight: 500;
}

/* Social Proof & Avatar Stack */
.social-proof {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #6b6661;
    margin-bottom: 40px;
}

.avatar-stack {
    display: flex;
    align-items: center;
}

.avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #ecede8;
    background-color: #d8d5d0;
    margin-left: -8px;
}

.avatar:first-child {
    margin-left: 0;
    background-color: #e0d5ea;
}

.avatar:nth-child(2) {
    background-color: #f2d9e6;
}

.avatar:nth-child(3) {
    background-color: #d1dfed;
}

.proof-text strong {
    color: #252321;
}

/* Countdown Grid */
.countdown-grid {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 56px;
}

.time-block {
    background: #ffffff;
    padding: 14px 20px;
    border-radius: 14px;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #e1deda;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.time-block .number {
    font-size: 1.25rem;
    font-weight: 500;
    color: #252321;
}

.time-block .unit {
    font-size: 0.7rem;
    color: #6b6661;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.colon {
    font-weight: 500;
    color: #6b6661;
    font-size: 1.2rem;
}

/* 16:9 Video Placeholder Container */
.video-placeholder {
    width: 100%;
    max-width: 640px;
    margin-top: 10px;
}

.video-mockup {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #1e1523;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 16px 40px rgba(88, 28, 135, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(88, 28, 135, 0.1);
}

.play-button-icon {
    width: 52px;
    height: 52px;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.play-button-icon:hover {
    transform: scale(1.08);
    background-color: rgba(255, 255, 255, 0.25);
}

/* STATE 2: Referral / Success Styles */
.referral-box {
    display: flex;
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #e1deda;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.referral-box input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 20px;
    font-family: inherit;
    font-size: 0.9rem;
    color: #252321;
    outline: none;
}

.copy-btn {
    background: #f8e0fa;
    color: #252321;
    border: none;
    padding: 0 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.copy-btn:hover {
    background: #fdf4fd;
}

.copy-btn:active {
    transform: scale(0.97);
}

/* Success State Styles for Copy Button */
.copy-btn.copied {
    background-color: #e2f5ea;
    color: #1b4d3f;
}

.divider-text {
    font-size: 0.75rem;
    color: #8c8279;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin: 24px 0 24px;
}

.social-share-group {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 440px;
}

.share-btn {
    flex: 1;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 14px;
    border-radius: 10px;
    background-color: #f8e0fa;
    color: #252321;
    transition: opacity 0.2s, background-color 0.2s;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.share-btn:hover {
    background-color: #fdf4fd;
    opacity: 0.9;
}