:root {
    --base-bg: #0D0D0D;
    --surface-bg: #1A1A1A;
    --primary: #FF5E00;
    --primary-hover: #ff7626;
    --primary-glow: rgba(255, 94, 0, 0.4);
    --secondary-accent: #262626;
    --text-white: #F8FAFC;
    --text-muted: #A3A3A3;
    
    --font-heading: 'Barlow', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--base-bg);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

h1 .highlight {
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
    position: relative;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary);
    color: #000;
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 0 25px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid var(--secondary-accent);
}

.btn-secondary:hover {
    border-color: var(--text-white);
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-solid-dark {
    background-color: #000;
    color: var(--text-white);
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 1.5rem;
    padding: 1.5rem 3rem;
    border-radius: 12px;
}

.btn-solid-dark:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid var(--secondary-accent);
}

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

.logo-img {
    height: 48px;
    display: block;
    object-fit: contain;
}

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

.login-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    padding-top: 12rem;
    padding-bottom: 8rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 94, 0, 0.15);
    border: 1px solid rgba(255, 94, 0, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-bottom: 2rem;
}

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

.hero .subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Hero Visual Mockup */
.hero-visual {
    position: relative;
}

.mockup-container {
    position: relative;
    z-index: 1;
    perspective: 1000px;
}

.mockup-window {
    background: var(--surface-bg);
    border: 1px solid var(--secondary-accent);
    border-radius: 12px;
    overflow: hidden;
    transform: rotateY(-15deg) rotateX(5deg);
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5), -1px -1px 0 rgba(255,255,255,0.05);
    transition: var(--transition);
}

.mockup-window:hover {
    transform: rotateY(-5deg) rotateX(2deg) translateY(-10px);
}

.mockup-header {
    background: #111;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--secondary-accent);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #333;
}

