/* ================================================
   JORGEASSIST LANDING PAGE STYLES
   Based on Feedelize design system
   ================================================ */

/* ================================================
   CSS RESET & BASE STYLES
   ================================================ */

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

:root {
    /* Colors */
    --primary-green: #19C37D;
    --primary-green-hover: #0FA670;
    --light-mint: #F2FFF7;
    --dark-navy: #0F2233;
    --text-primary: #0B1220;
    --text-secondary: #5B6776;
    --border-color: #E5E7EB;
    --white: #ffffff;
    
    /* Typography */
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --section-padding-mobile: 60px;
    
    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 18px;
    overflow-x: hidden;
}

/* ================================================
   ANNOUNCEMENT BAR
   ================================================ */

.announcement-bar {
    background: linear-gradient(90deg, var(--primary-green) 0%, var(--primary-green-hover) 100%);
    color: var(--white);
    padding: 12px 0;
    font-size: 14px;
    font-weight: 600;
}

/* ================================================
   NAVBAR
   ================================================ */

.navbar {
    padding: 20px 0;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 20px;
    color: var(--text-primary);
    text-decoration: none;
}

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

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 8px 16px !important;
    transition: color 0.3s ease;
}

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

/* ================================================
   BUTTONS
   ================================================ */

.btn {
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(25, 195, 125, 0.3);
}

.btn-primary:hover {
    background: var(--primary-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(25, 195, 125, 0.4);
    color: var(--white);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-outline-primary:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

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

.btn-light:hover {
    background: var(--light-mint);
    transform: translateY(-2px);
    color: var(--primary-green);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 18px;
}

.btn-link {
    color: var(--text-primary);
    text-decoration: none;
    padding: 12px 16px;
}

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

/* ================================================
   HERO SECTION
   ================================================ */

.hero-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-mint) 100%);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 540px;
}

.gauge-container {
    position: relative;
}

.gauge-illustration {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

.gauge-metrics {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.metric-card {
    background: var(--white);
    padding: 20px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.metric-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-green);
}

.metric-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ================================================
   DARK STRIP
   ================================================ */

.dark-strip {
    background: var(--dark-navy);
    padding: 60px 0;
}

.strip-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.strip-item p {
    color: var(--white);
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}

/* ================================================
   VIDEO SECTION
   ================================================ */

.video-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-hover) 100%);
    padding: var(--section-padding) 0;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    aspect-ratio: 16/9;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    transform: scale(1.05);
}

/* ================================================
   FEATURES SECTION
   ================================================ */

.features-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.feature-block {
    padding: 80px 0;
}

.feature-block:first-child {
    padding-top: 0;
}

.feature-label {
    display: inline-block;
    padding: 6px 16px;
    background: var(--light-mint);
    color: var(--primary-green);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.feature-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    color: var(--text-secondary);
    font-size: 17px;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 800;
    font-size: 18px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

/* WhatsApp Message Bubble */
.whatsapp-message {
    display: flex;
    justify-content: flex-start;
}

.message-bubble {
    background: #DCF8C6;
    padding: 16px 20px;
    border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md);
    max-width: 85%;
    font-size: 15px;
    line-height: 1.5;
    box-shadow: var(--shadow-sm);
}

/* Kanban Preview */
.kanban-preview-small {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
    margin: 24px 0;
}

.kanban-column-label {
    background: var(--light-mint);
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    color: var(--primary-green);
}

/* Stock Table */
.stock-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 12px;
    padding: 12px 16px;
    background: var(--light-mint);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 12px;
    padding: 16px;
    background: #FAFAFA;
    border-radius: var(--radius-sm);
    align-items: center;
}

.badge-ok {
    color: var(--primary-green);
    font-weight: 600;
}

.badge-alert {
    color: #DC2626;
    font-weight: 600;
}

.badge-low {
    color: #F59E0B;
    font-weight: 600;
}

/* Profit Card */
.profit-card {
    background: #FAFAFA;
    padding: 24px;
    border-radius: var(--radius-md);
}

.profit-card h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

.profit-line.highlight {
    border-bottom: none;
    padding-top: 20px;
    font-size: 18px;
}

/* Customer Card */
.customer-card {
    background: #FAFAFA;
    padding: 24px;
    border-radius: var(--radius-md);
}

.customer-card h4 {
    font-size: 20px;
    margin-bottom: 4px;
}

