@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

:root {
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html, body {
    width: 100vw; height: 100vh; overflow: hidden;
    background: #0a0a1a; font-family: var(--font); color: #e2e8f0;
    -webkit-font-smoothing: antialiased;
}


#slide-nav {
    position: fixed; right: 20px; top: 50%; transform: translateY(-50%);
    z-index: 100; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
#nav-dots { display: flex; flex-direction: column; gap: 10px; }
.nav-dot {
    width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.2);
    background: transparent; cursor: pointer; padding: 0; transition: all 0.3s ease; position: relative;
}
.nav-dot:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.1); transform: scale(1.3); }
.nav-dot.active { border-color: #818cf8; background: #818cf8; box-shadow: 0 0 8px rgba(129,140,248,0.4); }
.nav-dot::after {
    content: attr(title); position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
    white-space: nowrap; font-size: 11px; color: rgba(255,255,255,0.6);
    background: rgba(15,15,30,0.9); padding: 4px 10px; border-radius: 6px;
    pointer-events: none; opacity: 0; transition: opacity 0.2s; font-family: var(--font);
}
.nav-dot:hover::after { opacity: 1; }

.slide {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), visibility 0.6s;
}
.slide.active { opacity: 1; visibility: visible; }

.bg-decoration { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }

.slide-content {
    position: relative; z-index: 1; max-width: 1200px; width: 90%; padding: 40px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.center-content {
    text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center;
}

.hero-title {
    font-size: 80px; font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #c7d2fe 50%, #a78bfa 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    line-height: 1.1; margin-bottom: 20px; letter-spacing: -2px;
}
.hero-subtitle {
    font-size: 26px; color: rgba(255,255,255,0.6); font-weight: 300;
    margin-bottom: 40px; letter-spacing: 2px;
}
.hero-hint {
    font-size: 14px; color: rgba(255,255,255,0.25); margin-top: 60px; letter-spacing: 1px;
    animation: pulse-hint 2s ease-in-out infinite;
}
@keyframes pulse-hint { 0%, 100% { opacity: 0.25; } 50% { opacity: 0.6; } }

.hero-tags { display: flex; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; justify-content: center; }
.tag {
    --c: 99,102,241;
    padding: 8px 24px; border-radius: 100px;
    background: rgba(var(--c), 0.12); border: 1px solid rgba(var(--c), 0.4);
    font-size: 15px; font-weight: 500; color: #e2e8f0; letter-spacing: 1px;
    box-shadow: 0 0 14px -8px rgba(var(--c), 0.55);
    animation: tag-breathe 3.6s ease-in-out infinite;
}

@keyframes tag-breathe {
    0%, 100% {
        box-shadow: 0 0 12px -8px rgba(var(--c), 0.4);
        border-color: rgba(var(--c), 0.35);
    }
    50% {
        box-shadow: 0 0 22px -4px rgba(var(--c), 0.85);
        border-color: rgba(var(--c), 0.7);
    }
}

.doc-icon {
    animation: doc-float 4.2s ease-in-out infinite;
    animation-delay: var(--d, 0s);
    transform-origin: center center;
    will-change: transform;
}
@keyframes doc-float {
    0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
    50% { transform: translateY(-10px) rotate(calc(var(--r, 0deg) + 2deg)); }
}

.kb-step {
    width: 150px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(var(--c, 255,255,255), 0.35);
    box-shadow: 0 0 14px -8px rgba(var(--c, 255,255,255), 0.5);
    display: flex; flex-direction: column; gap: 2px;
    text-align: left;
    position: relative;
    isolation: isolate;
}
.kb-step::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 2px;
    background: conic-gradient(
        from var(--kb-angle, 0deg),
        transparent 0deg,
        rgba(var(--c), 1) 30deg,
        transparent 110deg
    );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
            mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    animation: kb-step-march 8s linear infinite;
    animation-delay: var(--step-delay, 0s);
    filter: drop-shadow(0 0 6px rgba(var(--c), 0.9));
}
@property --kb-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
@keyframes kb-step-march {
    0%      { opacity: 1; --kb-angle: 0deg; }
    18.75%  { opacity: 1; --kb-angle: 360deg; }
    18.76%  { opacity: 0; --kb-angle: 360deg; }
    100%    { opacity: 0; --kb-angle: 360deg; }
}
.kb-step-num {
    position: absolute; top: -8px; right: -8px;
    width: 22px; height: 22px; border-radius: 50%;
    background: rgba(var(--c, 255,255,255), 0.18);
    border: 1px solid rgba(var(--c, 255,255,255), 0.6);
    color: rgba(var(--c, 255,255,255), 1);
    font-size: 11px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.kb-step-title {
    font-size: 13px; font-weight: 600; color: #e2e8f0;
}
.kb-step-desc {
    font-size: 11px; color: rgba(255,255,255,0.5);
}
.kb-arrow {
    width: 2px; height: 14px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.25), rgba(255,255,255,0.05));
    position: relative;
}
.kb-arrow::after {
    content: '';
    position: absolute; bottom: -3px; left: -3px;
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid rgba(255,255,255,0.25);
}

