/* 
 * AnotaZap Landing Page Styles 
 * Color Palette: Emerald Green & Modern Dark/Light Greys
 */

 :root {
    --primary: #10B981; /* Emerald 500 */
    --primary-dark: #059669; /* Emerald 600 */
    --primary-light: #D1FAE5; /* Emerald 100 */
    --secondary: #064E3B; /* Emerald 900 */
    --accent: #F59E0B; /* Amber 500 */
    
    --bg-body: #F9FAFB;
    --bg-white: #FFFFFF;
    
    --text-main: #1F2937; /* Gray 800 */
    --text-muted: #6B7280; /* Gray 500 */
    --text-light: #F3F4F6;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* Base Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px; /* full rounded */
    font-weight: 600;
    cursor: pointer;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.23);
}

.btn-secondary {
    background-color: white;
    color: var(--text-main);
    border: 1px solid #E5E7EB;
}

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

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.25rem;
    background-color: var(--primary);
    color: white;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4);
}

.btn-large:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo i {
    color: var(--primary);
    font-size: 1.75rem;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
}

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

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    padding: 2rem;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 999;
    align-items: center;
    display: flex;
}

.mobile-menu.active {
    transform: translateY(0);
}

/* Hero Section */
.hero {
    padding-top: 8rem; /* Space for fixed navbar */
    padding-bottom: 4rem;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

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

.highlight {
    color: var(--primary);
    position: relative;
    white-space: nowrap;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: var(--primary-light);
    z-index: -1;
    border-radius: 4px;
    opacity: 0.6;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

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

.users-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.avatars {
    display: flex;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #E5E7EB;
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-left: -12px;
}

.avatar:first-child {
    margin-left: 0;
}

/* Hero Image Area - Mockups */
.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    background-color: #F0F2F5; /* WhatsApp bg colorish */
    border: 12px solid #111;
    border-radius: 40px;
    width: 300px;
    height: 600px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-xl);
    z-index: 10;
}

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

.whatsapp-header {
    background-color: #075E54;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info .name { font-weight: 600; font-size: 1.1rem; }
.contact-info .status { font-size: 0.8rem; opacity: 0.8; }

.chat-area {
    padding: 1rem;
    flex: 1;
    background-image: linear-gradient(#efe7dd 2px, transparent 2px), linear-gradient(90deg, #efe7dd 2px, transparent 2px);
    background-size: 20px 20px;
    background-color: #ECE5DD;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    max-width: 80%;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.received {
    align-self: flex-start;
    background-color: white;
    border-top-left-radius: 0;
}

.sent {
    align-self: flex-end;
    background-color: #DCF8C6;
    border-top-right-radius: 0;
}

.audio-msg {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 140px;
}

.audio-msg i {
    color: var(--text-muted);
    font-size: 1rem;
}

.audio-msg .wave {
    flex: 1;
    height: 4px;
    background: linear-gradient(90deg, #999 50%, transparent 50%);
    background-size: 6px 100%;
    width: 60px;
    border-radius: 2px;
    opacity: 0.5;
}

.audio-msg span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 200px;
    animation: float 6s ease-in-out infinite;
    z-index: 20;
}

.floating-card i {
    font-size: 1.5rem;
    padding: 0.75rem;
    border-radius: 10px;
}

.floating-card div {
    display: flex;
    flex-direction: column;
}

.floating-card span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.floating-card strong {
    font-size: 1.1rem;
    color: var(--text-main);
}

.revenue {
    top: 20%;
    right: -20px;
    animation-delay: 0s;
}

.revenue i {
    background-color: #D1FAE5;
    color: var(--primary);
}

.expense {
    bottom: 20%;
    left: -20px;
    animation-delay: 3s;
}

.expense i {
    background-color: #FEE2E2;
    color: #EF4444;
}

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

/* How It Works */
.how-it-works {
    padding: 6rem 0;
    background-color: white;
}

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

.step-card {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.icon-box {
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary);
}

.step-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.step-card p {
    color: var(--text-muted);
}

/* Benefits */
.benefits {
    padding: 6rem 0;
    background-color: var(--bg-body);
}

.benefits-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.benefits-text {
    flex: 1;
}

.benefits-list {
    margin-top: 2rem;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-main);
}

.benefits-list i {
    color: var(--primary);
}

.benefits-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* CSS Graphic Dashboard Preview for Benefits */
.dashboard-preview-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 450px;
    padding: 2rem;
    border: 1px solid #E5E7EB;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.dash-title {
    font-weight: 700;
    font-size: 1.2rem;
}