.customer-phone {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.customer-history {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.history-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--white);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.history-date {
    color: var(--text-secondary);
    font-weight: 600;
    min-width: 80px;
}

.customer-total {
    padding-top: 16px;
    border-top: 2px solid var(--border-color);
    text-align: right;
}

/* Automation Table */
.automation-table {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.automation-row {
    background: #FAFAFA;
    padding: 16px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.automation-trigger {
    font-weight: 600;
    color: var(--primary-green);
    font-size: 14px;
}

.automation-message {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

/* Checklist Card */
.checklist-card {
    background: #FAFAFA;
    padding: 24px;
    border-radius: var(--radius-md);
}

.checklist-card h4 {
    margin-bottom: 20px;
}

.checklist-item {
    padding: 12px;
    background: var(--white);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    font-size: 15px;
}

.checklist-item.checked {
    color: var(--primary-green);
    font-weight: 500;
}

.signature-box {
    margin-top: 24px;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 2px dashed var(--border-color);
}

.signature-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* ================================================
   SYSTEM OVERVIEW
   ================================================ */

.system-overview {
    padding: var(--section-padding) 0;
    background: var(--light-mint);
}

.system-panel {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    font-family: 'Courier New', monospace;
}

.panel-header {
    background: var(--dark-navy);
    color: var(--white);
    padding: 20px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.panel-title {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
}

.panel-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.panel-btn {
    background: var(--primary-green);
    color: var(--white);
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-primary);
}

.panel-search {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font-family: var(--font-primary);
    width: 200px;
}

.panel-kanban {
    padding: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
}

.kanban-mini-column {
    background: var(--light-mint);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
}

.kanban-mini-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: var(--font-primary);
}

.panel-stats {
    padding: 20px 32px;
    background: #FAFAFA;
    font-size: 14px;
    color: var(--text-secondary);
    font-family: var(--font-primary);
}

/* ================================================
   PRICING SECTION
   ================================================ */

.pricing-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

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

.pricing-featured {
    border-color: var(--primary-green);
    background: var(--light-mint);
    transform: scale(1.05);
}

.pricing-featured:hover {
    transform: scale(1.08) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-green);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pricing-plan {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.pricing-price {
    margin-bottom: 16px;
}

.price-currency {
    font-size: 24px;
    font-weight: 600;
    vertical-align: top;
}

.price-value {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-primary);
}

.price-period {
    font-size: 18px;
    color: var(--text-secondary);
}

.pricing-description {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    color: var(--text-secondary);
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 800;
}

/* ================================================
   FAQ SECTION
   ================================================ */

.faq-section {
    padding: var(--section-padding) 0;
    background: var(--light-mint);
}

.accordion-item {
    border: none;
    margin-bottom: 16px;
    background: var(--white);
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
}

.accordion-button {
    background: var(--white);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 18px;
    padding: 24px;
    border: none;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: var(--light-mint);
    color: var(--primary-green);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2319C37D'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.accordion-body {
    padding: 24px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ================================================
   FINAL CTA
   ================================================ */

.final-cta {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-hover) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.cta-card h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-card p {
    font-size: 20px;
    opacity: 0.9;
}

/* ================================================
   FOOTER
   ================================================ */

.footer {
    background: var(--dark-navy);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-green);
    transform: translateY(-2px);
}

/* ================================================
   WHATSAPP FLOAT BUTTON
   ================================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

/* ================================================
   COOKIE BANNER
   ================================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    z-index: 999;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-banner p {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.cookie-banner a {
    color: var(--primary-green);
    text-decoration: underline;
}

/* ================================================
   MODAL STYLES
   ================================================ */

.modal-content {
    border-radius: var(--radius-xl);
    border: none;
}

.modal-header {
    padding: 32px 32px 16px;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
}

.modal-body {
    padding: 16px 32px 32px;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-control {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font-size: 16px;
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(25, 195, 125, 0.1);
}

/* ================================================
   RESPONSIVE - MOBILE STYLES
   ================================================ */

@media (max-width: 991px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .feature-title {
        font-size: 28px;
    }
    
    .hero-section,
    .features-section,
    .video-section,
    .pricing-section,
    .faq-section,
    .final-cta,
    .system-overview {
        padding: var(--section-padding-mobile) 0;
    }
    
    .feature-block {
        padding: 60px 0;
    }
    
    .gauge-metrics {
        flex-direction: column;
        align-items: center;
    }
    
    .metric-card {
        width: 100%;
        max-width: 250px;
    }
    
    .cta-card h2 {
        font-size: 28px;
    }
    
    .cta-card {
        padding: 60px 24px;
    }
    
    body {
        font-size: 16px;
    }
    
    .feature-card {
        padding: 24px;
    }
    
    .panel-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .panel-search {
        width: 100%;
    }
    
    .kanban-preview-small {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 2fr 1fr 1fr;
        font-size: 12px;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .btn-lg {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .pricing-featured {
        transform: none;
    }
    
    .pricing-card {
        padding: 32px 24px;
    }
}

/* ================================================
   UTILITY CLASSES
   ================================================ */

.text-success {
    color: var(--primary-green) !important;
}

.bg-light-mint {
    background: var(--light-mint);
}

/* ================================================
   ANIMATIONS
   ================================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth transitions for interactive elements */
a, button, .btn {
    transition: all 0.3s ease;
}

/* Loading state */
.loading {
    pointer-events: none;
    opacity: 0.6;
}
