:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: #e0e7ff;
    --dark: #0f172a;
    --light: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --white: #ffffff;
    --success: #10b981;
    --gradient-hero: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --gradient-glow: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s, border-color 0.3s;
}

html {
    scroll-behavior: smooth;
}

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

/* Header & Glassmorphism Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 800;
    font-size: 22px;
}

.logo i {
    color: var(--primary);
    width: 28px;
    height: 28px;
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.logo:hover i {
    transform: rotate(5deg) scale(1.1);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 4px 0;
    transition: color 0.2s ease;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 99px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
    transition: all 0.3s ease;
}

.btn-login:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
}

.btn-login:active {
    transform: translateY(0);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 24px 100px;
    background: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.08), transparent 60%);
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--gradient-glow);
    z-index: -1;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.badge-tag i {
    width: 14px;
    height: 14px;
}

.hero-title {
    font-size: 54px;
    font-weight: 850;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.hero-title span {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 580px;
    line-height: 1.7;
}

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

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-hero);
    color: var(--white);
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.4);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--white);
    color: var(--text-main);
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-secondary:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

/* Hero Visual Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-container {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.1);
    padding: 16px;
    width: 100%;
    max-width: 520px;
    transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
    transition: transform 0.5s ease;
}

.mockup-container:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.mockup-header {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #cbd5e1;
}

.mockup-dot:nth-child(1) { background-color: #ef4444; }
.mockup-dot:nth-child(2) { background-color: #eab308; }
.mockup-dot:nth-child(3) { background-color: #22c55e; }

.mockup-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mockup-chat-bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.5;
    animation: floatIn 0.8s ease forwards;
}

.mockup-chat-bubble.guest {
    background-color: #f1f5f9;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.mockup-chat-bubble.bot {
    background-color: var(--primary-light);
    color: #3730a3;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.05);
}

.mockup-chat-bubble.bot strong {
    color: var(--primary);
    display: block;
    margin-bottom: 4px;
}

.badge-whatsapp-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #dcfce7;
    color: #14532d;
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 600;
    width: fit-content;
    align-self: center;
    margin-top: 8px;
}

.badge-whatsapp-status span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 6px #22c55e;
}

/* Features Section */
.features {
    padding: 100px 24px;
    background-color: var(--white);
}

.section-header {
    max-width: 700px;
    margin: 0 auto 64px;
    text-align: center;
}

.section-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

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

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--light);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-8px);
    background-color: var(--white);
    border-color: var(--primary-light);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.08);
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    background-color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    border: 1px solid var(--border);
    color: var(--primary);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background-color: var(--primary);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.2);
}

.feature-icon-wrapper i {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Workflow Section */
.workflow {
    padding: 100px 24px;
    background: radial-gradient(ellipse at bottom, rgba(124, 58, 237, 0.05), transparent 60%);
}

.workflow-steps {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.workflow-step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.workflow-step-num {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    margin: 0 auto 20px;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.25);
    border: 4px solid var(--light);
}

.workflow-step h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.workflow-step p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Call to Action Section (Staff Banner) */
.cta {
    padding: 100px 24px;
}

.cta-card {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--gradient-hero);
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(79, 70, 229, 0.25);
}

.cta-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.cta-card h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.cta-card p {
    font-size: 16px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

.cta-card .btn-login {
    background-color: var(--white);
    color: var(--primary);
    padding: 16px 36px;
    font-size: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta-card .btn-login:hover {
    background-color: var(--light);
    color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: #94a3b8;
    padding: 48px 24px;
    border-top: 1px solid #1e293b;
    font-size: 14px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
}

.footer-logo i {
    color: var(--primary);
}

.footer-text {
    opacity: 0.8;
}

/* Animations */
@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 64px;
    }
    .hero-content {
        align-items: center;
    }
    .hero-title {
        font-size: 44px;
    }
    .hero-actions {
        justify-content: center;
    }
    .mockup-container {
        transform: none;
    }
    .mockup-container:hover {
        transform: scale(1.02);
    }
    .workflow-steps {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 36px;
    }
    .cta-card {
        padding: 40px 20px;
    }
    .cta-card h2 {
        font-size: 28px;
    }
    .nav-links {
        display: none; /* hidden on small mobile, rely on CTA */
    }
}
