/* V4 Agrus-Inspired Tech / Data Theme */
:root {
    --primary: #4CAF50; /* Verde Tecnología Agrus */
    --primary-hover: #388E3C;
    --dark: #0F172A; /* Azul Oscuro Profundo */
    --darker: #0B1120;
    --light: #F8FAFC;
    --gray: #64748B;
    --white: #FFFFFF;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: #334155;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 800;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

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

/* Utilities */
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.w-100 { width: 100%; }
.bg-light { background-color: var(--light); }
.img-fluid { max-width: 100%; height: auto; }
.rounded { border-radius: 8px; }
.shadow { box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), #2E7D32);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #388E3C, #1B5E20);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    color: var(--white);
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--dark);
    border: 2px solid var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 4px;
}

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

/* Navbar - Glassmorphism & Transparent State */
.navbar {
    background-color: transparent;
    padding: 25px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
}

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

.logo-bold {
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--white);
    letter-spacing: -1px;
    transition: color 0.4s ease;
}

.logo-light {
    font-weight: 300;
    font-size: 1.6rem;
    background: linear-gradient(135deg, var(--primary), #81C784);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links a {
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    margin-left: 30px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.btn-outline {
    margin-left: 30px;
    color: var(--white);
    border-color: var(--white);
}

.nav-links a.btn-outline:hover {
    background-color: var(--white);
    color: var(--dark);
}

/* Scrolled Navbar State */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .logo-bold,
.navbar.scrolled .nav-links a {
    color: var(--dark);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--primary);
}

.navbar.scrolled .nav-links a.btn-outline {
    color: var(--dark);
    border-color: var(--primary);
}

.navbar.scrolled .nav-links a.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.95)), url('hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efecto Parallax */
    padding: 160px 0 160px;
    text-align: center;
    color: var(--white);
}

.hero h1, .hero h2 {
    color: var(--white);
}

.badge-dark {
    display: inline-block;
    background-color: rgba(255,255,255,0.1);
    color: #CBD5E1;
    font-size: 0.75rem;
    padding: 5px 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
    line-height: 1.1;
    background: linear-gradient(135deg, #FFFFFF, #E2E8F0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

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

.hero-text {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.15rem;
    color: #CBD5E1;
}

/* Value Points (Overlapping Hero) */
.value-points {
    margin-top: -80px;
    position: relative;
    z-index: 10;
    padding-bottom: 80px;
}

.points-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.point-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    border-top: 5px solid var(--primary);
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.point-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.point-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.point-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.point-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Services Split */
.services-split {
    padding: 100px 0;
}

.split-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-text {
    flex: 1;
}

.split-image {
    flex: 1;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--dark), #334155);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.check-list {
    list-style: none;
    margin-top: 30px;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

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

/* FAQ / Box Section */
.faq-section {
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.faq-box {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.faq-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: linear-gradient(to bottom, var(--primary), #2E7D32);
    transform: scaleY(0);
    transition: transform 0.4s ease;
    transform-origin: bottom;
}

.faq-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.faq-box:hover::before {
    transform: scaleY(1);
}

.faq-box h4 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* Footer */
.footer {
    background-color: var(--darker);
    color: var(--white);
    padding-top: 80px;
}

.footer h2, .footer h3, .footer h4, .footer p {
    color: var(--white);
}

.footer .section-title {
    background: none;
    -webkit-text-fill-color: var(--white);
    color: var(--white);
}

.footer-container {
    display: flex;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-info {
    flex: 1;
}

.footer-logo {
    font-size: 1.8rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-mission {
    color: #94A3B8;
    max-width: 400px;
}

.contact-details p {
    margin-bottom: 10px;
    color: #CBD5E1;
}

.contact-details strong {
    color: var(--primary);
}

.footer-form-area {
    flex: 1;
    background-color: var(--dark);
    padding: 40px;
    border-radius: 8px;
    border-top: 4px solid var(--primary);
}

.agrus-form input, .agrus-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: none;
    border-radius: 4px;
    background-color: var(--white);
    font-family: var(--font-body);
}

.agrus-form input:focus, .agrus-form textarea:focus {
    outline: 2px solid var(--primary);
}

.footer-bottom {
    background-color: #050810;
    padding: 20px 0;
    font-size: 0.85rem;
    color: #64748B;
}

.footer-bottom p {
    color: #64748B;
}

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

.footer-links a {
    color: #64748B;
    margin-left: 20px;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 992px) {
    .points-container { grid-template-columns: 1fr; }
    .value-points { margin-top: 40px; padding-bottom: 40px; }
    .hero { padding: 80px 0; }
    .split-container { flex-direction: column; }
    .faq-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr 1fr; }
    .audience-grid { grid-template-columns: 1fr; }
    .footer-container { flex-direction: column; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.3rem; }
    .advantages-grid { grid-template-columns: 1fr; }
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}
