/* =========================================
   VARIABLES & GLOBALS
   ========================================= */
   :root {
    --primary: #0EA5E9; /* Modern Blue */
    --primary-dark: #0284C7;
    --secondary: #10B981; /* Emerald Green */
    --dark: #1E293B; /* Slate 800 */
    --light: #F8FAFC; /* Slate 50 */
    --white: #FFFFFF;
    --text-main: #334155; /* Slate 700 */
    --text-light: #64748B; /* Slate 500 */
    --border: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --font: 'Inter', sans-serif;
}

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

/* Global HTML defaults removed including smooth scroll for instant behavior */

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.highlight {
    color: var(--primary);
}

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

.mt-3 { margin-top: 1rem; }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.btn-secondary {
    background-color: var(--text-main);
    color: var(--white);
}

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

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

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

.btn-large {
    padding: 14px 32px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* =========================================
   HEADER & NAV
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 70px;
    margin-top:8px;
    max-width: 100%;
    object-fit: contain;
}

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

.nav-menu a {
    font-weight: 500;
    color: var(--text-main);
}

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

.nav-menu a.btn {
    color: var(--white);
}
.nav-menu a.btn-outline {
    color: var(--primary);
}
.nav-menu a.btn-outline:hover {
    color: var(--white);
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    transition: 0.3s;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    padding: 160px 0 100px;
    background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.1), transparent 40%),
                radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.05), transparent 40%);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.hero-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    perspective: 1000px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
}

.scan-mockup {
    position: relative;
    width: 300px;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotateY(-10deg) rotateX(5deg);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px) rotateY(-10deg) rotateX(5deg); }
    50% { transform: translateY(-20px) rotateY(-5deg) rotateX(5deg); }
    100% { transform: translateY(0px) rotateY(-10deg) rotateX(5deg); }
}

.scan-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary);
    box-shadow: 0 0 10px var(--secondary);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { top: 10%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 90%; opacity: 0; }
}

.barcode {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark);
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.status-badge {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-badge.success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* =========================================
   SECTIONS GENERAL
   ========================================= */
section {
    padding: 100px 0;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* =========================================
   PROBLEM SECTION
   ========================================= */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
    border: 1px solid var(--border);
}

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

.stat-number {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

/* =========================================
   SOLUTION SECTION
   ========================================= */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
}

.step-card {
    background: var(--light);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-num {
    width: 60px;
    height: 60px;
    background: var(--white);
    color: var(--secondary);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-sm);
    border: 2px solid rgba(16, 185, 129, 0.1);
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
}

/* =========================================
   BENEFITS SECTION
   ========================================= */
.flex-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.benefits-image, .benefits-content {
    flex: 1;
}

.feature-list-ui {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.feature-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

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

.benefits-content h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 30px;
}

.benefits-list li {
    margin-bottom: 25px;
}

.benefits-list strong {
    display: block;
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 8px;
}

/* =========================================
   DEMO / CALENDAR SECTION
   ========================================= */
.demo-wrapper {
    display: flex;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.demo-info {
    flex: 1;
    padding: 60px;
}

.demo-info h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.demo-features {
    margin-top: 30px;
}

.demo-features li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.demo-calendar {
    flex: 1;
    background: var(--white);
    padding: 60px;
    color: var(--text-main);
}

.demo-calendar h3 {
    margin-bottom: 20px;
    color: var(--dark);
}

.calendar-ui {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.cal-day {
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    background: var(--light);
    cursor: pointer;
    font-weight: 500;
    transition: 0.2s;
}

.cal-day:hover:not(.disabled) {
    background: var(--primary);
    color: var(--white);
}

.cal-day.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.cal-day.selected {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.4);
}

.slots-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.time-btn {
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
    transition: 0.2s;
    font-family: inherit;
    font-weight: 500;
}

.time-btn.selected {
    border-color: var(--primary);
    background: rgba(14, 165, 233, 0.05);
    color: var(--primary);
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: var(--light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.form-response {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    display: none;
    text-align: center;
    font-weight: 500;
}

.form-response.success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-response.error {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 80px 0 30px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: var(--text-light);
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-links li:last-child {
    margin-bottom: 0;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

/* =========================================
   ANIMATIONS UTILS
   ========================================= */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   RESPONSIVE (Max 991px)
   ========================================= */
@media (max-width: 991px) {
    .hero h1 { font-size: 2.8rem; }
    .hero-container { flex-direction: column; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-graphic { margin-top: 40px; }

    .stats-grid, .steps-grid { grid-template-columns: 1fr; }
    .flex-row { flex-direction: column; }
    .benefits-image { order: 2; width: 100%; }
    .benefits-content { order: 1; margin-bottom: 30px; text-align: center; }
    
    .demo-wrapper { flex-direction: column; }
    .demo-info, .demo-calendar { padding: 40px 30px; }
}

/* =========================================
   RESPONSIVE (Max 768px)
   ========================================= */
@media (max-width: 768px) {
    .nav-menu ul {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--border);
    }
    
    .nav-menu ul.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }

    .form-row { flex-direction: column; gap: 0; }
    
    .footer-container { flex-direction: column; align-items: flex-start; }
}
