@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;600;800&family=Outfit:wght@300;400;600;800&family=Space+Grotesk:wght@400;700&display=swap');

:root {
    --bg-main: #030305;
    --bg-secondary: #0a0a10;
    --primary: #7b2cbf;
    --primary-glow: rgba(123, 44, 191, 0.6);
    --secondary: #d100ff;
    --secondary-glow: rgba(209, 0, 255, 0.6);
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --glass-bg: rgba(20, 20, 30, 0.4);
    --glass-border: rgba(255, 255, 255, 0.05);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Space Grotesk', sans-serif;
}

/* Background Glow */
.bg-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(123, 44, 191, 0.15) 0%, rgba(3, 3, 5, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    text-decoration: none;
}

.logo span {
    color: #ffffff;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #888888;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: #ffffff;
}

/* Removed link underline animation to match reference */

.nav-actions {
    display: flex;
    gap: 15px;
}

/* Buttons */
.btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
}

.btn-login {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-primary {
    background: #ffffff;
    color: #000000;
    border-radius: 6px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 700;
}

.btn-primary:hover {
    background: #eeeeee;
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 32px;
    font-size: 18px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 10% 60px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(123, 44, 191, 0.1);
    border: 1px solid rgba(123, 44, 191, 0.3);
    border-radius: 30px;
    color: #e0b0ff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 30px;
    box-shadow: 0 0 15px rgba(123, 44, 191, 0.15);
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1px;
}

.highlight {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Features Section */
.features {
    padding: 100px 10%;
    background: radial-gradient(circle at center, var(--bg-secondary) 0%, var(--bg-main) 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(123, 44, 191, 0.15);
    border-color: rgba(123, 44, 191, 0.3);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(123, 44, 191, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(209, 0, 255, 0.2);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
}

/* Pricing Section */
.pricing-section {
    padding: 100px 10%;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(123, 44, 191, 0.15);
}

.pricing-card.popular {
    border: 1px solid var(--primary);
    box-shadow: 0 0 30px rgba(123, 44, 191, 0.2);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), #5a189a);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-muted);
}

.price {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    color: white;
}

.price span {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
}

.pricing-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li.disabled {
    color: var(--text-muted);
    opacity: 0.5;
}

.w-100 {
    width: 100%;
}

/* Docs Section */
.docs-section {
    padding: 100px 10%;
    background: radial-gradient(circle at center, var(--bg-secondary) 0%, var(--bg-main) 100%);
}

.docs-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
}

.docs-sidebar {
    width: 250px;
    background: rgba(10, 10, 15, 0.5);
    border-right: 1px solid var(--glass-border);
    padding: 30px 0;
}

.docs-sidebar ul {
    list-style: none;
}

.docs-sidebar li {
    padding: 15px 30px;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.docs-sidebar li:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.docs-sidebar li.active {
    color: var(--primary);
    border-left-color: var(--primary);
    background: rgba(123, 44, 191, 0.1);
}

.docs-content {
    flex: 1;
    padding: 40px;
}

.docs-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.docs-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.code-block {
    background: #000;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
}

.code-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    font-size: 14px;
    color: var(--text-muted);
}

.copy-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s ease;
}

.copy-btn:hover {
    color: white;
}

.code-block pre {
    padding: 20px;
    overflow-x: auto;
    color: #e0b0ff;
    font-family: monospace;
}

/* CTA Section */
.cta-section {
    padding: 100px 10%;
    display: flex;
    justify-content: center;
}

.glass-panel {
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.8), rgba(10, 10, 15, 0.9));
    border: 1px solid rgba(123, 44, 191, 0.3);
    border-radius: 24px;
    padding: 60px;
    text-align: center;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(123, 44, 191, 0.1);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(123,44,191,0.1) 0%, transparent 60%);
    z-index: 0;
}

.glass-panel h2, .glass-panel p, .glass-panel button {
    position: relative;
    z-index: 1;
}

.glass-panel h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.glass-panel p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Footer */
footer {
    background: #020203;
    padding: 60px 10% 20px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 15px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h4, .footer-social h4 {
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--primary-glow);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
}

