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

:root {
    --primary: #00B8A8;
    --primary-dark: #00A193;
    --secondary: #36B3D9;
    --secondary-dark: #2A9BC1;
    --danger: #E74C3C;
    --warning: #F39C12;
    --success: #27AE60;
    --dark: #2D3748;
    --gray: #4A5568;
    --light-gray: #EDF2F7;
    --light: #F8F9FA;
    --white: #ffffff;
    --card-border: #E2E8F0;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--card-border);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    gap: 0.5rem;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.1);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ffd700;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.cta-button {
    background: linear-gradient(45deg, var(--success), #229954);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
}

.hero-visual {
    position: relative;
}

.dashboard-preview {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 1px solid var(--card-border);
    transform: perspective(1000px) rotateY(-5deg);
}

.chart-container {
    width: 100%;
    height: 250px;
    margin-bottom: 1.5rem;
}

.alerts-preview {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.alert {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.alert-critical {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border-left: 4px solid var(--danger);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border-left: 4px solid var(--warning);
}

/* Problems Section */
.problems {
    padding: 5rem 0;
    background: var(--light);
}

.problems h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.problem-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid var(--card-border);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--danger), #ff6b6b);
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(239, 68, 68, 0.15);
}

.problem-card .icon-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.problem-card:hover .icon-container {
    background: linear-gradient(135deg, var(--danger), #e53e3e);
    transform: scale(1.1);
}

.problem-card i {
    font-size: 2.5rem;
    color: var(--danger);
    transition: all 0.3s ease;
}

.problem-card:hover i {
    color: white;
}

.problem-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
    font-weight: 600;
    line-height: 1.3;
}

.problem-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Solution Section */
.solution {
    padding: 5rem 0;
    background: white;
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.solution-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--dark);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 0.25rem;
}

.feature h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.feature p {
    color: var(--gray);
}

.phone-mockup {
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #2c3e50, #34495e);
    border-radius: 30px;
    padding: 8px;
    position: relative;
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.3),
        inset 0 0 0 2px rgba(255,255,255,0.1);
    margin: 0 auto;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #2c3e50;
    border-radius: 15px;
    z-index: 10;
}

.phone-mockup::after {
    content: '';
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: #34495e;
    border-radius: 2px;
    z-index: 11;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #075e54 0%, #128c7e 100%);
    border-radius: 22px;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.whatsapp-header {
    background: #075e54;
    padding: 1rem 1rem 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
}

.whatsapp-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.whatsapp-contact {
    flex: 1;
}

.contact-name {
    font-weight: 600;
    font-size: 1rem;
    color: white;
    margin-bottom: 0.2rem;
}

.contact-status {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
}

.whatsapp-chat {
    flex: 1;
    padding: 1rem;
    background: #e5ddd5;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(0,0,0,0.15) 1px, transparent 0);
    background-size: 20px 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.whatsapp-message {
    background: #dcf8c6;
    color: #303030;
    border-radius: 18px 18px 4px 18px;
    padding: 0.75rem 1rem;
    max-width: 85%;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.whatsapp-message::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -8px;
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-top-color: #dcf8c6;
    border-right: 0;
    border-bottom: 0;
    margin-bottom: -8px;
}

.message-content {
    line-height: 1.3;
    font-size: 0.9rem;
}

.message-content strong {
    color: #d32f2f;
    display: block;
    margin-bottom: 0.25rem;
}

.message-content em {
    color: #1976d2;
    font-weight: 500;
    font-style: normal;
}

.message-time {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
    font-size: 0.7rem;
    color: #666;
}

.message-time i {
    color: #4fc3f7;
    font-size: 0.8rem;
}

/* Demo Section */
.demo {
    padding: 5rem 0;
    background: var(--light);
}

.demo h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark);
}

.demo-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-button {
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tab-button.active,
.tab-button:hover {
    background: var(--primary);
    color: white;
}

.demo-panel {
    display: none;
}

.demo-panel.active {
    display: block;
}

.chart-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.chart-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--card-border);
}

