* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.container {
    max-width: 480px;
    width: 100%;
}
.profile {
    text-align: center;
    margin-bottom: 30px;
    animation: fadeInUp 0.6s ease;
    position: relative;
}

.profile-topbar {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    justify-content: flex-end;
    padding: 2px 0 10px;
}

.profile-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.profile-login-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
}
.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    font-weight: bold;
}
h1 {
    color: white;
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 700;
}
.tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-bottom: 5px;
}
.status {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: white;
    font-size: 13px;
    margin-top: 10px;
    backdrop-filter: blur(10px);
}

/* ====== LIVE AI Monitor banner (hub page) ====== */
.monitor-banner {
    margin: 18px auto 0;
    padding: 18px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg,
        rgba(245, 87, 108, 0.95) 0%,
        rgba(240, 147, 251, 0.92) 55%,
        rgba(102, 126, 234, 0.88) 100%
    );
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow:
        0 16px 32px rgba(0, 0, 0, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    backdrop-filter: blur(12px);
    text-align: left;
    position: relative;
    overflow: hidden;
    max-width: 520px;
}

.monitor-banner > * {
    position: relative;
    z-index: 1;
}

.monitor-banner::before {
    content: '';
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0) 55%);
    filter: blur(18px);
    opacity: 0.28;
    pointer-events: none;
}

.monitor-banner::after {
    content: '';
    position: absolute;
    top: -55%;
    left: -35%;
    width: 65%;
    height: 220%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.45) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(22deg);
    opacity: 0.14;
    animation: monitorShimmer 7s linear infinite;
    pointer-events: none;
}

@keyframes monitorShimmer {
    0% { transform: translateX(-20%) rotate(22deg); }
    100% { transform: translateX(220%) rotate(22deg); }
}

.monitor-banner__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
    text-transform: uppercase;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}

.monitor-banner__live-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.22);
    flex: 0 0 auto;
    animation: monitorPulse 1.7s ease-in-out infinite;
}

@keyframes monitorPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.9; }
}

.monitor-banner__subtitle {
    font-size: 13px;
    opacity: 0.92;
    line-height: 1.35;
    margin-bottom: 14px;
}

.monitor-banner__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.monitor-metric {
    background: rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 14px 12px;
}

.monitor-metric__label {
    font-size: 11px;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.monitor-metric__value {
    font-size: 26px;
    font-weight: 900;
    line-height: 1.05;
    font-variant-numeric: tabular-nums;
}

.monitor-metric__sub {
    margin-top: 8px;
    font-size: 12px;
    opacity: 0.92;
    font-variant-numeric: tabular-nums;
}

.monitor-banner__actions {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.monitor-banner__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: 0.2px;
}

.monitor-banner__btn:hover {
    background: rgba(255, 255, 255, 0.26);
}

.monitor-banner__updated {
    font-size: 11px;
    opacity: 0.9;
}

.monitor-banner__error {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 12px;
}

@media (max-width: 480px) {
    .monitor-banner__grid {
        grid-template-columns: 1fr;
    }
}
.status::before {
    content: "🟢";
    margin-right: 5px;
}
.section {
    margin-bottom: 25px;
}
.section-title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    text-align: center;
}
.link-button {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease backwards;
}
.link-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
    background: white;
}
.link-icon {
    font-size: 24px;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}
