/* ============================================
   SK.Tecno - Estilos Principales
   ============================================ */

/* Importar fuentes */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@600;700;800&display=swap');

/* Variables CSS */
:root {
    --primary-yellow: #facc15;
    --primary-yellow-hover: #fbbf24;
    --primary-green: #10b981;
    --primary-green-hover: #059669;
    --bg-dark: #030712;
    --bg-gray-900: #111827;
    --bg-gray-800: #1f2937;
    --bg-gray-700: #374151;
    --text-white: #ffffff;
    --text-gray-300: #d1d5db;
    --text-gray-400: #9ca3af;
    --text-gray-500: #6b7280;
    --border-gray-700: #374151;
    --border-gray-600: #4b5563;
}

/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-gray-300);
    background-image: radial-gradient(var(--bg-gray-700) 1px, transparent 1px);
    background-size: 20px 20px;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

/* Utilidades de texto */
.text-gradient {
    background: linear-gradient(135deg, #fde047, #facc15);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Botones CTA */
.cta-button {
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
    outline: none;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgb(250 204 21 / 0.1), 0 4px 6px -4px rgb(250 204 21 / 0.1);
}

.cta-button:active {
    transform: translateY(-2px);
}

/* Cards */
.solution-card, .subscription-card {
    transition: all 0.3s ease-in-out;
}

.solution-card:hover, .subscription-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.2), 0 8px 10px -6px rgb(0 0 0 / 0.2);
}

/* Sticky elements */
.sticky-calculator {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
}

/* Discount tiers */
.discount-tier {
    transition: all 0.3s ease;
    border-color: var(--border-gray-700);
}

.discount-tier.active {
    border-color: var(--primary-yellow);
    transform: scale(1.05);
    box-shadow: 0 0 25px -5px rgb(250 204 21 / 0.2);
}

/* Accordions */
.accordion-content, .solution-details, .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

/* Modales */
.modal {
    transition: opacity 0.3s ease;
}

/* Carousel */
.carousel-container {
    transition: transform 0.5s ease-in-out;
}

/* Formularios */
.form-input {
    border: none;
    border-bottom: 2px solid var(--border-gray-600);
    background-color: transparent;
    color: var(--text-gray-300);
    padding: 0.5rem 0.1rem;
    transition: border-color 0.3s;
    width: 100%;
    font-size: 1rem;
}

.form-input::placeholder {
    color: var(--text-gray-400);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-yellow);
}

.form-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%239ca3af' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
}

/* File input personalizado */
.file-input-label {
    cursor: pointer;
    border-bottom: 2px solid var(--border-gray-600);
    padding: 0.5rem 0.1rem;
    transition: all 0.3s;
    display: block;
    color: var(--text-gray-400);
}

.file-input-label:hover {
    border-color: var(--primary-yellow);
    background-color: var(--bg-gray-800);
}

/* Responsive utilities */
@media (max-width: 768px) {
    .mobile-hidden {
        display: none;
    }
}

@media (min-width: 769px) {
    .desktop-hidden {
        display: none;
    }
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-in {
    animation: slideIn 0.5s ease-out;
}

/* Estados de carga */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Focus visible para accesibilidad */
.cta-button:focus-visible,
.form-input:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary-yellow);
    outline-offset: 2px;
}