/* Stats Section */
.stats-section {
    padding: 60px 10%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    background: rgba(123, 44, 191, 0.05);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 5px;
    text-shadow: 0 0 15px var(--primary-glow);
}

.stat-label {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scanner Preview Section */
.preview-section {
    padding: 100px 10%;
    background: var(--bg-main);
}

.preview-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.preview-text {
    flex: 1;
}

.preview-visual {
    flex: 1.2;
    position: relative;
}

.scanner-mockup {
    background: #0a0a15;
    border: 2px solid var(--primary);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 0 50px rgba(123, 44, 191, 0.3);
    position: relative;
    overflow: hidden;
    min-height: 350px;
}

.scanner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.scanner-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff88;
    animation: pulse 2s infinite;
}

.scanner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.scanner-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    position: relative;
}

.scanner-item i {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--primary);
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
    box-shadow: 0 0 15px var(--primary);
    animation: scan 3s linear infinite;
    z-index: 10;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* FAQ Section */
.faq-section {
    padding: 100px 10%;
    max-width: 900px;
    margin: 0 auto;
}

.faq-container {
    margin-top: 40px;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(123, 44, 191, 0.1);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 200px;
}

/* Testimonials */
.testimonials-section {
    padding: 100px 10%;
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    position: relative;
}

.testimonial-card i.quote {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: rgba(123, 44, 191, 0.1);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: white;
}

.user-details h4 {
    margin: 0;
    font-size: 1.1rem;
}

