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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* Navigation */
.navbar {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #111;
}

.nav-link-admin {
    color: #999;
    font-size: 14px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 20px 80px;
    text-align: center;
}

.hero h1 {
    font-size: 52px;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-subheading {
    font-size: 22px;
    color: #555;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: #111;
    color: #fff;
    border-color: #111;
}

.btn-primary:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-secondary {
    background: #fff;
    color: #111;
    border-color: #ddd;
}

.btn-secondary:hover {
    border-color: #111;
    transform: translateY(-2px);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Styles */
.section {
    padding: 80px 20px;
}

.section-gray {
    background: #f8f9fa;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: #111;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 20px;
    color: #666;
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* How It Works */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #111;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 24px;
}

.step h3 {
    font-size: 22px;
    color: #111;
    margin-bottom: 12px;
    font-weight: 600;
}

.step p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    transition: all 0.3s;
}

.benefit-card:hover {
    border-color: #111;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.benefit-card h3 {
    font-size: 20px;
    color: #111;
    margin-bottom: 12px;
    font-weight: 600;
}

.benefit-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    border: 2px solid #e5e5e5;
    text-align: center;
}

.pricing-card h3 {
    font-size: 24px;
    color: #111;
    margin-bottom: 12px;
    font-weight: 600;
}

.pricing-card .price {
    font-size: 36px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.pricing-card .price-note {
    font-size: 14px;
    color: #999;
    margin-bottom: 24px;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
}

.pricing-card li {
    padding: 8px 0;
    color: #666;
    font-size: 15px;
    position: relative;
    padding-left: 24px;
}

.pricing-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #111;
    font-weight: 700;
}

.pricing-card .highlight {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #111;
    font-weight: 500;
    margin-top: 16px;
}

/* Request Form */
.request-form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 15px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #111;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group small {
    display: block;
    color: #999;
    font-size: 13px;
    margin-top: 4px;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    border: 1px solid #f5c6cb;
}

/* Footer */
.footer {
    background: #111;
    color: #fff;
    padding: 40px 20px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

/* Code Block Styles for Docs */
.code-block {
    background: #f5f5f5;
    padding: 24px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 16px 0;
    border: 1px solid #e5e5e5;
}

.code-block code {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', 'Droid Sans Mono', 'Source Code Pro', monospace;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

/* Demo Page Styles */
.demo-container {
    text-align: center;
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.demo-container h1 {
    font-size: 42px;
    color: #111;
    margin-bottom: 16px;
}

.demo-container p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

/* Docs Page Styles */
.docs-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.docs-content h2 {
    font-size: 32px;
    color: #111;
    margin-top: 48px;
    margin-bottom: 16px;
    font-weight: 600;
}

.docs-content h2:first-child {
    margin-top: 0;
}

.docs-content h3 {
    font-size: 24px;
    color: #111;
    margin-top: 32px;
    margin-bottom: 12px;
    font-weight: 600;
}

.docs-content p {
    color: #666;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.docs-content ul {
    margin: 16px 0;
    padding-left: 24px;
}

.docs-content li {
    color: #666;
    font-size: 16px;
    line-height: 2;
    margin-bottom: 8px;
}

.docs-content li strong {
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid #e5e5e5;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        display: none;
        gap: 16px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-subheading {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 18px;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .request-form {
        padding: 24px;
    }
}
