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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

/* Theme Variables - Light only */
body {
    --bg-color: #ffffff;
    --text-color: #1f2937;
    --text-secondary: #6b7280;
    --title-color: #000000;
    --subtitle-color: #6b7280;
    --accent-color: #10a37f;
    --card-bg: #ffffff;
    --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --border-color: #000000;
    --nav-bg: #ffffff;
    background: var(--bg-color);
    color: var(--text-color);
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

/* Burger Menu */
.burger-menu {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    font-size: 28px;
    color: var(--text-color);
    transition: opacity 0.2s ease;
    position: absolute;
    left: 40px;
}

.burger-menu:hover {
    opacity: 0.7;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.logo-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--title-color);
    letter-spacing: 0;
}

/* Navigation */
.nav {
    position: fixed;
    top: 86px;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    border-bottom: 3px solid var(--border-color);
    padding: 12px 40px;
    display: none;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav.open {
    display: flex;
}

@media (min-width: 768px) {
    .nav {
        position: sticky;
        top: 86px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 6px 40px;
    }

    .burger-menu {
        display: none;
    }
}

.nav-item {
    color: var(--text-color);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 0;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav-item:hover {
    color: var(--accent-color);
}

.nav-divider {
    color: var(--border-color);
    font-size: 15px;
    font-weight: 400;
    user-select: none;
    padding: 0 12px;
    line-height: 1;
}

/* Main Content */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 40px 48px;
}

/* Section */
.section {
    margin-bottom: 120px;
    scroll-margin-top: 80px;
}

.section h1 {
    color: var(--title-color);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 48px;
    letter-spacing: -0.02em;
    line-height: 1.1;
    display: flex;
    align-items: center;
    gap: 16px;
}

.inline-logo {
    height: 48px;
    width: auto;
    margin: 0;
}

.section h2 {
    color: var(--title-color);
    font-size: 20px;
    font-weight: 700;
    margin: 48px 0 24px;
    letter-spacing: -0.3px;
}

.section h3 {
    color: var(--title-color);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.section p {
    color: var(--text-color);
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.section strong {
    font-weight: 600;
}

.section-image {
    max-width: 500px;
    width: 100%;
    height: auto;
    margin: 32px auto 0;
    display: block;
    border-radius: 8px;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 32px;
    margin-bottom: 64px;
}

.card {
    background: var(--card-bg);
    padding: 24px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.card h3 {
    color: var(--title-color);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.card p {
    color: var(--text-secondary);
    font-size: 16px;
    margin: 0;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin: 32px 0 64px;
}

.feature p {
    color: var(--text-color);
    font-size: 20px;
    line-height: 1.6;
    margin: 0;
}

/* API Endpoints */
.api-endpoint {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin: 24px 0;
    padding: 16px;
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.api-method {
    background: #10a37f;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
}

.api-method.post {
    background: #2563eb;
}

.api-method.put {
    background: #f59e0b;
}

.api-path {
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 16px;
    font-weight: 600;
    color: var(--title-color);
}

.api-endpoint p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 4px 0 0;
}

.api-note {
    margin-top: 32px;
    padding: 16px;
    background: var(--card-bg);
    border-left: 4px solid var(--accent-color);
    border-radius: 4px;
}

code {
    background: var(--card-bg);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    color: var(--accent-color);
}

/* Platform Sections */
.platform-sections {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin: 32px 0;
}

.platform-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--card-bg);
    padding: 0;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.platform-card a {
    display: block;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.platform-card a:hover {
    opacity: 0.9;
}

.platform-card img {
    width: 100%;
    height: auto;
    display: block;
}

.platform-card-content {
    padding: 20px 24px 24px;
}

.platform-card-content h3 {
    color: var(--title-color);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.platform-card-content p {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.platform-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Applications */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.application-card {
    background: var(--card-bg);
    padding: 24px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.application-card h3 {
    color: var(--title-color);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.application-card p {
    color: var(--text-color);
    font-size: 16px;
    margin: 0;
}

/* Advantages */
.advantages p {
    color: var(--text-color);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* Status Cards */
.status-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin: 48px 0;
}

.status-card {
    background: var(--card-bg);
    padding: 32px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
}

.status-card.ready {
    border-color: var(--accent-color);
}

.status-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.status-icon {
    width: 32px;
    height: 32px;
}

.status-header h3 {
    color: var(--title-color);
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.status-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 24px;
}

.status-card ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 24px;
}

.status-card li {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.status-count {
    color: var(--accent-color);
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

/* Screenshots */
.screenshots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 250px));
    gap: 16px;
    margin: 32px 0;
    justify-content: start;
}

.screenshot {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.screenshot:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

.pricing-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.2s ease;
    position: relative;
}

.pricing-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border: 2px solid var(--accent-color);
    box-shadow: 0 4px 20px rgba(16, 163, 127, 0.15);
}

.badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--accent-color);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: white;
}

.pricing-card h3 {
    color: var(--title-color);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.price {
    color: var(--title-color);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
}

.period {
    font-size: 18px;
    color: var(--subtitle-color);
    font-weight: 400;
}

.features-list {
    list-style: none;
    margin-bottom: 32px;
}

.features-list li {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 14px;
    padding-left: 28px;
    position: relative;
    line-height: 1.5;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 18px;
}

.enterprise-note {
    color: var(--text-color);
    font-size: 16px;
    margin-bottom: 32px;
}

.btn {
    width: 100%;
    padding: 16px 24px;
    background: var(--card-bg);
    border: 1px solid var(--text-secondary);
    border-radius: 8px;
    color: var(--title-color);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

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

.btn-primary:hover {
    background: #0d8a66;
}

.pricing-footer {
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    margin-top: 48px;
}

/* Contacts */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: flex-start;
    margin-bottom: 64px;
}

.contact-info h2 {
    color: var(--title-color);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-info h3 {
    color: var(--title-color);
    font-size: 20px;
    font-weight: 600;
    margin: 40px 0 12px;
}

.contact-info p {
    color: var(--text-color);
    font-size: 20px;
    margin: 0 0 40px;
    line-height: 1.6;
}

.contact-info a {
    color: var(--accent-color);
    text-decoration: none;
}

.company-details {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-color);
}

.company-details p {
    margin-bottom: 8px;
}

.contact-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Footer */
.footer {
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 48px 40px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 64px;
    margin-bottom: 48px;
}

.footer-column h4 {
    color: var(--title-color);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

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

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

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

/* News */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-top: 32px;
}

.news-item {
    padding-bottom: 32px;
    border-bottom: 1px solid #e5e7eb;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.news-item h2 {
    color: var(--title-color);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.news-item p {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.news-item ul {
    list-style: disc;
    padding-left: 24px;
    margin: 12px 0;
}

.news-item li {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 8px;
}

/* Status Page */
.status-summary {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 8px;
    padding: 24px;
    margin: 32px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-indicator.operational span {
    color: #16a34a;
    font-size: 18px;
    font-weight: 600;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #16a34a;
}

.status-time {
    color: #6b7280;
    font-size: 14px;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.service-info h3 {
    color: var(--title-color);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.service-info p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

.service-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-status.operational span {
    color: #16a34a;
    font-size: 14px;
    font-weight: 600;
}

/* Search */
.search-box {
    display: flex;
    gap: 12px;
    margin: 32px 0;
    max-width: 600px;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.search-results {
    margin-top: 32px;
}

.search-result-item {
    padding: 20px;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    margin-bottom: 16px;
}

.search-result-item h3 {
    margin-bottom: 8px;
}

.search-result-item h3 a {
    color: var(--title-color);
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
}

.search-result-item h3 a:hover {
    color: var(--accent-color);
}

.search-result-item p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

.search-empty {
    color: var(--text-secondary);
    font-size: 16px;
    text-align: center;
    padding: 48px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-inner {
        padding: 0 20px;
        gap: 12px;
    }

    .nav-item {
        font-size: 14px;
    }

    .content {
        padding: 40px 20px;
    }

    .section h1 {
        font-size: 20px;
        margin-bottom: 32px;
    }

    .section h2 {
        font-size: 18px;
        margin: 32px 0 16px;
    }

    .section p {
        font-size: 16px;
    }

    .card-grid,
    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-info h2,
    .contact-info h3,
    .contact-info p,
    .company-details {
        font-size: 16px;
    }

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

    .theme-toggle {
        top: 8px;
        right: 8px;
        padding: 6px 12px;
        font-size: 16px;
    }
}

/* Status Banner */
.status-banner {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 24px 0 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-banner .status-icon {
    font-size: 20px;
    line-height: 1;
}

.status-banner strong {
    color: #92400e;
}

/* Jobs page specific styles */
.card-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card ul {
    margin: 8px 0 16px 0;
    padding-left: 24px;
}

.card ul li {
    margin-bottom: 6px;
    line-height: 1.5;
}

.card p {
    margin-bottom: 12px;
}

.card p:last-of-type {
    margin-top: 16px;
    margin-bottom: 0;
}

@media (max-width: 480px) {
    .nav-divider {
        display: none;
    }

    .nav-inner {
        justify-content: center;
    }

    .section {
        margin-bottom: 80px;
    }
}
