/* ===== VARIABLES ===== */
:root {
    --bg-primary: #0a0a12;
    --bg-secondary: #0f0f1e;
    --bg-card: #13132a;
    --bg-card-hover: #1a1a3a;
    --purple-main: #8b5cf6;
    --purple-light: #a78bfa;
    --purple-dark: #6d28d9;
    --purple-glow: rgba(139, 92, 246, 0.25);
    --purple-glow-strong: rgba(139, 92, 246, 0.45);
    --violet-accent: #c084fc;
    --text-primary: #eeeef5;
    --text-secondary: #9d9db8;
    --text-muted: #6b6b8a;
    --border-color: rgba(139, 92, 246, 0.15);
    --border-hover: rgba(139, 92, 246, 0.35);
    --font-display: 'JetBrains Mono', monospace;
    --font-body: 'Manrope', sans-serif;
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== ANTI-PHISHING BAR ===== */
.phishing-bar {
    background: linear-gradient(90deg, var(--purple-dark), #4c1d95);
    text-align: center;
    padding: 8px 16px;
    font-size: 13px;
    color: #e0d4ff;
    font-family: var(--font-display);
    letter-spacing: 0.02em;
}
.phishing-icon { margin-right: 6px; }

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 18, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}
.site-header.scrolled {
    background: rgba(10, 10, 18, 0.95);
    box-shadow: 0 4px 30px rgba(139, 92, 246, 0.08);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
}
.logo-diamond {
    font-size: 28px;
    color: var(--purple-main);
    filter: drop-shadow(0 0 8px var(--purple-glow));
}
.logo-text { letter-spacing: 0.15em; }

/* Nav Links */
.nav-links {
    display: flex;
    gap: 32px;
}
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--purple-main);
    transition: var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--purple-main), var(--purple-dark));
    color: #fff;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.04em;
    box-shadow: 0 4px 20px var(--purple-glow);
}
.btn-primary:hover {
    box-shadow: 0 6px 30px var(--purple-glow-strong);
    transform: translateY(-2px);
}
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: transparent;
    color: var(--purple-light);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-hover);
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.04em;
}
.btn-ghost:hover {
    background: rgba(139, 92, 246, 0.08);
    border-color: var(--purple-main);
}
.btn-lg { padding: 16px 36px; font-size: 15px; }

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.burger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    z-index: 999;
    padding: 24px;
}
.mobile-menu.active { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 16px; }
.mobile-menu a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}
.mobile-menu a:hover { color: var(--purple-light); }

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 180px 0 100px;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}
.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}
.orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.35), transparent 70%);
    top: -200px; left: -100px;
    animation: float1 12s ease-in-out infinite;
}
.orb-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.3), transparent 70%);
    bottom: -150px; right: -100px;
    animation: float2 15s ease-in-out infinite;
}
.orb-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.2), transparent 70%);
    top: 40%; left: 50%;
    animation: float3 10s ease-in-out infinite;
}
@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px, 30px); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-30px, -40px); } }
@keyframes float3 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(20px, -20px); } }

/* Dots grids */
.dots-grid {
    position: absolute;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, rgba(139, 92, 246, 0.2) 1px, transparent 1px);
    background-size: 20px 20px;
}
.dots-left { top: 20%; left: 3%; }
.dots-right { bottom: 15%; right: 3%; }

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.hero-label {
    display: block;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--purple-light);
    margin-bottom: 12px;
}
.hero-brand {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 30%, var(--purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 400;
    color: var(--text-secondary);
    margin-top: 8px;
    letter-spacing: 0.06em;
}
.hero-desc {
    margin-top: 24px;
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.8;
}
.hero-desc strong { color: var(--purple-light); font-weight: 600; }
.hero-actions { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badges {
    margin-top: 40px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-secondary);
    font-family: var(--font-display);
}
.badge-icon { font-size: 14px; }

/* Hero Image */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}
.hero-img {
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    object-fit: cover;
    position: relative;
    z-index: 2;
}
.hero-img-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    background: radial-gradient(circle, var(--purple-glow-strong), transparent 70%);
    filter: blur(60px);
    z-index: 1;
}

/* ===== ANIMATIONS ===== */
.anim-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
}
.d2 { animation-delay: 0.15s; }
.d3 { animation-delay: 0.3s; }
.d4 { animation-delay: 0.45s; }
@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ===== SECTION TITLES ===== */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.03em;
    margin-bottom: 16px;
}
.section-title.left { text-align: left; }
.accent { color: var(--purple-light); }
.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 56px;
}

/* ===== ADVANTAGES ===== */
.advantages {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}
.advantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple-main), transparent);
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.adv-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.adv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--purple-dark), var(--purple-main), var(--violet-accent));
    opacity: 0;
    transition: var(--transition);
}
.adv-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.1);
}
.adv-card:hover::before { opacity: 1; }
.adv-icon { font-size: 32px; margin-bottom: 16px; }
.adv-card h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}
.adv-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== TECHNOLOGY ===== */
.technology {
    padding: 120px 0;
    position: relative;
}
.tech-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.tech-image { position: relative; }
.tech-img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    object-fit: cover;
}
.tech-img-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.3), transparent 70%);
    filter: blur(60px);
    z-index: -1;
}
.tech-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin-top: 20px;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}
.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple-main), transparent);
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}
.step-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.08);
}
.step-num {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    color: var(--purple-dark);
    opacity: 0.5;
    margin-bottom: 16px;
}
.step-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
}
.step-icon-block {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background: rgba(139, 92, 246, 0.06);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
}
.step-card h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}
.step-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== FAQ ===== */
.faq {
    padding: 120px 0;
}
.faq-list {
    max-width: 780px;
    margin: 48px auto 0;
}
.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--bg-card);
    transition: var(--transition);
}
.faq-item:hover { border-color: var(--border-hover); }
.faq-item[open] {
    border-color: var(--purple-main);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.1);
}
.faq-item summary {
    padding: 20px 24px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    letter-spacing: 0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 22px;
    color: var(--purple-main);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}
.faq-item[open] summary::after {
    content: '−';
}
.faq-answer {
    padding: 0 24px 20px;
}
.faq-answer p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== CTA ===== */
.cta-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}
.cta-inner {
    text-align: center;
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 80px 40px;
    overflow: hidden;
}
.cta-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}
.cta-inner h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}
.cta-inner p {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 550px;
    margin: 0 auto 32px;
    position: relative;
    z-index: 2;
}
.cta-inner .btn-primary { position: relative; z-index: 2; }

/* ===== FOOTER ===== */
.site-footer {
    padding: 60px 0 32px;
    border-top: 1px solid var(--border-color);
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}
.footer-tagline {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 12px;
}
.footer-links {
    display: flex;
    gap: 60px;
}
.footer-col h4 {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
    font-size: 14px;
    color: var(--text-muted);
    transition: var(--transition);
}
.footer-col a:hover { color: var(--purple-light); }
.footer-bottom {
    grid-column: 1 / -1;
    padding-top: 32px;
    margin-top: 32px;
    border-top: 1px solid var(--border-color);
}
.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
    font-family: var(--font-display);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links, .btn-nav-cta { display: none; }
    .burger { display: flex; }
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-content { order: 1; }
    .hero-visual { order: 0; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-badges { justify-content: center; }
    .section-title.left { text-align: center; }
    .advantages-grid { grid-template-columns: 1fr; }
    .tech-inner { grid-template-columns: 1fr; }
    .tech-content { order: 1; }
    .tech-image { order: 0; }
    .steps-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .hero { padding: 140px 0 60px; min-height: auto; }
}