/* ==============================================
   CyberArmor România - Main Stylesheet
   Cybersecurity & Managed IT Services
   ============================================== */

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

:root {
    /* Color Palette */
    --deep-black: #0B0D17;
    --cyber-blue: #00E5FF;
    --metallic-silver: #C0C0C0;
    --white: #FFFFFF;
    --light-gray: #E0E0E0;
    --dark-blue: #0A1628;
    --accent-glow: rgba(0, 229, 255, 0.2);
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    
    /* Spacing */
    --container-max: 1200px;
    --section-padding: 80px 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--deep-black);
    color: var(--light-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==============================================
   HEADER & NAVIGATION
   ============================================== */

header {
    background: rgba(11, 13, 23, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 35px;
    height: 35px;
    background: var(--cyber-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 0 20px var(--accent-glow);
}

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

.nav-menu a {
    color: var(--light-gray);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cyber-blue);
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--cyber-blue);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.emergency-btn {
    background: linear-gradient(135deg, #FF3366, #FF0033);
    color: var(--white) !important;
    padding: 10px 20px !important;
    border-radius: 5px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.3);
    animation: pulse-red 2s infinite;
}

.emergency-btn::after {
    display: none;
}

@keyframes pulse-red {
    0%, 100% { box-shadow: 0 4px 15px rgba(255, 51, 102, 0.3); }
    50% { box-shadow: 0 4px 25px rgba(255, 51, 102, 0.6); }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: 2px solid var(--cyber-blue);
    color: var(--cyber-blue);
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: var(--cyber-blue);
    color: var(--deep-black);
}

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

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

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

.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 .highlight {
    color: var(--cyber-blue);
    text-shadow: 0 0 30px var(--accent-glow);
}

.hero p {
    font-size: 20px;
    color: var(--metallic-silver);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 40px 0;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--cyber-blue);
    display: block;
}

.stat-label {
    font-size: 14px;
    color: var(--metallic-silver);
    margin-top: 5px;
}

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

.btn {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: var(--cyber-blue);
    color: var(--deep-black);
    box-shadow: 0 4px 20px var(--accent-glow);
}

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

.btn-secondary {
    background: transparent;
    color: var(--cyber-blue);
    border: 2px solid var(--cyber-blue);
}

.btn-secondary:hover {
    background: var(--cyber-blue);
    color: var(--deep-black);
}

.btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

section {
    padding: var(--section-padding);
    position: relative;
}

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

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.section-header .subtitle {
    font-size: 18px;
    color: var(--metallic-silver);
    max-width: 700px;
    margin: 0 auto;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-align: center;
}

/* ==============================================
   CARDS & SERVICES
   ============================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 10px;
    padding: 35px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyber-blue), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--cyber-blue);
    box-shadow: 0 10px 40px var(--accent-glow);
}

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

.service-icon {
    font-size: 48px;
    color: var(--cyber-blue);
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--metallic-silver);
    line-height: 1.8;
}

.service-card ul {
    margin: 20px 0;
    padding-left: 20px;
}

.service-card li {
    color: var(--light-gray);
    margin-bottom: 10px;
    position: relative;
}

.service-card li::marker {
    color: var(--cyber-blue);
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(0, 229, 255, 0.05));
    border: 2px solid var(--cyber-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--cyber-blue);
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 0 30px var(--accent-glow);
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--metallic-silver);
    font-size: 14px;
}

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

.content-section {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    padding: 50px;
    margin: 40px 0;
    border: 1px solid rgba(0, 229, 255, 0.1);
}

.content-section h3 {
    font-size: 28px;
    color: var(--white);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.content-section h3::before {
    content: '▸';
    color: var(--cyber-blue);
    font-size: 32px;
}

.content-section ul {
    list-style: none;
    padding: 0;
}

.content-section li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: start;
    gap: 15px;
}

.content-section li:last-child {
    border-bottom: none;
}

.content-section li::before {
    content: '✓';
    color: var(--cyber-blue);
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

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

.cta-section {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(0, 229, 255, 0.05));
    border: 2px solid var(--cyber-blue);
    border-radius: 10px;
    padding: 60px 40px;
    text-align: center;
    margin: 60px 0;
}

.cta-section h2 {
    font-size: 36px;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    color: var(--metallic-silver);
    margin-bottom: 30px;
}

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

footer {
    background: rgba(10, 22, 40, 0.5);
    border-top: 1px solid rgba(0, 229, 255, 0.2);
    padding: 60px 20px 30px;
    margin-top: 80px;
}

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

.footer-section h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section p,
.footer-section li {
    color: var(--metallic-silver);
    font-size: 14px;
    line-height: 1.8;
}

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

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--metallic-silver);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--cyber-blue);
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.certifications {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.cert-badge {
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid var(--cyber-blue);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 12px;
    color: var(--cyber-blue);
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--metallic-silver);
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid var(--cyber-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyber-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--cyber-blue);
    color: var(--deep-black);
    transform: translateY(-3px);
}

/* ==============================================
   FORMS
   ============================================== */

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: var(--white);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 5px;
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--cyber-blue);
    box-shadow: 0 0 15px var(--accent-glow);
}

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

.form-submit {
    text-align: center;
}

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

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--deep-black);
        flex-direction: column;
        padding: 20px;
        border-top: 1px solid rgba(0, 229, 255, 0.2);
        gap: 20px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-header h2,
    .section-title {
        font-size: 28px;
    }
    
    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .btn-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .content-section {
        padding: 30px 20px;
    }
    
    .form-container {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 26px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ==============================================
   UTILITY CLASSES
   ============================================== */

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

.text-cyber {
    color: var(--cyber-blue);
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

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

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

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--cyber-blue);
    border-radius: 5px;
}

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