/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&display=swap');

:root {
    --primary: #0066ff;
    --secondary: #64ffda;
    --dark: #0a0e27;
    --dark-alt: #141938;
    --light: #ccd6f6;
    --gray: #8892b0;
    --success: #00ff88;
    --warning: #ffa500;
    --danger: #ff4444;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--light);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: linear-gradient(135deg, var(--light), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
    color: var(--secondary);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background: rgba(10, 14, 39, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--light);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--light);
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--secondary);
}

/* Services Dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--dark-alt);
    min-width: 220px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 1rem 0;
    z-index: 1001;
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

.dropdown-content a {
    color: var(--gray);
    padding: 0.8rem 1.5rem;
    display: block;
}

.dropdown-content a:hover {
    background-color: rgba(100, 255, 218, 0.05);
    color: var(--secondary);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1002;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 10px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--dark);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.4);
}

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

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

.btn-secondary:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-3px);
}

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

.btn-outline:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn-sm {
    padding: 0.5rem 1.5rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    background: radial-gradient(circle at top right, rgba(0, 102, 255, 0.1), transparent 40%),
        radial-gradient(circle at bottom left, rgba(100, 255, 218, 0.1), transparent 40%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: var(--gray);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Services Grid */
.services-section {
    padding: 100px 0;
}

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

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

.service-card {
    background: rgba(20, 25, 56, 0.5);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: 0 20px 50px rgba(100, 255, 218, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.card-link {
    color: var(--secondary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.card-link:hover {
    gap: 0.8rem;
}

/* Detailed pages sections */
.page-header {
    padding: 150px 0 80px;
    text-align: center;
    background: linear-gradient(to bottom, rgba(10, 14, 39, 0.8), var(--dark));
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.badge-primary {
    background: rgba(0, 102, 255, 0.15);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.badge-secondary {
    background: rgba(100, 255, 218, 0.15);
    color: var(--secondary);
    border: 1px solid var(--secondary);
}

/* Pricing Cards (Hosting/Docker) */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--dark-alt);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s ease;
}

.pricing-card.featured {
    border-color: var(--secondary);
    box-shadow: 0 0 30px rgba(100, 255, 218, 0.1);
    transform: scale(1.02);
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light);
    margin: 1.5rem 0;
}

.pricing-price span {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 400;
}

.feature-list {
    margin: 2rem 0;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.feature-list li::before {
    content: '✓';
    color: var(--secondary);
    font-weight: bold;
}

/* Contact Form */
.contact-section {
    padding: 100px 0;
    background: var(--dark-alt);
}

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

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(10, 14, 39, 0.6);
    border: 1px solid rgba(136, 146, 176, 0.2);
    border-radius: 8px;
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.2);
}

.form-label {
    position: absolute;
    left: 1rem;
    top: -0.7rem;
    background: var(--dark-alt);
    padding: 0 0.5rem;
    font-size: 0.85rem;
    color: var(--secondary);
}

/* Footer */
footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--dark);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Utilities */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.w-100 {
    width: 100%;
}

.opacity-80 {
    opacity: 0.8;
}

.bg-soft-primary {
    background: rgba(0, 102, 255, 0.05);
}

.bg-dark-alt {
    background-color: var(--dark-alt);
}

.hero-telecom {
    background: radial-gradient(circle at top, rgba(100, 255, 218, 0.1), var(--dark));
}

.hero-security {
    background: linear-gradient(135deg, var(--dark-alt), rgba(255, 68, 68, 0.1));
}

.hero-informatics {
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.9), rgba(0, 102, 255, 0.15));
}

.bg-soft-secondary {
    background: rgba(100, 255, 218, 0.05);
}

.grid-tech {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Hosting Page Styles */
.hero-price {
    font-size: 3.5rem;
    color: var(--secondary);
}

.badge-container {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.badge-center {
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.text-sm {
    font-size: 0.9rem;
}

.badge-recommended {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.contact-container-center {
    display: block;
    max-width: 600px;
    margin: 0 auto;
}

/* Electricity Page Styles */
.hero-electric {
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.9), rgba(255, 165, 0, 0.15));
}

.hero-telecom {
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.9), rgba(0, 243, 255, 0.15));
}

.badge-warning {
    background: rgba(255, 165, 0, 0.15);
    color: var(--warning);
    border: 1px solid var(--warning);
}

.certification-box {
    border: 2px solid var(--secondary);
    display: inline-block;
    padding: 2rem;
    border-radius: 16px;
}

.py-5 {
    padding: 50px 0;
}

.mb-0 {
    margin-bottom: 0;
}

.fs-2 {
    font-size: 2rem;
}

.p-5 {
    padding: 3rem;
}

.fs-1-3 {
    font-size: 1.3rem;
}

.text-gray {
    color: #8892b0;
}

.mt-1 {
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 968px) {
    h1 {
        font-size: 3rem;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--dark);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: 0.3s;
        padding-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .dropdown-content {
        position: static;
        background: transparent;
        box-shadow: none;
        border: none;
        padding-left: 0;
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
    }

    .grid-services,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }
}