/* ===================================
   CYBERDUDEBIVASH® Enterprise CSS
   Production-Grade Cybersecurity Platform
   © 2026 CYBERDUDEBIVASH Pvt. Ltd.
   =================================== */

/* === CSS Variables === */
:root {
    /* Brand Colors from Logo */
    --primary-blue: #00A8E8;
    --primary-cyan: #00FFFF;
    --primary-orange: #FF8C42;
    --primary-green: #00D09C;
    --dark-navy: #0A1628;
    --dark-bg: #0D1520;
    --darker-bg: #050A12;
    
    /* Accent Colors */
    --neon-cyan: #00FFFF;
    --neon-orange: #FF6B35;
    --neon-green: #39FF14;
    --warning-red: #FF3366;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #E5E7EB;
    --mid-gray: #9CA3AF;
    --dark-gray: #374151;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Typography */
    --font-primary: 'Orbitron', 'Rajdhani', 'Exo 2', sans-serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-mono: 'Fira Code', 'JetBrains Mono', 'Courier New', monospace;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);
    --shadow-glow-cyan: 0 0 20px rgba(0, 255, 255, 0.3);
    --shadow-glow-orange: 0 0 20px rgba(255, 140, 66, 0.3);
}

/* === Typography Imports === */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&family=Exo+2:wght@300;400;500;600;700;800&family=Fira+Code:wght@400;500;600&display=swap');

/* === Global Reset === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--dark-bg);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* === Canvas Background === */
#matrixCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
}

/* === Navigation === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--primary-cyan);
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.1);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.nav-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-cyan);
    box-shadow: var(--shadow-glow-cyan);
    transition: var(--transition-normal);
}

.nav-logo:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
}

.brand-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    color: var(--light-gray);
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-cyan);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-cyan);
    background: rgba(0, 255, 255, 0.1);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link.active {
    color: var(--primary-cyan);
    background: rgba(0, 255, 255, 0.15);
    font-weight: 600;
}

.btn-portal {
    background: linear-gradient(135deg, var(--primary-orange), var(--neon-orange));
    color: var(--white) !important;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
}

.btn-portal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.5);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-cyan);
    transition: var(--transition-fast);
    border-radius: 3px;
}

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

/* === Hero Section === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
}

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

.hero-content {
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-orange), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
    background-size: 200% 200%;
}

.subtitle {
    font-size: 1.75rem;
    color: var(--light-gray);
    font-weight: 600;
    margin-top: 1rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--mid-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-cyan);
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.stat-label {
    display: block;
    color: var(--mid-gray);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.shield-container {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-shield {
    width: 100%;
    max-width: 450px;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(0, 255, 255, 0.4));
    animation: pulse 3s ease-in-out infinite;
}

.shield-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.2), transparent 70%);
    animation: glowPulse 4s ease-in-out infinite;
    border-radius: 50%;
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-family: var(--font-body);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
    color: var(--dark-navy);
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}

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

.btn-secondary {
    background: linear-gradient(135deg, var(--primary-orange), var(--neon-orange));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 140, 66, 0.5);
}

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

.btn-outline:hover {
    background: var(--primary-cyan);
    color: var(--dark-navy);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* === Sections === */
section {
    padding: 80px 0;
    position: relative;
}

.page-header {
    padding: 150px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, rgba(0, 255, 255, 0.1), transparent);
}

.page-title {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--mid-gray);
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--white);
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--mid-gray);
    max-width: 800px;
    margin: 0 auto 4rem;
}

/* === Grid Layouts === */
.ecosystem-grid,
.capabilities-grid,
.services-pricing-grid,
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* === Cards === */
.ecosystem-card,
.capability-card,
.service-price-card,
.pricing-card {
    background: rgba(10, 22, 40, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.ecosystem-card::before,
.capability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-orange));
    opacity: 0;
    transition: var(--transition-normal);
}

.ecosystem-card:hover,
.capability-card:hover,
.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-cyan);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.ecosystem-card:hover::before,
.capability-card:hover::before {
    opacity: 1;
}

.card-icon,
.capability-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.card-link {
    display: inline-block;
    color: var(--primary-cyan);
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: var(--transition-fast);
}

.card-link:hover {
    color: var(--primary-orange);
    transform: translateX(5px);
}

/* === Pricing Cards === */
.pricing-card {
    text-align: center;
}

.pricing-featured {
    border: 2px solid var(--primary-orange);
    transform: scale(1.05);
}

.pricing-badge {
    display: inline-block;
    background: var(--primary-cyan);
    color: var(--dark-navy);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.pricing-badge-popular {
    background: var(--primary-orange);
    color: var(--white);
}

.pricing-price {
    margin: 2rem 0;
}

.price-amount {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-cyan);
}

.price-period {
    font-size: 1.25rem;
    color: var(--mid-gray);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-gray);
}

/* === Contact Form === */
.contact-form {
    background: rgba(10, 22, 40, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

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

/* === Footer === */
.footer {
    background: var(--darker-bg);
    border-top: 2px solid var(--primary-cyan);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

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

.footer-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--primary-cyan);
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--mid-gray);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-cyan);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--mid-gray);
}

/* === CTA Section === */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 140, 66, 0.1));
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 16px;
    padding: 4rem 2rem;
    text-align: center;
    margin: 4rem 0;
}

.cta-container h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        filter: drop-shadow(0 0 40px rgba(0, 255, 255, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 60px rgba(0, 255, 255, 0.6));
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* === Responsive === */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 22, 40, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.25rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* === Utility Classes === */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* === Service Blocks === */
.service-block {
    background: rgba(10, 22, 40, 0.4);
    border-left: 4px solid var(--primary-cyan);
    border-radius: 8px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    transition: var(--transition-normal);
}

.service-block:hover {
    background: rgba(10, 22, 40, 0.6);
    transform: translateX(5px);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-icon {
    font-size: 2.5rem;
}

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

.feature-column ul {
    list-style: none;
    padding-left: 0;
}

.feature-column li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--light-gray);
}

.feature-column li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

.service-deliverables {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
    font-style: italic;
}
