/* ======================================
   CSS RESET & BASE STYLES
   ====================================== */

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

:root {
    /* Colors */
    --primary-500: #00FFFF;
    --primary-300: #99FFFF;
    --primary-700: #00E0E0;
    
    --neutral-950: #000000;
    --neutral-900: #0A0A0A;
    --neutral-800: #262626;
    --neutral-400: #A3A3A3;
    --neutral-100: #E4E4E7;
    
    --success: #22C55E;
    --warning: #F59E0B;
    --error: #EF4444;
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-xxl: 96px;
    
    /* Border Radius */
    --radius: 8px;
    
    /* Glow Effects */
    --glow-md: 0 0 16px 0 rgba(0, 255, 255, 0.25);
    --glow-lg: 0 0 32px 0 rgba(0, 255, 255, 0.35);
    --glow-xl: 0 0 48px 0 rgba(0, 255, 255, 0.45);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--neutral-950);
    color: var(--neutral-100);
    line-height: 1.7;
    font-size: 18px;
    overflow-x: hidden;
}

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

/* ======================================
   TYPOGRAPHY
   ====================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--space-sm);
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    color: var(--neutral-400);
    text-align: center;
    margin-bottom: var(--space-xxl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.service-title,
.feature-title {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: var(--space-sm);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--neutral-400);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.service-description,
.feature-description {
    color: var(--neutral-400);
    margin-bottom: var(--space-md);
}

code, .stat-value {
    font-family: var(--font-mono);
    font-size: 16px;
}

/* ======================================
   BUTTONS
   ====================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 500;
    font-family: var(--font-body);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    min-height: 48px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary-500);
    color: var(--neutral-950);
    box-shadow: var(--glow-md);
}

.btn-primary:hover {
    background-color: var(--primary-300);
    transform: scale(1.05);
    box-shadow: var(--glow-lg);
}

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

.btn-secondary:hover {
    background-color: var(--primary-500);
    color: var(--neutral-950);
    box-shadow: var(--glow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-500);
    border: 1px solid var(--neutral-800);
}

.btn-outline:hover {
    background-color: var(--primary-500);
    color: var(--neutral-950);
    border-color: var(--primary-500);
    box-shadow: var(--glow-md);
}

.btn-large {
    padding: 20px 40px;
    font-size: 18px;
    min-height: 56px;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* ======================================
   HERO SECTION
   ====================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: 
        linear-gradient(var(--neutral-800) 1px, transparent 1px),
        linear-gradient(90deg, var(--neutral-800) 1px, transparent 1px);
    background-size: 50px 50px;
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.floating-particles::before,
.floating-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-500);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    box-shadow: var(--glow-md);
}

.floating-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: -2s;
}

.floating-particles::after {
    top: 60%;
    right: 20%;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.logo-container {
    margin-bottom: var(--space-xl);
}

.logo {
    height: 96px;
    width: auto;
    filter: drop-shadow(var(--glow-lg));
    animation: pulse 2s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% { filter: drop-shadow(var(--glow-lg)); }
    100% { filter: drop-shadow(0 0 48px 0 rgba(0, 255, 255, 0.5)); }
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-xxl);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--space-xl);
    justify-content: center;
    margin-top: var(--space-xxl);
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-500);
    display: block;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 14px;
    color: var(--neutral-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ======================================
   SECTIONS
   ====================================== */

.services,
.why-choose,
.testimonials,
.cta-section {
    padding: var(--space-xxl) 0;
}

.section-header {
    margin-bottom: var(--space-xxl);
}

/* ======================================
   SERVICES GRID
   ====================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.service-card {
    background-color: var(--neutral-900);
    border: 1px solid var(--neutral-800);
    border-radius: var(--radius);
    padding: var(--space-lg);
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-500), transparent);
    transition: left 500ms ease;
}

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

.service-card:hover {
    border-color: var(--primary-500);
    transform: translateY(-8px);
    box-shadow: var(--glow-md);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-500);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 2;
}

.service-icon .icon {
    width: 24px;
    height: 24px;
    color: var(--neutral-950);
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: var(--space-md);
}

.feature {
    font-size: 12px;
    padding: 4px 8px;
    background-color: var(--neutral-800);
    color: var(--primary-500);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* ======================================
   FEATURES GRID
   ====================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.feature-item {
    text-align: center;
    padding: var(--space-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    box-shadow: var(--glow-md);
}

.feature-icon .icon {
    width: 32px;
    height: 32px;
    color: var(--neutral-950);
}

.feature-title {
    text-align: center;
}

.feature-description {
    text-align: center;
}

/* ======================================
   TESTIMONIALS
   ====================================== */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-md);
}

.testimonial-card {
    background-color: var(--neutral-900);
    border: 1px solid var(--neutral-800);
    border-radius: var(--radius);
    padding: var(--space-lg);
    border-top: 2px solid var(--primary-500);
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    border-color: var(--primary-500);
    box-shadow: var(--glow-md);
    transform: translateY(-4px);
}

.testimonial-content {
    margin-bottom: var(--space-md);
}

.testimonial-text {
    font-style: italic;
    color: var(--neutral-100);
    line-height: 1.6;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 48px;
    color: var(--primary-500);
    position: absolute;
    top: -10px;
    left: -20px;
    font-family: var(--font-heading);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-950);
    font-weight: 600;
    font-size: 14px;
}

.author-name {
    font-weight: 500;
    color: var(--neutral-100);
    font-size: 16px;
}

.author-role {
    font-size: 14px;
    color: var(--neutral-400);
}

/* ======================================
   CTA SECTION
   ====================================== */

.cta-section {
    background: linear-gradient(135deg, var(--neutral-900) 0%, var(--neutral-800) 100%);
    border-top: 1px solid var(--neutral-800);
    border-bottom: 1px solid var(--neutral-800);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 36px;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-description {
    font-size: 20px;
    color: var(--neutral-400);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ======================================
   FOOTER
   ====================================== */

.footer {
    background-color: var(--neutral-900);
    border-top: 1px solid var(--neutral-800);
    padding: var(--space-xxl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

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

.footer-logo {
    height: 48px;
    width: auto;
    margin-bottom: var(--space-md);
    filter: drop-shadow(var(--glow-md));
}

.footer-description {
    color: var(--neutral-400);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-500);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.footer-list li {
    margin-bottom: var(--space-xs);
}

.footer-list a {
    color: var(--neutral-400);
    text-decoration: none;
    transition: color 250ms ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--neutral-800);
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer-copyright {
    color: var(--neutral-400);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: var(--space-md);
}

.footer-legal a {
    color: var(--neutral-400);
    text-decoration: none;
    font-size: 14px;
    transition: color 250ms ease;
}

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

/* ======================================
   RESPONSIVE DESIGN
   ====================================== */

/* Tablet */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .hero-stats {
        gap: var(--space-md);
    }
    
    .cta-title {
        font-size: 28px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    body {
        font-size: 16px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .services-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-title {
        font-size: 24px;
    }
    
    .cta-description {
        font-size: 18px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .logo {
        height: 64px;
    }
    
    .service-card,
    .testimonial-card {
        padding: var(--space-md);
    }
    
    .feature-item {
        padding: var(--space-md);
    }
}

/* ======================================
   ANIMATIONS
   ====================================== */

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

.service-card,
.feature-item,
.testimonial-card {
    animation: slideInUp 600ms ease-out;
}

/* ======================================
   SCROLL ANIMATIONS
   ====================================== */

.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 600ms ease-out;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}