/* ChatGPT to PDF - Complete Styles */

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

:root {
    /* Colors based on original site using oklch color space */
    --primary-color: oklch(49.12% 0.3096 275.75);
    --primary-hover: oklch(45% 0.3096 275.75);
    --background-color: #ffffff;
    --text-color: #1a1a1a;
    --text-light: #666666;
    --border-color: #e5e5e5;
    --success-color: #22c55e;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    
    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Header & Navigation */
.header {
    background: var(--background-color);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--text-color);
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--text-color);
}

.brand-logo {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--font-size-base);
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.4;
}

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

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

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    padding: var(--space-3xl) 0;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    margin-bottom: var(--space-2xl);
}

.social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.user-avatars {
    display: flex;
    gap: -var(--space-xs);
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: 2px solid white;
    margin-left: -var(--space-xs);
}

.avatar:first-child {
    margin-left: 0;
}

.social-text {
    color: var(--text-light);
    font-weight: 500;
}

/* Comparison Section */
.comparison {
    padding: var(--space-3xl) 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
}

.comparison-item {
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.comparison-without {
    background: #fef2f2;
    border: 2px solid #fee2e2;
}

.comparison-with {
    background: #f0fdf4;
    border: 2px solid #dcfce7;
}

.comparison-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.comparison-item ul {
    list-style: none;
}

.comparison-item li {
    padding: var(--space-sm) 0;
    font-size: 1.1rem;
}

/* Features Section */
.features {
    padding: var(--space-3xl) 0;
    background: #f8fafc;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
}

.feature-card {
    background: white;
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--space-lg);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.feature-demo {
    max-width: 100%;
    height: auto;
    margin-top: var(--space-lg);
    border-radius: var(--radius-md);
}

/* Pricing Section */
.pricing {
    padding: var(--space-3xl) 0;
}

.pricing-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--warning-color);
    font-weight: 600;
    margin-bottom: var(--space-2xl);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-2xl);
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
    position: relative;
}

.pricing-featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.price {
    margin-bottom: var(--space-2xl);
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-period {
    font-size: 1.1rem;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--space-2xl);
    text-align: left;
}

.pricing-features li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* FAQ Section */
.faq {
    padding: var(--space-3xl) 0;
    background: #f8fafc;
}

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

.faq-item {
    background: white;
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--primary-color);
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.faq-item ul {
    margin-top: var(--space-md);
    padding-left: var(--space-lg);
}

.faq-item li {
    margin-bottom: var(--space-sm);
    color: var(--text-light);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: var(--space-3xl) 0 var(--space-xl) 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand .brand-text {
    color: white;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    color: #d1d5db;
    margin-bottom: var(--space-sm);
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: var(--space-lg);
    text-align: center;
    color: #9ca3af;
}

/* Page-specific Styles */

/* Main Content */
.main-content {
    min-height: 60vh;
    padding: var(--space-2xl) 0;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    text-align: center;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: var(--space-2xl);
}

/* Legal Content */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-section {
    margin-bottom: var(--space-2xl);
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    color: var(--primary-color);
}

.legal-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: var(--space-lg) 0 var(--space-md) 0;
}

.legal-section ul {
    margin: var(--space-md) 0;
    padding-left: var(--space-lg);
}

.legal-section li {
    margin-bottom: var(--space-sm);
}

.highlight {
    background: #fef3c7;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--warning-color);
    font-style: italic;
    margin: var(--space-lg) 0;
}

/* Error Page */
.error-page {
    text-align: center;
    padding: var(--space-3xl) 0;
}

.error-icon {
    font-size: 4rem;
    margin-bottom: var(--space-lg);
}

.error-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.error-message {
    color: var(--text-light);
    margin-bottom: var(--space-2xl);
}

/* Blog Styles */
.blog-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.blog-categories {
    margin-bottom: var(--space-3xl);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.category-card {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.category-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--space-md);
}

.featured-article {
    margin-bottom: var(--space-3xl);
}

.blog-post {
    background: white;
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.post-meta {
    color: var(--text-light);
    margin-bottom: var(--space-lg);
}

.post-content h4 {
    color: var(--primary-color);
    margin: var(--space-lg) 0 var(--space-md) 0;
}

.post-content ul, .post-content ol {
    margin: var(--space-md) 0;
    padding-left: var(--space-lg);
}

.blog-contact {
    background: #f8fafc;
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    text-align: center;
}

/* Welcome Page */
.welcome-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.welcome-features {
    margin-bottom: var(--space-3xl);
}

.how-to-use {
    margin-bottom: var(--space-3xl);
}

.steps-container {
    max-width: 600px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

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

.step-content h3 {
    margin-bottom: var(--space-sm);
    color: var(--primary-color);
}

.demo-section {
    background: #f8fafc;
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-3xl);
}

.demo-container {
    text-align: center;
}

.demo-images {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xl);
    margin-top: var(--space-lg);
    flex-wrap: wrap;
}

.demo-image {
    text-align: center;
}

.demo-img {
    max-width: 200px;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-sm);
}

.demo-arrow {
    font-size: 2rem;
    color: var(--primary-color);
}

.chrome-store {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.support-section {
    background: #f8fafc;
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.support-options {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-lg);
    flex-wrap: wrap;
}

.company-info {
    text-align: center;
    color: var(--text-light);
}

/* Improve Page */
.improve-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.feedback-section {
    margin-bottom: var(--space-3xl);
}

.feedback-intro {
    text-align: center;
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-container {
    margin-bottom: var(--space-3xl);
}

.contact-methods {
    margin-bottom: var(--space-3xl);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.contact-card {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--space-md);
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: var(--space-lg);
}

.feedback-guidelines {
    margin-bottom: var(--space-3xl);
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.guideline-item {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.guideline-item h3 {
    color: var(--primary-color);
    margin-bottom: var(--space-md);
}

.guideline-item ul {
    margin-top: var(--space-md);
    padding-left: var(--space-lg);
}

.guideline-item li {
    margin-bottom: var(--space-sm);
    color: var(--text-light);
}

/* FAQ Page Specific */
.faq-section {
    margin-bottom: var(--space-3xl);
}

.faq-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: var(--space-sm);
}

.support-info {
    background: #f8fafc;
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    margin-top: var(--space-3xl);
}

.support-info h2 {
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .demo-images {
        flex-direction: column;
    }
    
    .demo-arrow {
        transform: rotate(90deg);
    }
    
    .support-options {
        flex-direction: column;
        align-items: center;
    }
    
    .nav {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .container {
        padding: 0 var(--space-sm);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .btn-large {
        padding: var(--space-md) var(--space-lg);
        font-size: 1rem;
    }
}