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

:root {
    --primary: #4a9396;
    --primary-dark: #3a7679;
    --accent: #5ba5a8;
    --dark: #1e293b;
    --darker: #0f172a;
    --gray: #64748b;
    --light: #f8fafc;
    --lighter: #ffffff;
    --text-dark: #1e293b;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--lighter);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1001;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

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

/* Mobile menu button */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 0.4rem;
    z-index: 1001;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 0.95rem;
}

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

.btn-primary {
    background: var(--primary);
    color: #ffffff !important;
    padding: 1.25rem 3rem;
    border-radius: 3rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 6px 20px rgba(74, 147, 150, 0.4), 0 3px 10px rgba(74, 147, 150, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(74, 147, 150, 0.5), 0 5px 15px rgba(74, 147, 150, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #d1e7e8;
    padding: 8rem 2rem 4rem;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(74, 147, 150, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 147, 150, 0.12) 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero-content {
    max-width: 1200px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(74, 147, 150, 0.15);
    border: 1px solid rgba(74, 147, 150, 0.3);
    padding: 0.65rem 1.5rem;
    border-radius: 2rem;
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    animation: slideDown 0.8s ease-out;
    box-shadow: 0 4px 15px rgba(74, 147, 150, 0.12);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 5.5rem;
    line-height: 1.05;
    margin-bottom: 2rem;
    font-weight: 900;
    color: var(--text-dark);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
    letter-spacing: -0.03em;
}

.hero h1 .brand {
    color: var(--primary);
    position: relative;
    font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif;
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.hero .subtitle {
    font-size: 2.25rem;
    color: var(--gray);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
    font-weight: 400;
}

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

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
    margin-bottom: 1rem;
}

.hero-local-contact {
    text-align: center;
    margin-top: 2rem;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.hero-local-contact p {
    color: var(--gray);
    font-size: 1.1rem;
    margin: 0;
}

.hero-local-contact .contact-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.hero-local-contact .contact-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    padding: 1.25rem 3rem;
    border-radius: 3rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    border: 2px solid var(--text-dark);
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--text-dark);
    color: var(--lighter);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-secondary:active {
    transform: translateY(-1px);
}

/* Stats */
.stats {
    display: flex;
    gap: 5rem;
    justify-content: center;
    margin-top: 5rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.stat {
    text-align: center;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 147, 150, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(74, 147, 150, 0.2);
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.stat-label {
    color: var(--gray);
    font-size: 1rem;
    font-weight: 500;
}

/* Features */
.features {
    padding: 8rem 2rem;
    background: var(--lighter);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.section-label {
    display: inline-block;
    background: rgba(74, 147, 150, 0.1);
    border: 1px solid rgba(74, 147, 150, 0.3);
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--lighter);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1.5rem;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    border-color: rgba(74, 147, 150, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(74, 147, 150, 0.15);
}

.feature-card:hover::before {
    transform: translateX(0);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(74, 147, 150, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(74, 147, 150, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(74, 147, 150, 0.15);
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Code Section */
.code-section {
    padding: 8rem 2rem;
    background: var(--light);
    position: relative;
}

.code-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.code-content h2 {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.code-content p {
    color: var(--gray);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.code-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.code-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-dark);
}

.code-feature-icon {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.code-example {
    background: var(--darker);
    border: 1px solid rgba(74, 147, 150, 0.2);
    border-radius: 1.5rem;
    padding: 2rem;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.code-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.code-dot:nth-child(1) { background: #ff5f56; }
.code-dot:nth-child(2) { background: #ffbd2e; }
.code-dot:nth-child(3) { background: #27c93f; }

.code-example pre {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.8;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    white-space: pre;
    word-wrap: normal;
    overflow-wrap: normal;
}

.code-example pre code {
    display: block;
    overflow-x: auto;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 0 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.code-example .keyword { color: #ff79c6; }
.code-example .string { color: #50fa7b; }
.code-example .number { color: #bd93f9; }
.code-example .comment { color: #6272a4; font-style: italic; }

/* Response code blocks (lighter style) */
.response-code {
    background: rgba(74, 147, 150, 0.08);
    border: 1px solid rgba(74, 147, 150, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 0.5rem;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.response-code pre {
    margin: 0;
    color: var(--gray);
    font-size: 0.9rem;
    font-family: 'Monaco', 'Courier New', monospace;
    line-height: 1.6;
    overflow: visible;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    white-space: pre;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-all;
}

.response-code pre code {
    display: block;
    overflow: visible;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    white-space: pre-wrap;
    padding: 0 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-all;
}

.copy-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(74, 147, 150, 0.15);
    border: 1px solid rgba(74, 147, 150, 0.3);
    color: var(--lighter);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
}

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

/* CTA */
.cta {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #d1e7e8 0%, #f8fafc 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 147, 150, 0.12) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.cta p {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 3rem;
}

/* Footer */
footer {
    background: var(--text-dark);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--primary); /* Fallback color */
    letter-spacing: -0.02em;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-section h4 {
    color: var(--lighter);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

.footer-links a:hover {
    color: var(--lighter);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-brand p {
    margin-top: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .code-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* Tablet styles (iPad) */
@media (max-width: 1024px) {
    nav {
        max-width: 100%;
        padding: 1.25rem 1.5rem;
        justify-content: space-between;
    }

    .about-hero {
        padding: 6rem 1.5rem 3rem;
    }

    .about-hero h1 {
        font-size: 2.75rem;
    }

    .about-hero p {
        font-size: 1.15rem;
    }

    .team-section {
        padding: 3rem 1.5rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 2rem;
        gap: 0;
        box-shadow: none;
        transition: left 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }

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

    .nav-links li {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        width: 100%;
        border-radius: 0.5rem;
        font-size: 0.9rem;
    }

    .nav-links a:hover {
        background: rgba(74, 147, 150, 0.1);
    }

    .nav-links .btn-primary {
        width: 100%;
        text-align: center;
        padding: 1rem 2rem;
        margin-top: 1rem;
        background: var(--primary);
        color: #ffffff !important;
    }
    
    .nav-links .btn-primary:hover {
        background: var(--primary-dark);
        color: #ffffff !important;
    }

    /* Mobile menu overlay */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .mobile-menu-overlay.active {
        display: block;
        opacity: 1;
    }

    .btn-primary {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }
    
    /* Responsive code blocks */
    .code-example {
        padding: 1.25rem;
        border-radius: 1.25rem;
        margin-left: -1rem;
        margin-right: -1rem;
        max-width: calc(100% + 2rem);
        width: calc(100% + 2rem);
    }
    
    .code-example pre {
        font-size: 0.85rem;
        line-height: 1.6;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: pre;
        word-wrap: normal;
    }
    
    .code-example pre code {
        display: block;
        overflow-x: auto;
        max-width: 100%;
        width: 100%;
        padding: 0 0.75rem;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .code-tabs {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .code-tab {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .code-tab-content {
        padding: 0 0.75rem;
    }
    
    .response-code pre code {
        max-width: 100%;
        width: 100%;
        padding: 0 0.75rem;
        box-sizing: border-box;
        overflow-x: auto;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero .subtitle {
        font-size: 1.65rem;
    }

    .hero-local-contact p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

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

    .about-hero {
        padding: 6rem 1.5rem 3rem;
    }

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

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

    .team-section {
        padding: 3rem 1.5rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-card {
        padding: 2rem;
    }
    
    .team-avatar {
        width: 120px;
        height: 120px;
    }

    nav {
        max-width: 100%;
        padding: 1.25rem 1rem;
        justify-content: space-between;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 2rem;
        gap: 0;
        box-shadow: none;
        transition: left 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }

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

    .nav-links li {
        width: 100%;
        max-width: 400px;
        margin-bottom: 0.5rem;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        width: 100%;
        border-radius: 0.5rem;
        font-size: 1rem;
        text-align: center;
    }

    .nav-links a:hover {
        background: rgba(74, 147, 150, 0.1);
    }

    .nav-links .btn-primary {
        width: 100%;
        text-align: center;
        padding: 1rem 2rem;
        margin-top: 1rem;
        background: var(--primary);
        color: #ffffff !important;
    }
    
    .nav-links .btn-primary:hover {
        background: var(--primary-dark);
        color: #ffffff !important;
    }

    /* Mobile menu overlay */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .mobile-menu-overlay.active {
        display: block;
        opacity: 1;
    }

    .stats {
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Responsive code blocks for mobile */
    .code-example {
        padding: 1.25rem;
        border-radius: 1.25rem;
        margin-left: -1rem;
        margin-right: -1rem;
        max-width: calc(100% + 2rem);
        width: calc(100% + 2rem);
    }
    
    .code-example pre {
        font-size: 0.85rem;
        line-height: 1.6;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: pre;
        word-wrap: normal;
        min-width: 0;
    }
    
    .code-example pre code {
        display: block;
        overflow-x: auto;
        max-width: 100%;
        width: 100%;
        padding: 0 0.75rem;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .code-tabs {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .code-tab {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .code-tab-content {
        padding: 0 0.75rem;
    }
    
    .response-code pre code {
        max-width: 100%;
        width: 100%;
        padding: 0 0.75rem;
        box-sizing: border-box;
        overflow-x: auto;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Responsive response code blocks */
    .response-code {
        padding: 0.75rem;
        margin-left: -0.5rem;
        margin-right: -0.5rem;
        max-width: calc(100% + 1rem);
        width: calc(100% + 1rem);
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    .response-code pre {
        font-size: 0.85rem;
        line-height: 1.5;
        overflow: visible;
        white-space: pre-wrap;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-all;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .response-code pre code {
        display: block;
        overflow: visible;
        max-width: 100%;
        width: 100%;
        white-space: pre-wrap;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-all;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    nav {
        max-width: 100%;
        padding: 1.5rem 0.75rem;
    }

    .logo-img {
        height: 32px;
    }
    
    .mobile-menu-toggle {
        right: 0.75rem;
    }

    .nav-links {
        width: 100%;
        padding: 4rem 1.5rem 2rem;
        background: #ffffff;
    }

    .nav-links li {
        max-width: 350px;
    }
    
    .nav-links a {
        font-size: 0.95rem;
        padding: 0.875rem;
        text-align: center;
    }
    
    .nav-links .btn-primary {
        background: var(--primary);
        color: #ffffff !important;
    }
    
    .nav-links .btn-primary:hover {
        background: var(--primary-dark);
        color: #ffffff !important;
    }
    
    /* Responsive code blocks for small mobile */
    .code-example {
        padding: 1rem 0.75rem;
        border-radius: 1rem;
        margin-left: -0.75rem;
        margin-right: -0.75rem;
        max-width: calc(100% + 1.5rem);
        width: calc(100% + 1.5rem);
    }
    
    .code-example pre {
        font-size: 0.75rem;
        line-height: 1.5;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: pre;
        word-wrap: normal;
        min-width: 0;
    }
    
    .code-example pre code {
        display: block;
        overflow-x: auto;
        max-width: 100%;
        width: 100%;
        font-size: 0.75rem;
        padding: 0 0.5rem;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .code-tab {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .code-tab-content {
        padding: 0 0.5rem;
    }
    
    .response-code pre code {
        max-width: 100%;
        width: 100%;
        padding: 0 0.5rem;
        box-sizing: border-box;
        overflow-x: auto;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .api-endpoint {
        font-size: 0.9rem;
    }
    
    .api-card {
        padding: 1rem;
    }
    
    /* Responsive response code blocks for small mobile */
    .response-code {
        padding: 0.5rem;
        margin-left: -0.75rem;
        margin-right: -0.75rem;
        max-width: calc(100% + 1.5rem);
        width: calc(100% + 1.5rem);
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    .response-code pre {
        font-size: 0.75rem;
        line-height: 1.4;
        overflow: visible;
        white-space: pre-wrap;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-all;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .response-code pre code {
        display: block;
        overflow: visible;
        max-width: 100%;
        width: 100%;
        font-size: 0.75rem;
        white-space: pre-wrap;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-all;
    }
}

/* About page styles */
.about-hero {
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: var(--lighter);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 0;
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-hero p {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.team-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.team-card {
    background: var(--lighter);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(74, 147, 150, 0.15);
    border-color: rgba(74, 147, 150, 0.3);
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    display: block;
    border: 3px solid rgba(74, 147, 150, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-card:hover .team-avatar {
    transform: scale(1.05);
    border-color: rgba(74, 147, 150, 0.4);
    box-shadow: 0 6px 20px rgba(74, 147, 150, 0.2);
}

.team-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.role {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.team-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.team-linkedin:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 147, 150, 0.3);
}

.team-linkedin svg {
    width: 20px;
    height: 20px;
}

/* Contact section styles */
#contact.team-section {
    background: var(--light);
}

#contact .section-header p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    margin-top: 1rem;
}

.contact-container {
    max-width: 600px;
    margin: 3rem auto 0;
    background: var(--lighter);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: var(--lighter);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.75rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: var(--light);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 147, 150, 0.1);
}

.contact-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

.contact-item:hover .contact-value {
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .contact-container {
        margin: 2rem 1rem 0;
        padding: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem;
    }

    .contact-label {
        font-size: 0.85rem;
    }

    .contact-value {
        font-size: 1rem;
    }
}

/* Documentation-specific styles */
.docs-hero {
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: var(--lighter);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 0;
}

.docs-hero .section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(74, 147, 150, 0.1);
    border-radius: 2rem;
}

.docs-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.docs-hero p {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.docs-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    padding-top: 2rem;
}

.docs-sidebar {
    position: sticky;
    top: 6rem;
    height: fit-content;
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
}

.docs-sidebar h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.docs-nav {
    list-style: none;
    padding: 0;
}

.docs-nav li {
    margin-bottom: 0.5rem;
}

.docs-nav a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    display: block;
    transition: all 0.2s;
    border-left: 2px solid transparent;
    padding-left: 1rem;
}

.docs-nav a:hover,
.docs-nav a.active {
    color: var(--primary);
    border-left-color: var(--primary);
}

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

.docs-section {
    margin-bottom: 4rem;
    scroll-margin-top: 6rem;
}

.code-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--light);
}

.code-tab {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--gray);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}

.code-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}

.code-tab-content {
    display: none;
    padding: 0 1rem;
}

.code-tab-content.active {
    display: block;
}

.info-box {
    background: rgba(74, 147, 150, 0.08);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.info-box.warning {
    background: rgba(245, 158, 11, 0.08);
    border-left-color: #f59e0b;
}

.info-box.success {
    background: rgba(16, 185, 129, 0.08);
    border-left-color: #10b981;
}

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

.use-case-card {
    background: var(--lighter);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s;
}

.use-case-card:hover {
    border-color: rgba(74, 147, 150, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 147, 150, 0.1);
}

.use-case-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.endpoint-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 0.5rem;
}

.endpoint-badge.post { background: #10b981; color: white; }
.endpoint-badge.get { background: #3b82f6; color: white; }
.endpoint-badge.delete { background: #ef4444; color: white; }

/* API Documentation Styles */
.api-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(74, 147, 150, 0.2);
}

.api-card {
    background: var(--lighter);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.api-card:hover {
    box-shadow: 0 4px 16px rgba(74, 147, 150, 0.1);
    border-color: rgba(74, 147, 150, 0.2);
}

.api-endpoint {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Monaco', 'Courier New', monospace;
    word-break: break-all;
    overflow-wrap: break-word;
    max-width: 100%;
    flex: 1;
    min-width: 0;
}

.api-params {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.param-item {
    display: grid;
    grid-template-columns: 200px 150px 1fr;
    gap: 1rem;
    padding: 1rem;
    background: var(--light);
    border-radius: 0.5rem;
    border-left: 3px solid var(--primary);
    transition: all 0.2s ease;
}

.param-item:hover {
    background: rgba(74, 147, 150, 0.05);
    border-left-color: var(--accent);
}

.param-name {
    font-weight: 600;
    color: var(--text-dark);
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
}

.param-type {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: lowercase;
}

.param-desc {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .param-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .param-name {
        font-weight: 700;
        margin-bottom: 0.25rem;
    }
    
    .param-type {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 1024px) {
    .docs-hero {
        padding: 6rem 1.5rem 3rem;
    }

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

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

    .docs-container {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .docs-content {
        max-width: 100%;
        overflow-x: hidden;
    }
    .docs-sidebar {
        position: relative;
        top: 0;
        max-height: none;
    }
    
    .api-endpoint {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .docs-hero {
        padding: 8rem 1rem 2rem;
    }

    .docs-hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .docs-hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .docs-container {
        padding: 1rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .docs-content {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .api-endpoint {
        font-size: 1rem;
    }
    
    .api-card {
        padding: 1.5rem;
    }
}

/* Legal pages styles (Privacy Policy, Terms of Service) */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    line-height: 1.8;
}

.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.5rem;
}

.legal-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-size: 1.2rem;
}

.legal-content p {
    margin-bottom: 1rem;
    color: var(--gray);
}

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

.legal-content li {
    margin-bottom: 0.5rem;
    color: var(--gray);
}

.legal-content strong {
    color: var(--text-dark);
}

.legal-content code {
    background: var(--light);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
}

.legal-content a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.last-updated {
    color: var(--gray);
    font-style: italic;
    margin-bottom: 2rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 1.5rem 1rem;
    }

    .legal-content h2 {
        font-size: 1.3rem;
        margin-top: 2rem;
    }

    .legal-content h3 {
        font-size: 1.1rem;
    }
}