/* Axo Lab — Contact Page v2.0 */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #060612;
    --surface: rgba(255,255,255,0.04);
    --surface-hover: rgba(255,255,255,0.07);
    --border: rgba(255,255,255,0.08);
    --border-hover: rgba(255,255,255,0.18);
    --text: #fff;
    --muted: rgba(255,255,255,0.45);
    --muted2: rgba(255,255,255,0.22);
    --radius: 14px;
    --radius-sm: 9px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --tg:      #2AABEE;
    --email:   #a78bfa;
    --channel: #34d399;
    --support: #f59e0b;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* ── Stars canvas ── */
#stars-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ── Background glow ── */
.bg-glow {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 55% at 50% -10%, rgba(42,171,238,0.09) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 5%  80%, rgba(145,0,255,0.06)  0%, transparent 55%),
        radial-gradient(ellipse 40% 30% at 95% 60%, rgba(52,211,153,0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* ── Content above canvas ── */
.navbar, .page, footer { position: relative; z-index: 2; }

/* ── Navbar ── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0,0,0,0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    height: 56px;
}

.nav-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0.9;
    transition: opacity 0.15s;
}
.nav-brand:hover { opacity: 1; }
.nav-brand img { width: 26px; height: 26px; border-radius: 6px; }

.nav-auth-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 6px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--muted);
    transition: all 0.15s;
}
.nav-auth-btn:hover {
    color: var(--text);
    border-color: var(--border-hover);
    background: var(--surface-hover);
}

/* ── Page ── */
.page {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem 5rem;
}

/* ── Hero ── */
.hero {
    text-align: center;
    margin-bottom: 2.25rem;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tg);
    margin-bottom: 1rem;
    padding: 5px 14px;
    background: rgba(42,171,238,0.08);
    border: 1px solid rgba(42,171,238,0.18);
    border-radius: 20px;
}

.hero-eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tg);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.35} }

.hero-title {
    font-size: clamp(2.75rem, 7vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    margin-bottom: 0.75rem;
    background: linear-gradient(160deg, #fff 30%, rgba(255,255,255,0.55) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--muted);
    max-width: 380px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ── Stats strip ── */
.stats-strip {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(6,6,18,0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    overflow: hidden;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(42,171,238,0.08);
    border: 1px solid rgba(42,171,238,0.14);
    color: var(--tg);
}

.stat-value {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.stat-label {
    font-size: 0.72rem;
    color: var(--muted);
    white-space: nowrap;
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: var(--border);
    flex-shrink: 0;
    margin: 0 1rem;
}

/* ── Section label ── */
.section-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted2);
    margin-bottom: 0.75rem;
}

/* ── Contact cards grid ── */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(6,6,18,0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.2s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contact-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    opacity: 0;
    transition: opacity 0.2s;
    border-radius: var(--radius) var(--radius) 0 0;
}

.contact-card:hover {
    border-color: var(--border-hover);
    background: var(--surface-hover);
    transform: translateY(-2px);
}
.contact-card:hover::after { opacity: 1; }

.contact-card--tg::after      { background: linear-gradient(90deg, var(--tg),      rgba(42,171,238,0.2)); }
.contact-card--email::after   { background: linear-gradient(90deg, var(--email),   rgba(167,139,250,0.2)); }
.contact-card--channel::after { background: linear-gradient(90deg, var(--channel), rgba(52,211,153,0.2)); }
.contact-card--support::after { background: linear-gradient(90deg, var(--support), rgba(245,158,11,0.2)); }

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid transparent;
    transition: transform 0.2s;
}
.contact-card:hover .card-icon { transform: scale(1.06); }

.card-icon--tg      { background: rgba(42,171,238,0.12);  border-color: rgba(42,171,238,0.2);  color: var(--tg); }
.card-icon--email   { background: rgba(167,139,250,0.12); border-color: rgba(167,139,250,0.2); color: var(--email); }
.card-icon--channel { background: rgba(52,211,153,0.12);  border-color: rgba(52,211,153,0.2);  color: var(--channel); }
.card-icon--support { background: rgba(245,158,11,0.12);  border-color: rgba(245,158,11,0.2);  color: var(--support); }

.card-body { flex: 1; min-width: 0; }

.card-title {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted2);
    margin-bottom: 3px;
}

.card-value {
    font-size: 0.975rem;
    font-weight: 700;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-desc {
    font-size: 0.775rem;
    color: var(--muted);
    line-height: 1.4;
}

.card-arrow {
    color: var(--muted2);
    flex-shrink: 0;
    transition: transform 0.2s, color 0.2s;
}
.contact-card:hover .card-arrow { color: var(--text); transform: translateX(3px); }

/* ── FAQ ── */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: rgba(6,6,18,0.65);
    border: none;
    cursor: pointer;
    color: var(--text);
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    transition: background 0.15s;
}
.faq-q:hover { background: rgba(6,6,18,0.78); }

.faq-chevron {
    flex-shrink: 0;
    color: var(--muted2);
    transition: transform 0.25s;
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-item.open .faq-q { background: rgba(6,6,18,0.78); }

.faq-a {
    display: none;
    padding: 0 1.25rem 1.1rem;
    background: rgba(6,6,18,0.65);
}
.faq-item.open .faq-a { display: block; }

.faq-a p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.7;
}

.faq-link {
    color: var(--tg);
    text-decoration: underline;
    text-decoration-color: rgba(42,171,238,0.35);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.15s;
}
.faq-link:hover { text-decoration-color: var(--tg); }

/* ── Requisites ── */
.requisites-card {
    background: rgba(6,6,18,0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem 1.75rem;
}

.req-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.req-header-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    color: var(--muted);
}

.req-title {
    font-size: 0.95rem;
    font-weight: 600;
}

.req-rows { display: flex; flex-direction: column; }

.req-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 2rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
}
.req-row:last-child { border-bottom: none; padding-bottom: 0; }

