/* Base Variables */
:root {
    --bg-dark: #020617;
    /* Very dark slate / navy */
    --bg-darker: #0f172a;
    --acc-electric: #0ea5e9;
    /* Electric blue */
    --acc-cyan: #22d3ee;
    /* Neon cyan */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(34, 211, 238, 0.2);
    --transition: all 0.3s ease;
}

/* Reset & Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.max-w-2xl {
    max-width: 42rem;
    margin: 0 auto;
}

.max-w-3xl {
    max-width: 48rem;
    margin: 0 auto;
}

.max-w-4xl {
    max-width: 56rem;
    margin: 0 auto;
}

.max-w-5xl {
    max-width: 64rem;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

/* Typography */
.text-electric {
    color: var(--acc-electric);
}

.text-cyan {
    color: var(--acc-cyan);
}

.text-gray {
    color: var(--text-secondary);
}

.text-red {
    color: #ef4444;
}

.text-yellow {
    color: #eab308;
}

.font-bold {
    font-weight: 700;
}

.italic {
    font-style: italic;
}

.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-5xl {
    font-size: 3rem;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.uppercase {
    text-transform: uppercase;
}

.text-glow {
    color: var(--acc-cyan);
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

.text-gradient {
    background: linear-gradient(90deg, var(--acc-cyan), var(--acc-electric));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout Spacing */
.py-section {
    padding: 5rem 0;
}

.py-10 {
    padding: 2.5rem 0;
}

.py-8 {
    padding: 2rem 0;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-12 {
    margin-top: 3rem;
}

.w-full {
    width: 100%;
}

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

.hidden {
    display: none !important;
}

/* Grid & Flex */
.grid {
    display: grid;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-10 {
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Backgrounds & Borders */
.bg-darker {
    background-color: var(--bg-darker);
}

.border-y {
    border-top: 1px solid;
    border-bottom: 1px solid;
}

.border-t {
    border-top: 1px solid;
}

.border-glow {
    border-color: rgba(34, 211, 238, 0.2);
}

.border-electric {
    border-color: rgba(14, 165, 233, 0.3);
}

.rounded {
    border-radius: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: linear-gradient(90deg, var(--acc-electric), var(--acc-cyan));
    color: #fff;
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(34, 211, 238, 0.7);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--acc-cyan);
    border: 1px solid var(--acc-cyan);
}

.btn-secondary:hover {
    background: rgba(34, 211, 238, 0.1);
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.3);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--text-primary);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Hero */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.tech-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 15% 50%, rgba(34, 211, 238, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(14, 165, 233, 0.15) 0%, transparent 50%);
    background-size: 200% 200%;
    animation: pulseBg 10s ease infinite alternate;
}

@keyframes pulseBg {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero .subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Effects & Orbs */
.glow-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--acc-electric);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    z-index: 0;
}

.glow-orb.left {
    top: 10%;
    left: -150px;
}

.glow-orb.right {
    bottom: 10%;
    right: -150px;
}

/* Panels & Cards */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem;
    transition: var(--transition);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--glass-border);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.icon-glow {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.6));
}

/* Video */
.neon-border {
    position: relative;
    overflow: hidden;
}

.neon-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: 1.1rem;
    background: linear-gradient(45deg, var(--acc-electric), var(--acc-cyan), transparent);
    animation: borderGlow 4s linear infinite;
}

@keyframes borderGlow {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
        filter: blur(4px);
    }
}

.responsive-video {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
}

/* KPI Section */
.kpi-card {
    padding: 1rem;
}

/* Logos Strip */
.logos-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.logo-item {
    font-weight: 800;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.logo-item:hover {
    color: rgba(255, 255, 255, 0.9);
    border-color: var(--acc-cyan);
}

/* Testimonials */
.testimonial-card {
    padding: 2rem;
}

.generic-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #334155, #1e293b);
    border: 2px solid var(--text-secondary);
}

/* Services */
.service-card {
    background: linear-gradient(145deg, #111827, #0f172a);
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid var(--acc-electric);
    transition: var(--transition);
}

.service-card:hover {
    border-left-color: var(--acc-cyan);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.15);
    transform: translateX(5px);
}

.service-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* FAQ */
.faq-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.125rem;
    align-items: center;
    transition: var(--transition);
}

.faq-btn:hover {
    color: var(--acc-cyan);
}

.faq-content.open {
    display: block !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: #fff;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--acc-cyan);
    box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.2);
}

.btn-text {
    margin-right: 0.5rem;
}

/* Form Responses */
.form-response.bg-success {
    background-color: rgba(37, 211, 102, 0.2);
    color: #fff;
    border-color: #25D366;
}

.form-response.bg-error {
    background-color: rgba(239, 68, 68, 0.2);
    color: #fff;
    border-color: #ef4444;
}

/* Floating WA */
.floating-wa {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: var(--transition);
}

.floating-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.7);
}

/* Hover utilities */
.hover\:text-cyan:hover {
    color: var(--acc-cyan);
}

.hover\:text-white:hover {
    color: white;
}

.transition {
    transition: var(--transition);
}

.transition-colors {
    transition: color 0.3s ease;
}

/* Animations on Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.is-visible {
    opacity: 1;
    transform: translate(0);
}