@import url("./base.css");

:root {
    --icon-blue: #4b5563;
    --icon-green: #5b6654;
    --icon-amber: #6b5d4a;
    --icon-red: #6a5252;
}

.hero {
    background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
}

.hero::before {
    background-image:
        linear-gradient(rgba(209, 213, 219, 0.45) 1px, transparent 1px),
        linear-gradient(90deg, rgba(209, 213, 219, 0.45) 1px, transparent 1px);
}

.hero-badge {
    background: rgba(17, 24, 39, 0.04);
    border-color: rgba(17, 24, 39, 0.08);
    color: var(--gray-900);
}

.hero-title {
    max-width: 15ch;
}

.hero-description {
    max-width: 36rem;
}

.hero-note {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.7);
    color: var(--gray-700);
    font-size: var(--font-size-sm);
    box-shadow: var(--shadow-sm);
}

.highlight-pill {
    background: rgba(255, 255, 255, 0.75);
}

.vision-subtitle code,
.snippet-label code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.nav-logo .datalox-mark-icon {
    color: var(--primary-color);
}

.footer-logo .datalox-mark-icon {
    color: white;
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.btn-primary,
.contribution-btn,
.point-number,
.adv-number {
    background: var(--primary-color);
}

.btn-primary:hover,
.contribution-btn:hover {
    background: var(--primary-hover);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.timeline-item.active .timeline-dot,
.arc-list li::before,
.how-list li::before,
.nav-link::after {
    color: var(--primary-color);
    background: var(--primary-color);
}

.highlight-pill i,
.cell-pill i,
.contact-item i,
.floating-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    flex-shrink: 0;
}

.hero-highlights .highlight-pill:nth-child(1) i,
.cell-pills .cell-pill:nth-child(4) i,
.card-3 i,
.contact-details .contact-item:nth-child(2) i {
    background: var(--icon-blue);
}

.hero-highlights .highlight-pill:nth-child(2) i,
.cell-pills .cell-pill:nth-child(1) i,
.card-2 i,
.contact-details .contact-item:nth-child(4) i {
    background: var(--icon-amber);
}

.hero-highlights .highlight-pill:nth-child(3) i,
.cell-pills .cell-pill:nth-child(2) i,
.card-4 i,
.contact-details .contact-item:nth-child(3) i {
    background: var(--icon-green);
}

.cell-pills .cell-pill:nth-child(3) i,
.card-1 i,
.contact-details .contact-item:nth-child(1) i {
    background: var(--icon-red);
}

.highlight-pill i,
.cell-pill i {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    font-size: 0.7rem;
}

.floating-card i {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.contact-item i {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.875rem;
    font-size: 0.95rem;
    margin-top: 0;
}

.new-way {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(243, 244, 246, 0.95));
    border-color: rgba(17, 24, 39, 0.08);
}

.snippet-card {
    margin: var(--spacing-xl) 0 var(--spacing-2xl);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    background: var(--gray-900);
    color: white;
    box-shadow: var(--shadow-lg);
}

.snippet-label {
    color: var(--gray-300);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.snippet {
    margin: 0;
    white-space: pre-wrap;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.95rem;
    line-height: 1.7;
}

.snippet code {
    font-family: inherit;
}

.compact-points {
    gap: var(--spacing-lg);
}

.section-footer-note {
    margin-top: var(--spacing-xl);
    text-align: center;
    color: var(--gray-600);
    font-size: var(--font-size-base);
}

.vision,
.advantages {
    background: var(--gray-50);
}

.product-vision {
    background: linear-gradient(135deg, rgba(249, 250, 251, 1), rgba(243, 244, 246, 1));
}

.contact {
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.contact-item a {
    color: var(--primary-color);
}

.form-note {
    color: var(--gray-500);
    font-size: var(--font-size-sm);
    text-align: center;
}

.form-status {
    min-height: 1.5rem;
    font-size: var(--font-size-sm);
    text-align: center;
}

.form-status.is-success {
    color: var(--success-color);
}

.form-status.is-error {
    color: var(--warning-color);
}

.form-hidden {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.footer-section a:hover {
    color: white;
}

@media (max-width: 768px) {
    .hero-title {
        max-width: none;
    }

    .hero-note {
        display: block;
    }
}
