:root {
    --bg-primary: #030712;
    --bg-secondary: #0a0f1e;
    --bg-card: rgba(255, 255, 255, 0.025);
    --text-primary: #e8eaf0;
    --text-secondary: rgba(255, 255, 255, 0.65);
    --text-muted: rgba(255, 255, 255, 0.4);
    --border-color: rgba(100, 140, 255, 0.08);
    --accent-1: #667eea;
    --accent-2: #a855f7;
    --accent-gradient: linear-gradient(135deg, #667eea 0%, #a855f7 100%);
    --glow-cyan: #22d3ee;
    --glow-purple: #a855f7;
    --glow-blue: #3b82f6;
    --green: #4ade80;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 8px 16px;
    background: var(--accent-1);
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
}
.skip-link:focus { top: 8px; }

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: var(--accent-gradient);
    z-index: 200;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(102, 126, 234, 0.4);
}

.back-to-top {
    position: fixed;
    bottom: 72px;
    right: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-gradient);
    border: 1px solid rgba(102, 126, 234, 0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 90;
    opacity: 0;
    transform: translateY(12px) scale(0.9);
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.25);
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.back-to-top:hover {
    box-shadow: 0 6px 28px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px) scale(1.05);
}

.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: 0;
}
.cursor-glow.active {
    opacity: 1;
}

.page-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(102, 126, 234, 0.12), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(168, 85, 247, 0.06), transparent),
        radial-gradient(ellipse 50% 30% at 20% 80%, rgba(34, 211, 238, 0.04), transparent);
}

#neural-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0.3;
}

.page-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(100, 140, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 140, 255, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black 20%, transparent 70%);
}

.page-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(1.5px 1.5px at 10% 15%, rgba(102, 126, 234, 0.4), transparent),
        radial-gradient(1px 1px at 25% 35%, rgba(168, 85, 247, 0.3), transparent),
        radial-gradient(1.5px 1.5px at 40% 10%, rgba(34, 211, 238, 0.35), transparent),
        radial-gradient(1px 1px at 55% 45%, rgba(102, 126, 234, 0.25), transparent),
        radial-gradient(1.5px 1.5px at 70% 20%, rgba(168, 85, 247, 0.4), transparent),
        radial-gradient(1px 1px at 85% 50%, rgba(34, 211, 238, 0.3), transparent),
        radial-gradient(1.5px 1.5px at 15% 60%, rgba(59, 130, 246, 0.3), transparent),
        radial-gradient(1px 1px at 90% 10%, rgba(102, 126, 234, 0.35), transparent);
    animation: starTwinkle 8s ease-in-out infinite alternate;
}

@keyframes starTwinkle {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

.scan-line {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(34, 211, 238, 0) 20%,
        rgba(34, 211, 238, 0.6) 50%,
        rgba(34, 211, 238, 0) 80%,
        transparent 100%);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.3), 0 0 60px rgba(34, 211, 238, 0.1);
    animation: scanDown 8s ease-in-out infinite;
    opacity: 0.5;
}

@keyframes scanDown {
    0% { top: -2px; opacity: 0; }
    5% { opacity: 0.5; }
    95% { opacity: 0.5; }
    100% { top: 100%; opacity: 0; }
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.14;
}

.orb-1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, var(--glow-cyan) 0%, var(--accent-1) 50%, transparent 70%);
    top: -250px; left: -200px;
}

.orb-2 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--glow-purple) 0%, #6d28d9 50%, transparent 70%);
    top: 35%; right: -250px;
}

.orb-3 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--glow-blue) 0%, #1d4ed8 50%, transparent 70%);
    bottom: -150px; left: 25%;
}

.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(3, 7, 18, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s, box-shadow 0.3s;
}

.nav.nav-scrolled {
    background: rgba(3, 7, 18, 0.92);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: height 0.3s;
}

.nav.nav-scrolled .nav-inner {
    height: 48px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-icon-img { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; }
.brand-text { font-size: 16px; font-weight: 600; letter-spacing: -0.3px; }

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

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 12px;
    right: 12px;
    height: 1.5px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}
