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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #f8f9fa;
}

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

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

.nav-logo h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #fb923c;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fb923c;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    color: white;
    padding: 140px 0 100px;
    margin-top: 70px;
}

.hero-content {
    text-align: center;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #fb923c;
    color: white;
}

.btn-primary:hover {
    background-color: #f97316;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(251, 146, 60, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #0d9488;
}

.hero-demo {
    max-width: 700px;
    margin: 0 auto;
}

.demo-box {
    background: rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.demo-box h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.api-demo {
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.25);
    border-radius: 10px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.api-demo code {
    flex: 1;
    color: #fbbf24;
    font-family: 'Courier New', Consolas, monospace;
    font-size: 0.95rem;
}

.copy-btn {
    background: #fb923c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: #f97316;
}

.demo-result {
    background: rgba(0,0,0,0.25);
    border-radius: 10px;
    padding: 1.5rem;
}

.demo-result pre {
    color: #e5e7eb;
    font-family: 'Courier New', Consolas, monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    overflow-x: auto;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: white;
}

.features h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 4rem;
    color: #1f2937;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem;
    border-radius: 16px;
    background: #f9fafb;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: #14b8a6;
    box-shadow: 0 20px 40px rgba(13, 148, 136, 0.1);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
    font-weight: 600;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.7;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    color: white;
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #fb923c;
}

.stat-item p {
    font-size: 1.2rem;
    opacity: 0.95;
    font-weight: 500;
}

/* CTA Section */
.cta {
    background: white;
    padding: 100px 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
    font-weight: 700;
}

.cta p {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 30px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: #fb923c;
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

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

.footer-section a:hover {
    color: #fb923c;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    color: white;
    padding: 140px 0 80px;
    margin-top: 70px;
    text-align: center;
}

.page-header h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* Content Section */
.content-section {
    padding: 80px 0;
    background: white;
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1f2937;
    font-weight: 700;
}

.content-section h3 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
    color: #1f2937;
    font-weight: 600;
}

.content-section h4 {
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
    color: #374151;
    font-weight: 600;
}

.content-section p {
    margin-bottom: 1.5rem;
    color: #4b5563;
    line-height: 1.8;
}

.content-section ul {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.content-section ul li {
    margin-bottom: 0.8rem;
    color: #4b5563;
    line-height: 1.7;
}

/* Code Blocks */
.code-block {
    background: #1f2937;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    overflow-x: auto;
}

.code-block code {
    color: #fbbf24;
    font-family: 'Courier New', Consolas, monospace;
    font-size: 0.95rem;
}

.code-block pre {
    color: #e5e7eb;
    font-family: 'Courier New', Consolas, monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: #14b8a6;
    box-shadow: 0 20px 40px rgba(13, 148, 136, 0.15);
}

.pricing-card.featured {
    border-color: #14b8a6;
    border-width: 3px;
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: "Most Popular";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #fb923c;
    color: white;
    padding: 6px 24px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1f2937;
    font-weight: 700;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: #0d9488;
    margin: 1.5rem 0;
}

.price-period {
    font-size: 1.1rem;
    color: #6b7280;
    font-weight: 400;
}

.pricing-card > p {
    color: #6b7280;
    margin-bottom: 2rem;
}

.features-list {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.features-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #f3f4f6;
    color: #4b5563;
}

.features-list li:before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    margin-right: 12px;
    font-size: 1.2rem;
}

.pricing-faq {
    margin-top: 5rem;
}

.pricing-faq h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-item {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.faq-item h3 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.faq-item p {
    color: #6b7280;
    margin: 0;
}

/* Contact Page */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form-wrapper h2 {
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1f2937;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

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

.contact-info {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    color: #1f2937;
    font-size: 1.5rem;
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item strong {
    display: block;
    color: #0d9488;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-item p {
    color: #4b5563;
    margin: 0;
    line-height: 1.7;
}

.info-item a {
    color: #0d9488;
    text-decoration: none;
}

.info-item a:hover {
    color: #fb923c;
}

/* Documentation */
.docs-content {
    max-width: 900px;
}

.error-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.error-table th,
.error-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.error-table th {
    background: #f9fafb;
    color: #1f2937;
    font-weight: 600;
}

.error-table td {
    color: #4b5563;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .api-demo {
        flex-direction: column;
    }

    .features h2,
    .cta h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
}