.link-content {
    flex: 1;
    text-align: left;
}
.link-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 2px;
}
.link-desc {
    font-size: 13px;
    color: #666;
}
.link-arrow {
    color: #999;
    font-size: 18px;
}
.highlight {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}
.highlight:hover {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}
.highlight .link-desc {
    color: rgba(255, 255, 255, 0.9);
}
.highlight .link-arrow {
    color: rgba(255, 255, 255, 0.7);
}
.bots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}
.bot-button {
    display: flex;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease backwards;
}
.bot-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    background: white;
}
.bot-icon {
    font-size: 20px;
    margin-right: 10px;
}
.bot-name {
    font-size: 14px;
    font-weight: 500;
}
.badge {
    display: inline-block;
    padding: 2px 6px;
    background: #4CAF50;
    color: white;
    font-size: 10px;
    border-radius: 4px;
    margin-left: 5px;
    font-weight: 600;
}
.badge.beta {
    background: #FF9800;
}
.badge.new {
    background: #2196F3;
}
.badge.ai {
    background: #9C27B0;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.link-button:nth-child(1) { animation-delay: 0.1s; }
.link-button:nth-child(2) { animation-delay: 0.2s; }
.link-button:nth-child(3) { animation-delay: 0.3s; }
.link-button:nth-child(4) { animation-delay: 0.4s; }
.link-button:nth-child(5) { animation-delay: 0.5s; }
.bot-button:nth-child(1) { animation-delay: 0.1s; }
.bot-button:nth-child(2) { animation-delay: 0.15s; }
.bot-button:nth-child(3) { animation-delay: 0.2s; }
.bot-button:nth-child(4) { animation-delay: 0.25s; }
.bot-button:nth-child(5) { animation-delay: 0.3s; }
.bot-button:nth-child(6) { animation-delay: 0.35s; }
.bot-button:nth-child(7) { animation-delay: 0.4s; }
.bot-button:nth-child(8) { animation-delay: 0.45s; }
.footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin-top: 30px;
}
.stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}
.stat-item {
    text-align: center;
}
.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: white;
}
.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
}
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 15px 0;
}
.tech-badge {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    color: white;
    font-size: 12px;
    backdrop-filter: blur(10px);
}
.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.services-card {
    display: block;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease backwards;
}

.services-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
    background: white;
}

.services-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.services-icon {
    font-size: 32px;
    line-height: 1;
}

.services-title {
    flex: 1;
}

.services-main {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 3px;
    color: #333;
}

.services-subtitle {
    font-size: 13px;
    color: #666;
}

.services-list {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 8px;
    transition: background 0.2s ease;
}

.service-item:hover {
    background: rgba(102, 126, 234, 0.1);
}

.service-emoji {
    font-size: 20px;
    line-height: 1.2;
    flex-shrink: 0;
}

.service-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.service-text strong {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.service-text span {
    font-size: 13px;
    color: #666;
}

.services-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
}

.services-card:hover .services-cta {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.cta-arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.services-card:hover .cta-arrow {
    transform: translateX(3px);
}

/* Tech Timeline */
.tech-timeline {
    position: relative;
    padding: 20px 0;
    margin: 20px 0 25px;
}

.tech-timeline::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0.3) 100%);
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease backwards;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-year {
    width: 50px;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    z-index: 2;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    border: 2px solid rgba(102, 126, 234, 0.5);
    margin: 0 20px;
    flex-shrink: 0;
    z-index: 2;
}

.timeline-item.active .timeline-dot {
    background: #fff;
    border-color: #fff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
}

.timeline-dot.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.timeline-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(3px);
}

.timeline-tech {
    font-size: 15px;
    font-weight: 600;
    color: white;
    margin-bottom: 3px;
}

.timeline-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.timeline-item.active .timeline-content {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Enhanced Tech Badges */
.tech-badge.primary {
    background: rgba(255, 255, 255, 0.3);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tech-badge:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    cursor: default;
}

/* Mobile optimization */
@media (max-width: 480px) {
    .tech-timeline::before {
        left: 20px;
    }

    .timeline-year {
        width: 40px;
        font-size: 13px;
    }

    .timeline-dot {
        margin: 0 15px;
    }

    .timeline-tech {
        font-size: 14px;
    }

    .timeline-desc {
        font-size: 11px;
    }
}

/* Collapsible Section */
.section-title.collapsible {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    user-select: none;
}

.section-title.collapsible:hover {
    background: rgba(255, 255, 255, 0.15);
}

.toggle-icon {
    font-size: 10px;
    transition: transform 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
}

.section-title.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

/* Tech Content Animation */
.tech-content {
    max-height: 1000px; /* достаточно для всего контента */
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 1;
}

.tech-content.collapsed {
    max-height: 0;
    opacity: 0;
}