.mockup-dots span:nth-child(1) { background: #FF5F56; }
.mockup-dots span:nth-child(2) { background: #FFBD2E; }
.mockup-dots span:nth-child(3) { background: #27C93F; }

.mockup-title {
    flex-grow: 1;
    text-align: center;
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.mockup-body {
    display: flex;
    height: 400px;
}

.mockup-sidebar {
    width: 60px;
    background: #111;
    border-right: 1px solid var(--secondary-accent);
}

.mockup-main {
    flex-grow: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(26,26,26,1) 0%, rgba(13,13,13,1) 100%);
}

.mockup-widget {
    background: var(--base-bg);
    border: 1px solid var(--secondary-accent);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.widget-icon {
    font-size: 2rem;
    background: rgba(255,255,255,0.05);
    padding: 0.5rem;
    border-radius: 8px;
}

.widget-info {
    display: flex;
    flex-direction: column;
}

.widget-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.widget-info strong {
    font-size: 1.25rem;
    color: var(--text-white);
}

.widget-caja strong { color: var(--primary); }

.widget-cars {
    flex-direction: column;
    align-items: flex-start;
}

.car-tags {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
    width: 100%;
}

.tag-status {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.tag-waiting {
    background: rgba(255, 189, 46, 0.15);
    color: #FFBD2E;
    border: 1px solid rgba(255, 189, 46, 0.3);
}

.tag-ready {
    background: rgba(39, 201, 63, 0.15);
    color: #27C93F;
    border: 1px solid rgba(39, 201, 63, 0.3);
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--primary);
    filter: blur(100px);
    opacity: 0.15;
    z-index: -1;
    border-radius: 50%;
}

/* Pain Points Section */
.pain-points {
    background-color: #111;
    border-top: 1px solid var(--secondary-accent);
    border-bottom: 1px solid var(--secondary-accent);
}

.grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.card {
    background: var(--surface-bg);
    border: 1px solid var(--secondary-accent);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition);
}

.card:hover {
    border-color: rgba(255, 94, 0, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* Features Section (Bento Box) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.bento-card {
    background: var(--surface-bg);
    border: 1px solid var(--secondary-accent);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(255, 94, 0, 0.1);
}

.bento-wide {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

.bento-wide .bento-content {
    flex: 1;
}

.bento-wide .bento-visual {
    flex: 1;
    margin-top: 0;
    min-height: 150px;
}

.bento-square {
    grid-column: span 1;
}

.feature-caja .bento-visual {
    height: 150px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    width: 100%;
    height: 100%;
    padding: 1rem;
    background: var(--base-bg);
    border-radius: 12px;
}

.bar {
    flex: 1;
    background: var(--secondary-accent);
    border-radius: 4px 4px 0 0;
    transition: height 1s ease-out;
}

.bar.active {
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.whatsapp-bubble {
    background: #075E54;
    padding: 1rem;
    border-radius: 12px 12px 12px 0;
    margin-top: 1.5rem;
    color: #fff;
    font-size: 0.9rem;
    display: inline-block;
}

.search-bar-mockup {
    background: var(--base-bg);
    border: 1px solid var(--secondary-accent);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    color: var(--text-white);
    font-family: monospace;
    font-size: 1.1rem;
}

.kanban-mockup {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    height: 100%;
    align-items: start;
}

.kanban-col {
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 100px;
}

.kanban-card {
    background: var(--base-bg);
    border: 1px solid var(--secondary-accent);
    height: 30px;
    border-radius: 4px;
}

/* Pricing & Flow Section */
.pricing {
    background-color: var(--base-bg);
    border-top: 1px solid var(--secondary-accent);
    padding: 6rem 0;
}

.pricing h2 {
    margin-bottom: 3.5rem;
}

.pricing-card {
    background: linear-gradient(145deg, #1e1e1e, #141414);
    border: 1px solid var(--secondary-accent);
    border-radius: 24px;
    padding: 3.5rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #ff8c42);
}

.pricing-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-badge {
    background: rgba(255, 94, 0, 0.15);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 94, 0, 0.3);
    display: inline-block;
    margin-bottom: 1.5rem;
}

.price-box {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.price-currency {
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--text-white);
    font-weight: 800;
    margin-right: 0.25rem;
}

.price-value {
    font-size: 5rem;
    font-family: var(--font-heading);
    color: var(--text-white);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    text-shadow: 0 0 30px rgba(255, 94, 0, 0.2);
}

.price-period {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-left: 0.5rem;
    font-weight: 500;
}

.pricing-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.pricing-flow {
    margin-bottom: 3rem;
}

.pricing-flow h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.35rem;
    color: var(--text-white);
    font-weight: 700;
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.flow-step {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 1.75rem;
    border-radius: 16px;
    position: relative;
    transition: var(--transition);
}

.flow-step:hover {
    background: rgba(255, 94, 0, 0.02);
    border-color: rgba(255, 94, 0, 0.15);
    transform: translateY(-3px);
}

.step-num {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 0 15px var(--primary-glow);
}

.flow-step h4 {
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.flow-step p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.pricing-cta-box {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.pricing-footnote {
    text-align: center;
    font-size: 0.9rem !important;
    color: var(--text-muted);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--surface-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--secondary-accent);
}

.accordion-item {
    border-bottom: 1px solid var(--secondary-accent);
}

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

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
}

.accordion-icon {
    color: var(--primary);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content p {
    padding-bottom: 1.5rem;
}

/* Final CTA Section */
.final-cta {
    background: linear-gradient(135deg, #FF5E00 0%, #CC4A00 100%);
    text-align: center;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.cta-container {
    position: relative;
    z-index: 2;
}

.final-cta h2 {
    color: var(--text-white);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.microcopy {
    color: rgba(255,255,255,0.8);
    margin-top: 1rem;
    font-size: 0.875rem;
}

.bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    z-index: 1;
}

/* Footer */
.footer {
    background: var(--base-bg);
    padding: 3rem 0;
    border-top: 1px solid var(--secondary-accent);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img-footer {
    height: 32px;
    filter: grayscale(100%) opacity(0.7);
    transition: var(--transition);
}

.logo-img-footer:hover {
    filter: none;
}

.footer-logo span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

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

.footer-links span {
    color: var(--secondary-accent);
    font-size: 0.875rem;
}

/* Floating WhatsApp */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero .subtitle {
        margin: 0 auto 2.5rem;
    }

    .badge {
        margin: 0 auto 2rem;
    }

    .mockup-window {
        transform: none;
        margin-top: 4rem;
    }

    .mockup-window:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .grid-2x2 {
        grid-template-columns: 1fr;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-wide {
        grid-column: span 1;
        flex-direction: column;
    }

    .bento-wide .bento-visual {
        width: 100%;
        margin-top: 1.5rem;
    }

    .bento-square {
        grid-column: span 1;
    }

    .nav-links {
        display: none; /* Add a hamburger menu for mobile in a real app */
    }

    .btn-massive {
        font-size: 1.125rem;
        padding: 1rem 2rem;
        width: 100%;
    }

    .final-cta-buttons {
        gap: 1rem;
    }
    
    .floating-wa {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .floating-wa svg {
        width: 26px;
        height: 26px;
    }

    /* Pricing Responsive */
    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .flow-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .price-value {
        font-size: 3.5rem;
    }
}
