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

:root {
    --orange-primary: #FF6B35;
    --orange-dark: #E55A2B;
    --orange-light: #FF8C5A;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    animation: fadeInUp 0.6s ease-out;
    width: 100%;
}

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

/* Left Side: Image */
.image-section {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.man-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

/* Right Side: Content - Use flexbox for alignment */
.content-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    align-self: start;
}

/* Logo - at top */
.logo-container {
    margin: 0;
    padding: 0;
    margin-bottom: 8px;
}

.logo-image {
    height: auto;
    max-height: 350px;
    width: auto;
    object-fit: contain;
}

/* Text Content - in center */
.text-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    margin-top: -35px;
    padding: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.main-quote {
    font-size: 47px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    text-align: left;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.main-quote .highlight-you {
    color: var(--orange-primary);
}

.sub-text {
    font-size: 21px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

/* Form - at bottom */
.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    margin-top: auto;
    padding: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-group {
    width: 100%;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    outline: none;
    transition: all 0.2s ease;
    background: var(--bg-primary);
}

.form-input:focus {
    border-color: var(--orange-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-input::placeholder {
    color: var(--text-secondary);
}

.submit-btn {
    width: 100%;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: var(--orange-primary);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover {
    background: var(--orange-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

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

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Messages */
.success-message {
    text-align: center;
    padding: 20px;
    margin-top: auto;
    background: #f0fdf4;
    border-radius: 12px;
    border: 2px solid var(--success-color);
    animation: fadeInUp 0.4s ease-out;
}

.success-message h3 {
    font-size: 18px;
    color: var(--success-color);
    margin: 0 0 4px 0;
    font-weight: 600;
}

.success-message p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

.error-message {
    padding: 16px;
    margin-top: 20px;
    background: #fef2f2;
    border: 2px solid var(--error-color);
    border-radius: 12px;
    color: var(--error-color);
    text-align: center;
    animation: fadeInUp 0.4s ease-out;
}

/* Responsive - Tablet */
@media (max-width: 968px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .image-section {
        order: 1;
        justify-content: center;
    }

    .content-section {
        order: 2;
        align-items: center;
        text-align: center;
    }

    .man-image {
        max-width: 350px;
        margin: 0 auto;
    }

    .logo-image {
        max-height: 200px;
    }

    .logo-container {
        display: flex;
        justify-content: center;
        margin-bottom: 16px;
    }

    .text-content {
        margin-top: 0;
        align-items: center;
        margin-bottom: 32px;
    }

    .main-quote {
        font-size: 28px;
        text-align: center;
        line-height: 1.3;
    }

    .sub-text {
        font-size: 16px;
        text-align: center;
    }

    .waitlist-form {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Responsive - Mobile */
@media (max-width: 640px) {
    body {
        padding: 20px 16px;
    }

    .content-wrapper {
        gap: 16px;
    }

    .man-image {
        max-width: 280px;
    }

    .logo-image {
        max-height: 240px;
    }

    .logo-container {
        margin-top: -2em;
    }

    .text-content {
        margin-top: -2em;
        margin-bottom: 20px;
    }

    .waitlist-form {
        margin-top: -1em;
    }

    .main-quote {
        font-size: 22px;
        line-height: 1.35;
    }

    .sub-text {
        font-size: 14px;
    }

    .form-input {
        padding: 14px 16px;
        font-size: 14px;
    }

    .submit-btn {
        padding: 14px 24px;
        font-size: 14px;
    }

    .success-message {
        padding: 16px;
    }

    .success-message h3 {
        font-size: 16px;
    }

    .success-message p {
        font-size: 13px;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 400px) {
    .main-quote {
        font-size: 20px;
    }

    .logo-image {
        max-height: 210px;
    }

    .man-image {
        max-width: 240px;
    }
}
