:root {
    /* Brand Colors - Adjust these if needed to match the exact logo hex codes */
    --primary: #3b82f6; /* Electric Blue */
    --primary-glow: rgba(59, 130, 246, 0.5);
    --secondary: #8b5cf6; /* Vibrant Purple */
    --accent: #06b6d4; /* Cyan */
    
    /* Backgrounds */
    --bg-dark: #050508;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    
    /* Text */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    /* Effects */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 16px;
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

p {
    line-height: 1.6;
    color: var(--text-muted);
}

.tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

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

/* Buttons */
.btn-primary, .btn-secondary, .btn-primary-small, .btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary-small {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 20px var(--primary-glow);
    border: none;
}

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

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid var(--text-muted);
}

.btn-secondary:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    gap: 8px;
    margin-top: 16px;
}

.btn-whatsapp:hover {
    background: #1ebc5a;
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: var(--glass-border);
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo img {
    height: 36px;
    width: auto;
}

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

.nav-links .btn-primary-small {
    margin-left: -16px; /* Offset the button's internal padding to balance visual distance */
}

.nav-links a:not(.btn-primary-small) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-links a:not(.btn-primary-small):hover {
    color: white;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden; /* Prevent video overflow */
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 8, 0.7); /* Dark overlay so text is readable */
    z-index: -1;
}

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

.hero .subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* About Section */
.about {
    padding: 100px 0;
}

.about-card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--radius);
    padding: 60px;
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-main);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #08080c 100%);
}

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

.service-card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--radius);
    padding: 40px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

/* Why Us Section */
.why-us {
    padding: 100px 0;
}

.why-us-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.benefits-list {
    margin-top: 30px;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.benefits-list li i {
    color: var(--primary);
    font-size: 1.25rem;
}

.why-us-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.floating-logo {
    max-width: 300px;
    animation: float 6s ease-in-out infinite;
}

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

/* Process Section */
.process {
    padding: 100px 0;
    background: #08080c;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
}

.step {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255,255,255,0.05);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

/* CTA Section */
.cta {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(5,5,8,0) 60%);
    z-index: -1;
    opacity: 0.4;
}

.cta h2 {
    margin-bottom: 16px;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 40px;
}

/* Footer */
footer {
    padding: 80px 0 30px;
    border-top: var(--glass-border);
    background: #030305;
}

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

.footer-brand p {
    margin-top: 16px;
    max-width: 300px;
}

.footer-contact h3 {
    margin-bottom: 24px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.contact-info i {
    color: var(--primary);
    width: 20px;
}

.contact-info a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 30px;
    border-top: var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    .why-us-wrapper { grid-template-columns: 1fr; }
    .why-us-image { height: auto; padding: 40px 0; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 8, 0.98);
        backdrop-filter: blur(15px);
        padding: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        text-align: center;
        gap: 20px;
    }
    .nav-links.mobile-active {
        display: flex;
    }
    .nav-links a {
        width: 100%;
        padding: 10px 0;
    }
    .mobile-menu-btn {
        display: block;
    }
    h1 { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-card { padding: 40px 20px; font-size: 1.1rem; }
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--radius);
    padding: 40px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.close-btn:hover {
    color: white;
}

.modal-content h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.modal-content p {
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.input-group input, .form-select {
    width: 100%;
    padding: 16px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.2);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 16px; /* Prevents iOS auto-zoom on focus */
    outline: none;
    transition: var(--transition);
}

.form-select {
    width: 145px;
    padding: 16px 30px 16px 16px;
    text-align: left;
    flex-shrink: 0;
    cursor: pointer;
}

.form-select option {
    background: var(--bg-dark);
    color: white;
}

.input-group input:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

#consultForm .btn-primary {
    width: 100%;
    margin-top: 15px;
    padding: 18px;
    font-size: 1.15rem;
}

.form-message {
    margin-top: 15px;
    font-size: 0.9rem;
    display: none;
}
.form-message.success {
    color: #4ade80;
    display: block;
}
.form-message.error {
    color: #f87171;
    display: block;
}
