/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Purple/Blue Theme */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    
    /* Neutrals */
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #cbd5e1;
    --light: #f1f5f9;
    --white: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px 0;
    --section-padding-mobile: 60px 0;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    font-family: var(--font-primary);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 24px;
    color: var(--dark);
}

.logo-icon {
    font-size: 28px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    border: 2px solid var(--gray-light);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-large {
    padding: 16px 36px;
    font-size: 18px;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--gradient-accent);
    color: var(--white);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--dark);
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat strong {
    font-size: 24px;
    color: var(--dark);
    font-weight: 700;
}

.stat span {
    font-size: 14px;
    color: var(--gray);
}

/* Phone Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 320px;
    height: 640px;
    background: var(--dark);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: var(--dark);
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #e5ddd5;
    border-radius: 32px;
    overflow: hidden;
}

.whatsapp-chat {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.chat-header {
    background: #075e54;
    color: white;
    padding: 40px 16px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-icon {
    font-size: 32px;
}

.chat-name {
    font-weight: 600;
    font-size: 16px;
}

.chat-status {
    margin-left: auto;
    font-size: 12px;
    opacity: 0.8;
}

.chat-messages {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
}

.message {
    padding: 8px 12px;
    border-radius: 8px;
    max-width: 80%;
    font-size: 14px;
    position: relative;
    animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.received {
    background: white;
    align-self: flex-start;
}

.message.sent {
    background: #dcf8c6;
    align-self: flex-end;
}

.message p {
    margin: 0;
    line-height: 1.4;
}

.time {
    font-size: 10px;
    color: #667781;
    margin-top: 4px;
    display: block;
}

/* Features Section */
.features {
    padding: var(--section-padding);
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--dark);
}

.section-header p {
    font-size: 20px;
    color: var(--gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 36px;
    background: var(--white);
    border-radius: 16px;
    border: 2px solid var(--light);
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.15);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

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

.feature-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* How It Works Section */
.how-it-works {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 24px;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.step-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.step-content p {
    color: var(--gray);
    line-height: 1.7;
}

/* Insights Section */
.insights {
    padding: var(--section-padding);
    background: var(--white);
}

.insights-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.insights-text h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 32px;
    color: var(--dark);
}

.insights-list {
    list-style: none;
    margin-bottom: 32px;
}

.insights-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--dark);
}

.check {
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

/* Chart Mockup */
.chart-mockup {
    background: var(--white);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.chart-header {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--dark);
}

.chart-bars {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    height: 300px;
    justify-content: center;
    flex-wrap: nowrap;
}

.chart-bar {
    display: flex;
    align-items: flex-end;
    flex: 0 0 auto;
}

.bar {
    width: 100px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    color: white;
    font-weight: 600;
    transition: all 0.3s;
    animation: barGrow 1s ease;
}

.bar-1 {
    width: 150px;
}

.bar-2 {
    width: 120px;
}

.bar-3 {
    width: 170px;
}

.bar-4 {
    width: 110px;
}

@keyframes barGrow {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.bar:hover {
    transform: scale(1.05);
}

.bar-label {
    font-size: 13px;
    margin-bottom: 8px;
    opacity: 0.95;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

.bar-value {
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}

/* Security Section */
.security {
    padding: var(--section-padding);
    background: var(--light);
}

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

.security-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.security-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

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

.security-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-padding);
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: var(--light);
    padding: 32px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rating {
    font-size: 20px;
}

.testimonial-text {
    color: var(--dark);
    font-size: 16px;
    line-height: 1.7;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.testimonial-author strong {
    display: block;
    color: var(--dark);
    font-size: 16px;
}

.testimonial-author span {
    display: block;
    color: var(--gray);
    font-size: 14px;
}

/* FAQ Section */
.faq {
    padding: var(--section-padding);
    background: var(--light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-question:hover {
    background: var(--light);
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
}

.faq-icon {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 28px 24px;
    color: var(--gray);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: var(--section-padding);
    background: var(--gradient-primary);
    text-align: center;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content > p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta-note {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 40px 0;
}

.footer-bottom {
    text-align: center;
    color: var(--gray-light);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--dark);
    padding: 8px;
    z-index: 1001;
}

.mobile-cta {
    display: none;
}

.desktop-cta {
    display: inline-block;
}

/* Menu Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav {
        position: relative;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .desktop-cta {
        display: none;
    }

    .mobile-cta {
        display: block;
        margin-top: 16px;
    }

    .mobile-cta .btn {
        width: 100%;
        text-align: center;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 20px 20px;
        gap: 24px;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 12px 0;
        font-size: 18px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 42px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .insights-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .chart-mockup {
        padding: 24px;
    }

    .chart-header {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .chart-bars {
        gap: 12px;
        height: 280px;
    }

    .bar {
        width: 80px;
        padding: 16px 12px;
    }

    .bar-1 {
        width: 90px;
    }

    .bar-2 {
        width: 75px;
    }

    .bar-3 {
        width: 100px;
    }

    .bar-4 {
        width: 70px;
    }

    .section-header h2 {
        font-size: 32px;
    }
    
    .cta-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .chart-bars {
        gap: 10px;
        height: 260px;
    }

    .bar {
        width: 70px;
        padding: 14px 10px;
    }

    .bar-1 {
        width: 80px;
    }

    .bar-2 {
        width: 65px;
    }

    .bar-3 {
        width: 90px;
    }

    .bar-4 {
        width: 60px;
    }

    .bar-label {
        font-size: 12px;
    }

    .bar-value {
        font-size: 15px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

    .nav {
        padding: 16px;
    }

    .logo {
        font-size: 20px;
    }

    .logo-icon {
        font-size: 24px;
    }
    
    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 16px;
    }

    .badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .phone-mockup {
        width: 260px;
        height: 520px;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 15px;
        width: 100%;
    }
    
    .features-grid,
    .steps,
    .security-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .section-header p {
        font-size: 16px;
    }

    .feature-card {
        padding: 24px;
    }

    .chart-bars {
        height: 250px;
        gap: 8px;
        padding: 0 8px;
    }

    .bar {
        width: 60px;
        padding: 12px 8px;
    }

    .bar-1 {
        width: 68px;
    }

    .bar-2 {
        width: 58px;
    }

    .bar-3 {
        width: 75px;
    }

    .bar-4 {
        width: 55px;
    }

    .bar-label {
        font-size: 11px;
    }

    .bar-value {
        font-size: 14px;
    }

    .chart-header {
        font-size: 16px;
        text-align: center;
    }

    .chart-mockup {
        padding: 20px 16px;
    }

    .insights-list li {
        font-size: 16px;
    }
}

@media (max-width: 375px) {
    .hero h1 {
        font-size: 24px;
    }

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

    .nav-menu {
        width: 260px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .chart-bars {
        height: 220px;
        gap: 6px;
    }

    .bar {
        width: 52px;
        padding: 10px 6px;
    }

    .bar-1 {
        width: 58px;
    }

    .bar-2 {
        width: 50px;
    }

    .bar-3 {
        width: 64px;
    }

    .bar-4 {
        width: 48px;
    }

    .bar-label {
        font-size: 10px;
        word-break: break-word;
        text-align: center;
    }

    .bar-value {
        font-size: 12px;
    }

    .chart-header {
        font-size: 15px;
    }
}

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

.feature-card,
.step,
.testimonial-card {
    animation: fadeInUp 0.6s ease;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: var(--white);
}
