/* Clean & Bright Variables (MiChat Style) */
:root {
    --page-bg: #FFFFFF; /* Pure white background */
    --app-bg: #FFFFFF; /* White for the wrapper */
    --text-main: #333333; /* Dark gray for text */
    --text-muted: #777777; /* Lighter gray for subtitles */
    
    /* Brand Colors */
    --brand-green: #2DB55D; /* MiChat signature green */
    --brand-green-hover: #249A4E;
    --brand-light: #EAF7EF; /* Very light green for backgrounds */
    
    /* UI Elements */
    --card-bg: #FFFFFF;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --border-color: #EBEBEB;
}

/* Reset & Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--page-bg);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

/* 1050px Wrapper */
.site-wrapper {
    width: 100%;
    max-width: 1050px;
    background-color: var(--app-bg);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

.text-green { color: var(--brand-green); }
.mt-4 { margin-top: 2rem; }

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    color: #FFFFFF;
    background-color: var(--brand-green);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(45, 181, 93, 0.3);
}

.btn-primary:hover {
    background-color: var(--brand-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 181, 93, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--brand-green);
    border: 2px solid var(--brand-green);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--brand-light);
    color: var(--brand-green-hover);
    border-color: var(--brand-green-hover);
    box-shadow: none;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}

.logo img {
    height: 40px;
    width: auto;
    border-radius: 10px;
}

.logo-accent { color: var(--brand-green); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
}

.lang-switcher a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.lang-switcher a:hover {
    color: var(--brand-green);
}

.lang-switcher a.active {
    color: var(--brand-green);
    border-bottom: 2px solid var(--brand-green);
}

.hero {
    padding: 80px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    background: linear-gradient(180deg, var(--brand-light) 0%, #FFFFFF 100%);
}

.hero-content {
    flex: 1;
    max-width: 500px;
}

.badge-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: #FFFFFF;
    color: var(--brand-green);
    border: 1px solid var(--brand-green);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(45, 181, 93, 0.1);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    line-height: 1.6;
}

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

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #FFFFFF;
    border: 10px solid #F0F0F0;
    border-radius: 40px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    overflow: hidden;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #F9F9F9;
    padding: 40px 15px 15px;
}

.mockup-ui {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
}

.mockup-header {
    text-align: center;
    font-weight: 700;
    color: var(--text-main);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.mockup-card {
    background: #FFFFFF;
    padding: 12px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.card-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #EEE;
    overflow: hidden;
}

.card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-title { font-weight: 700; font-size: 0.95rem; color: var(--text-main); }
.card-desc { font-size: 0.8rem; color: var(--text-muted); }

.status {
    width: 10px; height: 10px;
    background: var(--brand-green);
    border-radius: 50%;
}

.mockup-btn {
    margin-top: auto;
    background: var(--brand-light);
    color: var(--brand-green);
    text-align: center;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
}

/* Floating Avatars */
.floating-avatar {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid #FFFFFF;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    z-index: 20;
    background: #FFF;
}

.floating-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-1 { top: 10%; left: -5%; }
.avatar-2 { bottom: 15%; right: -5%; width: 80px; height: 80px; }

/* Features Stacked List */
.features {
    padding: 80px 30px;
    background: #FFFFFF;
}

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

.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }

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

.feature-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.feature-icon-wrapper {
    flex-shrink: 0;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: var(--brand-light);
    color: var(--brand-green);
}

.feature-text h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 60px 30px 80px;
    background: var(--brand-light);
    text-align: center;
}

.cta-box {
    max-width: 600px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--brand-green);
}

.cta-box p {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Playstore Button Style (Google colors but rounded) */
.btn-playstore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #111111;
    color: #FFFFFF;
    border-radius: 12px;
    padding: 10px 25px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.btn-playstore:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.playstore-icon {
    font-size: 1.8rem;
    background: conic-gradient(#4285F4, #34A853, #FBBC05, #EA4335, #4285F4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.playstore-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.playstore-text .small-text {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #CCCCCC;
    line-height: 1;
}

.playstore-text .large-text {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Social Proof */
.social-proof {
    padding: 0 30px 40px;
    background: #FFFFFF;
    text-align: center;
}

.proof-container {
    padding: 30px 40px;
    max-width: 600px;
    margin: 0 auto;
}

.proof-stars {
    font-size: 1.5rem;
    letter-spacing: 5px;
    margin-bottom: 15px;
}

.proof-title {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 20px;
    font-weight: 600;
}

.proof-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.stat-item h4 {
    font-size: 1.8rem;
    color: var(--brand-green);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Footer */
.footer {
    padding: 50px 30px 30px;
    background: #F9F9F9;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

.footer-brand img {
    height: 50px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.footer-links .divider {
    color: #DDD;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: #999;
    font-size: 0.85rem;
}

/* Sub-Pages Specific Styles */
.page-content {
    padding: 60px 30px;
    max-width: 800px;
    margin: 0 auto;
    min-height: 60vh;
    background: #FFFFFF;
}

.page-content h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--brand-green);
}

.page-content p, .page-content li {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.8;
}

.page-content h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--text-main);
}

.back-btn {
    display: inline-block;
    margin-bottom: 30px;
    color: var(--brand-green);
    text-decoration: none;
    font-weight: 600;
}

.back-btn:hover { text-decoration: underline; }

.support-box {
    background: var(--brand-light);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    margin-top: 40px;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 50px 20px;
    }
    
    .hero-content { margin-bottom: 40px; }
    
    .hero-title { font-size: 2.5rem; }
    
    .features-list { grid-template-columns: 1fr; }
    
    .feature-card { flex-direction: column; text-align: center; align-items: center; }
    
    .proof-stats { flex-direction: column; gap: 15px; }
    
    .stat-divider { width: 50px; height: 1px; }
}
