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

:root {
    /* Minimal color palette */
    --primary: #000000;
    --secondary: #666666;
    --tertiary: #999999;
    --accent: #000000;
    --background: #ffffff;
    --surface: #fafafa;
    --border: #e5e5e5;
    
    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    
    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
    --space-3xl: 96px;
    --space-4xl: 128px;
    
    /* Typography scale */
    --text-xs: 12px;
    --text-sm: 14px;
    --text-base: 16px;
    --text-lg: 18px;
    --text-xl: 20px;
    --text-2xl: 24px;
    --text-3xl: 32px;
    --text-4xl: 40px;
    --text-5xl: 48px;
    --text-6xl: 64px;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: var(--font-family);
    font-size: var(--text-base);
    line-height: 1.5;
    color: var(--primary);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }
}



/* Hero section - super minimal */
.hero {
    padding: var(--space-4xl) 0 var(--space-xl) 0;
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.coming-soon-badge {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid var(--border);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 20px;
    margin-bottom: var(--space-xl);
    background: var(--surface);
}

.hero-title {
    font-size: var(--text-6xl);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    color: var(--primary);
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--secondary);
    margin-bottom: var(--space-2xl);
    line-height: 1.6;
    font-weight: 400;
    max-width: 500px;
}

/* Minimal iPhone mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.iphone-mockup {
    position: relative;
}

.iphone-frame {
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border-radius: 45px;
    padding: 12px;
    border: 1px solid #333;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.iphone-notch {
    width: 140px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    background: var(--background);
    border-radius: 35px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
}



.chat-messages {
    flex: 1;
    padding: 30px 16px 16px 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    overflow: hidden;
}

.message {
    display: flex;
    flex-direction: column;
    max-width: 85%;
}

.ai-message {
    align-self: flex-start;
}

.user-message {
    align-self: flex-end;
}

.message-bubble {
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
}

.ai-message .message-bubble {
    background: var(--surface);
    color: var(--primary);
    border-bottom-left-radius: 6px;
    border: 1px solid var(--border);
}

.user-message .message-bubble {
    background: var(--primary);
    color: var(--background);
    border-bottom-right-radius: 6px;
}

/* Typing indicator */
.typing-bubble {
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
    padding: 16px 18px !important;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: flex-start;
}

.typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tertiary);
    animation: typing-pulse 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(1) {
    animation-delay: 0s;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing-pulse {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    30% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Chat input */
.chat-input {
    padding: 6px 16px 20px 16px;
    background: var(--background);
    display: flex;
    justify-content: center;
}

.chat-input::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 67px;
    height: 5px;
    background: #333;
    border-radius: 3px;
}

.input-container {
    display: flex;
    align-items: center;
    background: #f0f0f0;
    border-radius: 16px;
    padding: 2px 2px 2px 12px;
    gap: 6px;
    max-width: 240px;
    width: 100%;
}

.message-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 13px;
    color: var(--primary);
    outline: none;
    padding: 4px 0;
}

.message-input::placeholder {
    color: var(--tertiary);
}

.send-button {
    width: 24px;
    height: 24px;
    border: none;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--background);
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

.send-button:hover {
    opacity: 0.8;
}

.send-button svg {
    width: 12px;
    height: 12px;
    margin-left: 1px;
}

/* Minimal email signup */
.email-signup {
    margin-top: var(--space-xl);
}

.input-group {
    display: flex;
    gap: var(--space-sm);
    max-width: 400px;
}

.input-group input {
    flex: 1;
    border: 1px solid var(--border);
    background: var(--background);
    padding: var(--space-md) var(--space-lg);
    font-size: var(--text-base);
    color: var(--primary);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s ease;
}

.input-group input:focus {
    border-color: var(--primary);
}

.input-group input::placeholder {
    color: var(--tertiary);
}

.input-group button {
    background: var(--primary);
    color: var(--background);
    border: none;
    padding: var(--space-md) var(--space-lg);
    border-radius: 8px;
    font-size: var(--text-base);
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.input-group button:hover {
    opacity: 0.8;
}

.input-group button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}



.signup-note {
    margin-top: var(--space-sm);
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
}

/* Minimal footer */
.footer {
    background: var(--background);
    padding: var(--space-xl) 0;
}

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

.footer-brand p {
    color: var(--secondary);
    font-size: var(--text-sm);
    font-weight: 400;
}

.footer-brand em {
    font-style: italic;
    color: var(--tertiary);
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-links a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: var(--text-sm);
}

.footer-links a:hover {
    color: var(--primary);
}

/* Success message styling */
.form-success-message {
    text-align: left !important;
    padding: var(--space-lg) 0 !important;
    color: var(--primary) !important;
    font-size: var(--text-base) !important;
    font-weight: 400 !important;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(4px);
}

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

.modal-content {
    background: var(--background);
    border-radius: 12px;
    max-width: 480px;
    width: 90%;
    border: 1px solid var(--border);
    overflow: hidden;
}

.modal-header {
    padding: var(--space-xl) var(--space-xl) var(--space-md);
}

.modal-header h3 {
    font-size: var(--text-xl);
    font-weight: 500;
    color: var(--primary);
}

.modal-body {
    padding: 0 var(--space-xl) var(--space-xl);
}

.modal-body p {
    color: var(--secondary);
    font-size: var(--text-base);
    line-height: 1.6;
}

.modal-footer {
    padding: var(--space-lg) var(--space-xl) var(--space-xl);
}

.btn-close {
    background: var(--primary);
    color: var(--background);
    border: none;
    padding: var(--space-md) var(--space-lg);
    border-radius: 8px;
    font-size: var(--text-base);
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.btn-close:hover {
    opacity: 0.8;
}

/* Modal */
.modal {
    display: none;
}

/* Responsive design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }
    
    .hero-title {
        font-size: var(--text-5xl);
    }
    
    .iphone-frame {
        width: 240px;
        height: 480px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: var(--space-3xl) 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: var(--text-4xl);
    }
    
    .hero-subtitle {
        font-size: var(--text-lg);
    }
    
    .input-group {
        flex-direction: column;
        max-width: none;
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
    }
    
    .iphone-frame {
        width: 220px;
        height: 440px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--text-3xl);
    }
}

/* Mobile overflow adjustments for small screens */
@media (max-width: 768px) {
    html, body {
        overflow: auto;
    }
    
    .hero {
        min-height: 100vh;
    }
} 