@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;500;600;700&display=swap');

:root {
    /* Light, eco-friendly color palette */
    --primary-color: #4ade80;
    --primary-hover: #22c55e;
    --secondary-color: #06d6a0;
    --accent-color: #fbbf24;
    --background-light: #f8fafc;
    --background-white: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border-light: #e2e8f0;
    --success-color: #10b981;
    --gradient-primary: linear-gradient(135deg, #4ade80 0%, #06d6a0 100%);
    --gradient-light: linear-gradient(135deg, #f0f9ff 0%, #ecfdf5 100%);
    --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Be Vietnam Pro', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-white);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

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

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

/* Navigation */
.navbar {
    background: var(--background-white);
    box-shadow: var(--shadow-light);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    gap: 8px;
}

.nav-logo i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: var(--gradient-light);
    padding: 140px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.code-preview {
    background: var(--background-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--primary-color);
}

.code-preview pre {
    margin: 0;
    overflow-x: auto;
}

.code-preview code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tree-animation {
    display: flex;
    gap: 2rem;
    animation: float 3s ease-in-out infinite;
}

.tree-icon {
    font-size: 4rem;
    color: var(--success-color);
    animation: grow 2s ease-in-out infinite alternate;
}

.tree-icon:nth-child(2) {
    animation-delay: 0.5s;
}

.tree-icon:nth-child(3) {
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes grow {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* Stats Section */
.stats {
    background: var(--background-white);
    padding: 60px 0;
}

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

.stat-item {
    padding: 2rem;
    background: var(--gradient-light);
    border-radius: 16px;
    box-shadow: var(--shadow-light);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Features Section */
.features {
    background: var(--background-light);
    padding: 80px 0;
}

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

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

.feature-card {
    background: var(--background-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
}

/* Demo Section */
.demo {
    background: var(--background-white);
    padding: 80px 0;
}

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

.demo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.demo-code, .demo-result {
    background: var(--background-light);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
}

.code-editor {
    background: var(--background-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.code-tabs {
    display: flex;
    background: var(--border-light);
}

.tab-btn {
    background: none;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

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

.code-content {
    padding: 1.5rem;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane pre {
    margin: 0;
    overflow-x: auto;
}

.tab-pane code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.try-demo-btn {
    margin-top: 1.5rem;
    width: 100%;
}

.result-container {
    background: var(--background-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
}

#demo-response {
    margin: 0;
    overflow-x: auto;
}

#demo-response code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    color: var(--success-color);
}

/* Partners Section */
.partners {
    background: var(--background-light);
    padding: 80px 0;
}

.partners h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.partners-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: var(--text-secondary);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.partner-card {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
}

.partner-logo {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.partner-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.partner-card p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

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

.stat {
    background: var(--gradient-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
}

/* Use Cases Section */
.use-cases {
    background: var(--background-white);
    padding: 80px 0;
}

.use-cases h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.use-case {
    padding: 2.5rem;
    background: var(--gradient-light);
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease;
}

.use-case:hover {
    transform: translateY(-5px);
}

.use-case-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.use-case-icon i {
    font-size: 1.8rem;
    color: white;
}

/* Pricing Preview */
.pricing-preview {
    background: var(--background-light);
    padding: 80px 0;
}

.pricing-preview h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.pricing-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: var(--text-secondary);
}

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

.pricing-card {
    background: var(--background-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: "Most Popular";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.pricing-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-card li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.pricing-card li::before {
    content: "✓";
    color: var(--success-color);
    font-weight: bold;
    margin-right: 10px;
}

.pricing-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* CTA Section */
.cta {
    background: var(--gradient-primary);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

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

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

.cta .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    gap: 8px;
}

.footer-logo i {
    color: var(--primary-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: white;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
}

/* Responsive Design */

/* Tablet landscape and medium screens */
@media (max-width: 1024px) {
    .hero-container {
        gap: 3rem;
    }

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

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

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

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

    .pricing-card.featured {
        grid-column: span 2;
        max-width: 400px;
        justify-self: center;
    }
}

/* Mobile and small tablets */
@media (max-width: 768px) {
    /* Navigation */
    .hamburger {
        display: flex;
    }

    /* Pricing page complete mobile overhaul */
    .pricing-hero {
        padding: 80px 0 30px !important;
        min-height: auto !important;
    }

    .pricing-hero-content {
        text-align: center;
        padding: 1rem 0 !important;
    }

    .pricing-hero-content h1 {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }

    .pricing-hero .hero-subtitle {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
        padding: 0 1rem !important;
    }

    .billing-toggle {
        flex-direction: column !important;
        gap: 0.5rem !important;
        align-items: center !important;
        margin: 1rem 0 !important;
    }

    .billing-label {
        font-size: 0.9rem !important;
    }

    .discount-badge {
        display: block;
        margin-top: 0.25rem;
        font-size: 0.8rem !important;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--background-white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-medium);
        padding: 2rem 0;
        z-index: 1000;
        gap: 1rem;
    }

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

    .nav-menu li {
        margin: 0.5rem 0;
        width: 100%;
    }

    .nav-menu .nav-link {
        display: block;
        padding: 0.75rem 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .nav-menu .btn {
        margin: 0.5rem auto;
        display: block;
        max-width: 200px;
        text-align: center;
    }

    /* Hamburger animation */
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Typography adjustments */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    /* Hero section */
    .hero {
        padding: 120px 0 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 2rem 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 1rem;
    }

    .tree-animation {
        gap: 1rem;
    }

    .tree-icon {
        font-size: 3rem;
    }

    /* Stats section */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Features section */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    /* Demo section */
    .demo-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .demo-code, .demo-result {
        order: 1;
    }

    .demo-result {
        order: 2;
    }

    /* Partners section */
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .partner-card {
        padding: 1.5rem;
    }

    /* Use cases section */
    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .use-case {
        padding: 1.5rem;
    }

    /* Pricing section */
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card.featured {
        transform: none;
        order: -1;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    /* CTA section */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    /* Code blocks */
    .code-preview, 
    .demo-code, 
    .demo-result {
        overflow: hidden;
    }

    .code-preview pre,
    .demo-code pre,
    .demo-result pre {
        font-size: 0.85rem;
        overflow-x: auto;
        word-wrap: break-word;
        white-space: pre-wrap;
        max-width: 100%;
    }

    .code-preview code,
    .demo-code code,
    .demo-result code {
        word-break: break-all;
    }

    /* Sections padding */
    .hero, .stats, .features, .demo, .partners, .use-cases, .pricing-preview, .cta {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }

    /* Fix navigation container */
    .nav-container {
        padding: 0 15px;
    }

    /* Typography for very small screens */
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.1;
        word-wrap: break-word;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }

    h2 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    h3 {
        font-size: 1.2rem;
        line-height: 1.3;
    }

    /* Ensure text doesn't overflow */
    p, .hero-subtitle, .pricing-subtitle, .partners-subtitle {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    /* Reduced padding for small screens */
    .hero, .stats, .features, .demo, .partners, .use-cases, .pricing-preview, .cta {
        padding: 2rem 0;
    }

    /* Stats grid - single column on very small screens */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Smaller padding for cards */
    .feature-card,
    .partner-card,
    .use-case,
    .pricing-card {
        padding: 1rem;
    }

    /* Code blocks - smaller font */
    .code-preview pre,
    .demo-code pre,
    .demo-result pre {
        font-size: 0.75rem;
        padding: 1rem;
    }

    /* Navigation adjustments */
    .nav-menu {
        padding: 1.5rem 0;
    }

    /* Button sizing */
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Footer adjustments */
    .footer-content {
        gap: 1.5rem;
    }

    /* Ensure pricing cards stack properly */
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    /* Comparison table mobile overhaul */
    .pricing-comparison {
        padding: 2rem 0 !important;
    }

    .comparison-table-wrapper {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        margin: 1rem -20px !important;
        padding: 0 20px !important;
        border-radius: 0 !important;
    }

    .comparison-table {
        min-width: 500px !important;
        font-size: 0.75rem !important;
        width: 100% !important;
        border-collapse: collapse !important;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 6px 8px !important;
        white-space: nowrap !important;
        border: 1px solid var(--border-light) !important;
        text-align: center !important;
    }

    .comparison-table th {
        background: var(--background-light) !important;
        font-weight: 600 !important;
        font-size: 0.7rem !important;
    }

    .comparison-table td:first-child,
    .comparison-table th:first-child {
        position: sticky !important;
        left: 0 !important;
        background: white !important;
        z-index: 10 !important;
        box-shadow: 2px 0 4px rgba(0,0,0,0.1) !important;
    }

    /* Docs page complete mobile overhaul */
    .docs-main {
        padding-top: 80px !important;
    }

    .docs-container {
        display: block !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .docs-sidebar {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        background: var(--background-light) !important;
        border-radius: 0 !important;
        margin: 0 !important;
        padding: 1rem !important;
        border-bottom: 1px solid var(--border-light) !important;
    }

    .docs-content {
        margin: 0 !important;
        padding: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .sidebar-content {
        max-height: 300px !important;
        overflow-y: auto !important;
    }

    .sidebar-section {
        margin-bottom: 1rem !important;
    }

    .sidebar-section h3 {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
        color: var(--text-primary) !important;
    }

    .sidebar-section ul {
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .sidebar-section li {
        margin: 0 !important;
        padding: 0 !important;
    }

    .sidebar-link {
        padding: 0.5rem 0.75rem !important;
        display: block !important;
        font-size: 0.9rem !important;
        color: var(--text-secondary) !important;
        text-decoration: none !important;
        border-radius: 4px !important;
        margin-bottom: 2px !important;
    }

    .sidebar-link:hover,
    .sidebar-link.active {
        background: var(--primary-color) !important;
        color: white !important;
    }

    .docs-nav {
        display: block;
        margin-bottom: 1rem;
    }

    .docs-nav select {
        width: 100%;
        padding: 8px 12px;
        border: 1px solid var(--border-light);
        border-radius: 4px;
        background: white;
    }

    /* Docs content mobile styles */
    .docs-content h1 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }

    .docs-content h2 {
        font-size: 1.3rem !important;
        margin-top: 2rem !important;
        margin-bottom: 1rem !important;
    }

    .docs-content h3 {
        font-size: 1.1rem !important;
        margin-top: 1.5rem !important;
        margin-bottom: 0.75rem !important;
    }

    .docs-content p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1rem !important;
    }

    /* Code blocks in docs */
    .docs-content pre {
        overflow-x: auto !important;
        font-size: 0.75rem !important;
        padding: 0.75rem !important;
        margin: 1rem -1rem !important;
        border-radius: 0 !important;
        background: #f8f9fa !important;
        border: 1px solid var(--border-light) !important;
    }

    .docs-content code {
        word-break: break-all !important;
        white-space: pre-wrap !important;
        font-size: 0.75rem !important;
    }

    .docs-content .endpoint {
        font-size: 0.8rem !important;
        padding: 0.5rem !important;
        margin: 0.5rem -1rem !important;
    }

    .docs-content table {
        font-size: 0.8rem !important;
        width: 100% !important;
        overflow-x: auto !important;
        display: block !important;
        white-space: nowrap !important;
    }

    /* Partner logos smaller */
    .partner-logo {
        font-size: 2.5rem;
    }

    /* Use case icons smaller */
    .use-case-icon,
    .feature-icon {
        font-size: 2rem;
        width: 60px;
        height: 60px;
    }
}

/* Mobile-specific enhancements for better usability */
@media (hover: none) and (pointer: coarse) {
    /* Touch device optimizations */
    .btn {
        min-height: 44px; /* Apple recommended minimum touch target */
        min-width: 44px;
    }

    .nav-link {
        padding: 12px 16px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Remove hover effects on touch devices */
    .feature-card:hover,
    .partner-card:hover,
    .pricing-card:hover,
    .use-case:hover {
        transform: none;
    }

    .btn-primary:hover,
    .btn-secondary:hover,
    .btn-outline:hover {
        transform: none;
        box-shadow: var(--shadow-light);
    }
}

/* Ensure proper spacing on all screen sizes */
@media (max-width: 320px) {
    /* Very small phones */
    .container {
        padding: 0 10px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .hero, .stats, .features, .demo, .partners, .use-cases, .pricing-preview, .cta {
        padding: 1.5rem 0;
    }

    /* Pricing and docs page adjustments for very small screens */
    .pricing-hero {
        padding: 80px 0 30px !important;
    }

    .pricing-hero-content h1 {
        font-size: 1.5rem !important;
    }

    .pricing-hero .hero-subtitle {
        font-size: 0.9rem !important;
    }

    .docs-main {
        padding-top: 70px !important;
    }

    .comparison-table {
        font-size: 0.7rem !important;
        min-width: 450px !important;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 4px 6px !important;
    }

    .docs-sidebar {
        padding: 0.75rem !important;
    }

    .sidebar-section h3 {
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem !important;
    }

    .sidebar-link {
        font-size: 0.85rem !important;
        padding: 0.4rem 0.6rem !important;
    }

    .docs-content {
        padding: 0.75rem !important;
    }

    .docs-content h1 {
        font-size: 1.3rem !important;
    }

    .docs-content h2 {
        font-size: 1.1rem !important;
    }

    .docs-content h3 {
        font-size: 1rem !important;
    }

    .docs-content p {
        font-size: 0.9rem !important;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}