:root {
    --primary: #2A82E4;
    --primary-dark: #1e6ad4;
    --secondary: #10b981;
    --accent: #8b5cf6;
    --dark-bg: #020617;
    --card-bg: rgba(30, 41, 59, 0.5);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
    --glow: rgba(42, 130, 228, 0.5);
}

::selection {
    background: rgba(42, 130, 228, 0.3);
    color: #fff;
    text-shadow: 0 0 5px rgba(42, 130, 228, 0.5);
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #020617; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #475569; }

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

html:not(.no-loader) body {
    overflow: hidden;
}

.loader-wrapper {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #020617;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transition: opacity 0.8s ease-out;
}

.no-loader #loader { display: none !important; }


.loader-logo-area {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
}

.loader-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1.5px solid transparent;
    transition: opacity 0.5s ease;
}

.loader-orbit.inner {
    width: 160px;
    height: 160px;
    margin: -80px 0 0 -80px;
    border-color: rgba(42, 130, 228, 0.2);
    border-top-color: var(--primary);
    border-right-color: rgba(42, 130, 228, 0.5);
    animation: spin-cw 2.5s linear infinite;
}

.loader-orbit.outer {
    width: 185px;
    height: 185px;
    margin: -92.5px 0 0 -92.5px;
    border-color: rgba(42, 130, 228, 0.08);
    border-top-color: rgba(42, 130, 228, 0.4);
    animation: spin-ccw 4s linear infinite;
}

