/* 
   ImportarDeChina.com.ar - Professional Design System [2026]
   Applied Skills: ui-ux-pro-max (Financial/Logistics)
*/

@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette - Financial Trust */
    --primary: #3B82F6;
    --primary-dark: #2563EB;
    --primary-light: #60A5FA;
    --accent: #F97316;
    --accent-dark: #EA580C;
    --success: #10B981;
    --warning: #F59E0B;

    /* Neutral Tones */
    --text-main: #1E293B;
    --text-muted: #475569;
    --text-light: #94A3B8;
    --bg-main: #FFFFFF;
    --bg-alt: #F8FAFC;
    --bg-dark: #0F172A;
    --border-color: #E2E8F0;

    /* UI Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 12px;
    --transition: 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    color: var(--text-main);
    background: var(--bg-main);
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
.logo span {
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-main);
    gap: 0.5rem;
}

.logo img {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: var(--transition);
}

nav a:not(.cta-nav):hover,
nav a.active {
    color: var(--primary);
}

.cta-nav {
    background: var(--primary);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.cta-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

/* Hero Section */
.hero {
    padding: 5rem 0 7rem;
    background: radial-gradient(circle at top right, #eff6ff 0%, #ffffff 100%);
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--bg-dark);
}

.hero h2 {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-muted);
    font-weight: 400;
    max-width: 42rem;
    margin: 0 auto 3rem;
}

.cta-principal {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.3);
}

.cta-principal:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(249, 115, 22, 0.4);
}

/* Calculator Section */
.hero-calculator {
    padding: 4rem 0;
    background: var(--bg-alt);
    text-align: center;
}

.calculator-form {
    background: white;
    border-radius: 1.25rem;
    padding: 3rem;
    max-width: 40rem;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    text-align: left;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-alt);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.submit-btn {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 1.125rem;
    border-radius: 0.75rem;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Results Display - Glassmorphism Light */
#resultados {
    margin-top: 3rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid white;
    border-radius: 1.5rem;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--shadow-lg);
}

.costo-final {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 1.5rem 0;
    font-family: 'Lexend', sans-serif;
}

.costo-breakdown p {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-muted);
}

.total-row {
    font-weight: 700;
    color: var(--text-main) !important;
    border-bottom: none !important;
    font-size: 1.125rem;
    margin-top: 1rem;
    background: #f1f5f9;
    padding: 1rem !important;
    border-radius: 0.5rem;
}

/* Social Proof Grid */
.social-proof {
    padding: 6rem 0;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.proof-item {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.proof-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.proof-item .icon {
    width: 3.5rem;
    height: 3.5rem;
    fill: var(--primary);
    margin-bottom: 1.5rem;
    background: #eff6ff;
    padding: 0.75rem;
    border-radius: 0.75rem;
}

/* Footer & Other */
footer {
    background: var(--bg-dark);
    color: #94a3b8;
    padding: 4rem 0;
    text-align: center;
}

.footer-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: white;
}

/* Steps Section */
.how-it-works {
    padding: 6rem 0;
    background: white;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    position: relative;
    padding: 2rem 1rem;
}

.step-number {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow);
    font-family: 'Lexend', sans-serif;
}

.step h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: var(--text-main);
}

.step p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 280px;
    margin: 0 auto;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        margin-left: 0;
    }

    .hero {
        padding: 4rem 0;
    }

    .calculator-form,
    #resultados {
        padding: 2rem 1.5rem;
    }
}

/* Loading Animation */
.loading {
    opacity: 0.5;
    pointer-events: none;
}