/* ==========================================
   Jujuy Food - Landing Page Styles
   ========================================== */

:root {
    --primary: #e63946;
    --primary-dark: #c1121f;
    --primary-light: #f4a4a4;
    --secondary: #f4a261;
    --secondary-light: #fae1c3;
    --accent: #2a9d8f;
    --accent-light: #a8e6cf;
    
    --dark: #1d3557;
    --gray-900: #2d3436;
    --gray-600: #636e72;
    --gray-400: #b2bec3;
    --gray-100: #dfe6e9;
    --gray-50: #f8f9fa;
    
    --white: #ffffff;
    
    --gradient-primary: linear-gradient(135deg, #e63946 0%, #f4a261 100%);
    --gradient-dark: linear-gradient(135deg, #1d3557 0%, #457b9d 100%);
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.16);
    
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 999px;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Base */
body {
    font-family: var(--font-family);
    color: var(--gray-900);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: transparent;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

.navbar-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.3);
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
}

.nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: white !important;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    min-height: 100vh;
    position: relative;
    color: white;
    overflow: hidden;
}

.hero-decoration-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), transparent);
}

.hero-decoration-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--white);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    transform: scaleX(1.5);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.text-highlight {
    position: relative;
    display: inline-block;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 12px;
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 90%;
}

/* Stats */
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: var(--dark);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
    transform: rotate(-5deg);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: rotate(-5deg) translateY(0); }
    50% { transform: rotate(-3deg) translateY(-20px); }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--gray-50);
    border-radius: 32px;
    overflow: hidden;
}

.app-preview {
    padding: 20px;
    height: 100%;
}

.preview-header {
    margin-bottom: 20px;
}

.preview-location {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
}

.preview-card {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
}

.preview-icon {
    font-size: 2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 12px;
}

.preview-info {
    flex: 1;
}

.preview-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.preview-status {
    font-size: 0.75rem;
    font-weight: 600;
}

.status-open {
    color: var(--accent);
}

.status-closed {
    color: var(--primary);
}

/* Sections */
.section-py {
    padding: 5rem 0;
}

.section-py-lg {
    padding: 7rem 0;
}

.section-kicker {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.bg-soft {
    background: var(--gray-50);
}

.bg-gradient {
    background: var(--gradient-primary);
}

/* Step Cards */
.step-card {
    padding: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 1rem auto 1.5rem;
}

.bg-soft-primary {
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary);
}

.bg-soft-secondary {
    background: rgba(244, 162, 97, 0.1);
    color: var(--secondary);
}

.bg-soft-accent {
    background: rgba(42, 157, 143, 0.1);
    color: var(--accent);
}

/* Feature Section */
.feature-image {
    position: relative;
}

.feature-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.phone-outline {
    width: 240px;
    height: 480px;
    border: 8px solid var(--gray-400);
    border-radius: 40px;
    background: white;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.screen-content {
    padding: 20px;
}

.mini-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mini-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: 12px;
    font-size: 0.875rem;
}

.mini-item.active {
    background: rgba(42, 157, 143, 0.1);
}

.mini-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.mini-dot.green {
    background: var(--accent);
}

.mini-dot.red {
    background: var(--primary);
}

.floating-card {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    animation: float-card 4s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.25rem;
    color: var(--primary);
}

.card-1 {
    top: 20%;
    left: 0;
    animation-delay: 0s;
}

.card-2 {
    bottom: 30%;
    right: 0;
    animation-delay: 2s;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Feature List */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.bg-primary { background: var(--primary) !important; }
.bg-secondary { background: var(--secondary) !important; }
.bg-accent { background: var(--accent) !important; }

/* Business Section */
.business-visual {
    display: flex;
    justify-content: center;
}

.dashboard-mockup {
    width: 320px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.dash-header {
    background: var(--gradient-primary);
    color: white;
    padding: 16px 20px;
    font-weight: 700;
}

.dash-content {
    padding: 20px;
}

.dash-stat {
    text-align: center;
    margin-bottom: 20px;
}

.dash-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.dash-label {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.dash-toggle {
    background: var(--gray-50);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.toggle-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.toggle-switch {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: var(--gray-400);
    border-radius: var(--radius-full);
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.toggle-switch.active {
    background: var(--accent);
}

.toggle-dot {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
}

.dash-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    background: var(--gray-50);
    border-radius: 8px;
    font-size: 0.875rem;
}

/* Benefit Cards */
.benefit-card {
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateX(8px);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Cities Grid */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}

.city-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    cursor: pointer;
}

.city-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.city-card.more {
    background: var(--gradient-primary);
    color: white;
}

.city-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.city-card h6 {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0;
}

/* CTA Section */
.cta-decoration {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

/* Footer */
.footer {
    background: var(--gray-900) !important;
}

.footer-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary) !important;
    transform: translateY(-3px);
}

/* Buttons */
.btn {
    border-radius: var(--radius-sm);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 1rem 2rem;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    filter: brightness(1.1);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .phone-mockup {
        display: none;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-py {
        padding: 3rem 0;
    }
    
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .floating-card {
        display: none;
    }
}

/* Utilities */
.opacity-90 {
    opacity: 0.9;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary-light);
    color: var(--primary-dark);
}