@keyframes spin-cw {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spin-ccw {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

.loader-logo {
    width: 110px;
    height: 110px;
    filter: drop-shadow(0 0 40px rgba(42, 130, 228, 0.35));
    animation: logoReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes logoReveal {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.loader-brand {
    display: flex;
    align-items: baseline;
    letter-spacing: 0.35em;
    font-size: 1.6rem;
    font-weight: 600;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.loader-brand-main { color: #fff; }
.loader-brand-pro { color: var(--primary); font-size: 0.85rem; margin-left: 0.6rem; letter-spacing: 0.2em; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.loader-status-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    animation: fadeInUp 0.6s ease 0.5s both;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-progress-wrapper {
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.loader-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.loader-progress-text {
    font-size: 0.8rem;
    color: #64748b;
}

.loader-progress-percent {
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary);
}

.loader-progress-track {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    overflow: hidden;
}

.loader-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary) 0%, #3b82f6 100%);
    border-radius: 2px;
    transition: width 0.2s ease-out;
    position: relative;
}

.loader-progress-bar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    animation: shimmer 1.8s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.loader-status-text {
    font-size: 0.85rem;
    color: #475569;
    letter-spacing: 0.02em;
}

.loader-complete-area {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    position: relative;
    z-index: 10;
}

.loader-complete-area.show {
    display: flex !important;
    opacity: 1 !important;
    transform: translateY(0);
}

.loader-complete-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.loader-complete-subtitle {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.loader-complete-divider {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin-bottom: 1.5rem;
}

.loader-complete-thanks {
    font-size: 0.85rem;
    color: #475569;
}

.loader-complete-thanks span {
    color: var(--primary);
    font-weight: 500;
}

#canvas-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.bg-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 50% 100%, rgba(42, 130, 228, 0.05), transparent 60%); z-index: -1; pointer-events: none; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.text-gradient { background: linear-gradient(135deg, var(--primary) 0%, #60a5fa 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.btn { display: inline-block; padding: 0.8rem 2rem; font-weight: 600; text-decoration: none; transition: all 0.3s ease; font-size: 0.9rem; }
.btn-primary { background: var(--primary); color: white; clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 0 30px var(--glow); }
.btn-nav-clean { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: #fff; border-radius: 6px; display: flex; align-items: center; gap: 8px; }
.btn-nav-clean:hover { background: rgba(42, 130, 228, 0.1); border-color: var(--primary); box-shadow: 0 0 15px rgba(42, 130, 228, 0.2); }
.btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--text-main); clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%); }
.btn-outline:hover { background: rgba(42, 130, 228, 0.1); }

.navbar { position: fixed; top: 0; width: 100%; z-index: 1000; background: rgba(2, 6, 23, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.05); height: 70px; display: flex; align-items: center; }
.nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-size: 1.3rem; font-weight: 700; color: white; text-decoration: none; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-links { display: flex; gap: 2.5rem; flex-shrink: 0; transition: transform 0.3s ease; align-items: center; height: 100%; }
.nav-link { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.3s; white-space: nowrap; display: flex; align-items: center; height: 100%; }
.nav-link:hover { color: #fff; }
.nav-link.active { color: #fff !important; }
.mobile-menu-btn { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

.hero { min-height: 100vh; display: flex; align-items: center; position: relative; padding-top: 60px; }
.hero-content { position: relative; z-index: 10; max-width: 800px; }
.hero-badge { background: rgba(42, 130, 228, 0.1); border: 1px solid rgba(42, 130, 228, 0.3); color: var(--primary); padding: 0.5rem 1rem; font-size: 0.8rem; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 2rem; border-radius: 4px; }
.hero-title { font-size: 4.5rem; line-height: 1.1; font-weight: 800; margin-bottom: 1.5rem; letter-spacing: -2px; }
.hero-subtitle { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 3rem; max-width: 600px; }
.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0.7; }
.scroll-indicator span { font-size: 0.7rem; letter-spacing: 3px; color: var(--text-muted); }
.mouse { width: 26px; height: 40px; border: 2px solid var(--text-muted); border-radius: 15px; position: relative; }
.wheel { width: 4px; height: 8px; background: white; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); border-radius: 2px; animation: scrollWheel 1.5s infinite; }

@keyframes scrollWheel { 0% { top: 6px; opacity: 1; } 100% { top: 20px; opacity: 0; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-buttons { display: flex; gap: 1.5rem; flex-wrap: wrap; }

.trusted-section { padding: 2rem 0; background: rgba(255,255,255,0.02); border-bottom: 1px solid rgba(255,255,255,0.05); text-align: center; }
.trusted-label { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 1px; }
.trusted-logos { display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap; opacity: 0.6; }
.logo-item { font-size: 1.2rem; font-weight: 600; color: #fff; display: flex; align-items: center; gap: 10px; }

.stealth-section { padding: 8rem 0; background: rgba(2, 6, 23, 0.6); }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.icon-box { width: 50px; height: 50px; background: rgba(42, 130, 228, 0.1); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.2rem; border: 1px solid rgba(42, 130, 228, 0.2); }
.feature-list { margin-top: 4rem; }
.feature-item { display: flex; gap: 1.5rem; margin-bottom: 2rem; }
.item-text h4 { margin-bottom: 0.5rem; font-weight: 600; }
.item-text p { color: var(--text-muted); font-size: 0.95rem; }

.holo-card { background: rgba(15, 23, 42, 0.9); border: 1px solid var(--primary); padding: 2rem; border-radius: 4px; position: relative; box-shadow: 0 0 30px rgba(42, 130, 228, 0.15); }
.holo-header { font-family: 'Fira Code', monospace; color: var(--primary); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.status-dot { width: 8px; height: 8px; background: var(--secondary); border-radius: 50%; }
.blink { animation: blink 2s infinite; }
.metric-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; font-family: 'Fira Code', monospace; font-size: 0.85rem; color: var(--text-muted); }
.bar-bg { flex: 1; height: 4px; background: rgba(255,255,255,0.1); }
.bar-fill { height: 100%; background: var(--primary); transition: width 0.5s ease; }
.log-window { margin-top: 1.5rem; font-family: 'Fira Code', monospace; font-size: 0.8rem; color: #4ade80; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem; opacity: 0.8; }

.comparison-section { padding: 8rem 0; background: #080808; }
.comparison-section.pricing-page { background: var(--dark-bg); }
.comparison-table-wrapper { overflow-x: auto; margin-top: 4rem; border: 1px solid #333; border-radius: 8px; background: #0f0f0f; }
.comparison-table { width: 100%; border-collapse: collapse; text-align: left; }
.comparison-table th, .comparison-table td { padding: 1.5rem; border-bottom: 1px solid #222; white-space: nowrap; }
.comparison-table th { background: #111; color: #fff; font-weight: 600; text-transform: uppercase; font-size: 0.9rem; }
.comparison-table .highlight-col { background: rgba(42, 130, 228, 0.05); color: var(--primary); border-left: 1px solid var(--primary); border-right: 1px solid var(--primary); }
.comparison-table .highlight-cell { background: rgba(42, 130, 228, 0.05); color: var(--primary); font-weight: 600; border-left: 1px solid rgba(42, 130, 228, 0.2); border-right: 1px solid rgba(42, 130, 228, 0.2); }

.section-padding { padding: 6rem 0; }
.section-header { margin-bottom: 4rem; }
.section-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.text-center { text-align: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.tech-card { background: var(--card-bg); border: 1px solid var(--border); padding: 2.5rem; border-radius: 8px; transition: transform 0.2s; }
.tech-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.card-icon-wrapper { font-size: 2rem; color: var(--primary); margin-bottom: 1.5rem; }
.tech-card h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.tech-card p { font-size: 0.95rem; color: var(--text-muted); }

.scenarios-section { padding: 8rem 0; }
.bg-darker { background: #0a0a0c; }
.scenario-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.scenario-card { background: linear-gradient(180deg, #111, #0a0a0a); border: 1px solid #333; padding: 3rem; transition: all 0.3s; }
.scenario-card:hover { border-color: var(--primary); transform: translateY(-5px); box-shadow: 0 10px 40px rgba(42, 130, 228, 0.1); }
.scenario-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 1.5rem; }

.tech-section { padding: 8rem 0; background: #0a0e17; }
.terminal-window { background: #0f172a; border: 1px solid #334155; border-radius: 6px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); font-family: 'Fira Code', monospace; max-width: 900px; margin: 0 auto; }
.terminal-header { background: #1e293b; padding: 0.8rem; display: flex; gap: 8px; align-items: center; border-bottom: 1px solid #334155; }
.terminal-body { padding: 2rem; min-height: 300px; color: #d4d4d4; }
.code-line { display: block; margin-bottom: 0.5rem; }
.c-green { color: #22c55e; } .c-blue { color: #3b82f6; } .c-white { color: #f8fafc; } .c-yellow { color: #eab308; }

.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 1000px; margin: 0 auto; }
.faq-item { background: rgba(255,255,255,0.03); padding: 2rem; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); }
.faq-item h4 { color: var(--primary); margin-bottom: 1rem; font-size: 1.1rem; }
.faq-item p { color: var(--text-muted); font-size: 0.95rem; }

.team-section { padding: 6rem 0; overflow: hidden; }
.team-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    overflow: visible;
}
.team-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(42, 130, 228, 0.15);
    border: 1px solid rgba(42, 130, 228, 0.3);
    border-radius: 50%;
    color: #2A82E4;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.team-nav-btn:hover {
    background: rgba(42, 130, 228, 0.3);
    border-color: rgba(42, 130, 228, 0.5);
    box-shadow: 0 0 20px rgba(42, 130, 228, 0.3);
}
.team-nav-prev { left: -30px; }
.team-nav-next { right: -30px; }
.team-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}
.team-page-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}
.team-page-dot:hover {
    background: rgba(42, 130, 228, 0.5);
}
.team-page-dot.active {
    background: #2A82E4;
    box-shadow: 0 0 10px rgba(42, 130, 228, 0.5);
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}
.team-card {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.team-card:hover {
    border-color: rgba(42, 130, 228, 0.4);
    box-shadow: 0 20px 40px -10px rgba(42, 130, 228, 0.15);
}
.team-card:hover::before { opacity: 1; }

.team-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(42, 130, 228, 0.2) 0%, rgba(42, 130, 228, 0.05) 100%);
    border: 3px solid rgba(42, 130, 228, 0.3);
    border-radius: 50%;
    overflow: hidden;
    opacity: 1;
    transform: scale(1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.team-avatar img {
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--avatar-scale, 180%);
    height: auto;
    transform: translate(calc(-50% + var(--avatar-x, 0%)), calc(-50% + var(--avatar-y, 0%)));
    transition: transform 0.5s ease, width 0.5s ease;
}
.team-card:hover .team-avatar {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(42, 130, 228, 0.25);
}

.team-full-photo {
    position: absolute;
    top: 5%;
    left: 5%;
    right: 5%;
    bottom: 12%;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(42, 130, 228, 0.4);
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    z-index: 5;
    background: #0a0a0c;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.team-full-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.team-card.expanded {
    border-color: var(--primary);
    box-shadow: 0 25px 50px -12px rgba(42, 130, 228, 0.25);
    z-index: 10;
}
.team-card.expanded::before { opacity: 1; }

.team-card.expanded .team-avatar {
    opacity: 0;
    transform: scale(0.8);
}

.team-card.expanded .team-info {
    opacity: 0;
}

.team-card.expanded .team-full-photo {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}
.team-card.expanded .team-expand-icon i {
    transform: rotate(180deg);
}

.team-expand-icon {
    position: absolute;
    bottom: 0.8rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary);
    opacity: 0.5;
    font-size: 0.75rem;
    transition: opacity 0.3s ease;
}
.team-expand-icon i {
    transition: transform 0.4s ease;
}
.team-card:hover .team-expand-icon { opacity: 1; }

.team-info { padding-bottom: 1rem; transition: opacity 0.3s ease; }
.team-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}
.team-role {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}
.team-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-large { background: #050507; border-top: 1px solid rgba(255,255,255,0.1); padding: 5rem 0 2rem; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand .logo { margin-bottom: 1rem; justify-content: flex-start; }
.footer-desc { color: var(--text-muted); font-size: 0.9rem; max-width: 300px; line-height: 1.6; }
.footer-col h4 { color: #fff; margin-bottom: 1.5rem; font-size: 1rem; }
.footer-col a { display: block; color: var(--text-muted); text-decoration: none; margin-bottom: 0.8rem; font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; }
.icp-link { color: #64748b; font-size: 0.85rem; text-decoration: none; transition: color 0.2s; }
.icp-link:hover { color: var(--primary); }

.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(5px); z-index: 2000; display: none; opacity: 0; transition: opacity 0.3s; justify-content: center; align-items: center; }
.modal-content { background: #0f172a; border: 1px solid #334155; border-radius: 8px; width: 90%; max-width: 800px; max-height: 90vh; overflow-y: auto; position: relative; transform: scale(0.9); transition: transform 0.3s; box-shadow: 0 20px 50px rgba(0,0,0,0.5); color: #cbd5e1; }
.modal-header { padding: 1.5rem; border-bottom: 1px solid #334155; display: flex; justify-content: space-between; align-items: center; background: #1e293b; position: sticky; top: 0; z-index: 10; }
.modal-title { font-size: 1.2rem; font-weight: 600; color: #fff; }
.modal-close { background: transparent; border: none; color: #94a3b8; font-size: 1.5rem; cursor: pointer; transition: color 0.2s; }
.modal-close:hover { color: #fff; }
.modal-body { padding: 2rem; line-height: 1.7; }
.modal-body h2 { color: #2A82E4; font-size: 1.2rem; margin: 1.5rem 0 1rem; }
.modal-body p, .modal-body ul { margin-bottom: 1rem; font-size: 0.95rem; }
.modal-body ul { padding-left: 1.5rem; }


.legal-doc-content { max-height: 60vh; overflow-y: auto; color: #94a3b8; }
.legal-doc-content h2 { color: #60a5fa; font-size: 1.1rem; margin: 1.5rem 0 0.8rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(42, 130, 228, 0.2); }
.legal-doc-content h2:first-of-type { margin-top: 1rem; }
.legal-doc-content p { margin-bottom: 0.8rem; text-align: justify; }
.legal-doc-content ul { margin-bottom: 1rem; padding-left: 1.5rem; }
.legal-doc-content li { margin-bottom: 0.5rem; }
.legal-doc-content strong { color: #cbd5e1; }
.modal-overlay.active { display: flex; opacity: 1; }
.modal-overlay.active .modal-content { transform: scale(1); }
.modal-content::-webkit-scrollbar { width: 8px; }
.modal-content::-webkit-scrollbar-track { background: #0f172a; }
.modal-content::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }

.accordion-item { border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 1rem; }
.accordion-item:last-child { border-bottom: none; }
.accordion-header { display: flex; align-items: center; cursor: pointer; padding: 1rem; background: rgba(255,255,255,0.03); border-radius: 6px; transition: background 0.2s; }
.accordion-header:hover { background: rgba(255,255,255,0.05); }
.accordion-icon { margin-right: 10px; color: var(--text-muted); transition: transform 0.3s; }
.accordion-item.active .accordion-icon { transform: rotate(90deg); color: var(--primary); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; padding: 0 1rem; }
.accordion-item.active .accordion-content { max-height: 500px; padding-top: 1rem; padding-bottom: 1rem; }

.lightbox-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 3000; display: none; justify-content: center; align-items: center; cursor: zoom-out; }
.lightbox-overlay.active { display: flex; }
.lightbox-img { max-width: 90%; max-height: 90%; border-radius: 4px; box-shadow: 0 0 50px rgba(0,0,0,0.5); cursor: grab; transition: transform 0.1s; transform-origin: center center; }
.lightbox-img:active { cursor: grabbing; }

.fade-in-up { opacity: 0; transform: translateY(20px); animation: fadeInUp 0.8s forwards; }
.fade-in-left { opacity: 0; transform: translateX(-30px); animation: fadeIn 0.8s forwards; }
.fade-in-right { opacity: 0; transform: translateX(30px); animation: fadeIn 0.8s forwards; }
.delay-1 { animation-delay: 0.1s; } .delay-2 { animation-delay: 0.2s; } .delay-3 { animation-delay: 0.3s; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; transform: translateX(0); } }

.scroll-reveal {
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal[data-direction="left"] { transform: translateX(-80px); }
.scroll-reveal[data-direction="right"] { transform: translateX(80px); }
.scroll-reveal[data-direction="up"] { transform: translateY(60px); }
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateX(0) translateY(0);
}
html.no-loader .scroll-reveal { opacity: 1; transform: none; }

.page-header { padding-top: 160px; padding-bottom: 60px; text-align: center; }
.page-title { font-size: 3rem; font-weight: 700; margin-bottom: 1rem; background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.page-subtitle { color: #94a3b8; font-size: 1.1rem; max-width: 700px; margin: 0 auto; }

.timeline-container { max-width: 800px; margin: 0 auto; padding: 2rem; position: relative; }
.timeline-container::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50px; width: 2px; background: rgba(42, 130, 228, 0.2); }
.timeline-item { margin-bottom: 4rem; position: relative; padding-left: 80px; }
.timeline-dot { position: absolute; left: 41px; top: 0; width: 20px; height: 20px; background: #0f172a; border: 2px solid var(--primary); border-radius: 50%; z-index: 2; box-shadow: 0 0 10px rgba(42, 130, 228, 0.5); }
.version-tag { display: inline-block; background: rgba(42, 130, 228, 0.15); color: var(--primary); padding: 0.4rem 1rem; border-radius: 4px; font-family: 'Fira Code', monospace; font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; border: 1px solid rgba(42, 130, 228, 0.3); }
.timeline-content { background: rgba(30, 41, 59, 0.4); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 8px; padding: 1.5rem; transition: transform 0.2s; }
.timeline-content:hover { transform: translateX(5px); border-color: rgba(42, 130, 228, 0.3); }
.timeline-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.timeline-date-badge { color: #94a3b8; font-size: 0.9rem; font-family: 'Fira Code', monospace; font-weight: 600; }
.change-list { list-style: none; padding: 0; }
.change-list li { margin-bottom: 1.2rem; display: flex; gap: 0.8rem; position: relative; color: #cbd5e1; font-size: 0.95rem; line-height: 1.6; }
.change-list li i { position: relative; top: 4px; font-size: 0.75rem; flex-shrink: 0; }
.change-item-content { flex: 1; }
.change-title { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.4rem; }
.change-title strong { color: #fff; font-weight: 600; }
.change-detail { color: #94a3b8; font-size: 0.85rem; line-height: 1.5; margin-left: 0; padding-left: 0; margin-top: 0.3rem; }
.tag-new { color: #10b981; } .tag-fix { color: #3b82f6; } .tag-opt { color: #a855f7; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto 6rem; padding: 0 2rem; }
.feature-card { background: rgba(30, 41, 59, 0.4); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 12px; padding: 2.5rem; transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s, background 0.3s; position: relative; overflow: hidden; }
.feature-card:hover { transform: translateY(-5px); border-color: var(--primary); background: linear-gradient(145deg, rgba(30, 41, 59, 0.7) 0%, rgba(42, 130, 228, 0.1) 100%); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5); }
.feature-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 1.5rem; display: inline-block; padding: 15px; background: rgba(42, 130, 228, 0.1); border-radius: 12px; }
.feature-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; color: #fff; }
.feature-desc { color: #94a3b8; line-height: 1.6; font-size: 0.95rem; }
.section-divider { text-align: center; margin: 4rem 0 2rem; position: relative; }
.section-divider span { background: #020617; padding: 0 1rem; color: var(--primary); font-family: 'Fira Code', monospace; font-weight: bold; position: relative; z-index: 1; }
.section-divider::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translateX(-50%); width: 200px; height: 1px; background: rgba(42, 130, 228, 0.3); z-index: 0; }

.whitepaper-content { max-width: 900px; margin: 0 auto; padding: 160px 2rem 4rem; color: #cbd5e1; }
.wp-section { margin-bottom: 5rem; }
.wp-title { color: #fff; font-size: 2.5rem; font-weight: 700; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(42, 130, 228, 0.3); background: linear-gradient(135deg, #fff 0%, #94a3b8 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.wp-h3 { color: #2A82E4; font-size: 1.5rem; margin: 2.5rem 0 1.2rem; display: flex; align-items: center; gap: 10px; }
.wp-h3::before { content: ''; display: block; width: 4px; height: 24px; background: #2A82E4; border-radius: 2px; }
.wp-p { margin-bottom: 1.2rem; line-height: 1.8; text-align: justify; font-size: 1.05rem; }
.wp-list { list-style: none; padding-left: 0; margin-bottom: 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; }
.wp-list li { background: rgba(255,255,255,0.03); padding: 1rem; border-radius: 6px; border: 1px solid rgba(255,255,255,0.05); transition: transform 0.2s; }
.wp-list li:hover { transform: translateX(5px); border-color: rgba(42, 130, 228, 0.3); }
.wp-list li strong { color: #60a5fa; display: block; margin-bottom: 0.3rem; }
.code-block { background: #0f172a; padding: 1.5rem; border-radius: 8px; border: 1px solid #334155; font-family: 'Fira Code', monospace; font-size: 0.9rem; color: #e2e8f0; margin: 2rem 0; overflow-x: auto; box-shadow: 0 4px 20px rgba(0,0,0,0.3); white-space: pre; }
.code-block::-webkit-scrollbar { height: 8px; }
.code-block::-webkit-scrollbar-track { background: #1e293b; }
.code-block::-webkit-scrollbar-thumb { background: #475569; border-radius: 4px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 3rem; color: #94a3b8; text-decoration: none; font-weight: 500; transition: color 0.2s; padding: 0.5rem 1rem; background: rgba(255,255,255,0.03); border-radius: 4px; }
.back-link:hover { color: #2A82E4; background: rgba(42, 130, 228, 0.1); }

@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .split-layout { grid-template-columns: 1fr; }
    .features-grid, .scenario-grid, .grid-3, .faq-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-brand { grid-column: span 2; }
    .mobile-menu-btn { display: block; z-index: 1001; }
    .nav-links { position: fixed; top: 0; right: -100%; width: 80%; max-width: 300px; height: 100vh; background: #0f172a; flex-direction: column; padding: 5rem 2rem; gap: 0.5rem; border-left: 1px solid #334155; box-shadow: -10px 0 30px rgba(0,0,0,0.5); align-items: flex-start; }
    .nav-links.active { right: 0; }
    .nav-link { height: auto; width: 100%; padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.03); }
    .nav-links .btn { margin-top: auto; width: 100%; text-align: center; justify-content: center; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 0.95rem; line-height: 1.6; }
    .section-padding, .stealth-section, .comparison-section, .scenarios-section, .tech-section { padding: 3rem 0; }
    .section-title { font-size: 1.75rem; }
    .container { padding: 0 1rem; }
    
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
    .feature-card { padding: 0.8rem; }
    .feature-icon { width: 32px; height: 32px; font-size: 0.9rem; margin-bottom: 0.6rem; }
    .feature-title { font-size: 0.8rem; margin-bottom: 0.4rem; }
    .feature-desc { font-size: 0.7rem; line-height: 1.4; }
    
    .faq-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
    .faq-item { padding: 0.8rem; }
    .faq-question { font-size: 0.75rem; margin-bottom: 0.4rem; }
    .faq-answer { font-size: 0.68rem; line-height: 1.4; }
    
    .scenario-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
    .scenario-card { padding: 0.8rem; }
    .scenario-card h4 { font-size: 0.8rem; margin-bottom: 0.4rem; }
    .scenario-card p { font-size: 0.68rem; line-height: 1.4; }
    .scenario-icon { width: 32px; height: 32px; font-size: 0.9rem; margin-bottom: 0.6rem; }
    
    .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
    .grid-3 > div { padding: 0.8rem; }
    .grid-3 .compliance-icon { width: 32px; height: 32px; font-size: 0.9rem; margin-bottom: 0.5rem; }
    .grid-3 h4 { font-size: 0.8rem; margin-bottom: 0.3rem; }
    .grid-3 p { font-size: 0.68rem; line-height: 1.4; }
    
    .split-layout { gap: 1.5rem; }
    .stealth-section .section-title { font-size: 1.3rem; }
    .stealth-section .lead { font-size: 0.8rem; }
    .stealth-feature { padding: 0.8rem; margin-bottom: 0.6rem; }
    .stealth-feature h4 { font-size: 0.85rem; }
    .stealth-feature p { font-size: 0.72rem; }
    
    .terminal-window { display: none !important; }
    .team-section { padding: 3rem 0; }
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; max-width: 100%; }
    .team-card { padding: 1.2rem 0.8rem; }
    .team-avatar { width: 60px; height: 60px; margin-bottom: 0.8rem; }
    .team-name { font-size: 0.9rem; }
    .team-role { font-size: 0.65rem; margin-bottom: 0.6rem; letter-spacing: 0.05em; }
    .team-desc { font-size: 0.7rem; line-height: 1.5; }
    .team-expand-icon { bottom: 0.5rem; font-size: 0.65rem; }
    
    .hero-content { padding: 0 0.5rem; }
    .hero-badge { font-size: 0.7rem; padding: 0.4rem 0.8rem; }
    .hero-buttons { gap: 0.6rem; }
    .hero-buttons .btn { font-size: 0.8rem; padding: 0.7rem 1rem; }
    
    .comparison-table th, .comparison-table td { padding: 0.75rem 0.5rem; font-size: 0.8rem; }
    .comparison-table-wrapper { margin-left: -1rem; margin-right: -1rem; border-radius: 0; border-left: none; border-right: none; }
    .timeline-container::before { left: 20px; }
    .timeline-dot { left: 11px; }
    .timeline-item { padding-left: 50px; }
    .hero-buttons { justify-content: center; flex-wrap: wrap; gap: 0.75rem; }
    .btn { padding: 0.75rem 1.25rem; font-size: 0.9rem; }
    
    .page-header { padding: 1.5rem 0; }
    .page-title { font-size: 1.75rem; }
    .page-subtitle { font-size: 0.9rem; }
    
    .footer-large { padding: 2.5rem 0 1.5rem; }
    .footer-top { grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
    .footer-brand { grid-column: span 3; margin-bottom: 0.5rem; }
    .footer-brand .logo { margin-bottom: 0.5rem; }
    .footer-brand .logo span { font-size: 1rem; }
    .footer-desc { font-size: 0.8rem; max-width: none; line-height: 1.5; }
    .footer-col h4 { font-size: 0.85rem; margin-bottom: 0.75rem; }
    .footer-col a { font-size: 0.8rem; margin-bottom: 0.5rem; }
    .footer-bottom { padding-top: 1rem; flex-direction: column; gap: 0.5rem; text-align: center; }
    .footer-bottom p { font-size: 0.75rem; }
    .icp-link { font-size: 0.7rem; }
}

@media (max-width: 380px) {
    .hero-title { font-size: 1.5rem; }
    .section-title { font-size: 1.3rem; }
    
    .features-grid, .faq-grid, .scenario-grid, .grid-3 { grid-template-columns: 1fr; }
}

html.no-loader body { opacity: 1 !important; overflow-y: auto !important; }

.error-page { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 2rem; background: var(--dark-bg); position: relative; overflow: hidden; }
.error-code { font-size: 10rem; font-weight: 800; line-height: 1; margin-bottom: 2rem; font-family: 'Fira Code', monospace; letter-spacing: -5px; color: #fff; background: none; -webkit-text-fill-color: initial; -webkit-text-stroke: 0; text-shadow: 0 0 20px var(--primary), 0 0 40px var(--primary), 0 0 80px var(--primary); position: relative; filter: none; animation: neon-flicker 3s infinite alternate; }

@keyframes neon-flicker {
    0%, 100% { opacity: 1; text-shadow: 0 0 20px var(--primary), 0 0 40px var(--primary); }
    50% { opacity: 0.9; text-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary); }
    52% { opacity: 0.5; text-shadow: none; }
    54% { opacity: 0.9; text-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary); }
}

.error-code::before, .error-code::after { display: none; }
.error-message { display: inline-block; font-size: 1.2rem; color: var(--primary); background: rgba(42, 130, 228, 0.1); border: 1px solid rgba(42, 130, 228, 0.3); padding: 0.5rem 1.5rem; border-radius: 50px; margin-bottom: 2rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; box-shadow: 0 0 20px rgba(42, 130, 228, 0.1); }
.error-desc { color: #cbd5e1; background: #0f172a; border: 1px solid #334155; padding: 1.5rem; border-radius: 8px; max-width: 600px; margin: 0 auto 3rem; font-size: 0.95rem; font-family: 'Fira Code', monospace; text-align: left; box-shadow: 0 10px 30px rgba(0,0,0,0.2); position: relative; }
.error-desc::before { content: 'SYSTEM_LOG'; position: absolute; top: -10px; left: 20px; background: #0f172a; padding: 0 8px; color: var(--text-muted); font-size: 0.8rem; font-weight: 600; }
