/* ================================================
   DEV DOMAIN MASTERS - DOMINIOS PAGE STYLES
   Extends styles.css base styles
   ================================================ */

/* -------------------- DOMINIOS INTRO -------------------- */
.intro-content {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.intro-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.intro-text p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.8;
}

.intro-text strong {
    color: var(--foreground);
}

/* -------------------- TIPOS DE DOMINIOS -------------------- */
.tipos-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .tipos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .tipos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tipo-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

@media (min-width: 768px) {
    .tipo-card {
        padding: 2rem;
    }
}

.tipo-card:hover {
    border-color: hsla(199, 89%, 48%, 0.3);
    box-shadow: var(--shadow-card);
}

.tipo-icon {
    width: 3rem;
    height: 3rem;
    background: var(--secondary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.tipo-card:hover .tipo-icon {
    background: var(--gradient-accent);
}

.tipo-icon i {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
    transition: color 0.3s ease;
}

.tipo-card:hover .tipo-icon i {
    color: var(--primary-foreground);
}

.tipo-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--foreground);
}

.tipo-extension {
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.tipo-description {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.tipo-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
}

.tipo-benefits li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.bullet {
    width: 0.375rem;
    height: 0.375rem;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* -------------------- VENTAJAS SECTION -------------------- */
.ventajas-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .ventajas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .ventajas-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ventaja-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.ventaja-card:hover {
    border-color: hsla(199, 89%, 48%, 0.3);
    box-shadow: var(--shadow-card);
}

.ventaja-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    background: var(--secondary);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ventaja-card:hover .ventaja-icon {
    background: var(--gradient-accent);
}

.ventaja-icon i {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
    transition: color 0.3s ease;
}

.ventaja-card:hover .ventaja-icon i {
    color: var(--primary-foreground);
}

.ventaja-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.ventaja-description {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.7;
}

/* -------------------- DOMINIOS .SV SECTION -------------------- */
.sv-content {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .sv-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.sv-text-content {
    order: 2;
}

@media (min-width: 1024px) {
    .sv-text-content {
        order: 1;
    }
}

.sv-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .sv-title {
        font-size: 2.25rem;
    }
}

.sv-description {
    color: var(--muted-foreground);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.sv-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    list-style: none;
}

.sv-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.sv-feature-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.sv-feature span {
    color: var(--foreground);
    line-height: 1.6;
}

.sv-visual {
    order: 1;
}

@media (min-width: 1024px) {
    .sv-visual {
        order: 2;
    }
}

.sv-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--glow-primary);
}

.sv-card-icon {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1.5rem;
    background: var(--gradient-accent);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sv-card-icon i {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--primary-foreground);
}

.sv-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.sv-card-subtitle {
    color: var(--muted-foreground);
}

/* -------------------- PROCESO DE REGISTRO -------------------- */
.proceso-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .proceso-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .proceso-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.proceso-step {
    text-align: center;
}

.proceso-icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.proceso-icon-box {
    width: 6rem;
    height: 6rem;
    border-radius: 1rem;
    background: var(--gradient-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
}

.proceso-icon-box i {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--primary);
}

.proceso-number {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: var(--primary-foreground);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.proceso-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.proceso-description {
    color: var(--muted-foreground);
    line-height: 1.7;
}

/* -------------------- CTA SECTION -------------------- */
.cta-section {
    padding: 5rem 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .cta-section {
        padding: 7rem 0;
    }
}

.cta-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.cta-glow-1 {
    top: 50%;
    left: 25%;
    transform: translateY(-50%);
    width: 20rem;
    height: 20rem;
    background: hsla(199, 89%, 48%, 0.1);
}

.cta-glow-2 {
    top: 50%;
    right: 25%;
    transform: translateY(-50%);
    width: 16rem;
    height: 16rem;
    background: hsla(172, 66%, 50%, 0.1);
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 42rem;
    margin: 0 auto;
}

.cta-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 2.25rem;
    }
}

.cta-description {
    color: var(--muted-foreground);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

/* -------------------- ANIMATIONS -------------------- */
.tipo-card,
.ventaja-card,
.proceso-step,
.faq-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tipo-card.visible,
.ventaja-card.visible,
.proceso-step.visible,
.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.tipo-card:nth-child(1),
.ventaja-card:nth-child(1),
.proceso-step:nth-child(1) {
    transition-delay: 0.1s;
}

.tipo-card:nth-child(2),
.ventaja-card:nth-child(2),
.proceso-step:nth-child(2) {
    transition-delay: 0.2s;
}

.tipo-card:nth-child(3),
.ventaja-card:nth-child(3),
.proceso-step:nth-child(3) {
    transition-delay: 0.3s;
}

.tipo-card:nth-child(4),
.ventaja-card:nth-child(4),
.proceso-step:nth-child(4) {
    transition-delay: 0.4s;
}