@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');
@import url('https://cdn.jsdelivr.net/npm/remixicon@2.5.0/fonts/remixicon.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    --primary: #00F5FF;
    --primary-dark: #00C5D1;
    --secondary: #7209B7;
    --accent: #FF006E;
    --dark: #0A0E27;
    --dark-light: #151A3D;
    --dark-lighter: #1E2449;
    --text-light: #E8EAED;
    --text-muted: #9CA3AF;
    --success: #00FF88;
    --warning: #FFB800;
    --border: rgba(0, 245, 255, 0.15);
    --glow: rgba(0, 245, 255, 0.3);
    --shadow: rgba(0, 0, 0, 0.5);
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--text-light);
    overflow-x: hidden;
}

code, pre {
    font-family: 'JetBrains Mono', monospace;
}

.header-sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.header-sticky.scrolled {
    box-shadow: 0 4px 20px rgba(0, 245, 255, 0.1);
    background: rgba(10, 14, 39, 0.98);
}

.logo-text {
    font-weight: 800;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.nav-link {
    position: relative;
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

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

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

.nav-link.active {
    color: var(--primary);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--dark);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

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

.btn-secondary {
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.card {
    background: var(--dark-light);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

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

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

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

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px var(--glow);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.hero-gradient {
    background: radial-gradient(circle at 30% 20%, rgba(114, 9, 183, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(0, 245, 255, 0.2) 0%, transparent 50%);
}

.glow-text {
    text-shadow: 0 0 20px var(--glow);
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--dark-lighter);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--glow);
    background: var(--dark-light);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
}

.form-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--dark-lighter);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    color: var(--text-light);
    font-size: 1rem;
    resize: vertical;
    min-height: 150px;
    transition: all 0.3s ease;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--glow);
    background: var(--dark-light);
}

.form-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid var(--border);
    border-radius: 0.25rem;
    background: var(--dark-lighter);
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-checkbox:checked {
    background: var(--primary);
    border-color: var(--primary);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(21, 26, 61, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    padding: 1.5rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.accordion-item {
    background: var(--dark-light);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: var(--primary);
}

.accordion-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.3s ease;
    user-select: none;
}

.accordion-header:hover {
    color: var(--primary);
    background: rgba(0, 245, 255, 0.05);
}

.accordion-header i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.7;
    display: none;
}

.accordion-content.active {
    display: block;
    animation: slideDown 0.3s ease;
}

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

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--dark-lighter);
    border: 1px solid var(--border);
    border-radius: 2rem;
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-badge:hover {
    border-color: var(--primary);
    background: rgba(0, 245, 255, 0.1);
    transform: translateY(-2px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

.gradient-border {
    position: relative;
    background: var(--dark-light);
    border-radius: 1rem;
    padding: 2px;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

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

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

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

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

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

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

.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.testimonial-card {
    background: var(--dark-light);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    transition: all 0.4s ease;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
    font-family: Georgia, serif;
}

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

.timeline-item {
    position: relative;
    padding-left: 3rem;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: -2rem;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 0.25rem;
    width: 1.25rem;
    height: 1.25rem;
    background: var(--primary);
    border: 3px solid var(--dark);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--glow);
}

.price-card {
    background: var(--dark-light);
    border: 2px solid var(--border);
    border-radius: 1.5rem;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.price-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.price-card:hover::before,
.price-card.featured::before {
    opacity: 1;
}

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

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

.tag {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 2rem;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary);
    color: var(--dark);
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-lighter);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--glow);
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 3rem 0;
}

.code-block {
    background: var(--dark-lighter);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    overflow-x: auto;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-light);
}

.code-block::-webkit-scrollbar {
    height: 8px;
}

.code-block::-webkit-scrollbar-track {
    background: var(--dark);
    border-radius: 4px;
}

.code-block::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

::selection {
    background: var(--primary);
    color: var(--dark);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .price-card.featured {
        transform: scale(1);
    }
    
    .timeline-item {
        padding-left: 2rem;
    }
}

@media (max-width: 640px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
}

.blob-gradient {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

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

.notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: var(--dark-light);
    border: 1px solid var(--primary);
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 30px var(--glow);
    z-index: 9999;
    animation: slideInRight 0.3s ease;
}

.notification.success {
    border-color: var(--success);
}

.notification.error {
    border-color: var(--accent);
}

.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.glassmorphism {
    background: rgba(21, 26, 61, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
}

.neon-text {
    text-shadow: 0 0 10px var(--primary),
                 0 0 20px var(--primary),
                 0 0 30px var(--primary);
}

.grid-pattern {
    background-image: 
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 50px 50px;
}

.wave-divider {
    position: relative;
}

.wave-divider::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%2300F5FF' opacity='0.1'%3E%3C/path%3E%3C/svg%3E") no-repeat center bottom;
    background-size: cover;
}