:root {
    --primary: #00ff88;
    --secondary: #ff0099;
    --dark: #0a0a0f;
    --mid-dark: #1a1a2e;
    --accent: #00d4ff;
    --text: #e0e0ff;
}

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

body {
    font-family: 'JetBrains Mono', monospace;
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Animated background grid */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Glowing orbs */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -200px;
    animation: float 15s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    bottom: -100px;
    left: -100px;
    animation: float 12s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(100px, -100px) scale(1.1); }
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    position: sticky;
    top: 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
    padding: 1.5rem 0;
    z-index: 100;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 2rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
}

.hero-text h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideUp 0.8s ease-out 0.2s both;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-text .subtitle {
    font-size: 1.4rem;
    color: var(--text);
    margin-bottom: 1rem;
    font-weight: 300;
    animation: slideUp 0.8s ease-out 0.4s both;
}

.hero-text .tagline {
    font-size: 1.1rem;
    color: rgba(224, 224, 255, 0.6);
    margin-bottom: 3rem;
    animation: slideUp 0.8s ease-out 0.6s both;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    animation: slideUp 0.8s ease-out 0.8s both;
}

.btn {
    padding: 1rem 2.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--dark);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 255, 136, 0.5);
}

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

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

/* Terminal Showcase */
.terminal {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideLeft 1s ease-out 0.4s both;
}

@keyframes slideLeft {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

.terminal-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.terminal-content {
    font-size: 0.9rem;
    color: var(--primary);
    font-family: 'JetBrains Mono', monospace;
}

.terminal-line {
    margin-bottom: 0.8rem;
    opacity: 0;
    animation: typeLine 0.5s ease-out forwards;
}

.terminal-line:nth-child(1) { animation-delay: 1.2s; }
.terminal-line:nth-child(2) { animation-delay: 1.5s; }
.terminal-line:nth-child(3) { animation-delay: 1.8s; }
.terminal-line:nth-child(4) { animation-delay: 2.1s; }
.terminal-line:nth-child(5) { animation-delay: 2.4s; }
.terminal-line:nth-child(6) { animation-delay: 2.7s; }

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

.prompt { color: var(--accent); }
.success { color: var(--primary); }
.info { color: rgba(224, 224, 255, 0.7); }

/* Features Section */
.features {
    padding: 8rem 0;
    position: relative;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(224, 224, 255, 0.6);
    margin-bottom: 5rem;
}

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

.feature-card {
    background: rgba(26, 26, 46, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 136, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.05), rgba(0, 212, 255, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature-card p {
    color: rgba(224, 224, 255, 0.8);
    line-height: 1.8;
}

/* Process Section */
.process {
    padding: 8rem 0;
    background: rgba(26, 26, 46, 0.3);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.step {
    text-align: center;
    position: relative;
}

.step::after {
    content: '→';
    position: absolute;
    top: 50px;
    right: -1.5rem;
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.3;
}

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

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--dark);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.step h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
}

.step p {
    color: rgba(224, 224, 255, 0.7);
    font-size: 0.95rem;
}

/* Stats Section */
.stats {
    padding: 6rem 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-top: 4rem;
}

.stat {
    position: relative;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(224, 224, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.05), rgba(0, 212, 255, 0.05));
}

.cta-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-section p {
    font-size: 1.3rem;
    color: rgba(224, 224, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto 1rem;
    justify-content: center;
}

.contact-form input[type="email"] {
    flex: 1;
    padding: 1rem 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 8px;
    color: var(--text);
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-form input[type="email"]:focus {
    border-color: var(--primary);
}

.contact-form input[type="email"]::placeholder {
    color: rgba(224, 224, 255, 0.4);
}

.form-status {
    min-height: 24px;
    color: var(--primary);
    font-size: 0.9rem;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
    text-align: center;
}

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

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    color: var(--text);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    color: rgba(224, 224, 255, 0.5);
    font-size: 0.9rem;
}

/* Pulse animation for CTA */
@keyframes pulse {
    0%, 100% { box-shadow: 0 10px 40px rgba(0, 255, 136, 0.3); }
    50% { box-shadow: 0 10px 60px rgba(0, 255, 136, 0.6); }
}

.btn-primary {
    animation: pulse 2s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .step::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    header {
        padding: 1rem 0;
    }

    .logo {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .hero-text h1 {
        font-size: clamp(2rem, 8vw, 2.8rem);
        margin-bottom: 1rem;
    }

    .hero-text .subtitle {
        font-size: 1.05rem;
    }

    .hero-text .tagline {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0 3rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.95);
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        border-top: 1px solid rgba(0, 255, 136, 0.1);
    }

    .nav-links.mobile-open {
        display: flex;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 0.6rem 0;
    }
    
    .mobile-menu-btn {
        display: block;
        min-width: 44px;
        min-height: 44px;
        font-size: 1.7rem;
        line-height: 1;
    }
    
    .stats-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        font-size: 2.3rem;
        margin-bottom: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-section h2 {
        font-size: 2.5rem;
    }
    
    .contact-form {
        flex-direction: column;
    }

    .contact-form input[type="email"],
    .contact-form .btn {
        width: 100%;
    }
    
    .cta-group {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-group .btn {
        width: 100%;
    }

    .btn {
        padding: 0.9rem 1.1rem;
    }

    .terminal {
        padding: 1rem;
    }

    .terminal-content {
        font-size: 0.8rem;
        overflow-wrap: anywhere;
    }

    .features,
    .process,
    .stats,
    .cta-section {
        padding: 4rem 0;
    }

    .stats-grid {
        gap: 2rem;
        margin-top: 2rem;
    }

    .stat-number {
        font-size: 2.8rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.25rem;
    }
}

@media (hover: none), (pointer: coarse) {
    .grid-bg {
        animation: none;
    }

    .btn-primary {
        animation: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
