@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Fira+Code:wght@400;500&display=swap');
:root {
    --bg-main: #0a0c16;
    --bg-card: rgba(22, 26, 47, 0.6);
    --bg-card-hover: rgba(30, 36, 66, 0.8);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(99, 102, 241, 0.4);
    --primary: #6366f1; 
    --primary-glow: rgba(99, 102, 241, 0.15);
    --secondary: #06b6d4; 
    --secondary-glow: rgba(6, 182, 212, 0.15);
    --accent: #f43f5e; 
    --accent-glow: rgba(244, 63, 94, 0.2);
    --success: #10b981; 
    --success-glow: rgba(16, 185, 129, 0.2);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #64748b;
    --container-width: 1200px;
    --header-height: 70px;
    --transition-speed: 0.3s;
    --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px);
}
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}
body::before, body::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.25;
}
body::before {
    top: 10%;
    left: -100px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}
body::after {
    top: 50%;
    right: -100px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
}
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(10, 12, 22, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: background var(--transition-speed);
}
.header.scrolled {
    background: rgba(8, 9, 17, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo-icon {
    font-size: 2.2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.5px;
}
.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}
.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-speed);
    position: relative;
    padding: 6px 0;
}
.nav-link:hover {
    color: var(--text-main);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width var(--transition-speed);
}
.nav-link:hover::after {
    width: 100%;
}
.menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.8rem;
    cursor: pointer;
}
.main {
    margin-top: calc(var(--header-height) + 40px);
    padding-bottom: 80px;
}
.hero {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--success);
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.05);
}
.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--success);
    animation: pulse 1.8s infinite;
}
.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -1px;
}
.hero-title span {
    background: linear-gradient(135deg, var(--primary) 20%, var(--secondary) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
    font-weight: 400;
}
.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
}
.section-subtitle {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.05rem;
}
.activation-flow {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 24px;
    margin-bottom: 48px;
}
.activation-flow .card {
    flex: 1;
}
.or-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    user-select: none;
}
.or-separator span {
    background-color: var(--bg-main);
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.or-separator::before {
    content: '';
    position: absolute;
    background: var(--border-color);
    z-index: 1;
}
@media (min-width: 992px) {
    .or-separator {
        width: 40px;
    }
    .or-separator::before {
        width: 1px;
        height: 100%;
        left: 50%;
        top: 0;
    }
}
@media (max-width: 991px) {
    .activation-flow {
        flex-direction: column;
        max-width: 600px;
        margin: 0 auto 32px auto;
    }
    .or-separator {
        height: 40px;
        padding: 12px 0;
    }
    .or-separator::before {
        width: 100%;
        height: 1px;
        top: 50%;
        left: 0;
    }
}
.or-separator-row {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 16px 0;
    margin: 0 auto 16px auto;
    font-family: 'Outfit', sans-serif;
    user-select: none;
    max-width: 650px;
}
.or-separator-row span {
    background-color: var(--bg-main);
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.or-separator-row::before {
    content: '';
    position: absolute;
    background: var(--border-color);
    z-index: 1;
    width: 100%;
    height: 1px;
    top: 50%;
    left: 0;
}
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform var(--transition-speed) var(--ease-elastic), 
                box-shadow var(--transition-speed), 
                border-color var(--transition-speed);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
}
.card-header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-glow);
    color: var(--primary);
    font-size: 1.6rem;
    margin-bottom: 20px;
}
.card.cyan-accent .card-header-icon {
    background: var(--secondary-glow);
    color: var(--secondary);
}
.card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.45rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.card-text {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.98rem;
}
.terminal-window {
    background: #05060b;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.terminal-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.terminal-dots {
    display: flex;
    gap: 6px;
    margin-right: 16px;
}
.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.terminal-dot.close { background-color: #ef4444; }
.terminal-dot.minimize { background-color: #f59e0b; }
.terminal-dot.maximize { background-color: #10b981; }
.terminal-title {
    font-size: 0.75rem;
    color: var(--text-dark);
    font-family: 'Fira Code', monospace;
    flex: 1;
    text-align: center;
    margin-right: 42px; 
}
.code-box {
    padding: 16px;
    font-family: 'Fira Code', monospace;
    font-size: 0.88rem;
    color: #e2e8f0;
    word-break: break-all;
    user-select: all;
    background: transparent;
    line-height: 1.5;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition-speed) var(--ease-elastic);
    text-decoration: none;
    border: none;
    outline: none;
    margin-top: auto;
}
.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}
.btn-primary:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}
.btn-secondary {
    background: var(--secondary);
    color: white;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3);
}
.btn-secondary:hover {
    background: #0891b2;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}
.btn-accent {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 14px rgba(244, 63, 94, 0.3);
}
.btn-accent:hover {
    background: #e11d48;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 63, 94, 0.4);
}
.btn-icon {
    font-size: 1.15rem;
}
.manual-section {
    max-width: 650px;
    margin: 0 auto 80px auto;
}
.manual-card {
    text-align: center;
}
.manual-card .card-header-icon {
    margin: 0 auto 20px auto;
    background: var(--accent-glow);
    color: var(--accent);
}
.manual-card .btn-accent {
    width: 100%;
    max-width: 320px;
    margin: 8px auto 0 auto;
}
.section-divider {
    height: 1px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 80%);
    margin: 80px 0;
}
.guide-section {
    max-width: 800px;
    margin: 0 auto;
}
.timeline {
    position: relative;
    padding-left: 32px;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 11px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary), transparent);
}
.timeline-item {
    position: relative;
    margin-bottom: 40px;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-badge {
    position: absolute;
    left: -32px;
    top: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    z-index: 1;
}
.timeline-item:nth-child(2) .timeline-badge {
    border-color: var(--secondary);
    color: var(--secondary);
}
.timeline-item:nth-child(3) .timeline-badge {
    border-color: var(--accent);
    color: var(--accent);
}
.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    transition: border-color var(--transition-speed);
}
.timeline-content:hover {
    border-color: rgba(255, 255, 255, 0.15);
}
.timeline-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.timeline-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}
.timeline-text b {
    color: var(--text-main);
}
.faq-section {
    max-width: 800px;
    margin: 0 auto;
}
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color var(--transition-speed);
}
.faq-item:hover {
    border-color: var(--border-hover);
}
.faq-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--text-main);
    outline: none;
}
.faq-question {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    padding-right: 16px;
}
.faq-icon {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: transform var(--transition-speed) var(--ease-elastic);
}
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 24px;
}
.faq-item.active {
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(22, 26, 47, 0.8);
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}
.faq-item.active .faq-content {
    max-height: 250px; 
    padding-bottom: 20px;
}
.faq-answer {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}
.security-section {
    max-width: 800px;
    margin: 0 auto;
}
.code-preview-card {
    background: #040508;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
}
.code-preview-header {
    background: rgba(255, 255, 255, 0.02);
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.code-preview-tabs {
    display: flex;
    gap: 6px;
}
.code-tab {
    background: transparent;
    border: none;
    color: var(--text-dark);
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: all var(--transition-speed);
    font-family: 'Inter', sans-serif;
    outline: none;
}
.code-tab:hover {
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.02);
}
.code-tab.active {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.06);
}
.code-preview-content {
    display: none;
}
.code-preview-content.active {
    display: block;
}
.code-preview-scroll {
    max-height: 350px;
    overflow-y: auto;
    font-family: 'Fira Code', monospace;
    font-size: 0.82rem;
    line-height: 1.5;
    padding: 20px;
    color: #cbd5e1;
    background: transparent;
}
.code-preview-scroll::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
.code-preview-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}
.code-preview-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
.code-preview-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}
.footer {
    background: #05060b;
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    text-align: center;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.footer-text {
    color: var(--text-dark);
    font-size: 0.9rem;
}
.footer-links {
    display: flex;
    gap: 24px;
}
.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color var(--transition-speed);
}
.footer-link:hover {
    color: var(--primary);
}
.notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 14px 20px;
    background: #0f172a;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-left: 4px solid var(--success);
    color: var(--text-main);
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(100px);
    opacity: 0;
    transition: transform var(--transition-speed) var(--ease-elastic), 
                opacity var(--transition-speed);
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.92rem;
}
.notification.show {
    transform: translateY(0);
    opacity: 1;
}
.notification-icon {
    color: var(--success);
    font-size: 1.3rem;
}
@keyframes pulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }
}
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }
    .header-content {
        position: relative;
    }
    .menu-btn {
        display: block;
    }
    .nav-links {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: rgba(10, 12, 22, 0.95);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
        display: none;
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    .nav-link {
        display: block;
        padding: 14px 0;
        width: 100%;
    }
    .nav-link::after {
        display: none;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1.05rem;
    }
    .card {
        padding: 24px;
    }
    .timeline {
        padding-left: 20px;
    }
    .timeline::before {
        left: 5px;
    }
    .timeline-badge {
        left: -20px;
        width: 18px;
        height: 18px;
        font-size: 0.65rem;
        top: 6px;
    }
    .notification {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }
}