.user-details span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Responsive fixes for new sections */
@media (max-width: 968px) {
    .preview-container {
        flex-direction: column;
        text-align: center;
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .stats-section {
        grid-template-columns: 1fr;
    }
}

/* Premium Detections Dashboard Styles (Nexora-Inspired) */
:root {
    --dx-bg: #06060a;
    --dx-panel-bg: #0c0c14;
    --dx-border: rgba(255, 255, 255, 0.06);
    --dx-text-muted: #888899;
    --dx-mono: 'JetBrains Mono', monospace;
}

.detect-dashboard {
    padding: 120px 5% 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.dx-header {
    margin-bottom: 40px;
}

.dx-kicker {
    font-family: var(--dx-mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.dx-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

.dx-title-row h1 {
    font-size: 2.5rem;
    margin: 0;
}

.dx-live-feed {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 999px;
    color: #4ade80;
    font-family: var(--dx-mono);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.dx-live-feed .dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
    animation: dx-pulse-green 2s infinite;
}

@keyframes dx-pulse-green {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.dx-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.dx-stat-card {
    background: var(--dx-panel-bg);
    border: 1px solid var(--dx-border);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.dx-stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(123, 44, 191, 0.3);
}

.dx-stat-label {
    font-family: var(--dx-mono);
    font-size: 9px;
    color: var(--dx-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}

.dx-stat-value {
    font-size: 24px;
    font-weight: 800;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
}

.dx-table-container {
    background: var(--dx-panel-bg);
    border: 1px solid var(--dx-border);
    border-radius: 16px;
    overflow: hidden;
}

.dx-table-head {
    display: grid;
    grid-template-columns: 4px 100px 1.5fr 1fr 1.2fr 100px 100px 40px;
    gap: 15px;
    align-items: center;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    font-family: var(--dx-mono);
    font-size: 9px;
    color: var(--dx-text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.dx-row {
    display: grid;
    grid-template-columns: 4px 100px 1.5fr 1fr 1.2fr 100px 100px 40px;
    gap: 15px;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    transition: background 0.2s ease;
    cursor: pointer;
    position: relative;
}

.dx-row:hover {
    background: rgba(123, 44, 191, 0.05);
}

.dx-row-edge {
    width: 3px;
    height: 30px;
    border-radius: 2px;
    background: var(--primary);
}

.dx-row-edge.red { background: #ef4444; box-shadow: 0 0 8px #ef4444; }
.dx-row-edge.amber { background: #f59e0b; box-shadow: 0 0 8px #f59e0b; }
.dx-row-edge.green { background: #22c55e; box-shadow: 0 0 8px #22c55e; }

.dx-scan-id {
    font-family: var(--dx-mono);
    font-size: 12px;
    color: white;
    font-weight: 600;
}

.dx-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dx-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: white;
}

.dx-user-name {
    font-weight: 600;
    font-size: 14px;
    color: white;
}

.dx-cell-mono {
    font-family: var(--dx-mono);
    font-size: 11px;
    color: #e2e8f0;
}

.dx-verdict {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-family: var(--dx-mono);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.dx-verdict .v-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}

.dx-verdict.detected {
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.dx-verdict.safe {
    color: #86efac;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.dx-verdict.warning {
    color: #fcd34d;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.dx-action-btn {
    color: var(--dx-text-muted);
    transition: color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
}

.dx-action-btn:hover {
    color: var(--primary);
}

.dx-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--dx-panel-bg);
    border: 1px solid var(--dx-border);
    border-radius: 8px;
    padding: 0 15px;
    height: 38px;
    width: 280px;
    transition: border-color 0.3s;
}

.dx-search-box:focus-within {
    border-color: var(--primary);
}

.dx-search-box i {
    font-size: 12px;
    color: var(--dx-text-muted);
    margin-right: 10px;
}

.dx-search-box input {
    background: none;
    border: none;
    color: white;
    font-size: 13px;
    width: 100%;
    outline: none;
}

/* Language Selector */
.lang-selector {
    position: relative;
    margin-right: 15px;
}

.lang-trigger {
    background: none;
    border: none;
    color: #888888;
    font-family: var(--dx-mono);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.lang-trigger:hover {
    color: #ffffff;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background: #0c0c14;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    width: 160px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lang-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.05);
}

.lang-option span {
    font-family: var(--dx-mono);
    font-size: 11px;
    color: #888888;
    text-transform: uppercase;
    width: 20px;
}
.nav-login-link {
    text-decoration: none;
    color: #888888;
    font-size: 14px;
    font-weight: 500;
    margin-right: 20px;
    transition: color 0.3s ease;
}

.nav-login-link:hover {
    color: #ffffff;
}

.lang-option.active {
    background: rgba(255, 255, 255, 0.08);
}


/* How It Works Page Styles */
.how-it-works-container {
    padding: 120px 10% 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.how-header {
    text-align: center;
    margin-bottom: 80px;
}

.how-header h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.how-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.steps-flow {
    display: flex;
    flex-direction: column;
    gap: 100px;
    margin-bottom: 100px;
    position: relative;
}

.steps-flow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(123, 44, 191, 0.2), transparent);
    z-index: -1;
}

.step-card {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
}

.step-card.reverse {
    flex-direction: row-reverse;
}

.step-number {
    font-size: 8rem;
    font-weight: 900;
    font-family: 'Space Grotesk', sans-serif;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    user-select: none;
    position: absolute;
    top: -40px;
    z-index: -1;
}

.step-card:not(.reverse) .step-number { left: -40px; }
.step-card.reverse .step-number { right: -40px; }

.step-content {
    flex: 1;
    background: var(--dx-panel-bg);
    border: 1px solid var(--dx-border);
    padding: 50px;
    border-radius: 24px;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.step-content:hover {
    transform: translateY(-5px);
    border-color: rgba(123, 44, 191, 0.3);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: rgba(123, 44, 191, 0.1);
    border: 1px solid rgba(123, 44, 191, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 25px;
    box-shadow: 0 0 20px rgba(123, 44, 191, 0.1);
}

.step-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.step-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.step-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.step-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e2e8f0;
    font-size: 0.95rem;
}

.step-features li i {
    color: #22c55e;
    font-size: 14px;
}

.how-cta {
    text-align: center;
    padding: 80px;
    background: radial-gradient(circle at center, rgba(123, 44, 191, 0.1), transparent);
    border-radius: 32px;
    border: 1px solid rgba(123, 44, 191, 0.1);
}

.how-cta h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.how-cta p {
    color: var(--text-muted);
    font-size: 1.25rem;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

@media (max-width: 992px) {
    .step-card, .step-card.reverse {
        flex-direction: column;
        text-align: center;
    }
    
    .step-icon {
        margin-left: auto;
        margin-right: auto;
    }
    
    .step-features {
        justify-items: center;
    }
    
    .steps-flow::before {
        display: none;
    }
    
    .step-number {
        font-size: 5rem;
        top: -20px;
    }
}

/* Support Page Styles */
.support-container {
    padding: 120px 5% 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.support-header {
    text-align: center;
    margin-bottom: 60px;
}

.support-header h1 {
    font-size: 3.5rem;
    margin: 10px 0;
}

.support-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 80px;
}

.support-card {
    background: rgba(12, 12, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.support-card:hover {
    background: rgba(123, 44, 191, 0.03);
    border-color: rgba(123, 44, 191, 0.2);
    transform: translateY(-5px);
}

.support-card.highlighted {
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent);
    border-color: rgba(59, 130, 246, 0.2);
}

.card-num {
    position: absolute;
    top: 25px;
    right: 25px;
    font-family: var(--dx-mono);
    font-size: 11px;
    color: var(--dx-text-muted);
    opacity: 0.5;
}

.card-corner {
    position: absolute;
    width: 8px;
    height: 8px;
    border-color: rgba(255, 255, 255, 0.1);
    border-style: solid;
    pointer-events: none;
}

.card-corner.top-left {
    top: 15px;
    left: 15px;
    border-width: 1px 0 0 1px;
}

.card-corner.top-right {
    top: 15px;
    right: 15px;
    border-width: 1px 1px 0 0;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 25px;
    color: #ffffff;
}

.support-card.highlighted .card-icon {
    border-color: rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

.support-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.support-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.support-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-family: var(--dx-mono);
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
}

.support-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.support-btn.btn-blue {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
}

.support-btn.btn-blue:hover {
    background: #2563eb;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.support-footer-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    opacity: 0.3;
}

.support-footer-text .line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, white, transparent);
}

/* Legal Page Styles */
.legal-container {
    padding: 120px 10% 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.legal-header {
    text-align: left;
    margin-bottom: 50px;
}

.legal-header h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
}

.legal-header h1 span {
    font-style: italic;
    font-weight: 400;
    opacity: 0.6;
}

.legal-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.legal-tab {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 25px;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.legal-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.legal-tab.active {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.legal-box {
    background: rgba(12, 12, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    position: relative;
    backdrop-filter: blur(20px);
}

.legal-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-header-text {
    font-family: var(--dx-mono);
    font-size: 10px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
}

.legal-updated {
    font-family: var(--dx-mono);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 1px;
}

.legal-content {
    padding: 50px;
    max-height: 700px;
    overflow-y: auto;
}

/* Custom Scrollbar for Legal Box */
.legal-content::-webkit-scrollbar {
    width: 6px;
}
.legal-content::-webkit-scrollbar-track {
    background: transparent;
}
.legal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.doc-section {
    display: none;
}

.doc-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.doc-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.doc-section > p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.doc-block {
    margin-bottom: 40px;
}

.doc-block h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.doc-block p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 10px;
    padding-left: 10px;
}

.legal-footer {
    margin-top: 40px;
    text-align: center;
    font-family: var(--dx-mono);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 4px;
}

@media (max-width: 768px) {
    .legal-header h1 { font-size: 3.5rem; }
    .legal-content { padding: 30px; }
    .doc-section h2 { font-size: 2rem; }
}

/* Notification System */
#notification-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
}

.toast {
    background: rgba(12, 12, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    padding: 16px 20px;
    min-width: 320px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transform: translateX(120%);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    pointer-events: auto;
}

.toast.visible {
    transform: translateX(0);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: var(--primary);
    transform-origin: left;
    animation: toast-progress 3s linear forwards;
}

@keyframes toast-progress {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

.toast-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.toast-message {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

/* Toast Types */
.toast.success .toast-icon { background: rgba(34, 197, 94, 0.1); color: #22c55e; border: 1px solid rgba(34, 197, 94, 0.2); }
.toast.success .toast-progress { background: #22c55e; }

.toast.error .toast-icon { background: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.2); }
.toast.error .toast-progress { background: #ef4444; }

.toast.info .toast-icon { background: rgba(59, 130, 246, 0.1); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.2); }
.toast.info .toast-progress { background: #3b82f6; }
