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

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #050510; }
::-webkit-scrollbar-thumb { background: #e91b5a; border-radius: 10px; }
* { scrollbar-color: #e91b5a #050510; scrollbar-width: thin; }

@font-face {
    font-family: Estedad;
    font-style: normal;
    font-weight: normal;
    src: url("../fonts/Estedad-Bold.woff2") format("woff2"), url("../fonts/Estedad-Bold.woff") format("woff"), url("../fonts/Estedad-Bold.ttf") format("truetype");
}

:root {
    --fontfamily: Estedad;
    --brand: #e91b5a;
    --brand-glow: rgba(233, 27, 90, 0.15);
    --dark-bg: #050510;
    --dark-card: #0a0a14;
    --text-main: #ffffff;
    --text-muted: #8a8a9a;
    --border-color: rgba(255, 255, 255, 0.08);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body {
    font-family: var(--fontfamily);
    background-color: var(--dark-bg);
    color: var(--text-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.section-divider {
    height: 1px;
    width: 80%;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, var(--brand), transparent);
    opacity: 0.4;
}

.hover-glow {
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.hover-glow::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 0%;
    background: radial-gradient(circle at center, var(--brand-glow) 0%, transparent 70%);
    transition: height 0.6s ease, opacity 0.6s ease;
    opacity: 0;
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
}
.hover-glow:hover::before {
    height: 100%;
    opacity: 1;
}

.hover-glow > * {
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 60px;
    height: 4px;
    background: var(--brand);
    border-radius: 2px;
}

.btn-neon {
    background: var(--brand);
    border: none;
    color: #fff;
    transition: var(--transition);
    font-weight: 600;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn-neon::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: var(--transition);
    opacity: 0;
    z-index: -1;
}
.btn-neon:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(233, 27, 90, 0.4);
}
.btn-neon:hover::after {
    bottom: -20%;
    opacity: 1;
}

.btn-outline-light-custom {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    transition: var(--transition);
    border-radius: 50px;
}
.btn-outline-light-custom:hover {
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(233, 27, 90, 0.15);
}

.glass-card {
    background: var(--dark-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
}
.glass-card.hover-glow:hover {
    border-color: rgba(233, 27, 90, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.navbar {
    background: rgba(5, 5, 16, 0.6);
    backdrop-filter: blur(20px);
    transition: var(--transition);
    border-bottom: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
    z-index: 1000;
    padding: 1rem 0;
}
.navbar.scrolled {
    padding: 0.6rem 0;
    background: rgba(5, 5, 16, 0.95);
    border-bottom: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
}
.navbar-brand img { height: 70px; width: auto; transition: var(--transition); }
.navbar.scrolled .navbar-brand img { height: 50px; }

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: var(--transition);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 0; height: 2px;
    background: var(--brand);
    transition: var(--transition);
}
.nav-link:hover { color: var(--text-main) !important; }
.nav-link:hover::after { width: 100%; }

.offcanvas { background: var(--dark-bg); border-left: 1px solid var(--border-color); }
.navbar-toggler { border: none !important; box-shadow: none !important; outline: none !important; }

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}
#hero-particles-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}
.hero .container { position: relative; z-index: 3; }

#canvas-container {
    width: 100%;
    height: 450px;
    border-radius: 24px;
    overflow: hidden;
}
@media (min-width: 992px) { #canvas-container { height: 500px; } }

.tech-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 40px;
    padding: 8px 18px;
    display: inline-block;
    margin-left: 10px;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.tech-badge i { color: var(--brand); }

.hero-stats-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    height: 100%;
}
.hero-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 1.2rem;
    text-align: center;
    border: 1px solid var(--border-color);
}
.hero-stat-card:hover {
    background: rgba(233, 27, 90, 0.1);
    border-color: var(--brand);
    transform: scale(1.03);
}
.hero-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand);
}
.hero-stat-card div:last-child {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 5px;
}

@media (max-width: 991px) {
    .hero-stats-column { flex-direction: row; justify-content: space-around; margin-top: 2rem; }
    .hero-stat-card { flex: 1; min-width: 100px; }
    .navbar-brand img { height: 50px; }
}

.service-item {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    margin-bottom: 0.6rem;
    transition: var(--transition);
    color: var(--text-muted);
    font-size: 0.95rem;
}
.service-item:hover {
    background: rgba(233, 27, 90, 0.1);
    color: var(--text-main);
    padding-right: 1.5rem;
    box-shadow: 0 5px 15px rgba(233, 27, 90, 0.1);
}
.service-item i { color: var(--brand); }

.stat-card {
    background: var(--dark-card);
    border-radius: 20px;
    padding: 2rem 1rem;
    border: 1px solid var(--border-color);
}
.counter {
    font-size: 3rem;
    font-weight: 800;
    color: var(--brand);
}

.project-card { border-radius: 20px; overflow: hidden; border: 1px solid var(--border-color); }
.project-img {
    height: 260px;
    background-size: cover;
    background-position: center;
    transition: 0.6s;
}
.project-overlay {
    background: linear-gradient(0deg, rgba(5,5,16,0.95) 20%, transparent);
    position: absolute;
    bottom: 0; width: 100%;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: 0.4s;
}
.project-card:hover .project-overlay { transform: translateY(0); }
.project-card:hover .project-img { transform: scale(1.05); filter: brightness(0.8); }

.step-box {
    background: var(--dark-card);
    border-radius: 20px;
    padding: 1.5rem 1rem;
    height: 100%;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.step-box:hover {
    border-color: var(--brand);
    transform: translateY(-8px);
    transition: var(--transition);
}
.step-number {
    width: 45px; height: 45px;
    background: rgba(233, 27, 90, 0.15);
    color: var(--brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.tech-logo {
    background: var(--dark-card);
    border-radius: 16px;
    padding: 1.2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.tech-logo i { font-size: 2.5rem; color: var(--text-muted); transition: var(--transition); }
.tech-logo p { color: var(--text-muted); margin-top: 0.5rem; font-size: 0.9rem; }
.tech-logo:hover {
    transform: translateY(-8px);
    border-color: var(--brand);
    transition: var(--transition);
}
.tech-logo:hover i { color: var(--brand); }

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: white;
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
}
.form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(233, 27, 90, 0.2);
}

.social-icon {
    width: 45px; height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
    text-decoration: none;
}
.social-icon:hover {
    background: var(--brand);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(233, 27, 90, 0.3);
}

.footer {
    background: #020208;
    border-top: 1px solid var(--border-color);
}
.footer ul li { margin-bottom: 0.8rem; }
.footer a { color: var(--text-muted); text-decoration: none; transition: var(--transition); }
.footer a:hover { color: var(--brand); padding-right: 5px; }