/* Custom Styles for Plan0km */

:root {
    --primary-color: #007bff;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-gradient-alt: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #333;
    line-height: 1.6;
}

/* Header */
.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.nav-link {
    transition: var(--transition);
    position: relative;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: var(--primary-gradient-alt);
    position: relative;
    overflow: hidden;
    border-radius: 0 0 50px 50px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-section > * {
    position: relative;
    z-index: 1;
}

.bg-gradient-primary {
    background: var(--primary-gradient-alt);
}

/* Brand Cards */
.brand-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.brand-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.brand-card .card-body {
    padding: 2rem;
    text-align: center;
}

.brand-logo-container {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.brand-logo-container img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: var(--transition);
}

.brand-card:hover .brand-logo-container img {
    transform: scale(1.05);
}

.brand-logo-placeholder {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.brand-logo-placeholder i {
    color: #6c757d;
}

.brand-card .card-title {
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.brand-card .card-title a {
    color: #212529;
    text-decoration: none;
    transition: var(--transition);
}

.brand-card .card-title a:hover {
    color: var(--primary-color);
}

.brand-card .card-text {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    min-height: 60px;
}

/* Model Cards */
.model-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.model-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.model-image-container {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.model-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.model-card:hover .model-image-container img {
    transform: scale(1.1);
}

.model-image-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.model-image-placeholder i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.5);
}

.model-card .card-body {
    padding: 1.5rem;
}

.model-card .card-title {
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.model-card .card-title a {
    color: #212529;
    text-decoration: none;
    transition: var(--transition);
}

.model-card .card-title a:hover {
    color: var(--primary-color);
}

.model-card .card-text {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    min-height: 80px;
}

.model-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #e7f3ff;
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Plan Cards */
.plan-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    box-shadow: var(--shadow-sm);
    background: #fff;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.plan-card .card-body {
    padding: 2rem;
}

.plan-card .plan-name {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #212529;
}

.plan-price {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.plan-price .price-label {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.plan-price .price-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.plan-details {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.plan-details li {
    padding: 0.5rem 0;
    color: #6c757d;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.plan-details li i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    width: 20px;
}

.plan-description {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Plan Card Single - Diseño destacado para plan único */
.plan-card-single {
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: visible;
}

.plan-card-single::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--primary-gradient);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.1;
}

.plan-card-single:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.2);
    border-color: var(--primary-color);
}

.plan-card-single .card-body {
    padding: 3rem;
}

.plan-card-single .plan-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1.5rem;
    text-align: center;
}

.plan-card-single .plan-description {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 2rem;
}

.plan-card-single .plan-price {
    background: var(--primary-gradient-alt);
    color: #fff;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    text-align: center;
}

.plan-card-single .plan-price .price-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.plan-card-single .plan-price .price-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.plan-card-single .plan-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.plan-card-single .plan-details li {
    font-size: 1rem;
    color: #495057;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    flex: 0 0 auto;
}

.plan-card-single .plan-details li i {
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

.plan-card-single .btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(0);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Brand Section */
.hero-brand-section {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    padding: 3rem 0;
}

.hero-model-section {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    padding: 3rem 0;
}

/* Footer */
footer {
    margin-top: auto;
}

footer .text-white-50 {
    transition: var(--transition);
}

footer .text-white-50:hover {
    color: #fff !important;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.loading i {
    font-size: 3rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #dee2e6;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        border-radius: 0 0 30px 30px;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .brand-card .card-body,
    .plan-card .card-body {
        padding: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Contact Form */
.contact-form {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.contact-form .form-control,
.contact-form .form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.contact-form label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
}

/* Marketing Text */
.marketing-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.highlights-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.highlights-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: #495057;
}

.highlights-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Hero Image */
.hero-image-container {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bank Cards */
.bank-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
}

.bank-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.bank-logo-container {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: #f8f9fa;
    margin-bottom: 1rem;
}

.bank-logo-container img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

.bank-benefits {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.bank-benefits li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #6c757d;
    font-size: 0.9rem;
}

.bank-benefits li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow-md {
    box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

/* Marketing Sections */
.stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    border-radius: 20px;
    margin: 3rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.benefits-section {
    padding: 4rem 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.benefit-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.benefit-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    min-width: 60px;
    text-align: center;
}

.benefit-content h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #212529;
}

.benefit-content p {
    color: #6c757d;
    margin: 0;
}

.history-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    padding: 4rem 0;
    border-radius: 20px;
}

.history-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
}

.ranking-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.rating-stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.rating-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.specs-table {
    width: 100%;
    margin-top: 2rem;
}

.specs-table tr {
    border-bottom: 1px solid #e9ecef;
}

.specs-table td {
    padding: 1rem;
    vertical-align: top;
}

.specs-table td:first-child {
    font-weight: 600;
    color: #495057;
    width: 40%;
}

.specs-table td:last-child {
    color: #6c757d;
}

.competitor-comparison {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.competitor-item {
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border-left: 3px solid var(--primary-color);
}

.model-gallery {
    margin: 2rem 0;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

.testimonial-text {
    font-style: italic;
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.testimonial-author {
    font-weight: 600;
    color: #212529;
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 0.5rem;
}

.marketing-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0.25rem;
}

.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #dee2e6, transparent);
    margin: 3rem 0;
}

.hero-brand-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-brand-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 123, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(102, 126, 234, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-model-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-model-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 123, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(102, 126, 234, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Improved Cards */
.brand-card,
.model-card,
.plan-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.brand-card:hover,
.model-card:hover,
.plan-card:hover {
    border-color: var(--primary-color);
}

/* Animation improvements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .stat-number {
        font-size: 2rem;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-icon {
        margin: 0 auto 1rem;
    }
    
    .specs-table {
        font-size: 0.9rem;
    }
    
    .specs-table td {
        padding: 0.75rem 0.5rem;
    }
}

