/* Base styles */
:root {
    --primary-color: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #818cf8;
    --secondary-color: #64748b;
    --secondary-light: #94a3b8;
    --bg-color: #ffffff;
    --text-color: #1e293b;
    --light-gray: #f1f5f9;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --container-width: 1140px;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 4rem 0;
}

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

code {
    font-family: monospace;
    background-color: var(--light-gray);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.btn:hover {
    background-color: var(--primary-dark);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--text-color);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Header */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.header-small {
    padding: 1.5rem 0;
    text-align: left;
}

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

header h1 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.header-small h1 {
    margin-bottom: 0;
    font-size: 1.75rem;
}

.header-small h1 a {
    color: white;
    text-decoration: none;
}

.tagline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Hero section */
.hero {
    background-color: var(--light-gray);
    padding: 4rem 0;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-content {
    flex: 1;
}

.hero-video {
    flex: 1;
    width: 100%;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
}

/* How it works section */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.step {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
}

.cta-center {
    text-align: center;
    margin-top: 2rem;
}

/* What you get section */
.documents {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.document {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    border-top: 4px solid var(--primary-color);
}

.document h3 {
    font-family: monospace;
    margin-bottom: 0.5rem;
}

/* Testimonials section */
.testimonials {
    background-color: var(--light-gray);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.quote {
    font-style: italic;
    position: relative;
    padding-left: 1.5rem;
}

.quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 2rem;
    color: var(--primary-light);
    line-height: 1;
}

.author {
    font-weight: 600;
    text-align: right;
    margin-top: 1rem;
}

/* Limitations section */
.limitation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.limitation {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.limitation h3 {
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

/* CTA section */
.cta {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

footer a {
    color: var(--primary-light);
}

/* Generator page specific styles */
.generator-container {
    padding: 3rem 0;
}

.generator-intro {
    max-width: 800px;
    margin-bottom: 2rem;
}

.example-selector {
    margin-bottom: 2rem;
    background-color: var(--light-gray);
    padding: 1rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 1rem;
}

select {
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    font-size: 1rem;
}

.venture-form {
    max-width: 800px;
    margin-bottom: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.optional {
    font-weight: normal;
    color: var(--secondary-light);
    font-size: 0.875rem;
}

input, textarea, select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
}

textarea {
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.result {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 3rem;
}

.hidden {
    display: none;
}

.result-instructions {
    margin-bottom: 1.5rem;
}

.result-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.copied {
    background-color: var(--success-color);
}

.prompt-container {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    box-shadow: var(--box-shadow);
}

pre {
    white-space: pre-wrap;
    font-family: monospace;
    font-size: 0.9rem;
}

.next-steps {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-top: 2rem;
}

.next-steps h3 {
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.next-steps ul {
    margin-top: 0.5rem;
    margin-left: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content, .hero-video {
        flex: none;
        width: 100%;
    }
    
    .hero-video {
        margin-top: 2rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions button {
        width: 100%;
    }
    
    .result-actions {
        flex-direction: column;
    }
    
    .result-actions button, .result-actions a {
        width: 100%;
    }
}

@media (max-width: 480px) {
    header {
        padding: 2rem 0;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .actions {
        flex-direction: column;
    }
    
    .steps, .documents, .testimonial-grid, .limitation-grid {
        grid-template-columns: 1fr;
    }
    
    .example-selector {
        flex-direction: column;
        align-items: flex-start;
    }
}
