/* Cyber Natives Tech Company - Native CSS Styles */

/* CSS Variables (Design System) */
:root {
    /* Cyberpunk Dark Theme */
    --background: hsl(222, 84%, 3%);
    --foreground: hsl(180, 100%, 90%);
    
    /* Cards with subtle tech glow */
    --card: hsl(222, 47%, 6%);
    --card-foreground: hsl(180, 100%, 90%);
    
    /* Primary cyan neon */
    --primary: hsl(180, 100%, 50%);
    --primary-foreground: hsl(222, 84%, 3%);
    
    /* Secondary purple tech */
    --secondary: hsl(280, 100%, 60%);
    --secondary-foreground: hsl(180, 100%, 90%);
    
    /* Muted tech gray */
    --muted: hsl(222, 47%, 12%);
    --muted-foreground: hsl(180, 50%, 70%);
    
    /* Accent neon green */
    --accent: hsl(120, 100%, 50%);
    --accent-foreground: hsl(222, 84%, 3%);
    
    /* Borders and inputs */
    --border: hsl(180, 100%, 20%);
    --input: hsl(222, 47%, 8%);
    
    /* Cyber Gradients */
    --gradient-cyber: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-tech: linear-gradient(45deg, hsla(180, 100%, 50%, 0.1) 0%, hsla(280, 100%, 60%, 0.1) 100%);
    --gradient-hero: linear-gradient(135deg, hsl(222, 84%, 3%) 0%, hsl(222, 47%, 6%) 50%, hsl(280, 100%, 10%) 100%);
    
    /* Shadows and Glows */
    --shadow-cyber: 0 0 20px hsla(180, 100%, 50%, 0.3);
    --shadow-tech: 0 10px 40px hsla(180, 100%, 50%, 0.1);
    --glow-primary: 0 0 30px hsla(180, 100%, 50%, 0.5);
    --glow-secondary: 0 0 30px hsla(280, 100%, 60%, 0.5);
    
    --radius: 0.75rem;
}

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

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: 'Rajdhani', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', monospace;
}

/* Utility Classes */
.tech-grid {
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
}

.cyber-glow {
    box-shadow: var(--glow-primary);
    transition: all 0.3s ease;
}

.cyber-glow:hover {
    box-shadow: var(--glow-primary), 0 0 50px hsla(180, 100%, 50%, 0.3);
    transform: translateY(-2px);
}

.tech-border {
    border: 1px solid hsla(180, 100%, 50%, 0.3);
    position: relative;
}

.tech-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid hsla(180, 100%, 50%, 0.1);
    border-radius: inherit;
    animation: pulse-border 2s infinite;
}

/* Animations */
@keyframes pulse-border {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

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

@keyframes glow-pulse {
    0%, 100% { 
        box-shadow: 0 0 20px hsla(180, 100%, 50%, 0.3);
    }
    50% { 
        box-shadow: 0 0 40px hsla(180, 100%, 50%, 0.6), 0 0 60px hsla(280, 100%, 60%, 0.3);
    }
}

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

.float-animation {
    animation: float 3s ease-in-out infinite;
}

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

/* Button Styles */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-hero {
    background: var(--gradient-cyber);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-cyber);
}

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

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--foreground);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid hsla(180, 100%, 50%, 0.2);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo {
    width: 24px;
    height: 24px;
    background: var(--gradient-cyber);
    border-radius: 4px;
    animation: glow-pulse 2s infinite;
}

.nav-title {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--foreground);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--muted-foreground);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--foreground);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

.hero-background {
    position: absolute;
    inset: 0;
    background-image: url('src/assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    opacity: 0.8;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title-section {
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 8rem);
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 2s infinite;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: var(--secondary);
}

.hero-description {
    margin-bottom: 2rem;
}

.hero-tagline {
    font-size: clamp(1.125rem, 2vw, 2rem);
    color: var(--muted-foreground);
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.5;
}