.hamburger-line {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.nav-hamburger.is-active .hamburger-line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.nav-hamburger.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

main { position: relative; z-index: 1; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero {
    position: relative;
    padding: 140px 24px 80px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-inner {
    max-width: 640px;
    margin: 0 auto;
}

.hero-avatar-wrap {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto 32px;
    animation: heroEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroEntrance {
    from { opacity: 0; transform: translateY(32px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-avatar {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.hero-avatar-ring {
    position: absolute;
    top: -8px; left: -8px; right: -8px; bottom: -8px;
    border-radius: 30px;
    border: 1.5px solid rgba(102, 126, 234, 0.25);
    z-index: 1;
    animation: ringRotate 8s linear infinite;
    background: conic-gradient(from 0deg, rgba(102, 126, 234, 0.3), rgba(168, 85, 247, 0.3), rgba(34, 211, 238, 0.3), rgba(102, 126, 234, 0.3));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    padding: 1.5px;
}

@keyframes ringRotate {
    to { transform: rotate(360deg); }
}

.hero-avatar-pulse {
    position: absolute;
    top: -16px; left: -16px; right: -16px; bottom: -16px;
    border-radius: 34px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    z-index: 0;
    animation: avatarPulse 3s ease-in-out infinite;
}

@keyframes avatarPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

.hero-intro {
    font-size: 15px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
    animation: heroEntrance 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.hero-intro strong {
    color: var(--text-primary);
    font-weight: 700;
}

.hero-title {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    min-height: 2.4em;
    background: linear-gradient(135deg, #e8eaf0 0%, #667eea 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: heroEntrance 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both, gradientShift 6s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-title.typing-active::after {
    content: '|';
    -webkit-text-fill-color: var(--glow-cyan);
    animation: cursorBlink 0.6s step-end infinite;
    font-weight: 300;
    margin-left: 2px;
}

.hero-title.typing-done::after {
    display: none;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto 24px;
    animation: heroEntrance 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.hero-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
    animation: heroEntrance 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.hero-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
    animation: statusPulse 2s ease-in-out infinite;
}

.hero-status-text {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    background: var(--accent-gradient);
    border: 1px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 4px 24px rgba(102, 126, 234, 0.25), 0 0 60px rgba(102, 126, 234, 0.08);
    transition: all 0.3s ease;
    animation: heroEntrance 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.75s both;
    position: relative;
    overflow: hidden;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4), 0 0 80px rgba(102, 126, 234, 0.12);
}

.hero-cta svg {
    animation: ctaBounce 2s ease-in-out 1.5s infinite;
}

@keyframes ctaBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

.reveal-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-section.revealed {
    opacity: 1;
    transform: translateY(0);
}

.products-section {
    padding: 40px 24px 48px;
}

.products-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.card-stagger {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: calc(var(--card-i, 0) * 0.15s);
}

.card-stagger.card-visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 32px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    will-change: transform;
}

.feature-featured {
    padding: 40px;
    position: relative;
}

.feature-featured::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    border-radius: 17px;
    background: conic-gradient(from var(--border-angle, 0deg), transparent 40%, rgba(239, 68, 68, 0.4) 50%, transparent 60%);
    z-index: -1;
    animation: borderRotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-featured:hover::before {
    opacity: 1;
}

@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes borderRotate {
    to { --border-angle: 360deg; }
}

.feature-featured .feature-desc {
    font-size: 16px;
    max-width: 640px;
}

.feature-featured .feature-title {
    font-size: 24px;
}

.holo-shine {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.feature-card > *:not(.holo-shine):not(.feature-card-glow) {
    position: relative;
    z-index: 2;
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.feature-telegram {
    background: rgba(34, 211, 238, 0.02);
    border-color: rgba(34, 211, 238, 0.06);
}

.feature-telegram:hover {
    border-color: rgba(34, 211, 238, 0.18);
    box-shadow: 0 8px 40px rgba(34, 211, 238, 0.06);
}

.feature-detector {
    background: rgba(239, 68, 68, 0.02);
    border-color: rgba(239, 68, 68, 0.06);
}

.feature-detector:hover {
    border-color: rgba(239, 68, 68, 0.18);
    box-shadow: 0 8px 40px rgba(239, 68, 68, 0.06);
}

.feature-card-glow {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-1), var(--accent-2), transparent);
    opacity: 0.4;
}

.feature-card-glow-tg {
    background: linear-gradient(90deg, transparent, var(--glow-cyan), var(--glow-blue), transparent);
}

.feature-card-glow-det {
    background: linear-gradient(90deg, transparent, #ef4444, #f97316, transparent);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(102, 126, 234, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-1);
    flex-shrink: 0;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-icon-tg {
    background: rgba(34, 211, 238, 0.1);
    color: var(--glow-cyan);
}

.feature-icon-det {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.feature-tagline {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 1px;
}

.feature-status {
    margin-left: auto;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green);
    animation: statusPulse 2s ease-in-out infinite;
}

.status-dot-tg { background: var(--glow-cyan); }
.status-dot-det { background: #ef4444; }

@keyframes statusPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
    50% { opacity: 0.6; box-shadow: 0 0 0 3px rgba(74, 222, 128, 0); }
}

.feature-status-live {
    background: rgba(74, 222, 128, 0.08);
    color: var(--green);
    border: 1px solid rgba(74, 222, 128, 0.15);
}

.feature-status-tg {
    background: rgba(34, 211, 238, 0.08);
    color: var(--glow-cyan);
    border: 1px solid rgba(34, 211, 238, 0.15);
}

.feature-status-det {
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.feature-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.feature-capabilities {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}

.cap-tag {
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 6px;
    background: rgba(102, 126, 234, 0.06);
    color: rgba(102, 126, 234, 0.8);
    border: 1px solid rgba(102, 126, 234, 0.1);
    font-weight: 500;
}

.tg-chat-preview {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px;
    margin: 8px 0 12px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    border: 1px solid rgba(34, 211, 238, 0.06);
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    line-height: 1.5;
}
.tg-msg {
    padding: 5px 8px;
    border-radius: 6px;
    max-width: 90%;
}
.tg-msg-user {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.5);
    align-self: flex-start;
}
.tg-msg-grin {
    background: rgba(34, 211, 238, 0.08);
    color: rgba(34, 211, 238, 0.85);
    align-self: flex-end;
    border: 1px solid rgba(34, 211, 238, 0.1);
}
.tg-author {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    opacity: 0.5;
}
.tg-msg-grin .tg-author {
    color: rgba(34, 211, 238, 0.7);
}

.cap-tag-tg {
    background: rgba(34, 211, 238, 0.06);
    color: rgba(34, 211, 238, 0.8);
    border-color: rgba(34, 211, 238, 0.1);
}

.cap-tag-det {
    background: rgba(239, 68, 68, 0.06);
    color: rgba(239, 68, 68, 0.8);
    border-color: rgba(239, 68, 68, 0.1);
}

.feature-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn .btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: scale(0);
    animation: btnRipple 0.6s ease-out forwards;
    pointer-events: none;
}

@keyframes btnRipple {
    to { transform: scale(4); opacity: 0; }
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.35);
    transform: translateY(-1px);
}

.btn-glow {
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.2);
}

.btn-cyan {
    background: linear-gradient(135deg, var(--glow-cyan), var(--glow-blue));
    color: #fff;
}

.btn-cyan:hover {
    box-shadow: 0 4px 20px rgba(34, 211, 238, 0.3);
    transform: translateY(-1px);
}

.btn-glow-cyan {
    box-shadow: 0 2px 10px rgba(34, 211, 238, 0.15);
}

.btn-red {
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #fff;
}

.btn-red:hover {
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3);
    transform: translateY(-1px);
}

.btn-glow-red {
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.15);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-ghost:hover {
    color: var(--text-primary);
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.04);
    transform: translateY(-1px);
}

.trust-bar {
    padding: 8px 24px 32px;
}

.trust-inner {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    opacity: 0.6;
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 12px;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.trust-item:hover {
    opacity: 0.8;
}

.trust-item svg {
    opacity: 0.7;
}

.numbers-section {
    padding: 16px 24px 40px;
}

.stats-inner {
    max-width: 680px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.stat-reveal {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: calc(var(--delay) * 0.1s);
}

.stat-reveal.stat-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.suite-stat {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 18px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.suite-stat::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; right: 0;
    height: 1px;
    width: 300%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
    animation: shimmerLine 4s ease-in-out infinite;
}

@keyframes shimmerLine {
    0% { transform: translateX(-33%); }
    100% { transform: translateX(33%); }
}

.loading-pulse {
    animation: loadingPulse 1.5s ease-in-out infinite;
}
@keyframes loadingPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.suite-stat:hover {
    border-color: rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.suite-stat.stat-glow {
    border-color: rgba(102, 126, 234, 0.35);
    box-shadow: 0 0 24px rgba(102, 126, 234, 0.15), 0 0 48px rgba(168, 85, 247, 0.08);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.suite-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-glow .suite-stat-value {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.suite-stat-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.theme-toggle {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 6px;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    margin-left: 4px;
}
.theme-toggle:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}
.theme-icon-light { display: none; }
.light-mode .theme-icon-dark { display: none; }
.light-mode .theme-icon-light { display: block; }

.light-mode {
    --bg-primary: #f8f9fc;
    --bg-secondary: #eef1f6;
    --bg-card: rgba(0, 0, 0, 0.025);
    --text-primary: #1a1a2e;
    --text-secondary: rgba(0, 0, 0, 0.6);
    --text-muted: rgba(0, 0, 0, 0.4);
    --border-color: rgba(0, 0, 0, 0.08);
}
.light-mode .nav {
    background: rgba(248, 249, 252, 0.85);
    border-bottom-color: rgba(0, 0, 0, 0.06);
}
.light-mode .page-bg { opacity: 0.3; }
.light-mode .hero-avatar-ring {
    border-color: rgba(102, 126, 234, 0.3);
}
.light-mode .feature-card {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(8px);
}
.light-mode .feature-card:hover {
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}
.light-mode .suite-stat {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.06);
}
.light-mode .xbot-feed-preview {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(102, 126, 234, 0.1);
}
.light-mode .feed-card {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.04);
}
.light-mode .feed-text {
    color: rgba(0, 0, 0, 0.55);
}
.light-mode .proof-card {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.08);
}
.light-mode .btn-ghost {
    border-color: rgba(0, 0, 0, 0.12);
    color: var(--text-secondary);
}
.light-mode .hero-cta {
    box-shadow: 0 4px 24px rgba(102, 126, 234, 0.2);
}
.light-mode .footer {
    border-top-color: rgba(0, 0, 0, 0.06);
}
.light-mode .hamburger-line {
    background: var(--text-secondary);
}
.light-mode .theme-toggle {
    border-color: rgba(0, 0, 0, 0.12);
    color: var(--text-secondary);
}
.light-mode .theme-toggle:hover {
    border-color: rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-primary);
}
.light-mode .trust-bar {
    border-color: rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.3);
}
.light-mode .motto-text {
    -webkit-text-fill-color: transparent;
}
.light-mode .nav.nav-scrolled {
    background: rgba(248, 249, 252, 0.95);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
.light-mode .scroll-progress {
    box-shadow: 0 0 8px rgba(102, 126, 234, 0.2);
}
.light-mode .back-to-top {
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
}
.light-mode .cursor-glow {
    background: radial-gradient(circle, rgba(102, 126, 234, 0.04) 0%, transparent 70%);
}
.light-mode .footer-dot {
    background: rgba(0, 0, 0, 0.15);
}
.light-mode .cap-tag {
    background: rgba(102, 126, 234, 0.08);
}
.light-mode .cap-tag-det {
    background: rgba(239, 68, 68, 0.08);
}
.light-mode .tg-chat-preview {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(34, 211, 238, 0.1);
}
.light-mode .tg-msg-user {
    background: rgba(0, 0, 0, 0.04);
    color: rgba(0, 0, 0, 0.55);
}
.light-mode .tg-msg-grin {
    background: rgba(34, 211, 238, 0.1);
    color: rgba(0, 140, 160, 0.9);
    border-color: rgba(34, 211, 238, 0.15);
}
.light-mode .tg-msg-grin .tg-author {
    color: rgba(0, 140, 160, 0.6);
}
.light-mode .cap-tag-tg {
    background: rgba(34, 211, 238, 0.08);
}

.hero-uptime-val {
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s;
}
.hero-uptime-val.uptime-loaded {
    color: var(--glow-cyan);
}

.feature-card.card-stagger.card-visible {
    transform: translateY(var(--parallax-y, 0));
}

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.section-header-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
    animation: statusPulse 2s ease-in-out infinite;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.xbot-feed-preview {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px;
    margin: 8px 0 12px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.06);
    min-height: 40px;
}

.feed-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px;
}

.feed-loading-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-1);
    animation: feedDotPulse 1.2s ease-in-out infinite;
}
.feed-loading-dot:nth-child(2) { animation-delay: 0.2s; }
.feed-loading-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes feedDotPulse {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.feed-card {
    padding: 6px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.feed-card:last-child {
    border-bottom: none;
}

.feed-card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.feed-x-icon {
    font-size: 11px;
    color: var(--text-muted);
}

.feed-handle {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.feed-time {
    font-size: 10px;
    color: var(--text-muted);
    margin-left: auto;
    opacity: 0.6;
}

.feed-text {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feed-score {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 3px;
    margin-top: 4px;
}

.feed-score-high {
    background: rgba(74, 222, 128, 0.1);
    color: var(--green);
}
.feed-score-mid {
    background: rgba(102, 126, 234, 0.1);
    color: var(--accent-1);
}
.feed-score-low {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.feed-empty {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    padding: 12px;
    font-style: italic;
}

.social-proof-section {
    padding: 48px 24px 24px;
}

.social-proof-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.proof-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.proof-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 24px;
    transition: border-color 0.2s, transform 0.2s;
}

.proof-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.proof-text {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-style: italic;
}

.proof-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.proof-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.proof-avatar-alt {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.proof-avatar-tg {
    background: linear-gradient(135deg, var(--glow-cyan), var(--glow-blue));
}

.proof-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.proof-handle {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
}

.motto-section {
    padding: 32px 24px 56px;
    text-align: center;
}

.motto-inner {
    max-width: 600px;
    margin: 0 auto;
}

.motto-text {
    font-size: 24px;
    font-weight: 600;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.motto-sub {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
}

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 28px 24px;
    position: relative;
    z-index: 1;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-text {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

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

.footer-admin {
    color: var(--text-muted) !important;
    opacity: 0.5;
    transition: opacity 0.2s;
}
.footer-admin:hover { opacity: 1; }

.footer-dot {
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

@media (min-width: 768px) {
    .products-inner {
        grid-template-columns: 1fr 1fr;
    }
    .feature-featured {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .hero { padding: 80px 20px 48px; min-height: auto; }
    .hero-avatar-wrap { width: 72px; height: 72px; margin-bottom: 20px; }
    .hero-avatar { width: 72px; height: 72px; border-radius: 18px; }
    .hero-title { letter-spacing: -1px; font-size: 36px; }
    .hero-desc { font-size: 15px; margin-bottom: 20px; }
    .hero-intro { font-size: 12px; margin-bottom: 10px; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .feature-card { padding: 24px 20px; --parallax-y: 0 !important; }
    .feature-featured { padding: 28px 20px; }
    .feature-featured .feature-title { font-size: 20px; }
    .feature-featured .feature-desc { font-size: 14px; }
    .proof-cards { grid-template-columns: 1fr; gap: 12px; }
    .social-proof-section { padding: 36px 16px 16px; }
    .nav-hamburger { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(3, 7, 18, 0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 8px 16px 16px;
        gap: 2px;
    }
    .light-mode .nav-links { background: rgba(248, 249, 252, 0.95); }
    .nav-links.nav-open { display: flex; }
    .nav-link { font-size: 14px; padding: 10px 14px; width: 100%; }
    .theme-toggle { margin-left: 0; margin-top: 4px; align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .cursor-glow { display: none; }
    .scroll-progress { transition: none; }
}

@media (max-width: 480px) {
    .hero { padding: 72px 16px 40px; }
    .hero-title { font-size: 28px; }
    .hero-desc { font-size: 14px; }
    .hero-status { margin-bottom: 16px; }
    .footer-inner { flex-direction: column; gap: 14px; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
    .proof-text { font-size: 13px; }
    .feed-card { padding: 5px 6px; }
    .back-to-top { bottom: 64px; right: 20px; width: 36px; height: 36px; }
    .cursor-glow { display: none; }
}
