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

:root {
    /* Color Palette */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --neon-blue: #00d4ff;
    --neon-green: #00ff88;
    --neon-purple: #8b5cf6;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #666666;
    --border-color: #333333;
    --glow-blue: rgba(0, 212, 255, 0.3);
    --glow-green: rgba(0, 255, 136, 0.3);
    
    /* Typography */
    --font-primary: 'Orbitron', monospace;
    --font-secondary: 'Rajdhani', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    
    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-medium);
}

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

.nav-logo .logo-text {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 900;
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--glow-blue);
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--neon-green);
    text-shadow: 0 0 5px var(--glow-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-green);
    transition: var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.circuit-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, transparent 98%, var(--neon-blue) 100%),
        linear-gradient(0deg, transparent 98%, var(--neon-green) 100%);
    background-size: 100px 100px;
    opacity: 0.1;
    animation: circuitFlow 20s linear infinite;
}

.neon-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, var(--glow-blue) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, var(--glow-green) 0%, transparent 50%);
    animation: gridPulse 4s ease-in-out infinite alternate;
}

@keyframes circuitFlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100px, -100px); }
}

@keyframes gridPulse {
    0% { opacity: 0.1; }
    100% { opacity: 0.3; }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-family: var(--font-primary);
    margin-bottom: 30px;
}

.title-main {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    color: var(--neon-blue);
    text-shadow: 0 0 20px var(--glow-blue);
    animation: titleGlow 2s ease-in-out infinite alternate;
}

.title-sub {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--glow-green);
    margin-top: 10px;
}

@keyframes titleGlow {
    0% { text-shadow: 0 0 20px var(--glow-blue); }
    100% { text-shadow: 0 0 30px var(--glow-blue), 0 0 40px var(--glow-blue); }
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

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

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-green));
    color: var(--bg-primary);
    box-shadow: 0 0 20px var(--glow-blue);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 30px var(--glow-blue);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--neon-blue);
}

.btn-secondary:hover {
    background: var(--neon-blue);
    color: var(--bg-primary);
    box-shadow: 0 0 20px var(--glow-blue);
}

.btn-outline {
    background: transparent;
    color: var(--neon-green);
    border: 2px solid var(--neon-green);
}

.btn-outline:hover {
    background: var(--neon-green);
    color: var(--bg-primary);
    box-shadow: 0 0 20px var(--glow-green);
}

/* Hero Device Showcase */
.hero-device {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-showcase {
    position: relative;
    width: 400px;
    height: 300px;
}

.device-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 40px;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    border-radius: 10px;
    border: 2px solid var(--neon-blue);
    box-shadow: 
        0 0 20px var(--glow-blue),
        inset 0 0 20px rgba(0, 212, 255, 0.1);
    animation: devicePulse 3s ease-in-out infinite;
}

.device-box::before {
    content: 'MZ-1312';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-primary);
    font-size: 12px;
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--glow-blue);
}

.device-remote {
    position: absolute;
    top: 60%;
    right: 20%;
    width: 60px;
    height: 180px;
    background: linear-gradient(180deg, #2a2a2a, #1a1a1a);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transform: rotate(15deg);
}

.device-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--glow-blue) 0%, transparent 70%);
    animation: glowPulse 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes devicePulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--neon-green);
    position: relative;
    animation: scrollBounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--neon-green);
    border-bottom: 2px solid var(--neon-green);
    transform: rotate(45deg);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Section Styles */
section {
    padding: var(--section-padding);
    position: relative;
}

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

.section-title {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-green));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Features Section */
.features {
    background: var(--bg-secondary);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, transparent 49%, var(--neon-blue) 50%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, var(--neon-green) 50%, transparent 51%);
    background-size: 200px 200px;
    opacity: 0.02;
    z-index: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--bg-tertiary);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: var(--transition-slow);
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-blue);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
    position: relative;
}

.feature-icon div {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.feature-icon div::before {
    content: '';
    width: 40px;
    height: 40px;
    background: var(--text-primary);
    border-radius: 50%;
}

.feature-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Pricing Section */
.pricing {
    background: var(--bg-primary);
}

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

.pricing-card {
    background: var(--bg-tertiary);
    padding: 40px;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    text-align: center;
    position: relative;
    transition: var(--transition-medium);
}

.pricing-card.featured {
    border-color: var(--neon-green);
    box-shadow: 0 0 30px var(--glow-green);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, var(--neon-green), var(--neon-blue));
    color: var(--bg-primary);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

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

.pricing-title {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 10px;
}

.price-currency {
    font-size: 1.5rem;
    color: var(--neon-blue);
}

.price-amount {
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 900;
    color: var(--neon-blue);
    text-shadow: 0 0 20px var(--glow-blue);
}

.pricing-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

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

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    position: relative;
}

.pricing-features li::before {
    content: '✓';
    color: var(--neon-green);
    font-weight: bold;
    margin-right: 10px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* How It Works Section */
.how-it-works {
    background: var(--bg-secondary);
}

.steps-container {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 40px;
    top: 80px;
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, var(--neon-blue), var(--neon-green));
}

.step-number {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 900;
    color: var(--neon-blue);
    background: var(--bg-tertiary);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--neon-blue);
    box-shadow: 0 0 20px var(--glow-blue);
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-title {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* FAQ Section */
.faq {
    background: var(--bg-primary);
}

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

.faq-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: var(--transition-medium);
}

.faq-item:hover {
    border-color: var(--neon-blue);
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.faq-question:hover {
    background: rgba(0, 212, 255, 0.05);
}

.faq-question h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
}

.faq-toggle {
    font-size: 2rem;
    color: var(--neon-blue);
    transition: var(--transition-fast);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-medium);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 25px 25px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Contact Section */
.contact {
    background: var(--bg-secondary);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, var(--glow-blue) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, var(--glow-green) 0%, transparent 50%);
    opacity: 0.1;
    z-index: 0;
}

.contact-container {
    position: relative;
    z-index: 1;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.contact-method {
    background: var(--bg-tertiary);
    padding: 40px;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: var(--transition-medium);
}

.contact-method:hover {
    border-color: var(--neon-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--glow-green);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-primary);
}

.signal-icon {
    background: linear-gradient(45deg, #3a76f0, #5a9cff);
}

.telegram-icon {
    background: linear-gradient(45deg, #0088cc, #00aaff);
}

.contact-method h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.contact-method p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

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

.info-card {
    background: var(--bg-tertiary);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.info-card h4 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--neon-green);
    margin-bottom: 20px;
}

.info-card ul {
    list-style: none;
}

.info-card li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

.info-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--neon-blue);
}

/* Footer */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo .logo-text {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 900;
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--glow-blue);
}

.footer-logo p {
    color: var(--text-secondary);
    margin-top: 5px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-secondary);
        width: 100%;
        text-align: center;
        transition: var(--transition-medium);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .title-main {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .step {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .step:not(:last-child)::after {
        display: none;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px 0;
        --container-padding: 0 15px;
    }

    .title-main {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .feature-card,
    .pricing-card,
    .contact-method,
    .info-card {
        padding: 25px;
    }

    .price-amount {
        font-size: 3rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--neon-blue), var(--neon-green));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--neon-green), var(--neon-blue));
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-glow {
    text-shadow: 0 0 10px currentColor;
}

.border-glow {
    box-shadow: 0 0 20px currentColor;
}

