:root {
    --bg-dark: #070b14;
    --bg-darker: #04060a;
    --primary: #00b4d8;
    --accent: #0077b6;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --card-hover: rgba(0, 180, 216, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--accent), var(--primary));
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Scroll Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(to right, #00b4d8, #00ffff, #0077b6);
    z-index: 99999;
    box-shadow: 0 0 10px #00ffff, 0 0 20px #00b4d8;
    transition: width 0.1s ease-out;
}

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

.section {
    padding: 6rem 0;
}

.relative { position: relative; }
.z-10 { z-index: 10; }
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.25rem; }
.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; }
.mt-4 { margin-top: 1rem; }
.mt-10 { margin-top: 2.5rem; }
.text-gray { color: var(--text-muted); }
.text-white { color: #fff; }
.text-accent { color: var(--primary); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.text-sm { font-size: 0.875rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 2.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.h-full { height: 100%; }
.w-full { width: 100%; }
.no-underline { text-decoration: none; }

.text-gradient {
    background: linear-gradient(135deg, #00b4d8, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite alternate;
}

@keyframes gradientShift {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(30deg); }
}

.hover-glow {
    transition: all 0.3s ease;
}
.hover-glow:hover {
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.9), 0 0 20px rgba(0, 180, 216, 0.8);
    color: #fff;
    transform: translateX(5px);
    display: inline-block;
}

/* Glassmorphism */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(4, 6, 10, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-subtitle {
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

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

.nav-menu {
    display: flex;
    gap: 1.5rem;
}

.nav-menu a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s, text-shadow 0.3s;
}

.nav-menu a:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--primary);
}

.btn-primary {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 15px rgba(0, 180, 216, 0.5);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.8), 0 0 50px rgba(0, 180, 216, 0.4);
    border-color: rgba(0, 255, 255, 0.5);
    color: white;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.05);
    animation: zoomInOut 20s infinite alternate;
}

.particles-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2;
}

@keyframes zoomInOut {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(4,6,10,0.95) 0%, rgba(4,6,10,0.7) 50%, rgba(4,6,10,0.4) 100%);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: 800px;
    padding: 0 5%;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.badge-dark {
    background: rgba(0, 0, 0, 0.4);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 180, 216, 0.3);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
}

.stats-container {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.stat-box {
    flex: 1;
    min-width: 200px;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.4);
    border-left: 3px solid var(--primary);
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 10px 20px rgba(0, 180, 216, 0.2);
    border-color: #00ffff;
}

.stat-box h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: white;
}

.stat-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Brands Marquee */
.brands-marquee {
    overflow: hidden;
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    white-space: nowrap;
    position: relative;
    z-index: 10;
}

.brands-marquee::before, .brands-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.brands-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark) 0%, transparent 100%);
}

.brands-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark) 0%, transparent 100%);
}

.brands-track {
    display: inline-block;
    animation: scrollMarquee 25s linear infinite;
}

.brands-track:hover {
    animation-play-state: paused;
}

.brands-track img {
    height: 70px;
    margin: 0 4rem;
    vertical-align: middle;
    filter: invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brands-track img:hover {
    filter: invert(1) opacity(1) drop-shadow(0 0 15px var(--primary));
    transform: scale(1.2);
    cursor: pointer;
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Services */
.services {
    position: relative;
    background-color: var(--bg-dark);
}

.services-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 1;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.service-column {
    display: flex;
    flex-direction: column;
}

.service-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 180, 216, 0.3), inset 0 0 20px rgba(0, 180, 216, 0.1);
    z-index: 5;
}

.highlight-card {
    border-top: 3px solid var(--primary);
}

.icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fff;
    position: relative;
    z-index: 2;
}

.service-desc {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: #ccc;
    position: relative;
    z-index: 2;
}

.service-list {
    list-style: none;
    position: relative;
    z-index: 2;
}

.service-list li {
    font-size: 0.9rem;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.2rem;
}

.service-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.2rem;
    text-shadow: 0 0 5px var(--primary);
}

/* Image Filters */
.filter-hue {
    filter: hue-rotate(90deg) contrast(1.1);
}
.filter-gray {
    filter: grayscale(80%) sepia(20%) hue-rotate(180deg) contrast(1.2);
}

