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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow-x: hidden;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #667eea;
}

.cta-button {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 2;
}

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

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

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background: white;
    color: #667eea;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border: 2px solid white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #1a202c;
    border-radius: 40px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: float 3s ease-in-out infinite;
}

.phone-screen {
    width: 280px;
    height: 580px;
    background: #0d1421;
    border-radius: 30px;
    margin: 10px;
    position: relative;
    overflow: hidden;
}

.app-interface {
    padding: 0;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hero-whatsapp-header {
    background: #075e54;
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 30px 30px 0 0;
}

.hero-whatsapp-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.hero-whatsapp-chat {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    position: relative;
}

.chat-screen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    overflow-y: hidden;
}

.chat-screen.active {
    opacity: 1;
}

.chat-bubble {
    margin: 10px 0;
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 80%;
    font-size: 0.9rem;
    animation: slideIn 0.5s ease-out;
    text-align: left;
}

.chat-bubble.user-message {
    background: #005c4b;
    color: white;
    margin-left: auto;
    border-radius: 15px 15px 5px 15px;
}

.chat-bubble.bot-message {
    background: #1f2937;
    color: white;
    margin-right: auto;
    border-radius: 15px 15px 15px 5px;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: linear-gradient(45deg, #25d366, #128c7e);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: white;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
}

.feature-card p {
    color: #718096;
    line-height: 1.6;
}

/* WhatsApp Section */
.whatsapp-section {
    padding: 4rem 0;
    background: white;
}

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

.whatsapp-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.whatsapp-features {
    list-style: none;
    margin-bottom: 2rem;
}

.whatsapp-features li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.whatsapp-phone {
    background: #1e1e1e;
    border-radius: 30px;
    padding: 15px;
    max-width: 350px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.whatsapp-header {
    background: #075e54;
    color: white;
    padding: 15px;
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.whatsapp-chat {
    background: #0d1421;
    padding: 15px;
    border-radius: 0 0 20px 20px;
    min-height: 200px;
}

.whatsapp-message {
    margin: 10px 0;
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 80%;
    font-size: 0.9rem;
    text-align: left;
}

.user-message {
    background: #005c4b;
    color: white;
    margin-left: auto;
    border-radius: 15px 15px 5px 15px;
}

.bot-message {
    background: #1f2937;
    color: white;
    margin-right: auto;
    border-radius: 15px 15px 15px 5px;
}

/* CTA Section */
.final-cta {
    padding: 5rem 0;
    background: #f7fafc;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2d3748;
}

.final-cta p {
    font-size: 1.25rem;
    color: #718096;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background: #2d3748;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

footer a {
    color: #81c784;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #a5d6a7;
    text-decoration: underline;
}

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

    /* Header */
    nav {
        padding: 0.5rem 0;
    }

    .logo {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .nav-links {
        display: none;
    }

    /* Hero Section */
    .hero {
        min-height: 90vh;
        padding: 80px 0 40px;
    }

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

    .whatsapp-phone {
        order: 2;
    }

    .whatsapp-header {
        order: 1;
    }

    .hero-text h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        line-height: 1.1;
    }

    .hero-text p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .btn-primary, .btn-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
    }

    /* Phone Mockup */
    .hero-visual {
        height: 400px;
        margin-top: 1rem;
    }

    .phone-mockup {
        width: 300px;
        height: 600px;
    }

    .phone-screen {
        width: 280px;
        height: 580px;
    }

    .hero-whatsapp-header {
        padding: 12px 15px;
    }

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

    .chat-bubble {
        font-size: 0.8rem;
        padding: 8px 12px;
        max-width: 85%;
        line-height: 1.3;
    }

    .hero-whatsapp-chat {
        padding: 10px;
    }

    .chat-screen {
        padding: 10px;
    }

    /* Features Section */
    .features {
        padding: 3rem 0;
    }

    .features h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }

    /* WhatsApp Section */
    .whatsapp-section {
        padding: 3rem 0;
    }

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

    .whatsapp-text h2 {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
    }

    .whatsapp-text p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .whatsapp-features {
        margin-bottom: 1.5rem;
    }

    .whatsapp-features li {
        font-size: 1rem;
        justify-content: center;
    }

    .whatsapp-phone {
        max-width: 300px;
        margin: 2rem auto 0;
    }

    .whatsapp-message {
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    /* Final CTA */
    .final-cta {
        padding: 3rem 0;
    }

    .final-cta h2 {
        font-size: 2rem;
    }

    .final-cta p {
        font-size: 1.1rem;
    }

    /* Modal */
    .modal {
        width: 95%;
        max-width: 400px;
        padding: 1.5rem;
        margin: 0 10px;
    }

    .modal h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .modal p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

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

    .form-label {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .email-input {
        padding: 0.875rem;
        font-size: 0.95rem;
    }

    .button-group {
        gap: 0.4rem;
    }

    .selection-btn {
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
        min-width: auto;
        flex: 1;
    }

    .submit-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Floating elements - Hide on mobile */
    .floating-element {
        display: none;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .phone-mockup {
        width: 240px;
        height: 440px;
    }

    .phone-screen {
        width: 220px;
        height: 420px;
    }

    .chat-bubble {
        font-size: 0.7rem;
        padding: 6px 10px;
        max-width: 90%;
        line-height: 1.2;
    }

    .hero-whatsapp-chat {
        padding: 8px;
    }

    .chat-screen {
        padding: 8px;
    }

    .features h2 {
        font-size: 1.7rem;
    }

    .whatsapp-text h2 {
        font-size: 1.5rem;
    }

    .final-cta h2 {
        font-size: 1.7rem;
    }

    .modal {
        width: 98%;
        padding: 1.25rem;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    position: relative;
    transform: translateY(50px);
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #718096;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #2d3748;
}

.modal h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2d3748;
    text-align: center;
}

.modal p {
    color: #718096;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.1rem;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.email-input {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    width: 100%;
}

.email-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.email-input.error {
    border-color: #f56565;
    box-shadow: 0 0 0 3px rgba(245, 101, 101, 0.1);
}

.email-input.error:focus {
    border-color: #f56565;
    box-shadow: 0 0 0 3px rgba(245, 101, 101, 0.2);
}

.submit-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

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

.success-message {
    background: #48bb78;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 1rem;
    display: none;
}

.error-message {
    background: #f56565;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 1rem;
    display: none;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2d3748;
    font-size: 0.9rem;
}

.button-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.selection-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    background: white;
    color: #4a5568;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    flex: 1;
    min-width: max-content;
}

.selection-btn:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.selection-btn.selected {
    border-color: #667eea;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

.selection-btn.selected:hover {
    background: linear-gradient(45deg, #5a67d8, #6b46c1);
}

.button-group.error .selection-btn {
    border-color: #f56565;
}

.button-group.error .selection-btn:not(.selected) {
    background: rgba(245, 101, 101, 0.05);
}

.form-group.error .form-label {
    color: #f56565;
}

.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: floatAround 20s infinite linear;
}

@keyframes floatAround {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    100% { transform: translateY(0px) rotate(360deg); }
}

/* Coming Soon Triangle */
.coming-soon-triangle {
    position: fixed;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: 200px solid transparent;
    border-top: 200px solid #075e54;
    z-index: 9999;
    pointer-events: none;
}

.coming-soon-text {
    position: fixed;
    top: 60px;
    right: 12px;
    color: white;
    font-size: 20px;
    font-weight: 600;
    transform: rotate(45deg);
    transform-origin: center;
    z-index: 10000;
    pointer-events: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}


/* Mobile override for Coming Soon Triangle */
@media (max-width: 768px) {
    .coming-soon-triangle {
        border-left: 110px solid transparent;
        border-top: 110px solid #075e54;
    }

    .coming-soon-text {
        top: 35px;
        right: 5px;
        font-size: 12px;
    }
}
