/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cyber Blue Colors */
    --primary: #00D9FF;
    --secondary: #0099FF;
    --accent: #7B2FFF;
    --dark: #0A0A0F;
    --darker: #050508;
    --light: #1A1A2E;
    --text: #FFFFFF;
    --text-dim: rgba(255, 255, 255, 0.7);
    --text-dimmer: rgba(255, 255, 255, 0.5);
    
    /* Effects */
    --glow: 0 0 20px var(--primary), 0 0 40px var(--primary);
    --glow-strong: 0 0 30px var(--primary), 0 0 60px var(--primary), 0 0 90px var(--primary);
}

body {
    font-family: 'Courier New', 'Consolas', monospace;
    background: var(--darker);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Matrix Canvas Background */
#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.15;
}

/* Boot Sequence */
.boot-sequence {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeOut 0.5s ease-out 3s forwards;
    pointer-events: none;
}

.boot-text {
    font-size: 16px;
    color: var(--primary);
    text-align: left;
}

.boot-line {
    margin: 10px 0;
    opacity: 0;
    animation: bootLine 0.3s ease-out forwards;
}

.boot-line:nth-child(1) { animation-delay: 0.5s; }
.boot-line:nth-child(2) { animation-delay: 1s; }
.boot-line:nth-child(3) { animation-delay: 1.5s; }
.boot-line:nth-child(4) { animation-delay: 2s; }
.boot-line:nth-child(5) { animation-delay: 2.5s; }

.boot-ok {
    color: #00FF00;
    margin-left: 10px;
}

.boot-blink {
    animation: blink 1s step-end infinite;
}

@keyframes bootLine {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeOut {
    to { opacity: 0; visibility: hidden; }
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 217, 255, 0.2);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary);
    text-shadow: var(--glow);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-dim);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
    letter-spacing: 1px;
}

.nav-link:hover {
    color: var(--primary);
    text-shadow: var(--glow);
}

.cta-small {
    padding: 8px 20px;
    border: 1px solid var(--primary);
    border-radius: 4px;
    color: var(--primary);
}

.cta-small:hover {
    background: var(--primary);
    color: var(--dark);
    box-shadow: var(--glow);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

/* Glitch Effect */
.glitch {
    position: relative;
    animation: glitch 3s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--primary);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--accent);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2s infinite linear alternate-reverse;
}

@keyframes glitch {
    2%, 64% { transform: translate(2px,0) skew(0deg); }
    4%, 60% { transform: translate(-2px,0) skew(0deg); }
    62% { transform: translate(0,0) skew(5deg); }
}

@keyframes glitch-anim {
    0% { clip: rect(42px, 9999px, 44px, 0); }
    5% { clip: rect(12px, 9999px, 59px, 0); }
    10% { clip: rect(48px, 9999px, 29px, 0); }
    /* ... more keyframes for variety */
    100% { clip: rect(25px, 9999px, 99px, 0); }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 60px;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 20px;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

.badge-icon {
    animation: rotate 2s linear infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 217, 255, 0.3); }
    50% { box-shadow: 0 0 20px rgba(0, 217, 255, 0.6); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-title {
    font-size: 64px;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--primary);
    text-shadow: var(--glow-strong);
}

.hero-subtitle {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    color: var(--primary);
    text-shadow: var(--glow);
}

.hero-description {
    font-size: 18px;
    color: var(--text-dim);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
    box-shadow: var(--glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-strong);
}

.btn-secondary {
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--dark);
    box-shadow: var(--glow);
}

.btn-arrow {
    transition: transform 0.3s;
}

.btn:hover .btn-arrow {
    transform: translateX(5px);
}

.hero-stats {
    display: flex;
    gap: 60px;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary);
    text-shadow: var(--glow);
}

.stat-label {
    font-size: 12px;
    color: var(--text-dimmer);
    letter-spacing: 2px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 280px;
    height: 580px;
    border: 8px solid var(--primary);
    border-radius: 40px;
    background: var(--dark);
    box-shadow: var(--glow-strong), inset 0 0 20px rgba(0, 217, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--darker) 0%, var(--dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.phone-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.phone-video.active {
    opacity: 1;
}

.screen-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 10;
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary);
    animation: scan 8s ease-in-out infinite;
}

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

.screen-text {
    position: relative;
    z-index: 11;
}

.typing-text {
    font-size: 16px;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary);
    font-weight: bold;
    letter-spacing: 2px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.screen-content {
    text-align: center;
}

/* Sections */
section {
    padding: 100px 20px;
}

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

.section-title {
    font-size: 48px;
    color: var(--primary);
    text-shadow: var(--glow);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-dim);
}

