:root {
    --bg-primary: #FAFAFA;
    --bg-secondary: #F5F5F5;
    --text-primary: #000000;
    --text-secondary: #555555;
    --accent: #000000;
    --accent-light: #F0F0F0;
    --accent-glow: rgba(0, 0, 0, 0.15);
    --white: #FFFFFF;
    --border: #E0E0E0;
}

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

html {
    font-size: 16px;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, var(--accent-light) 0%, transparent 25%),
        radial-gradient(circle at 80% 20%, rgba(0, 0, 0, 0.02) 0%, transparent 30%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    padding: 2rem 0;
}

.left-section {
    max-width: 540px;
}

.logo {
    width: 48px;
    height: 48px;
    margin-bottom: 0.75rem;
    animation: float 3s ease-in-out infinite;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.brand-name {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-primary);
    display: block;
    margin-bottom: 2rem;
}

.headline {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.headline .highlight {
    font-style: italic;
    color: var(--text-primary);
}

.subheadline {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 460px;
}

.waitlist-form {
    margin-bottom: 2rem;
}

.input-wrapper {
    display: flex;
    gap: 0;
    background: var(--white);
    border-radius: 100px;
    padding: 6px;
    box-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    box-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 4px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--accent);
}

.input-wrapper input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 1rem 1.25rem;
    background: transparent;
    color: var(--text-primary);
    font-family: inherit;
}

.input-wrapper input::placeholder {
    color: #AAAAAA;
}

.submit-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 1rem 1.75rem;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.submit-btn:hover {
    background: #333333;
    transform: translateX(4px);
}

.submit-btn:active {
    transform: translateX(2px) scale(0.98);
}

.submit-btn svg {
    transition: transform 0.3s ease;
}

.submit-btn:hover svg {
    transform: translateX(3px);
}

.form-message {
    margin-top: 0.75rem;
    padding-left: 1.25rem;
    font-size: 0.875rem;
    min-height: 1.5rem;
}

.form-message.success {
    color: #10B981;
}

.form-message.error {
    color: #EF4444;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.social-link a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.social-link a:hover {
    color: var(--accent);
}

.social-link svg {
    margin-left: 0.25rem;
    opacity: 0.5;
}

/* Phone Section */
.right-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-container {
    position: relative;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 340px;
    height: 600px;
    background: linear-gradient(135deg, #000000 0%, #444444 100%);
    border-radius: 60px;
    filter: blur(60px);
    opacity: 0.15;
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.25; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.35; transform: translate(-50%, -50%) scale(1.05); }
}

.version-badge {
    position: absolute;
    top: 30px;
    right: -20px;
    background: var(--white);
    padding: 0.5rem 0.875rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.version-label {
    font-size: 0.65rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.version-number {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
}

.phone-frame {
    width: 290px;
    height: 600px;
    background: var(--text-primary);
    border-radius: 50px;
    padding: 12px;
    position: relative;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: var(--text-primary);
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 20px 16px;
    background: var(--white);
}

.app-icon {
    flex-shrink: 0;
    border-radius: 6px;
    object-fit: cover;
}

.app-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
}

.app-header-icons {
    display: flex;
    gap: 8px;
}

.chat-input-area {
    padding: 12px 16px;
}

.chat-bubble {
    background: var(--accent-light);
    border-radius: 20px;
    padding: 16px 20px;
    min-height: 80px;
}

.typing-text {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.cursor {
    color: var(--accent);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.stats-card {
    background: var(--white);
    margin: 8px 16px;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.stats-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.stats-value {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.keyboard {
    margin-top: auto;
    background: #E8E8E8;
    padding: 10px 4px 4px;
}

.keyboard-row {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 8px;
}

.keyboard-row span {
    background: var(--white);
    width: 24px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-primary);
    box-shadow: 0 1px 0 #B3B3B3;
}

.key-shift, .key-special {
    width: 36px !important;
    background: #D1D1D1 !important;
    font-size: 0.75rem !important;
}

.keyboard-bottom {
    gap: 6px;
}

.key-123 {
    width: 44px !important;
    background: #D1D1D1 !important;
    font-size: 0.7rem !important;
}

.key-space {
    flex: 1 !important;
    width: auto !important;
    max-width: 140px;
    font-size: 0.7rem !important;
    color: var(--text-secondary) !important;
}

.key-go {
    width: 56px !important;
    background: var(--accent) !important;
    color: var(--white) !important;
    font-weight: 600;
    font-size: 0.75rem !important;
}

.home-indicator {
    width: 120px;
    height: 4px;
    background: var(--text-primary);
    border-radius: 100px;
    margin: 8px auto 6px;
    opacity: 0.2;
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .content {
        gap: 2rem;
    }
}

@media (max-width: 900px) {
    .content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 3rem 0;
    }
    
    .left-section {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .subheadline {
        max-width: 100%;
    }
    
    .social-link {
        justify-content: center;
    }
    
    .right-section {
        order: -1;
    }
    
    .phone-frame {
        width: 260px;
        height: 540px;
    }
    
    .phone-glow {
        width: 300px;
        height: 540px;
    }
}

@media (max-width: 500px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .headline {
        font-size: 2.5rem;
    }
    
    .input-wrapper {
        flex-direction: column;
        border-radius: 20px;
        padding: 8px;
    }
    
    .input-wrapper input {
        text-align: center;
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
    }
    
    .phone-frame {
        width: 240px;
        height: 500px;
    }
    
    .version-badge {
        right: 0;
    }
}
.form-message {
    margin-top: 0.75rem;
    font-size: 0.9rem;
  }
  
  .form-message.success {
    color: #16a34a; /* green */
  }
  
  .form-message.error {
    color: #dc2626; /* red */
  }

