:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --white: #ffffff;
    --accent: #f43f5e;
    --glass: rgba(255, 255, 255, 0.7);
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container.narrow {
    max-width: 600px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--gray);
    font-size: 1.1rem;
}

span {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    box-shadow: 0 8px 20px -6px rgba(99, 102, 241, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px -6px rgba(99, 102, 241, 0.7);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #f1f5f9;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* Header */
.header {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #f1f5f9;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    display: inline-flex;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--dark);
    transition: 0.3s;
}

.mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero */
.hero {
    padding: 6rem 0;
    background: radial-gradient(circle at top right, #f8fafc, #eff6ff);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: #e0e7ff;
    color: var(--primary-dark);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.hero-visual {
    position: relative;
}

.pos-frame {
    background: var(--white);
    padding: 8px;
    border-radius: 24px;
    box-shadow:
        0 20px 50px -10px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 2;
}

.pos-frame:hover {
    transform: translateY(-10px) scale(1.02);
}

.pos-frame img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

/* Sections */
.section {
    padding: 8rem 0;
}

.section-header {
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.bg-light {
    background: #f8fafc;
}

.bg-dark {
    background: var(--dark);
    color: var(--white);
}

/* Audience Grid */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.audience-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    text-align: center;
}

.audience-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.audience-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    transition: 0.3s;
}

.f-icon {
    width: 50px;
    height: 50px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

/* Demo Box */
.demo-box {
    background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%);
    padding: 4rem;
    border-radius: 40px;
    color: var(--white);
    text-align: center;
}

.demo-visual {
    width: 100%;
    margin-top: 3rem;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-visual img,
.demo-visual video {
    width: 100%;
    display: block;
}

/* Benefits & Partner */
.benefits-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.benefits-list h2 {
    text-align: left;
}

.benefits-list ul {
    list-style: none;
}

.benefits-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.partner-card {
    background: #eff6ff;
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid #dbeafe;
}

/* Form Section */
.form-card {
    background: var(--white);
    padding: 4rem;
    border-radius: 30px;
    color: var(--dark);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.25);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
}

.form-status {
    min-height: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.form-status.is-success {
    color: #15803d;
}

.form-status.is-error {
    color: #b91c1c;
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid #f1f5f9;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-links h5,
.footer-contact h5 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    color: var(--gray);
    text-decoration: none;
    margin-bottom: 0.8rem;
}

.footer-bottom {
    border-top: 1px solid #f1f5f9;
    padding-top: 2rem;
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25d366;
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

/* Chatbot Styling */
.chatbot {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 2000;
}

.chatbot-fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chatbot-fab:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.5);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform-origin: bottom right;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.chatbot-window.hidden {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
}

.chatbot-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-title {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.online-indicator {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.chatbot-close:hover {
    opacity: 1;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    padding: 0.75rem 1rem;
    border-radius: 15px;
    max-width: 80%;
    font-size: 0.95rem;
    line-height: 1.4;
}

.chatbot-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0 1rem 1rem;
}

.chatbot-suggestion {
    border: 1px solid #dbeafe;
    background: #eff6ff;
    color: var(--primary-dark);
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-size: 0.8rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chatbot-suggestion:hover {
    background: #dbeafe;
}

.message.bot {
    background: #f1f5f9;
    color: var(--dark);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.message.user {
    background: var(--primary);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chatbot-input {
    padding: 1rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    gap: 0.5rem;
}

.chatbot-input input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
}

.chatbot-input input:focus {
    border-color: var(--primary);
}

.chatbot-input button {
    background: var(--primary);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.chatbot-input button:hover {
    background: var(--primary-dark);
}

.chatbot-input button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive Media Queries */
@media (max-width: 968px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .section {
        padding: 5rem 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        padding: 4rem 2rem;
        transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
    }

    .nav-cta {
        display: inline-flex;
        margin-top: 2rem;
        width: 100%;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-info,
    .footer-links,
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .demo-box,
    .form-card,
    .partner-card {
        padding: 2rem;
        border-radius: 24px;
    }

    .chatbot {
        right: 1rem;
        bottom: 1rem;
    }

    .chatbot-window {
        width: calc(100vw - 2rem);
        height: 450px;
    }

    .chatbot-fab {
        width: 50px;
        height: 50px;
    }
}
