/* CSS Variables */
:root {
    --bg-page: #F3F4F6;
    --bg-card: #FFFFFF;
    --text-primary: #0F172A;
    --text-secondary: #64748B;
    --accent-yellow: #F9D966;
    --accent-yellow-hover: #F0B435;
    --border-light: #E5E7EB;
    --border-input: #D1D5DB;
    --border-focus: #F9D966;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    background-color: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1280px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

/* Left Column */
.left-column {
    display: flex;
    flex-direction: column;
    gap: 32px;
    order: 1;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

/* Waitlist Card */
.waitlist-card {
    background-color: var(--bg-card);
    border-radius: 32px;
    padding: 32px 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
}

.heading {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.subheading {
    font-size: 17px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
    max-width: 400px;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.benefits-list li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
    padding-left: 24px;
    position: relative;
    opacity: 0.9;
}

.benefits-list li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--text-secondary);
    font-size: 20px;
    line-height: 1;
}

.target-audience {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
    max-width: 400px;
}

/* Form Styles */
.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.early-access-incentive {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    margin: 0 0 8px 0;
    font-weight: 400;
}

.input-group {
    width: 100%;
}

.email-input {
    width: 100%;
    padding: 16px 20px;
    background-color: var(--bg-page);
    border: 1px solid var(--border-input);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

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

.email-input:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(249, 217, 102, 0.1);
}

.email-input.error {
    border-color: #EF4444;
}

.email-input.error:focus {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Honeypot field: hidden from users but accessible to bots */
.honeypot-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.submit-button {
    width: 100%;
    padding: 16px 24px;
    background-color: var(--accent-yellow);
    color: var(--text-primary);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    min-height: 48px;
}

.submit-button:hover {
    background-color: var(--accent-yellow-hover);
}

.submit-button:active {
    transform: translateY(1px);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.submit-button:disabled:hover {
    background-color: var(--accent-yellow);
}

/* Reassurance Text */
.reassurance {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}

.reassurance span {
    flex: 1;
    min-width: 0;
}

.check-icon {
    color: var(--text-secondary);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Form Messages */
.form-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
    align-items: center;
    gap: 8px;
}

.form-message.show {
    display: flex;
}

.form-message.success {
    background-color: #F0FDF4;
    color: #166534;
    border: 1px solid #BBF7D0;
}

.form-message.error {
    background-color: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.form-message-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

/* Right Column */
.right-column {
    display: block;
    order: 2;
}

.screenshot-container {
    background-color: var(--bg-card);
    padding: 24px;
    border-radius: 48px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.screenshot-image {
    width: 100%;
    height: auto;
    border-radius: 35px;
    display: block;
    border: 1px solid var(--border-light);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

/* Footer */
.footer {
    padding: 32px 16px;
    border-top: 1px solid var(--border-light);
    background-color: var(--bg-page);
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.copyright {
    font-size: 14px;
    color: var(--text-secondary);
}

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

.footer-link {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--text-primary);
}

/* Tablet and Desktop Styles */
@media (min-width: 768px) {
    .main-content {
        padding: 48px 32px;
    }
    
    .waitlist-card {
        padding: 48px;
    }
    
    .heading {
        font-size: 48px;
        margin-bottom: 24px;
    }
    
    .subheading {
        font-size: 18px;
        margin-bottom: 24px;
    }
    
    .benefits-list {
        margin-bottom: 32px;
        gap: 12px;
    }
    
    .target-audience {
        margin-bottom: 32px;
    }
    
    .reassurance {
        margin-top: 32px;
    }
    
    .footer-content {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .main-content {
        padding: 96px 48px;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
    
    .left-column {
        order: 1;
    }
    
    .right-column {
        order: 2;
    }
    
    .waitlist-card {
        padding: 48px;
    }
}

/* Privacy Page Styles */
.privacy-wrapper {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.privacy-header {
    margin-bottom: 32px;
}

.privacy-header .logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.privacy-card {
    background-color: var(--bg-card);
    border-radius: 32px;
    padding: 48px 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
}

.privacy-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.privacy-updated {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.privacy-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.privacy-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.privacy-heading {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.privacy-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.privacy-link {
    color: var(--text-primary);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.privacy-link:hover {
    color: var(--accent-yellow);
}

.privacy-back {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
}

.privacy-back-link {
    font-size: 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.privacy-back-link:hover {
    color: var(--accent-yellow);
}

.privacy-link-small {
    font-size: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 8px;
    transition: color 0.2s ease;
}

.privacy-link-small:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

@media (min-width: 768px) {
    .privacy-card {
        padding: 48px;
    }
    
    .privacy-title {
        font-size: 48px;
    }
}