:root {
    --bg-main: #f9fafb;
    --text-main: #111827;
    --text-muted: #4b5563;
    --primary: #ea580c; /* Solid burnt orange */
    --primary-hover: #cc4d08;
    --border-color: #e5e7eb;
    --card-bg: #ffffff;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 20vh;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* UI Components */
.ui-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.025);
}

/* Navigation */
.navbar {
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
}

.brand-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.nav-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: none !important;
}

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

.btn-secondary {
    background-color: #fff;
    border-color: #d1d5db;
    color: var(--text-main);
    box-shadow: none !important;
}

.btn-secondary:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

.btn-large {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    font-weight: 700;
    color: #111827;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1200px;
}

/* Chat Mockup */
.chat-mockup {
    width: 100%;
    max-width: 380px;
    overflow: hidden;
    animation: floatTilt 6s ease-in-out infinite;
    box-shadow: -15px 15px 35px rgba(0,0,0,0.06);
}

@keyframes floatTilt {
    0% { transform: rotateY(-12deg) rotateX(5deg) translateY(0px); }
    50% { transform: rotateY(-6deg) rotateX(2deg) translateY(-12px); }
    100% { transform: rotateY(-12deg) rotateX(5deg) translateY(0px); }
}

.chat-header {
    background-color: #f3f4f6;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    display: flex;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
}

.chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
    background-color: #fff;
    border: 1px solid var(--border-color);
}

.chat-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

.chat-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: #efeae2;
    background-image: url('../img/whatsapp_bg.png');
    background-repeat: repeat;
    background-size: 400px;
    background-blend-mode: multiply;
    height: 420px;
    overflow-y: hidden;
    scroll-behavior: smooth;
}

.msg-bubble {
    max-width: 85%;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.animate-msg {
    opacity: 0;
    transform: translateY(10px);
    animation: popIn 0.3s forwards ease-out;
}

@keyframes popIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutMsg {
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.typing-indicator {
    background-color: #f3f4f6;
    align-self: flex-start;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    border-bottom-left-radius: 2px;
    display: flex;
    gap: 4px;
    align-items: center;
}

.typing-indicator .dot {
    width: 6px;
    height: 6px;
    background-color: #9ca3af;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-indicator .dot:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator .dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

.msg-bubble.received {
    background-color: #ffffff;
    color: var(--text-main);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.msg-bubble.sent {
    background-color: #dcf8c6;
    color: #0b141a;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

/* Features Section */
.features-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3.5rem;
    letter-spacing: -0.5px;
    font-weight: 700;
}

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

.feature-card {
    padding: 2.5rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-main);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* AI Partners Section */
.ai-partners {
    max-width: 1000px;
    margin: 0 auto 5rem;
    text-align: center;
    padding: 0 2rem;
}

.partners-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2.5rem;
}

.partners-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    display: flex;
}

.partners-marquee::before,
.partners-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
}

.partners-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-main) 0%, transparent 100%);
}

.partners-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-main) 0%, transparent 100%);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scrollMarquee 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-group {
    display: flex;
    gap: 4.5rem;
    padding-right: 4.5rem;
    align-items: center;
}

@keyframes scrollMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.partner-item figcaption {
    font-size: 0.7rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.partner-img {
    height: 34px;
    width: auto;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    object-fit: contain;
}

.partner-item:hover .partner-img {
    opacity: 1;
}

.partner-item:hover figcaption {
    color: var(--text-main);
}

/* How it Works Section */
.how-it-works-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem 5rem;
}

/* Pricing Section */
.pricing-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.pricing-card {
    padding: 4rem 2rem;
    border: 1px solid var(--border-color);
}

.price-display {
    margin-top: 2.5rem;
}

.price-big {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
    letter-spacing: -2px;
}

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

.plus-sign {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 700;
    margin: 1.5rem 0;
}

.price-percent {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -1.5px;
}

.commission-desc {
    color: var(--text-muted);
    max-width: 350px;
    margin: 0.5rem auto 2.5rem;
    font-size: 1.05rem;
}