.section-title {
    font-size: 48px; font-weight: 700;
    background: linear-gradient(135deg, #fff, #c7d2fe);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    margin-bottom: 12px; letter-spacing: -1px;
}
.section-desc {
    font-size: 18px; color: rgba(255,255,255,0.5); font-weight: 300;
    margin-bottom: 48px; letter-spacing: 0.5px;
}

.two-col { display: flex; flex-direction: row; gap: 60px; align-items: center; width: 100%; }
.col-text { flex: 1; }
.col-visual { flex: 1; display: flex; justify-content: center; }

.feature-list { list-style: none; padding: 0; }
.feature-list li {
    font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.8;
    padding: 8px 0; display: flex; align-items: center; gap: 12px;
}
.bullet { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.bullet.green { background: #10b981; }
.bullet.purple { background: #a78bfa; }
.bullet.indigo { background: #6366f1; }
.bullet.orange { background: #fb923c; }
.bullet.teal { background: #14b8a6; }
.bullet.pink { background: #f472b6; }

.capability-grid {
    display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px;
    width: 100%; justify-content: center;
}
.cap-card {
    --c: 255,255,255;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(var(--c), 0.28);
    border-radius: 12px; padding: 24px 16px; text-align: center;
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), border-color 0.3s, box-shadow 0.3s;
    width: 220px; flex-shrink: 0;
    box-shadow: 0 0 14px -8px rgba(var(--c), 0.35);
    transform: rotate(var(--rot, 0deg)) translateY(var(--ty, 0px));
}
.cap-card:hover {
    transform: rotate(0deg) translateY(-6px);
    border-color: rgba(var(--c), 0.55);
    box-shadow: 0 0 22px -6px rgba(var(--c), 0.55);
}
.cap-card .cap-icon { font-size: 28px; margin-bottom: 10px; }
.cap-card h4 { font-size: 13px; font-weight: 600; color: #e2e8f0; margin-bottom: 4px; }
.cap-card p { font-size: 11px; color: rgba(255,255,255,0.4); line-height: 1.4; }

.scenario-box {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px; padding: 32px; margin-top: 24px; max-width: 700px;
}
.scenario-box .chat-line {
    display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start;
}
.chat-line:last-child { margin-bottom: 0; }
.chat-role {
    font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
    min-width: 40px; padding-top: 2px;
}
.chat-role.user { color: #a78bfa; }
.chat-role.ai { color: #6ee7b7; }
.chat-text { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.6; }
.chat-text code {
    background: rgba(99,102,241,0.15); padding: 2px 6px; border-radius: 4px;
    font-size: 12px; color: #a5b4fc;
}

.security-layers { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 20px; }
.security-card {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px; padding: 36px 28px; text-align: center; width: 280px;
    transition: transform 0.3s, border-color 0.3s;
}
.security-card:hover { transform: translateY(-4px); border-color: rgba(99,102,241,0.3); }
.security-card .sec-icon { font-size: 32px; margin-bottom: 16px; }
.security-card h3 { font-size: 16px; font-weight: 600; color: #e2e8f0; margin-bottom: 8px; }
.security-card p { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.5; }
.security-arrow { font-size: 24px; color: rgba(255,255,255,0.15); }

.cta-features { display: flex; align-items: center; gap: 40px; margin: 40px 0; justify-content: center; }
.cta-item { text-align: center; }
.cta-number {
    display: block; font-size: 48px; font-weight: 800;
    background: linear-gradient(135deg, #818cf8, #a78bfa);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.cta-label { font-size: 14px; color: rgba(255,255,255,0.5); margin-top: 4px; display: block; }
.cta-divider { width: 1px; height: 50px; background: rgba(255,255,255,0.1); }
.cta-tagline { font-size: 16px; color: rgba(255,255,255,0.35); margin-top: 20px; letter-spacing: 1px; }

.anim-fade-up {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
    transition-delay: var(--delay, 0s);
}
.slide.active .anim-fade-up { opacity: 1; transform: translateY(0); }

.particle { animation: float 6s ease-in-out infinite; }
.p1 { animation-delay: 0s; } .p2 { animation-delay: 1s; } .p3 { animation-delay: 2s; }
.p4 { animation-delay: 3s; } .p5 { animation-delay: 0.5s; } .p6 { animation-delay: 2.5s; }
@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-20px) translateX(10px); }
    50% { transform: translateY(-10px) translateX(-15px); }
    75% { transform: translateY(-25px) translateX(5px); }
}

#rotate-prompt {
    display: none; position: fixed; inset: 0; z-index: 9999;
    background: #0a0a1a; color: #e2e8f0;
    flex-direction: column; align-items: center; justify-content: center;
    font-family: var(--font); text-align: center; gap: 16px;
}
#rotate-prompt .rotate-icon { font-size: 48px; animation: rotate-hint 2s ease-in-out infinite; }
@keyframes rotate-hint { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(90deg); } }
@media (max-aspect-ratio: 1/1) { #rotate-prompt { display: flex; } }
