/* ============================================
   MikrosPH Landing Page
   ============================================ */

:root {
    --primary: #1a7a4c;
    --primary-dark: #145e3a;
    --primary-light: #e8f5ee;
    --accent: #f5a623;
    --accent-light: #fff8ed;
    --dark: #1a1a2e;
    --gray-900: #2d2d3a;
    --gray-700: #4a4a5a;
    --gray-500: #7a7a8a;
    --gray-300: #c4c4cc;
    --gray-100: #f4f4f6;
    --white: #ffffff;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-900);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---- NAV ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-100);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.logo-placeholder {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
}

.logo-placeholder.small {
    width: 32px;
    height: 32px;
    font-size: 1rem;
}

.nav-brand {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
}

.brand-accent {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-700);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.btn {
    color: #ffffff;
}

.nav-links a.btn:hover {
    color: #ffffff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
}

.mobile-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow);
    z-index: 99;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    padding: 0.5rem 0;
}

.hidden {
    display: none !important;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26,122,76,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary-light);
}

.btn-nav {
    background: var(--primary);
    color: white;
    padding: 0.6rem 1.2rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ---- HERO ---- */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 1.2rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Phone mockup */
.hero-mockup {
    display: flex;
    justify-content: center;
}

.mockup-phone {
    width: 260px;
    height: 480px;
    background: var(--dark);
    border-radius: 36px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
}

.mockup-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 26px;
    padding: 2rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mockup-header {
    height: 24px;
    background: var(--primary);
    border-radius: 6px;
    opacity: 0.8;
}

.mockup-item {
    height: 60px;
    background: var(--gray-100);
    border-radius: 8px;
}

.mockup-item.short {
    height: 40px;
    width: 70%;
}

.mockup-btn {
    height: 44px;
    background: var(--primary);
    border-radius: 10px;
    margin-top: auto;
}

/* ---- SOCIAL PROOF ---- */
.social-proof {
    padding: 2rem 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
}

.proof-text {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ---- SECTIONS ---- */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.8rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 550px;
    margin: 0 auto;
}

/* ---- FEATURES ---- */
.features {
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--gray-100);
    transition: all 0.2s;
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: 1.6;
}

/* ---- HOW IT WORKS ---- */
.how-it-works {
    padding: 5rem 0;
    background: var(--gray-100);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 auto 1.2rem;
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.step p {
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: 1.6;
}

/* ---- PRICING ---- */
.pricing {
    padding: 5rem 0;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    background: var(--white);
    text-align: center;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.pricing-badge {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 1rem;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.pricing-amount span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-500);
}

.pricing-desc {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.pricing-features li::before {
    content: '✓ ';
    color: var(--primary);
    font-weight: 700;
}

/* ---- CONTACT ---- */
.contact {
    padding: 5rem 0;
    background: var(--primary-light);
}

.contact-card {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-card h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--gray-700);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.contact-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-alt {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.contact-alt a {
    color: var(--primary);
    font-weight: 600;
}

/* ---- FOOTER ---- */
.footer {
    padding: 3rem 0;
    background: var(--dark);
    color: var(--gray-300);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand .nav-brand {
    color: white;
}

.footer-tagline {
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .mockup-phone {
        width: 200px;
        height: 360px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    .btn-lg {
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
    }
}
