/* RESET BÁSICO Y FONDOS */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7fa; /* Fondo principal */
    color: #333;
}

/* HEADER */
.header {
    background-color: #ffffff;
    padding: 15px 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    margin: 0;
    color: #007bff;
}

.header nav a {
    text-decoration: none;
    color: #333;
    padding: 8px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.header nav a:hover {
    background-color: #eee;
}

/* CONTENIDO PRINCIPAL */
.main-content {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

/* PRICING GRID (LANDING) */
.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.card.featured {
    border: 3px solid #007bff; /* Destaca el plan PRO */
}

.card h3 {
    color: #007bff;
    margin-top: 0;
}

.price {
    font-size: 2em;
    font-weight: bold;
    margin: 15px 0;
    color: #007bff;
}

.card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 25px;
}

.card ul li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

/* BOTONES GENERALES */
.btn {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

.btn-primary {
    background-color: #007bff;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* FORMULARIOS GENÉRICOS */
.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* Importante para el padding */
}

/* TABLAS DE DATOS (Aplicable a tickets y ABM) */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.data-table th, .data-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.data-table th {
    background-color: #007bff;
    color: white;
    font-weight: bold;
}

/* BADGES DE ESTADO ESPECÍFICOS DE TICKETS */
.status-open { background-color: #007bff; color: white; }
.status-closed { background-color: #6c757d; color: white; }

/* BOTONES PEQUEÑOS PARA ACCIONES EN TABLAS */
.btn-small {
    padding: 5px 10px;
    font-size: 0.8em;
    display: inline-block;
    margin-right: 5px;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

/* BADGES DE ESTADO (Reutilizando los anteriores) */
.status-suspended { background-color: #ffc107; color: #333; }
.status-active { background-color: #28a745; color: white; }

/* Checkout Steps */
.checkout-process {
    text-align: center;
    margin-bottom: 30px;
}

.step-indicator {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.step {
    padding: 10px 20px;
    border-radius: 20px;
    background-color: #e9ecef;
    color: #6c757d;
    font-weight: bold;
    position: relative;
}

.step.active {
    background-color: #007bff;
    color: white;
}

/* Contenedor del Formulario */
.checkout-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Campos de Dominio (Ej. Paso 1) */
.domain-search-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.domain-search-group input[type="text"] {
    flex-grow: 1; /* Ocupa el espacio restante */
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 4px;
}

.domain-search-group select {
    width: 120px; /* Ancho fijo para la extensión */
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 4px;
}

.domain-search-group button {
    padding: 10px 15px;
}

/* Cards específicas de Pago */
.payment-summary, .payment-methods {
    padding: 25px;
    margin-bottom: 20px;
}

.payment-summary h4 {
    color: #28a745; /* Verde para destacar el total */
    font-size: 1.5em;
    font-weight: bold;
}

/* Opciones de Radio */
.radio-group {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
}

.payment-option {
    display: block;
    padding: 10px 15px;
    margin: 5px 0;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.payment-option:hover {
    background-color: #f8f9fa;
}

.payment-option input[type="radio"] {
    margin-right: 10px;
}

.btn-large {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
}

/* VARIABLES GLOBALES Y RESET */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f7fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    color: #007bff;
    font-size: 1.8em;
    font-weight: 700;
}

.main-nav a {
    text-decoration: none;
    color: #555;
    margin-left: 25px;
    font-weight: 500;
}

.btn-nav-login {
    background-color: #007bff;
    color: white !important;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-nav-login:hover {
    background-color: #0056b3;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(135deg, #007bff, #3498db);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 3em;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.btn-cta {
    font-size: 1.1em;
    padding: 12px 30px;
    margin-bottom: 25px;
    display: inline-block;
}

.domain-search-box {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    padding: 10px;
    display: inline-flex;
    margin-top: 15px;
}

.domain-search-box input {
    border: none;
    padding: 10px;
    border-radius: 4px 0 0 4px;
    width: 300px;
    outline: none;
}

.domain-search-box button {
    border-radius: 0 4px 4px 0;
    background-color: #28a745; /* Verde para destacar la acción de búsqueda */
}

/* SECCIONES GENERALES */
.section-plans, .section-features, .section-contact {
    padding: 60px 0;
}

.section-plans {
    background-color: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    color: #333;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

/* PLANES Y TARJETAS (Reutiliza el pricing-grid de antes) */
.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.pricing-card {
    padding: 40px 20px;
}

.pricing-card h3 {
    color: #007bff;
}

.price-info {
    font-size: 1.2em;
    font-weight: 600;
    color: #28a745;
}

/* CARACTERÍSTICAS */
.section-features {
    background-color: #f4f7fa;
}

.features-grid {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    text-align: center;
    margin-top: 30px;
}

.feature-item {
    flex-basis: 30%;
}

.feature-item .icon {
    font-size: 3em;
    display: block;
    margin-bottom: 10px;
    color: #007bff;
}

/* CONTACTO */
.section-contact {
    background-color: #ffffff;
}

.contact-layout {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
    padding-top: 20px;
}

.contact-info p {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.contact-form-box {
    flex: 2;
    padding: 30px;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

/* FOOTER */
.main-footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    font-size: 0.9em;
}

.main-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin-left: 15px;
}

.footer-links a:hover {
    color: #007bff;
}