.req-label {
    font-size: 0.84rem;
    color: var(--muted);
    flex-shrink: 0;
    min-width: 160px;
}

.req-value {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: right;
}

.req-value--mono {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
}

.req-link {
    color: rgba(255,255,255,0.7);
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.18);
    text-underline-offset: 3px;
    transition: color 0.15s, text-decoration-color 0.15s;
}
.req-link:hover { color: #fff; text-decoration-color: rgba(255,255,255,0.5); }

/* ── CTA banner ── */
.cta-banner {
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,
        rgba(42,171,238,0.07) 0%,
        rgba(145,0,255,0.05) 60%,
        rgba(6,6,18,0.55) 100%
    );
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(42,171,238,0.15);
    border-radius: var(--radius);
    padding: 2rem 2rem;
}

.cta-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.cta-sub {
    font-size: 0.875rem;
    color: var(--muted);
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    font-family: var(--font);
    font-size: 0.84rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: all 0.15s;
    cursor: pointer;
}

.cta-btn--tg {
    background: var(--tg);
    color: #fff;
}
.cta-btn--tg:hover { filter: brightness(1.1); }

.cta-btn--ghost {
    background: var(--surface-hover);
    border-color: var(--border);
    color: var(--muted);
}
.cta-btn--ghost:hover { color: var(--text); border-color: var(--border-hover); }

.cta-decoration {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.7;
}

/* ── Footer ── */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 1.5rem;
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0.65;
}
.footer-brand img { width: 20px; height: 20px; border-radius: 5px; }

.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
    font-size: 0.8rem;
    color: var(--muted2);
    transition: color 0.15s;
}
.footer-links a:hover { color: var(--muted); }

.footer-copy { font-size: 0.78rem; color: var(--muted2); }

/* ── Responsive ── */
@media (max-width: 700px) {
    .stats-strip { flex-wrap: wrap; gap: 0.75rem; padding: 1rem; }
    .stat-divider { display: none; }
    .stat-item { flex: 1 1 calc(50% - 0.375rem); }
}

.oferta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: rgba(255,255,255,0.65);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.oferta-btn:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(255,255,255,0.2);
    color: #fff;
}

@media (max-width: 600px) {
    .cards-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }
    .page { padding: 2rem 1rem 4rem; }
    .cta-body { flex-direction: column; align-items: flex-start; }
    .cta-decoration { display: none; }
    .footer-inner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
    .footer-links { gap: 1rem; }
    .req-label { min-width: 110px; }
}

@media (max-width: 400px) {
    .contact-card { padding: 1rem; }
    .card-icon { width: 42px; height: 42px; border-radius: 10px; }
    .card-value { font-size: 0.875rem; }
    .cta-actions { flex-direction: column; width: 100%; }
    .cta-btn { justify-content: center; }
}
