/*
Theme Name: DeepSky Solutions
Theme URI: https://deepskysolutions.com
Author: DeepSky
Author URI: https://deepskysolutions.com
Description: A premium, ultra-modern custom theme for DeepSky Solutions LLC.
Version: 1.0
Text Domain: deepsky
*/

:root {
    --bg-main: #060913;
    --bg-secondary: #0b1120;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-glow: #00f0ff;
    --accent-purple: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, var(--accent-glow) 0%, var(--accent-purple) 100%);
    --glass-bg: rgba(15, 23, 42, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Effects */
#stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

.nebula-overlay {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.05) 0%, rgba(0, 240, 255, 0.02) 25%, transparent 50%);
    z-index: -1;
    pointer-events: none;
    animation: rotateNebula 60s linear infinite;
}

@keyframes rotateNebula {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Typography & Utilities */
h1, h2, h3 {
    font-weight: 800;
    line-height: 1.2;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.accent {
    color: var(--accent-glow);
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(6, 9, 19, 0.8);
    backdrop-filter: blur(16px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.logo-icon {
    color: var(--accent-purple);
    font-size: 1.8rem;
    animation: pulse 2s infinite;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.nav-link:hover:not(.btn-primary)::after {
    width: 100%;
}

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

.mobile-menu-btn {
    display: none;
}

/* Buttons */
.btn {
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.btn-glow {
    background: var(--accent-gradient);
    color: white;
    border: none;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent-glow);
}

.btn-outline:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.btn-primary {
    background: rgba(255,255,255,0.1);
    padding: 10px 24px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
}
.btn-primary:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 60px;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-glow);
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

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

.hero-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.main-img-wrapper {
    position: relative;
    border-radius: 30px;
    padding: 10px;
    background: linear-gradient(135deg, rgba(0,240,255,0.3) 0%, rgba(139,92,246,0.3) 100%);
}

.hero-image {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    display: block;
    position: relative;
    z-index: 2;
}

.floating-element {
    animation: float 6s ease-in-out infinite;
}

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

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

/* Stats */
.stats-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.stat-card {
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 3rem;
    color: var(--accent-glow);
    display: inline-block;
}

.stat-plus {
    font-size: 2.5rem;
    color: var(--accent-glow);
    font-weight: 800;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 600;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Services */
.services {
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

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

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 240, 255, 0.3);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-purple);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.card-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    top: -50px;
    right: -50px;
    border-radius: 50%;
    pointer-events: none;
}

/* Vision */
.vision {
    padding: 100px 20px;
    background: linear-gradient(to bottom, transparent, rgba(11, 17, 32, 0.8), transparent);
}

.vision-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 60px;
}

.vision-text {
    flex: 1;
}

.vision-text h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.vision-text p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

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

.vision-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check {
    color: var(--accent-glow);
    font-weight: bold;
}

.vision-visual {
    flex: 1;
}

.code-window {
    background: #0d1117;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.window-header {
    background: #161b22;
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--glass-border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

pre {
    padding: 24px;
    margin: 0;
    overflow-x: auto;
}

code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #c9d1d9;
}

.keyword { color: #ff7b72; }
.variable { color: #79c0ff; }
.string { color: #a5d6ff; }
.function { color: #d2a8ff; }
.boolean { color: #79c0ff; }

/* CTA */
.cta-section {
    max-width: 800px;
    margin: 100px auto;
    padding: 60px 20px;
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--accent-glow);
    background: rgba(255, 255, 255, 0.08);
}

.submit-btn {
    width: 100%;
    font-size: 1.1rem;
    padding: 15px;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 40px 20px;
    text-align: center;
    background: #04060d;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 800;
}

footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations & Utility Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards ease-out;
}

.fade-in-scale {
    opacity: 0;
    transform: scale(0.9);
    animation: fadeInScale 1s forwards ease-out;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
    to { opacity: 1; transform: scale(1); }
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 40px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .vision-container {
        flex-direction: column;
        padding: 40px 20px;
    }
    
    .nav-links {
        display: none;
    }
}
