/* Base Styles */
:root {
    --primary-color: #0ea5e9;
    --primary-hover: #0284c7;
    --secondary-color: #38bdf8;
    --dark-bg: #0f172a;
    --darker-bg: #0c1524;
    --card-bg: rgba(30, 41, 59, 0.6);
    --border-color: rgba(14, 165, 233, 0.2);
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--dark-bg);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.w-100 {
    width: 100%;
}

/* Energy Background Canvas */
#energyBackground {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
}

.btn i {
    margin-left: 8px;
}

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

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

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

.btn-outline:hover {
    background-color: rgba(14, 165, 233, 0.1);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 18px;
}

.btn-whatsapp {
    background-color: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #1da851;
}

/* Header / Navbar */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

#header.scrolled {
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo span {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(to right, #0ea5e9, #38bdf8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.desktop-nav {
    display: flex;
    align-items: center;
}

.desktop-nav ul {
    display: flex;
    margin-right: 20px;
}

.desktop-nav ul li {
    margin: 0 15px;
}

.desktop-nav ul li a {
    color: var(--text-color);
}

.desktop-nav ul li a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    padding: 20px 0;
    background-color: var(--darker-bg);
    border-radius: 0 0 10px 10px;
}

.mobile-nav ul {
    margin-bottom: 15px;
}

.mobile-nav ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav ul li:last-child {
    border-bottom: none;
}

.mobile-nav.active {
    display: block;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
}

.hero-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    padding-right: 20px;
    margin-bottom: 30px;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(to right, #0ea5e9, #38bdf8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    margin-bottom: 30px;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(14, 165, 233, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.feature-icon i {
    color: var(--primary-color);
}

.hero-image {
    flex: 1;
    position: relative;
    min-height: 400px;
}

.laptop-mockup {
    position: relative;
    width: 80%;
    max-width: 400px;
    margin: 0 auto;
}

.laptop-screen {
    background-color: #1e293b;
    border-radius: 10px 10px 0 0;
    border: 2px solid #334155;
    padding: 10px;
    aspect-ratio: 16/10;
}

.browser-bar {
    height: 20px;
    background-color: #334155;
    border-radius: 5px 5px 0 0;
    display: flex;
    align-items: center;
    padding: 0 10px;
    margin-bottom: 10px;
}

.browser-dots {
    display: flex;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px;
}

.red { background-color: #ef4444; }
.yellow { background-color: #eab308; }
.green { background-color: #22c55e; }

.browser-content {
    height: calc(100% - 30px);
    background: linear-gradient(to bottom right, rgba(14, 165, 233, 0.1), rgba(56, 189, 248, 0.1));
    border-radius: 5px;
    padding: 10px;
    position: relative;
}

.site-header {
    height: 12px;
    width: 100px;
    background-color: rgba(14, 165, 233, 0.4);
    border-radius: 3px;
    margin-bottom: 10px;
}

.site-text {
    height: 8px;
    width: 100%;
    background-color: rgba(148, 163, 184, 0.4);
    border-radius: 3px;
    margin-bottom: 5px;
}

.site-text.short {
    width: 75%;
}

.site-button {
    height: 30px;
    width: 100%;
    background-color: rgba(14, 165, 233, 0.2);
    border-radius: 5px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-button::after {
    content: "";
    width: 60px;
    height: 15px;
    background-color: rgba(14, 165, 233, 0.6);
    border-radius: 3px;
}

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

.grid-item {
    height: 30px;
    background-color: rgba(148, 163, 184, 0.3);
    border-radius: 3px;
}

.laptop-base {
    width: 70%;
    height: 15px;
    background-color: #334155;
    border-radius: 0 0 10px 10px;
    margin: -2px auto 0;
}

.energy-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.energy-line {
    position: absolute;
    width: 4px;
    height: 80px;
    background-color: rgba(14, 165, 233, 0.5);
    top: 50%;
    transform: translateY(-50%);
    animation: energyPulse 1s infinite alternate ease-in-out;
}

.energy-line:nth-child(2) {
    animation-delay: 0.2s;
}

.energy-line:nth-child(3) {
    animation-delay: 0.4s;
}

.energy-line:nth-child(4) {
    animation-delay: 0.6s;
}

.energy-line:nth-child(5) {
    animation-delay: 0.8s;
}

@keyframes energyPulse {
    0% {
        height: 20px;
        opacity: 0.3;
    }
    100% {
        height: 100px;
        opacity: 0.8;
    }
}

/* Section Styles */
section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(to right, #0ea5e9, #38bdf8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.section-divider {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

/* Services Section */
.services-section {
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
}

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

.service-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.service-card:hover {
    border-color: rgba(14, 165, 233, 0.5);
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(14, 165, 233, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: rgba(14, 165, 233, 0.3);
}

.service-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.service-card:hover h3 {
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-muted);
}

/* Portfolio Section */
.portfolio-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 50px 30px;
    text-align: center;
    backdrop-filter: blur(5px);
}

.portfolio-icon {
    width: 100px;
    height: 100px;
    background-color: rgba(14, 165, 233, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.portfolio-icon i {
    font-size: 40px;
    color: var(--primary-color);
}

.portfolio-container h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.portfolio-container p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 30px;
}

.portfolio-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.portfolio-service-card {
    background-color: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
}

.portfolio-service-card h4 {
    margin-bottom: 10px;
    color: white;
}

.portfolio-service-card p {
    font-size: 14px;
    margin: 0;
}

/* Contact Section */
.contact-section {
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    backdrop-filter: blur(5px);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 6px;
    color: white;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 25px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(14, 165, 233, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 20px;
    color: var(--primary-color);
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-muted);
    margin: 0;
}

.quick-contact {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    margin-top: auto;
    backdrop-filter: blur(5px);
}

/* Footer */
.footer {
    background-color: var(--darker-bg);
    border-top: 1px solid rgba(14, 165, 233, 0.1);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3,
.footer-services h3,
.footer-links h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-info p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: #1e293b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: #334155;
    color: var(--primary-color);
}

.footer-services ul li,
.footer-links ul li {
    margin-bottom: 10px;
}

.footer-services ul li a,
.footer-links ul li a {
    color: var(--text-muted);
}

.footer-services ul li a:hover,
.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 36px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        padding-right: 0;
        text-align: center;
    }
    
    .hero-text p {
        margin: 0 auto 30px;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .portfolio-services {
        grid-template-columns: 1fr;
    }
}