/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-purple: #a65af2;
    --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Geist Mono', 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 2rem 0;
    z-index: 10;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 800;
    color: #000;
    letter-spacing: -0.025em;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #000;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-purple);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
}

.hero-content {
    max-width: 1024px;
    margin: 0 auto;
    text-align: center;
}

.hero-main {
    margin-bottom: 4rem;
}

.typewriter-container {
    margin-bottom: 4rem;
}

.typewriter-text {
    font-size: 1.875rem;
    font-family: var(--font-mono);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 3rem;
    height: 10rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    white-space: pre-line;
}

.typewriter-text span {
    display: inline;
}

.cursor-blink {
    color: #9ca3af;
    animation: blink 1.5s infinite;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Form Styles */
.waitlist-form, .cta-form {
    max-width: 28rem;
    margin: 0 auto;
}

.form-group, .cta-form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.email-input, .cta-email-input {
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    border: 2px solid #d1d5db;
    font-size: 1.125rem;
    outline: none;
    transition: border-color 0.3s ease;
    height: 58px;
    box-sizing: border-box;
}

.email-input:focus, .cta-email-input:focus {
    border-color: var(--color-purple);
}

.submit-btn, .cta-submit-btn {
    background-color: transparent;
    color: #374151;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border: 2px solid #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 58px;
    box-sizing: border-box;
}

.submit-btn:hover, .cta-submit-btn:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

.submit-btn:disabled, .cta-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.submit-message, .cta-submit-message {
    text-align: center;
    margin-top: 1rem;
}

.submit-message.success, .cta-submit-message.success {
    color: #059669;
}

.submit-message.error, .cta-submit-message.error {
    color: #dc2626;
}

/* App Screenshot */
.app-screenshot {
    position: relative;
    max-width: 1536px;
    margin: 0 auto;
}

.app-image {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.app-image:hover {
    transform: scale(1.05);
}

.screenshot-footnote {
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* Why Section */
.why-section {
    padding: 6rem 0;
    background-color: #f9fafb;
}

.section-content {
    max-width: 1536px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    line-height: 1.6;
    max-width: 768px;
    margin: 0 auto;
}

.problems-container {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.problem-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.problem-row.reverse {
    direction: rtl;
}

.problem-row.reverse > * {
    direction: ltr;
}

.problem-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.problem-text {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.problem-detail {
    font-size: 1.125rem;
    color: #374151;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    margin-top: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    color: #374151;
}

.feature-bullet {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--color-purple);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Cards */
.config-card, .privacy-card, .model-picker-card {
    background-color: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.config-header, .privacy-header {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.config-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.config-prompt {
    padding: 1rem;
    background-color: #f9fafb;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-family: var(--font-mono);
    color: #1f2937;
}

.config-params {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    font-size: 0.875rem;
}

.privacy-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.privacy-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background-color: #f9fafb;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.privacy-local {
    font-size: 0.75rem;
    color: var(--color-purple);
}

.privacy-footer {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 1rem;
}

.model-picker-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.window-controls {
    display: flex;
    gap: 0.25rem;
}

.window-control {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
}

.window-control.red { background-color: #ef4444; }
.window-control.yellow { background-color: #eab308; }
.window-control.green { background-color: #22c55e; }

.model-picker-title {
    font-size: 0.875rem;
    color: #6b7280;
    margin-left: auto;
}

.model-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.model-item {
    background-color: #f9fafb;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

/* How Section */
.how-section {
    padding: 6rem 0;
    background-color: #f9fafb;
}

.how-content {
    max-width: 1024px;
    margin: 0 auto;
}

.how-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.how-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.how-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.how-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: #374151;
}

.how-bullet {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--color-purple);
    border-radius: 50%;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.how-text {
    font-size: 1.125rem;
    color: #374151;
    margin-bottom: 1rem;
}

.dont-card, .local-card {
    background-color: #fff;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

.dont-header, .local-header {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-purple);
    margin-bottom: 0.75rem;
}

.dont-list, .local-list {
    list-style: none;
}

.dont-list li, .local-list li {
    font-size: 0.875rem;
    color: #374151;
    margin-bottom: 0.5rem;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background-color: #fff;
}

.features-content {
    max-width: 1536px;
    margin: 0 auto;
}

/* Highlighted heading */
.highlight-heading {
    position: relative;
}

.highlight-text {
    position: relative;
    color: var(--color-purple);
    background: linear-gradient(135deg, var(--color-purple), #d946ef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-text::before {
    content: '';
    position: absolute;
    top: -0.25rem;
    left: -0.5rem;
    right: -0.5rem;
    bottom: -0.25rem;
    background: linear-gradient(135deg, var(--color-purple), #d946ef);
    opacity: 0.1;
    border-radius: 0.5rem;
    z-index: -1;
}

/* User types grid */
.user-types-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.user-type-pane {
    background-color: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.user-type-pane:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--color-purple);
}

.user-type-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.user-type-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--color-purple), #d946ef);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.user-type-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.user-type-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.user-type-description {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.6;
}

.user-type-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.user-type-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1rem;
    color: #374151;
    line-height: 1.6;
}

.user-type-features .feature-bullet {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--color-purple);
    border-radius: 50%;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

/* Legacy feature styles (kept for compatibility) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid #f3f4f6;
    transition: border-color 0.3s ease;
}

.feature-card:hover {
    border-color: var(--color-purple);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background-color: #fff;
    border: 2px solid #d1d5db;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: #4b5563;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background-color: #f9fafb;
}

.faq-content {
    max-width: 1024px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.faq-item {
    background-color: #fff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.faq-answer {
    color: #4b5563;
    line-height: 1.6;
}

.email-link {
    color: var(--color-purple);
    text-decoration: none;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
}

.cta-content {
    max-width: 1024px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.cta-form {
    max-width: 32rem;
    margin: 0 auto 2rem;
}

.cta-form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.cta-email-input {
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    border: 2px solid #d1d5db;
    font-size: 1.125rem;
    outline: none;
    transition: border-color 0.3s ease;
    height: 58px;
    box-sizing: border-box;
}

.cta-submit-btn {
    background-color: transparent;
    color: #374151;
    padding: 1rem 3rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border: 2px solid #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 58px;
    box-sizing: border-box;
}

.cta-footer {
    color: #6b7280;
    text-align: center;
}

.cta-brand {
    font-weight: 600;
}

.cta-tagline {
    font-size: 0.875rem;
}

/* Responsive Design */
@media (min-width: 640px) {
    .form-group, .cta-form-group {
        flex-direction: row;
        align-items: center;
    }
    
    .typewriter-text {
        font-size: 2.25rem;
    }
}

@media (min-width: 768px) {
    .typewriter-text {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .problem-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .how-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .user-types-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .user-type-pane {
        padding: 1.5rem;
    }
    
    .user-type-header {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .user-type-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
    }
    
    .user-type-title {
        font-size: 1.25rem;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .problem-title {
        font-size: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.875rem;
    }
}

/* Legal Pages */
.terms-content {
    padding: 8rem 0 4rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-sections {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.legal-section {
    background-color: #fff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.legal-heading {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.legal-text {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-text:last-child {
    margin-bottom: 0;
}

.legal-text strong {
    color: #1f2937;
}

/* Footer */
.legal-footer {
    background-color: #f9fafb;
    padding: 3rem 0;
    border-top: 1px solid #e5e7eb;
}

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

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

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

.footer-brand {
    text-align: center;
}

@media (max-width: 480px) {
    .hero-section {
        padding-top: 4rem;
    }
    
    .typewriter-text {
        font-size: 1.5rem;
        height: 8rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .problem-title {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .terms-content {
        padding: 6rem 0 3rem;
    }
    
    .legal-section {
        padding: 1.5rem;
    }
    
    .legal-heading {
        font-size: 1.25rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
} 