.chart-card h4 {
    margin-bottom: 1.5rem;
    color: var(--dark);
    text-align: center;
}

.chart-card canvas {
    width: 100% !important;
    height: 300px !important;
}

.alerts-dashboard {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.alert-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.alert-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.alert-card.critical .alert-icon {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.alert-card.warning .alert-icon {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.alert-card.success .alert-icon {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.alert-info h4 {
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.alert-info p {
    color: var(--gray);
    margin-bottom: 0.25rem;
}

.alert-time {
    font-size: 0.8rem;
    color: var(--gray);
}

/* Integration Section */
.integration {
    padding: 5rem 0;
    background: white;
}

.integration-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.integration-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.integration-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.integration-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.step-content p {
    color: var(--gray);
    font-size: 0.95rem;
}

.integration-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--light);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.highlight-item i {
    font-size: 1.2rem;
    color: var(--primary);
}

.highlight-item span {
    font-size: 0.9rem;
    color: var(--gray);
}

.setup-mockup {
    width: 400px;
    margin: 0 auto;
    background: var(--light);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid var(--card-border);
}

.setup-screen {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.setup-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.setup-steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.step-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--card-border);
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.step-dot.active {
    background: var(--primary);
    color: white;
}

.step-line {
    width: 20px;
    height: 2px;
    background: var(--card-border);
}

.step-line.active {
    background: var(--primary);
}

.setup-header h3 {
    color: var(--dark);
    font-size: 1.2rem;
    margin: 0;
}

.setup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-field {
    position: relative;
}

.form-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray);
    margin-bottom: 0.25rem;
}

.form-field input {
    width: 100%;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border: 1px solid var(--card-border);
    border-radius: 4px;
    font-size: 0.9rem;
    background: var(--light);
}

.form-field.completed input {
    border-color: var(--success);
    background: rgba(39, 174, 96, 0.05);
}

.form-field.completed .fas.fa-check-circle {
    position: absolute;
    right: 0.75rem;
    top: 65%;
    transform: translateY(-25%);
    color: var(--success);
    font-size: 1rem;
}

.setup-success {
    text-align: center;
    padding: 1rem;
    background: rgba(39, 174, 96, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(39, 174, 96, 0.2);
}

.setup-success i {
    font-size: 2rem;
    color: var(--success);
    margin-bottom: 0.5rem;
}

.setup-success p {
    color: var(--dark);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.setup-time {
    font-size: 0.8rem;
    color: var(--gray);
    font-style: italic;
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background: var(--light);
}

.benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark);
}

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

.benefit-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    color: white;
    transform: translateY(0);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 184, 168, 0.3);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 184, 168, 0.4);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.benefit-card p {
    opacity: 0.9;
}

/* Contact Form Section */
.contact-form {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.form-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.form-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.form-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.testimonial {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #ffd700;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author strong {
    display: block;
    font-size: 1.1rem;
}

.testimonial-author span {
    opacity: 0.8;
    font-size: 0.9rem;
}

.form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lead-form h3 {
    color: var(--dark);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--card-border);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--light);
}

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

.submit-button {
    width: 100%;
    background: linear-gradient(45deg, var(--success), #229954);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    opacity: 0.8;
    margin-top: 0.5rem;
}

.footer-contact h4 {
    margin-bottom: 1rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .nav {
        padding: 0 1rem;
    }

    .nav-links {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .solution-content,
    .integration-content,
    .form-content,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .chart-grid {
        grid-template-columns: 1fr;
    }

    .demo-tabs {
        flex-wrap: wrap;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

    .whatsapp-avatar {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .contact-name {
        font-size: 0.9rem;
    }

    .message-content {
        font-size: 0.8rem;
    }

    .problems-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .integration-highlights {
        grid-template-columns: 1fr;
    }

    .setup-mockup {
        width: 100%;
        max-width: 350px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success Message */
.success-message {
    background: var(--success);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    display: none;
}

.error-message {
    background: var(--danger);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    display: none;
}

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

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