/* Audience grid */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.audience-card {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    transition: all 0.3s;
}

.audience-card:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.6);
}

.border-blue { border-left: 3px solid #3b82f6; }
.border-blue:hover { box-shadow: -5px 0 20px rgba(59, 130, 246, 0.3); }

.border-teal { border-left: 3px solid #14b8a6; }
.border-teal:hover { box-shadow: -5px 0 20px rgba(20, 184, 166, 0.3); }

.border-red { border-left: 3px solid #ef4444; }
.border-red:hover { box-shadow: -5px 0 20px rgba(239, 68, 68, 0.3); }

.audience-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.audience-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}


/* Advantages 3D Cards */
.bg-darker {
    background-color: var(--bg-darker);
}

.cards-3d-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    perspective: 1000px;
}

.card-3d-wrapper {
    perspective: 1000px;
}

.card-3d {
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    cursor: pointer;
    background: linear-gradient(145deg, rgba(15,23,42,0.8) 0%, rgba(15,23,42,0.4) 100%);
    border-top: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.card-3d:hover {
    border-top-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 180, 216, 0.3);
}

.border-glow {
    border-color: rgba(239, 68, 68, 0.4);
}

.card-3d:hover.border-glow {
    border-top-color: #ef4444;
    box-shadow: 0 15px 40px rgba(239, 68, 68, 0.3);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transform: translateZ(40px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.card-3d h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    transform: translateZ(25px);
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.card-3d p {
    font-size: 0.9rem;
    color: var(--text-muted);
    transform: translateZ(15px);
}

/* Footer / Contact */
.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    opacity: 0.3;
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 10;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    align-items: stretch;
}

.contact-info-panel, .contact-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.divider-horizontal {
    width: 100%;
    height: 1px;
    background: var(--glass-border);
}

.d-flex {
    display: flex;
}

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

.contact-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    display: inline-block;
}

.icon-whatsapp {
    color: #25D366;
    filter: drop-shadow(0 0 10px rgba(37, 211, 102, 0.6));
}

.icon-phone {
    color: var(--primary);
    filter: drop-shadow(0 0 10px rgba(0, 180, 216, 0.6));
}

/* Forms */
.form-group {
    margin-bottom: 1.2rem;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 180, 216, 0.4);
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.01);
}

.form-input::placeholder {
    color: #64748b;
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300b4d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

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

.footer-bottom {
    margin-top: 4rem;
}

.footer-legal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.legal-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: var(--white);
}

.mx-2 {
    margin: 0 0.5rem;
    color: var(--glass-border);
}

.legal-badges {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-end;
}

.badge-item {
    font-size: 0.85rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.badge-item .icon {
    margin-right: 8px;
    font-size: 1.1rem;
}

.footer-copyright {
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

@media (max-width: 768px) {
    .footer-legal-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .legal-badges {
        align-items: center;
    }
}

/* Custom Cursor Glow */
.cursor-glow {
    position: fixed;
    top: 0; left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.15) 0%, rgba(0, 180, 216, 0) 60%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: width 0.2s, height 0.2s;
    mix-blend-mode: screen;
}

/* Floating Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.floating-delay-1 {
    animation-delay: 2s;
}

/* Pulse animation for icons */
@keyframes pulseGlow {
    0% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.6)); }
    50% { transform: scale(1.15); filter: drop-shadow(0 0 25px rgba(0, 255, 255, 1)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.6)); }
}

.pulse {
    animation: pulseGlow 2s infinite;
    display: inline-block;
}

/* Shiny hover effect on cards */
.card-3d::after, .service-card::after {
    content: '';
    position: absolute;
    top: 0; left: -150%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: 0.5s;
    pointer-events: none;
    z-index: 2;
}

.card-3d:hover::after, .service-card:hover::after {
    left: 200%;
    transition: 0.7s ease-in-out;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
    .cards-3d-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .navbar { padding: 1rem; }
    .hero { padding-top: 100px; }
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.4rem; min-height: 4rem; }
    .stats-container { flex-direction: column; }
    .audience-grid { grid-template-columns: 1fr; }
    .cards-3d-grid { grid-template-columns: 1fr; }
}