.hero-divider {
    height: 1px;
    width: 128px;
    background: var(--gradient-cyber);
    margin: 0 auto;
    animation: glow-pulse 2s infinite;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    padding-top: 2rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.hero-buttons .btn {
    min-width: 192px;
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-dot {
    position: absolute;
    border-radius: 50%;
    animation: float 3s ease-in-out infinite, glow-pulse 2s infinite;
}

.floating-dot-1 {
    top: 25%;
    left: 10%;
    width: 12px;
    height: 12px;
    background: var(--primary);
    opacity: 0.6;
    animation-delay: 0s;
}

.floating-dot-2 {
    top: 33%;
    right: 20%;
    width: 8px;
    height: 8px;
    background: var(--secondary);
    opacity: 0.4;
    animation-delay: 1s;
}

.floating-dot-3 {
    bottom: 25%;
    left: 25%;
    width: 16px;
    height: 16px;
    background: var(--accent);
    opacity: 0.5;
    animation-delay: 2s;
}

.floating-dot-4 {
    bottom: 33%;
    right: 33%;
    width: 8px;
    height: 8px;
    background: var(--primary);
    opacity: 0.3;
    animation-delay: 1.5s;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    font-family: 'Rajdhani', sans-serif;
}

.scroll-line {
    width: 1px;
    height: 32px;
    background: linear-gradient(to bottom, var(--primary), transparent);
}

/* Services Section */
.services {
    padding: 5rem 1.5rem;
    background: var(--gradient-tech);
    position: relative;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.section-divider {
    height: 1px;
    width: 96px;
    background: var(--gradient-cyber);
    margin: 0 auto 2rem;
}

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

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

.service-card {
    background: var(--card);
    border: 1px solid hsla(180, 100%, 50%, 0.2);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: hsla(180, 100%, 50%, 0.4);
    transform: translateY(-4px);
    box-shadow: var(--shadow-cyber);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-tech);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    border-radius: inherit;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-cyber);
    border-radius: var(--radius);
    position: relative;
    z-index: 1;
}

.service-icon img {
    width: 48px;
    height: 48px;
    filter: brightness(0) invert(1);
}

.service-title {
    font-size: 1.5rem;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.service-description {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.service-features li {
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: glow-pulse 2s infinite;
}

.service-btn {
    background: var(--primary);
    color: var(--primary-foreground);
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 5rem 1.5rem;
    background: var(--gradient-tech);
    position: relative;
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-subtitle {
    font-size: 2rem;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: var(--foreground);
}

.about-vision-title,
.about-features-title {
    font-size: 1.125rem;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    color: var(--primary);
}

.about-description {
    color: var(--muted-foreground);
    line-height: 1.7;
}

.about-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.about-feature {
    display: flex;
    align-items: center;
    color: var(--muted-foreground);
}

.about-feature::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    margin-right: 0.75rem;
    animation: glow-pulse 2s infinite;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--card);
    border: 1px solid hsla(180, 100%, 50%, 0.2);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    border-color: hsla(180, 100%, 50%, 0.4);
    transform: translateY(-2px);
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-tech);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    border-radius: inherit;
}

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

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Contact Section */
.contact {
    padding: 5rem 1.5rem;
    background: var(--background);
    position: relative;
}

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

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-content {
        grid-template-columns: 2fr 1fr;
    }
}

.contact-form-container {
    background: var(--card);
    border: 1px solid hsla(180, 100%, 50%, 0.2);
    border-radius: var(--radius);
    padding: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    color: var(--foreground);
    font-size: 0.875rem;
}

.form-input,
.form-select,
.form-textarea {
    background: var(--input);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) - 2px);
    padding: 12px 16px;
    color: var(--foreground);
    font-family: 'Rajdhani', sans-serif;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px hsla(180, 100%, 50%, 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.125rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-cyber);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-title {
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    color: var(--foreground);
}

.contact-text {
    color: var(--muted-foreground);
}

/* Footer */
.footer {
    background: var(--card);
    border-top: 1px solid hsla(180, 100%, 50%, 0.2);
    position: relative;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

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

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-logo {
    width: 24px;
    height: 24px;
    background: var(--gradient-cyber);
    border-radius: 4px;
    animation: glow-pulse 2s infinite;
}

.footer-title {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--foreground);
}

.footer-description {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.6;
}

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

.social-link {
    width: 32px;
    height: 32px;
    background: hsla(180, 100%, 50%, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: hsla(180, 100%, 50%, 0.2);
    transform: translateY(-2px);
}

.footer-heading {
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    color: var(--foreground);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid hsla(180, 100%, 50%, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.footer-legal-link {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bg-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.footer-dot {
    position: absolute;
    border-radius: 50%;
    animation: glow-pulse 2s infinite;
}

.footer-dot-1 {
    top: 2.5rem;
    left: 2.5rem;
    width: 8px;
    height: 8px;
    background: var(--primary);
    opacity: 0.3;
}

.footer-dot-2 {
    bottom: 2.5rem;
    right: 2.5rem;
    width: 12px;
    height: 12px;
    background: var(--secondary);
    opacity: 0.2;
}

.footer-grid {
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        border-top: 1px solid hsla(180, 100%, 50%, 0.2);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}