/* =====================================================
   AIVINOVA Document Service - Landing Page Styles
   Colors based on AIVINOVA branding:
   - Primary/Accent: #4BCFDE (Turquoise - Logo color)
   - Dark: #333333, #163c40, #323232
   - Light: #000000, #ffffff, #eeeeee
   ===================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    background-color: #fff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: #333333;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.25rem;
}

p {
    color: #666;
}

a {
    color: #4BCFDE;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #3BB8C7;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #4BCFDE 0%, #3BB8C7 100%);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3BB8C7 0%, #2A9DAB 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(75, 207, 222, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #fff;
}

.btn-outline {
    background: transparent;
    color: #4BCFDE;
    border: 2px solid #4BCFDE;
    padding: 8px 20px;
}

.btn-outline:hover {
    background: #4BCFDE;
    color: #fff;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e2e2;
    padding: 16px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 28px;
    width: auto;
}

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

.nav a {
    color: #666;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav a:hover {
    color: #4BCFDE;
}

/* Hero Section - AIVINOVA dark teal gradient */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #163c40 0%, #1a3035 50%, #0f2528 100%);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(75, 207, 222, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(75, 207, 222, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-logo {
    margin-bottom: 32px;
}

.hero-logo-img {
    height: 80px;
    width: auto;
    margin-bottom: 12px;
}

.hero-logo-subtitle {
    display: block;
    font-size: 2rem;
    font-weight: 300;
    color: #9ca3af;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-tagline {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Sections */
.section {
    padding: 100px 0;
}

.section-light {
    background: #fff;
}

.section-dark {
    background: #f8f9fa;
}

.section-accent {
    background: linear-gradient(135deg, #163c40 0%, #1a3035 100%);
}

.section-accent .section-title {
    color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 24px;
    color: #333333;
}

.section-intro {
    text-align: center;
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto 60px;
    color: #666;
}

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

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

.benefit-card:hover {
    border-color: #4BCFDE;
    box-shadow: 0 8px 30px rgba(75, 207, 222, 0.15);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(75, 207, 222, 0.15) 0%, rgba(59, 184, 199, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #4BCFDE;
}

.benefit-card h3 {
    margin-bottom: 12px;
    color: #333333;
}

.benefit-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Features Table */
.features-table-wrapper {
    overflow-x: auto;
}

.features-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.features-table th,
.features-table td {
    padding: 20px 24px;
    text-align: left;
}

.features-table th {
    background: linear-gradient(135deg, #163c40 0%, #1a4a4f 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.features-table tbody tr {
    border-bottom: 1px solid #e2e2e2;
}

.features-table tbody tr:last-child {
    border-bottom: none;
}

.features-table tbody tr:hover {
    background: rgba(75, 207, 222, 0.05);
}

.features-table td {
    color: #666;
}

.features-table td strong {
    color: #333333;
}

/* Code Block */
.code-block {
    background: #163c40;
    border-radius: 12px;
    overflow: hidden;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 8px 30px rgba(22, 60, 64, 0.3);
}

.code-header {
    background: #0f2528;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(75, 207, 222, 0.2);
}

.code-method {
    background: #4BCFDE;
    color: #163c40;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
}

.code-endpoint {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9rem;
}

.code-block pre {
    padding: 24px;
    margin: 0;
    overflow-x: auto;
}

.code-block code {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    color: #e2e8f0;
    line-height: 1.7;
}

/* Links Grid */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.link-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(75, 207, 222, 0.2);
    border-radius: 12px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
    color: #fff;
}

.link-card:hover {
    background: rgba(75, 207, 222, 0.1);
    border-color: #4BCFDE;
    transform: translateY(-4px);
    color: #fff;
}

.link-icon {
    color: #4BCFDE;
    margin-bottom: 20px;
}

.link-card h3 {
    color: #fff;
    margin-bottom: 12px;
}

.link-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Contact Section - Need Help */
.section-contact {
    background: linear-gradient(135deg, #eeeeee 0%, #f5f5f5 100%);
    text-align: center;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #4BCFDE 0%, #3BB8C7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    color: #fff;
    box-shadow: 0 8px 30px rgba(75, 207, 222, 0.4);
}

.contact-title {
    font-size: 2rem;
    color: #333333;
    margin-bottom: 20px;
}

.contact-text {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 32px;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(75, 207, 222, 0.5);
}

/* Services Grid in Contact Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 40px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.service-item:hover {
    border-color: #4BCFDE;
    box-shadow: 0 4px 12px rgba(75, 207, 222, 0.15);
    transform: translateY(-2px);
}

.service-item svg {
    color: #4BCFDE;
    flex-shrink: 0;
}

.service-item span {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333333;
}

/* Footer */
.footer {
    background: #163c40;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(75, 207, 222, 0.2);
}

.footer-logo {
    height: 32px;
    width: auto;
    margin-bottom: 12px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4px;
}

.footer-info p strong {
    color: #fff;
}

.footer-links {
    margin-top: 16px;
}

.footer-links a {
    color: #4BCFDE;
}

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

.footer-links .separator {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 12px;
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 16px;
    }

    .nav {
        gap: 16px;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-logo-img {
        height: 60px;
    }

    .hero-logo-subtitle {
        font-size: 1.5rem;
    }

    .hero-tagline {
        font-size: 1.25rem;
        padding: 0 16px;
    }

    .section {
        padding: 60px 0;
    }

    h2 {
        font-size: 1.75rem;
    }

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand {
        width: 100%;
    }
}