.commission-desc strong {
    color: var(--text-main);
}

/* CTA Section */
.cta-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
}

.cta-box {
    padding: 4rem 2rem;
    background-color: #fff;
}

.cta-box h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    font-weight: 700;
}

.cta-box p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem;
    background-color: var(--card-bg);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand h3 {
    font-size: 1.1rem;
    letter-spacing: -0.5px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.9rem;
}

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

/* Animations */
.hidden-animate {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.show-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Image Modal (WhatsApp style) */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.85); 
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    object-fit: contain;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: normal;
    cursor: pointer;
    z-index: 2001;
    user-select: none;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.zoom-in {
    animation: zoom 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes zoom {
    from {transform: scale(0.8); opacity: 0;} 
    to {transform: scale(1); opacity: 1;}
}

/* Interactive Chat Modal specific styles */
.chat-modal-content {
    background: #e5ddd5;
    background-size: cover;
    width: 95%;
    max-width: 420px;
    height: 80vh;
    margin: auto;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: none;
}

.chat-modal-content .chat-header {
    background: #fff;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.close-chat {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0 0.5rem;
    transition: color 0.2s;
}

.close-chat:hover {
    color: var(--text-main);
}

.chat-modal-content .chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background-color: #efeae2;
    background-image: url('../img/whatsapp_bg_1774559507910.png');
}

.chat-modal-content .chat-footer {
    padding: 1rem;
    background: #f0f2f5;
    display: flex;
    gap: 0.8rem;
    align-items: center;
    border-top: 1px solid var(--border-color);
    z-index: 10;
}

.chat-modal-content .chat-footer input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    background: #fff;
    transition: border-color 0.2s;
}

.chat-modal-content .chat-footer input:focus {
    border-color: var(--primary-color);
}

/* TPV HTML Mockup */
.tpv-mockup {
    background-color: #0f172a;
    border-radius: 16px;
    box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.4);
    border: 1px solid #334155;
    overflow: hidden;
    color: #e2e8f0;
    max-width: 950px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    text-align: left;
}

.tpv-mockup .tpv-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    background-color: #1e293b;
    border-bottom: 1px solid #334155;
}

.tpv-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #f8fafc;
}

.tpv-title span {
    font-weight: 400;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-left: 0.5rem;
}

.tpv-time {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 500;
}

.tpv-board {
    display: flex;
    padding: 1.5rem;
    gap: 1.5rem;
    overflow-x: auto;
    min-height: 480px;
}

.tpv-column {
    flex: 1;
    min-width: 250px;
    background-color: #1e293b;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

.tpv-col-header {
    padding: 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 1px solid #334155;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tpv-badge {
    background: #334155;
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
}

.tpv-cards {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tpv-card {
    background-color: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 1.2rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.2);
}

.tpv-card.border-orange { border-left: 4px solid #f97316; }
.tpv-card.border-yellow { border-left: 4px solid #eab308; }
.tpv-card.border-green { border-left: 4px solid #10b981; }

.tpv-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.tpv-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #f8fafc;
}

.tpv-time-tag {
    background: #334155;
    color: #e2e8f0;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.tpv-order-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem 0;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.tpv-order-list li {
    padding: 0.4rem 0;
    border-bottom: 1px dashed #334155;
}

.tpv-order-list li:last-child {
    border-bottom: none;
}

.tpv-card-footer {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.tpv-action-btn {
    width: 100%;
    margin-top: 1rem;
    padding: 0.6rem;
    border-radius: 6px;
    border: none;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: opacity 0.2s;
    color: #fff;
    letter-spacing: 0.5px;
}
.tpv-action-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.tpv-action-btn.btn-orange { background-color: #f97316; }
.tpv-action-btn.btn-yellow { background-color: #eab308; color: #1e293b; }
.tpv-action-btn.btn-green { background-color: #10b981; }

@media (max-width: 768px) {
    .tpv-board {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    .tpv-board > .tpv-column {
        min-width: 100%;
        margin-bottom: 0.5rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links {
        display: none;
    }
}
