/* =========================
   Logo
   ========================= */

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 55px;
    width: auto;
    display: block;
}


/* =========================
   Section headers
   ========================= */

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    background: linear-gradient(
        135deg,
        rgba(26, 86, 219, 0.1),
        rgba(0, 212, 255, 0.1)
    );
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}


/* =========================
   Navigation components
   ========================= */

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-light);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary-dark);
}

.nav-cta {
    background: var(--gradient);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-links .nav-cta {
    color: white;
}

.nav-links .nav-cta:hover {
    color: white;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
}


/* =========================
   Hero components
   ========================= */

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--primary-dark);
    font-weight: 500;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

/* Mesh overlay */
.hero-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 1px 1px, rgba(26, 86, 219, 0.03) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

.hero-mesh::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.3) 40%,
        rgba(255,255,255,0.8) 100%
    );
}

/* Floating orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    top: -100px;
    right: -100px;
    animation: float1 20s ease-in-out infinite;
}

.hero-orb-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    bottom: -50px;
    left: -50px;
    animation: float2 25s ease-in-out infinite;
}

.hero-orb-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    top: 50%;
    left: 60%;
    animation: float3 18s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-30px, 40px) scale(1.1); }
    66% { transform: translate(20px, -20px) scale(0.95); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 30px) scale(0.9); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-50px, 20px) scale(1.15); }
    66% { transform: translate(30px, -40px) scale(0.85); }
}


/* =========================
   Buttons
   ========================= */

.btn-primary {
    background: var(--gradient);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--text-dark);
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    border: 2px solid #e5e7eb;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.btn-secondary:hover {
    border-color: var(--primary-dark);
    box-shadow: var(--shadow-md);
}


/* =========================
   Cards
   ========================= */

.problem-card,
.feature-card,
.testimonial-card,
.pricing-card {
    border-radius: var(--radius-lg);
}

.problem-card {
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* spotlight */
.problem-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(
        400px circle at var(--mouse-x) var(--mouse-y),
        rgba(255, 255, 255, 0.18),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.problem-card:hover::before {
    opacity: 1;
}

.problem-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.feature-card {
    background: var(--bg-light);
    padding: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.problem-card p {
    font-size: 1rem;      /* ajustá acá */
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
}

/* =========================
   Feature cards – ajustes finos
   ========================= */

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
    text-align: left;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
}

.feature-list {
    padding-left: 0;
    margin-top: 0.75rem;
}

.feature-list li {
    display: flex;
    gap: 0.5rem;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

/* =========================
   Comparison lists
   ========================= */

.comparison-list li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.x-mark {
    color: #dc2626;
    font-weight: 700;
}

.check-mark {
    color: #059669;
    font-weight: 700;
}

.comparison-card.before {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 2px solid #fecaca;
}

.comparison-card.after {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 2px solid #a7f3d0;
}

.comparison-card.before h3 {
    color: #b91c1c;
}

.comparison-card.after h3 {
    color: #047857;
}

/* =========================
   Pricing cards
   ========================= */

/* Card base */
.pricing-card {
    background: var(--bg-white);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

/* Card header */
.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.pricing-header .subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.75rem;
}

/* Price */
.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.75rem;
}

/* Divider */
.pricing-card hr {
    border: none;
    height: 1px;
    background: #e5e7eb;
    margin: 2rem 0;
}

/* Features list */
.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.pricing-features li {
    font-size: 0.95rem;
    color: var(--text-dark);
    display: flex;
    gap: 0.5rem;
}

/* CTA */
.pricing-cta {
    margin-top: auto;
    text-align: center;
    padding: 1rem;
    border-radius: var(--radius);
    font-weight: 600;
    border: 2px solid var(--text-dark);
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.pricing-cta:hover {
    box-shadow: var(--shadow-md);
}

/* Featured plan */
.pricing-card.featured {
    border: 2px solid var(--primary-dark);
    transform: scale(1.03);
}

.pricing-card.featured .pricing-cta {
    background: var(--gradient);
    color: white;
    border: none;
}

.pricing-card.featured .pricing-cta:hover {
    box-shadow: var(--shadow-lg);
}

/* Badge */
.pricing-card .badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
}

/* =========================
   Pricing comparison table
   ========================= */

.pricing-comparison-table {
    margin-top: 5rem;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* Rows */
.pricing-comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
}

.pricing-comparison-row:last-child {
    border-bottom: none;
}

/* Header row */
.pricing-comparison-head {
    background: var(--bg-light);
    font-weight: 700;
}

.pricing-comparison-head .pricing-comparison-cell {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-dark);
}

/* Cells */
.pricing-comparison-cell {
    padding: 1.1rem 1.25rem;
    font-size: 0.95rem;
    color: var(--text-dark);
    text-align: center;
}

.pricing-comparison-cell.feature {
    text-align: left;
    font-weight: 500;
    color: var(--text-dark);
}

/* Check / empty states */
.pricing-comparison-cell.check::before {
    content: "✓";
    display: inline-flex;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
}

.pricing-comparison-cell.empty::before {
    content: "×";
    display: inline-flex;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #cbd5e1;
    color: #94a3b8;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
}

/* Hover feedback */
.pricing-comparison-row:not(.pricing-comparison-head):hover {
    background: #f8fafc;
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-comparison-row {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }

    .pricing-comparison-cell {
        padding: 0.9rem 0.75rem;
        font-size: 0.85rem;
    }

    .pricing-comparison-cell.feature {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .pricing-comparison-table {
        overflow-x: auto;
    }

    .pricing-comparison-row {
        min-width: 600px;
    }
}

/* =========================
   FAQ
   ========================= */

.faq-item {
    border-bottom: 1px solid #e5e7eb;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-dark);
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

/* =========================
   FAQ – accordion behavior
   ========================= */

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer p {
    padding: 0 0 1.25rem;
    color: var(--text-light);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* suficiente para el contenido actual */
}

/* =========================
   CTA section (component)
   ========================= */

/* Wrapper */
.cta-section {
    text-align: center;
    color: white;
}

/* Content container */
.cta-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Typography */
.cta-section h2 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-section p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

/* CTA button override */
.cta-section .btn-primary {
    background: white;
    color: var(--primary-dark);
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.cta-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* Responsive */
@media (max-width: 768px) {
    .cta-section h2 {
        font-size: 2.1rem;
    }

    .cta-section p {
        font-size: 1.05rem;
    }
}

/* =========================
   Forms
   ========================= */

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

/* Full width elements */
.form-group.full {
    grid-column: 1 / -1;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Select arrow normalization */
.form-group select {
    background-color: white;
}

/* Submit button spacing */
.contact-form .btn-primary {
    margin-top: 1rem;
    width: 100%;
    justify-content: center
}

/* Privacy note */
.form-privacy {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 0.75rem;
    line-height: 1.4;
}

/* =========================
   Shiny text (badge / highlight)
   ========================= */

.shiny-text {
    font-weight: 600;
    background: linear-gradient(
        120deg,
        #081c41 40%,
        #ffffff 50%,
        #081c41 60%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    0% { background-position: 100%; }
    100% { background-position: -100%; }
}

/* =========================
   Responsive components
   ========================= */

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }
}

/* =========================
   Footer components
   ========================= */

/* Column titles */
.footer h4 {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Footer links list */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.95rem;
    color: white;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    opacity: 1;
}

/* Footer description text */
.footer-description p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.85;
}

/* Footer bottom text */
.footer-bottom p,
.footer-bottom a {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-bottom a:hover {
    opacity: 1;
}