/* Features */
.features {
    background: var(--dark);
}

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

.feature-card {
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.2);
    padding: 40px;
    border-radius: 8px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--glow);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.feature-description {
    color: var(--text-dim);
    margin-bottom: 20px;
    line-height: 1.8;
}

.feature-tech {
    display: flex;
    gap: 10px;
}

.tech-tag {
    padding: 4px 12px;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 4px;
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--primary);
}

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

.price-card {
    background: rgba(0, 217, 255, 0.03);
    border: 2px solid rgba(0, 217, 255, 0.2);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.price-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--glow);
}

.price-popular {
    border-color: var(--primary);
    background: rgba(0, 217, 255, 0.1);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--dark);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
}

.price-header {
    margin-bottom: 30px;
}

.price-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.price-name {
    font-size: 24px;
    color: var(--primary);
    letter-spacing: 3px;
}

.price-amount {
    margin-bottom: 10px;
}

.price-currency {
    font-size: 24px;
    color: var(--text-dim);
}

.price-value {
    font-size: 64px;
    font-weight: bold;
    color: var(--primary);
    text-shadow: var(--glow);
}

.price-analyses {
    font-size: 14px;
    color: var(--text-dimmer);
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.price-features {
    margin-bottom: 40px;
    text-align: left;
}

.price-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

.feature-check {
    color: var(--primary);
    font-size: 18px;
}

.btn-price {
    width: 100%;
    justify-content: center;
}

/* FAQ */
.faq {
    background: var(--dark);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.2);
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: var(--glow);
}

.faq-question {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: bold;
}

.faq-answer {
    color: var(--text-dim);
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(123, 47, 255, 0.1) 100%);
    border-top: 1px solid rgba(0, 217, 255, 0.2);
    border-bottom: 1px solid rgba(0, 217, 255, 0.2);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary);
    text-shadow: var(--glow);
}

.cta-subtitle {
    font-size: 18px;
    color: var(--text-dim);
    margin-bottom: 40px;
}

.btn-large {
    padding: 20px 40px;
    font-size: 16px;
}

.cta-info {
    margin-top: 30px;
    font-size: 14px;
    color: var(--text-dimmer);
}

.separator {
    margin: 0 15px;
    color: var(--primary);
}

/* Footer */
.footer {
    background: var(--darker);
    border-top: 1px solid rgba(0, 217, 255, 0.2);
    padding: 60px 20px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 20px;
    text-shadow: var(--glow);
    letter-spacing: 2px;
}

.footer-description {
    color: var(--text-dim);
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-social {
    font-size: 24px;
}

.footer-heading {
    color: var(--primary);
    font-size: 14px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 217, 255, 0.2);
    color: var(--text-dimmer);
    font-size: 14px;
}

.footer-tech {
    margin-top: 10px;
    color: var(--text-dim);
}

/* Responsive */
@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 32px;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(0, 217, 255, 0.3);
        border-radius: 8px;
        padding: 20px;
        flex-direction: column;
        gap: 0;
        transition: right 0.4s ease;
        box-shadow: 0 0 30px rgba(0, 217, 255, 0.3);
    }
    
    .nav-links.mobile-active {
        right: 20px;
    }
    
    .nav-link {
        padding: 15px 0;
        border-bottom: 1px solid rgba(0, 217, 255, 0.1);
        text-align: center;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .cta-small {
        margin-top: 10px;
        padding: 12px 20px;
        display: block;
    }
    
    .mobile-menu {
        display: flex;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .stat-value {
        font-size: 32px;
    }
    
    .cta-title {
        font-size: 32px;
    }
}

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

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 4px;
    padding: 8px 16px;
    color: var(--primary);
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.lang-toggle:hover {
    background: rgba(0, 217, 255, 0.2);
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
}

.lang-icon {
    font-size: 18px;
}

.lang-current {
    font-weight: bold;
}

.lang-arrow {
    font-size: 10px;
    transition: transform 0.3s;
}

.lang-toggle:hover .lang-arrow {
    transform: translateY(2px);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 8px;
    padding: 10px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.2), 0 0 40px rgba(0, 217, 255, 0.1);
}

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

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    color: var(--text-dim);
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    text-align: left;
    transition: all 0.3s;
}

.lang-option:hover {
    background: rgba(0, 217, 255, 0.1);
    border-color: rgba(0, 217, 255, 0.3);
    color: var(--primary);
}

.lang-option.active {
    background: rgba(0, 217, 255, 0.15);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.2);
}

.lang-flag {
    font-size: 20px;
}

@media (max-width: 968px) {
    .language-selector {
        margin-right: 10px;
    }
    
    .lang-dropdown {
        right: -10px;
    }
}
