/* ============================================
   index.css — Estilos específicos de index.html
   ============================================ */

/* Hero Section override for index */
.hero-section {
    background: linear-gradient(135deg, #111827 0%, #1e3a8a 100%);
    position: relative;
}

/* Hero image 3D perspective */
.hero-image img {
    filter: drop-shadow(0px 20px 30px rgba(0, 0, 0, 0.5));
    transform: perspective(1000px) rotateY(-15deg);
}

/* Badge hero */
.badge-new {
    background: #fbbf24;
    color: #111;
}

/* Hero buttons */
.btn-hero-primary {
    background: #fbbf24;
    color: #111;
    border-color: #fbbf24;
}

.btn-hero-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

/* Hero features row */
.hero-features {
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 15px;
    justify-content: flex-start;
}

.hero-features .check-icon {
    color: #fbbf24;
}

/* Highlight text */
.highlight-text {
    color: #fbbf24;
}

/* ---- Plan card color variants ---- */
.plan-card-starter {
    border-top: 5px solid #6c757d;
}

.plan-card-premium {
    border-top: 5px solid #8e44ad;
}

.plan-card-empresas {
    border-top: 5px solid #3a506b;
}

.plan-card-starter .price .amount { color: #333; }
.plan-card-premium .price .amount { color: #8e44ad; }
.plan-card-empresas .price .amount { color: #3a506b; }

/* Button variants */
.btn-premium {
    background: #8e44ad;
    color: #fff;
    border-color: #8e44ad;
}
.btn-premium:hover {
    background: #732d91;
    color: #fff;
}

.popular-tag-premium {
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    color: #1a1a2e;
}

/* Annual billing note */
.price-annual-note {
    display: block;
    font-size: 0.82rem;
    color: #777;
    margin-top: 5px;
    min-height: 20px;
}

.price-annual-note .highlight {
    font-weight: 700;
}

/* ---- Pricing section ---- */
.pricing-section {
    background: #f8f9fa;
}

/* Pricing controls */
.pricing-controls {
    margin-bottom: 40px;
}

.billing-toggle-container {
    justify-content: center;
}

.billing-annual-label small {
    color: #e83e8c;
    font-weight: 600;
}

/* Pricing grid */
.pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* ---- Plan header left-aligned ---- */
.plan-header {
    text-align: left;
}

/* Plan card divider */
.plan-card-divider {
    margin: 15px 0;
    border: 0;
    border-top: 1px solid #eee;
}

/* Plan card description */
.plan-card-desc {
    font-size: 0.85rem;
    color: #666;
}

/* Plan card CTA wrapper */
.plan-card-cta {
    text-align: center;
    margin-top: 15px;
}

/* ---- Badge labels inside plan cards ---- */
.badge-corporativo {
    display: inline-block;
    font-size: 0.8rem;
    background: rgba(58, 80, 107, 0.1);
    color: #3a506b;
    padding: 3px 10px;
    border-radius: 15px;
    margin-bottom: 10px;
    font-weight: 600;
}

.badge-ddr5 {
    display: inline-block;
    font-size: 0.8rem;
    background: rgba(251, 191, 36, 0.1);
    color: #f59e0b;
    padding: 3px 10px;
    border-radius: 15px;
    margin-bottom: 10px;
    font-weight: 600;
}

.badge-ddr3 {
    display: inline-block;
    font-size: 0.8rem;
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
    padding: 3px 10px;
    border-radius: 15px;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Plan card DDR5 specific overrides */
.plan-card-ddr5 {
    border-top: 5px solid #f59e0b;
}

.popular-tag-ddr5 {
    background: #f59e0b;
    color: #fff;
}

/* Plan card DDR3 specific overrides */
.plan-card-ddr3 {
    border-color: #0ea5e9;
}

.btn-ddr3 {
    background: #0ea5e9;
    border-color: #0ea5e9;
    color: #fff;
}

/* Buttons for plan cards */
.btn-empresas {
    border-color: #3a506b;
    color: #3a506b;
}

.btn-ddr5 {
    border-color: #f59e0b;
    color: #f59e0b;
}

/* ---- Why Choose Us section ---- */
.why-us-section {
    padding: 60px 0;
}

.why-us-image-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-us-img {
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(138, 43, 226, 0.4), 0 0 80px rgba(0, 191, 255, 0.2);
}

/* Feature items icons */
.feature-item .icon {
    background: #e0f2fe;
    color: #0284c7;
}

/* ---- CTA Section ---- */
.cta-section {
    background: linear-gradient(135deg, #111827 0%, #1e3a8a 100%);
}

.btn-cta-primary {
    background: #fbbf24;
    border-color: #fbbf24;
    color: #111;
}

.btn-cta-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    margin-left: 15px;
}

/* ---- Problems Section ---- */
.problems-section {
    padding: 60px 0;
    background: #fff;
    margin-top: -50px;
    position: relative;
    z-index: 2;
}
.problems-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.problem-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
    border-top: 3px solid #fbbf24;
}
.problem-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #1e3a8a;
}
.problem-card:first-child {
    border-top: 3px solid #f59e0b;
    background: #fffbeb;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.12);
}
.problem-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

/* ---- Problems Solve Section ---- */
.problems-solve-section {
    padding: 60px 0;
    background: #f8f9fa;
}
.problems-solve-section .problem-card {
    background: #fff;
}

/* ---- Two Layers Section ---- */
.two-layers-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #111827 100%);
    color: #fff;
}
.layers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.layer-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}
.layer-card h3 {
    color: #fbbf24;
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.layer-card .price-from {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 20px;
    display: block;
}
.layer-card ul {
    margin-bottom: 30px;
}
.layer-card ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.layer-card ul li i {
    color: #fbbf24;
    margin-right: 10px;
}

/* ---- Admin Plans Section ---- */
.admin-plans-section {
    padding: 80px 0;
    background: #fff;
}
.admin-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.plan-card-admin {
    border-top: 5px solid #10b981; /* Teal for Admin */
}
.plan-card-admin .price .amount { color: #10b981; }
.btn-admin {
    background: #10b981;
    color: #fff;
    border-color: #10b981;
}
.btn-admin:hover {
    background: #059669;
    color: #fff;
}

/* ---- Why Switch Section ---- */
.why-switch-section {
    padding: 80px 0;
    background: #f8f9fa;
}
.reasons-list {
    max-width: 100%;
    margin: 0;
    text-align: left;
}
.reason-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 4px solid #10b981; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.reason-item i {
    color: #10b981; /* Green check */
    margin-right: 15px;
    font-size: 1.2rem;
}
.reason-item span {
    font-weight: 500;
    font-size: 1.1rem;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .problems-grid { grid-template-columns: repeat(2, 1fr); }
    .layers-grid { grid-template-columns: 1fr; }
    .admin-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .problems-grid { grid-template-columns: 1fr; }
    .admin-grid { grid-template-columns: 1fr; }
}