.dash-user i {
    font-size: 2rem;
    color: #D1D5DB;
}

.summary-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.summary-card span {
    font-size: 0.9rem;
    opacity: 0.9;
}

.summary-card h3 {
    font-size: 1.8rem;
    margin-top: 0.5rem;
}

.dash-chart-area {
    margin-bottom: 2rem;
}

.fake-chart {
    display: flex;
    justify-content: space-between;
    height: 100px;
    align-items: flex-end;
}

.bar {
    width: 12%;
    background-color: #F3F4F6;
    border-radius: 4px;
}

.bar.highlight {
    background-color: var(--primary);
}

.dash-list .list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.list-item .icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-green { background: var(--primary-light); color: var(--primary); }
.bg-red { background: #FEE2E2; color: #EF4444; }

.list-item .info {
    flex: 1;
    margin-left: 1rem;
    font-weight: 500;
}

.list-item .value {
    font-weight: 600;
}

.value.green { color: var(--primary); }
.value.red { color: #EF4444; }

/* Dashboard Immersive View */
.dashboard-feature {
    padding: 6rem 0;
    background-color: #064E3B; /* Deep jungle green bg */
    color: white;
    position: relative;
    overflow: hidden;
}

.dashboard-text-center {
    text-align: center;
    margin-bottom: 4rem;
    z-index: 10;
    position: relative;
}

.dashboard-text-center p {
    color: #D1FAE5;
    margin-top: 1rem;
    font-size: 1.2rem;
}

.immersive-dashboard-view {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.glass-dashboard {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 2rem;
    width: 90%;
    max-width: 1000px;
    display: flex;
    gap: 2rem;
    transform: rotateX(5deg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.glass-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 1rem;
}

.glass-nav-item {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: rgba(255,255,255,0.6);
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
}

.glass-nav-item.active, .glass-nav-item:hover {
    background: rgba(255,255,255,0.2);
    color: white;
}

.glass-main {
    flex: 1;
}

.glass-cards-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.glass-card {
    background: rgba(0,0,0,0.2);
    padding: 1.5rem;
    border-radius: 16px;
    flex: 1;
    min-width: 150px;
}

.glass-card label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
}

.glass-card span {
    font-size: 1.5rem;
    font-weight: 600;
}

.glass-card .income { color: #6EE7B7; }
.glass-card .expense { color: #FCA5A5; }
.glass-card .balance { color: white; }

.glass-big-chart {
    background: rgba(0,0,0,0.2);
    height: 250px;
    border-radius: 16px;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.glass-big-chart svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.3));
}

/* Target Audience */
.audience {
    padding: 6rem 0;
}

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

.audience-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
    text-align: left;
}

.audience-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.audience-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.audience-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.audience-card p {
    color: var(--text-muted);
}

/* Plans */
.plans {
    padding: 6rem 0;
    background-color: #F9FAFB;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 350px));
    justify-content: center;
    gap: 3rem;
    align-items: center;
}

.plan-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid #E5E7EB;
    text-align: center;
    position: relative;
}

.plan-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.1), 0 10px 10px -5px rgba(16, 185, 129, 0.04);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.plan-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.plan-header .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.plan-header .price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.plan-features {
    margin: 2rem 0;
    text-align: left;
}

.plan-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
}

.plan-features li i {
    color: var(--primary);
}

.plan-card .btn {
    width: 100%;
}

/* CTA Final */
.cta-final {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, #ECFDF5 0%, #ffffff 100%);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* Footer */
footer {
    background-color: #111827; /* Gray 900 */
    color: #9CA3AF;
    padding: 4rem 0 2rem;
}

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

.footer-brand .logo {
    color: white;
    margin-bottom: 1rem;
}

.footer-links h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    margin-bottom: 0.75rem;
}

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

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: white;
    font-size: 1.5rem;
}

.footer-social a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
        padding-top: 4rem; /* less space for navbar on mobile layout */
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .users-badge {
        justify-content: center;
    }
    
    .benefits-content {
        flex-direction: column-reverse;
    }
    
    .plans-grid {
        transform: none;
    }

    .plan-card.featured {
        transform: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .phone-mockup {
        width: 260px;
        height: 520px;
    }
}

