:root {
    --color-primary: #FF6B35;
    --color-primary-hover: #ff8555;
    --color-primary-active: #e55a2a;
    --color-secondary: rgba(255, 107, 53, 0.1);
    --color-secondary-hover: rgba(255, 107, 53, 0.2);
    
    --color-background: #0a0a0a;
    --color-bg-card: #121212;
    --color-bg-elevated: #1a1a1a;
    
    --color-text: #ffffff;
    --color-text-secondary: #a0a0a0;
    --color-text-muted: #666666;
    
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 107, 53, 0.4);
    
    --color-success: #00D9A3;
    --color-danger: #FF4757;
    --color-warning: #FFA502;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-primary: 0 4px 20px rgba(255, 107, 53, 0.25);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 107, 53, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 53, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

/* HEADER */
header {
    background: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-text:hover {
    color: var(--color-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color var(--transition);
}

.nav-link:hover {
    color: var(--color-primary);
}

/* CONTAINER */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* HERO PREMIUM */
.hero-premium {
    position: relative;
    padding: 140px 0 120px;
    overflow: hidden;
    background: var(--color-background);
}

.hero-bg-gradient {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 1200px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
    pointer-events: none;
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.5; }
    50% { transform: translateX(-50%) scale(1.1); opacity: 0.8; }
}

.hero-content-premium {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title-premium {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 28px;
    line-height: 1.1;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #ffffff 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle-premium {
    font-size: 22px;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* BOTONES */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.35);
}

.btn-secondary {
    background: var(--color-secondary);
    color: var(--color-primary);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-secondary-hover);
    border-color: var(--color-primary);
}

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-large {
    padding: 16px 40px;
    font-size: 17px;
}

.btn-full {
    width: 100%;
}

.btn-hero-premium {
    font-size: 19px;
    padding: 20px 50px;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
    font-weight: 700;
}

/* SECTIONS */
.deals-section {
    padding: 100px 0;
    background: var(--color-background);
}

.section-title {
    font-size: 38px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 16px;
    margin-bottom: 60px;
}

.section-title-premium {
    font-size: 48px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-subtitle-premium {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 18px;
    margin-bottom: 80px;
}

.text-center {
    text-align: center;
}

/* DEALS GRID */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.deal-card-premium {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.deal-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-hover));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.deal-card-premium:hover::before {
    transform: scaleX(1);
}

.deal-card-premium:hover {
    border-color: var(--color-primary);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.25);
    transform: translateY(-6px);
}

.deal-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.deal-ref {
    display: inline-block;
    background: var(--color-secondary);
    color: var(--color-primary);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.deal-status {
    font-size: 12px;
    color: var(--color-success);
    font-weight: 600;
    background: rgba(0, 217, 163, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(0, 217, 163, 0.2);
}

.deal-sector {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.deal-info {
    margin: 20px 0;
}

.deal-info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.deal-info-item:last-child {
    border-bottom: none;
}

.deal-info-label {
    color: var(--color-text-secondary);
    font-size: 14px;
}

.deal-info-value {
    font-weight: 600;
    font-size: 16px;
}

.deal-margin {
    color: var(--color-success);
    font-weight: 700;
}

.deal-actions {
    margin-top: 24px;
}

/* TIMELINE */
.how-it-works-premium {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--color-background) 0%, var(--color-bg-elevated) 100%);
    position: relative;
}

.timeline-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--color-primary) 0%, rgba(255, 107, 53, 0.3) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    gap: 40px;
    margin-bottom: 100px;
    align-items: center;
}

.timeline-item-reverse .timeline-card {
    grid-column: 3;
}

.timeline-item-reverse .timeline-number {
    grid-column: 2;
}

.timeline-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    color: white;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
    z-index: 10;
    grid-column: 2;
}

.timeline-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all 0.4s ease;
    grid-column: 1;
}

.timeline-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 12px 50px rgba(255, 107, 53, 0.2);
    transform: translateY(-8px);
}

.timeline-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.timeline-card h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text);
}

.timeline-card p {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.timeline-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-benefits li {
    font-size: 15px;
    color: var(--color-text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border);
}

.timeline-benefits li:last-child {
    border-bottom: none;
}

/* TRUST SECTION */
.trust-section-premium {
    padding: 120px 0;
    background: var(--color-background);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.trust-card-premium {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.trust-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-hover));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.trust-card-premium:hover::before {
    transform: scaleX(1);
}

.trust-card-premium:hover {
    border-color: var(--color-primary);
    box-shadow: 0 16px 60px rgba(255, 107, 53, 0.25);
    transform: translateY(-8px);
}

.trust-icon-wrapper {
    margin-bottom: 28px;
}

.trust-icon {
    font-size: 68px;
    display: inline-block;
    transition: transform 0.4s ease;
}

.trust-card-premium:hover .trust-icon {
    transform: scale(1.15) rotate(5deg);
}

.trust-card-premium h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-text);
}

.trust-card-premium p {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.trust-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--color-border);
}

.trust-stat {
    text-align: center;
}

.trust-stat-number {
    font-size: 36px;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.trust-stat-label {
    font-size: 13px;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* FOOTER */
footer {
    background: var(--color-bg-elevated);
    border-top: 1px solid var(--color-border);
    margin-top: 80px;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p,
.footer-section a {
    color: var(--color-text-secondary);
    font-size: 14px;
    line-height: 1.8;
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--color-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 30px;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .logo-text {
        display: none;
    }
    
    .hero-title-premium {
        font-size: 40px;
    }
    
    .hero-subtitle-premium {
        font-size: 17px;
    }
    
    .section-title-premium {
        font-size: 34px;
    }
    
    .deals-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-line {
        left: 40px;
    }
    
    .timeline-item,
    .timeline-item-reverse {
        grid-template-columns: 80px 1fr;
        gap: 24px;
    }
    
    .timeline-card,
    .timeline-item-reverse .timeline-card {
        grid-column: 2;
    }
    
    .timeline-number {
        width: 60px;
        height: 60px;
        font-size: 22px;
        grid-column: 1;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title-premium {
        font-size: 32px;
    }
    
    .hero-subtitle-premium {
        font-size: 16px;
    }
    
    .timeline-card {
        padding: 28px 24px;
    }
    
    .timeline-icon {
        font-size: 52px;
    }
    
    .trust-card-premium {
        padding: 36px 28px;
    }
}
