@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #000957;
  --secondary-color: #344CB7;
  --accent-color: #577BC1;
  --light-color: #F8F9FA;
  --dark-color: #050A30;
  --gradient-primary: linear-gradient(135deg, #000957 0%, #344CB7 100%);
  --hover-color: #1a237e;
  --background-color: #EBF0F5;
  --text-color: #2b3a4a;
  --border-color: rgba(52, 76, 183, 0.15);
  --divider-color: rgba(0, 9, 87, 0.2);
  --shadow-color: rgba(0, 9, 87, 0.1);
  --highlight-color: #FFEB00;
  --main-font: 'Roboto Condensed', sans-serif;
  --alt-font: 'Work Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navegación Desktop y Hover Effects */
.nav-link {
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--highlight-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.footer-link:hover {
    color: var(--highlight-color) !important;
}

/* Control del Menú Móvil sin Javascript usando el hack del checkbox */
#mobile-menu:checked ~ nav {
    display: flex !important;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Inputs Neumorfismo Interactivo */
input:focus, textarea:focus {
    box-shadow: inset 3px 3px 6px var(--shadow-color), inset -3px -3px 6px #ffffff;
    border-color: var(--accent-color) !important;
}

input::placeholder, textarea::placeholder {
    color: #94a3b8;
}

/* Animaciones de Tarjetas (Features & Testimonials) */
.neuromorphism-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.neuromorphism-card:hover {
    transform: translateY(-5px);
    box-shadow: 12px 12px 24px var(--shadow-color), -12px -12px 24px #ffffff;
}

/* Personalización del Acordeón FAQ (Sin JS) */
details > summary {
    list-style: none;
}
details > summary::-webkit-details-marker {
    display: none;
}
details > summary::after {
    content: '\f107'; /* Chevron down de FontAwesome */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--secondary-color);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
details[open] > summary::after {
    transform: rotate(180deg);
}

details[open] summary ~ * {
    animation: sweep 0.3s ease-in-out;
}

@keyframes sweep {
    0%    {opacity: 0; transform: translateY(-10px)}
    100%  {opacity: 1; transform: translateY(0)}
}