/**
 * MAMAM Landing Page Styles
 */

/* ========================================
   Navbar
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    background: var(--white);
    box-shadow: var(--shadow);
    transition: background var(--transition);
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-3) var(--spacing-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    text-decoration: none;
}

.navbar-brand img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    object-fit: cover;
}

.navbar-brand span {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary);
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-8);
    list-style: none;
}

.navbar-links a {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--gray-600);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.navbar-cta {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
}

.navbar-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-2);
    color: var(--gray-700);
}

.navbar-hamburger svg {
    width: 24px;
    height: 24px;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 8rem var(--spacing-6) 5rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--spacing-4);
    line-height: 1.15;
}

.hero p {
    font-size: var(--font-size-lg);
    opacity: 0.9;
    margin-bottom: var(--spacing-8);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-4);
    flex-wrap: wrap;
}

.btn-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.1s ease;
    border: 1.5px solid #333;
    min-width: 170px;
}

.btn-store-badge:hover {
    background: #333;
    color: #fff;
    transform: translateY(-2px);
}

.btn-store-badge .badge-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.btn-store-badge .badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.btn-store-badge .badge-text small {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.75;
}

.btn-store-badge .badge-text strong {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.btn-merchant {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-3) var(--spacing-6);
    background: transparent;
    color: var(--white);
    font-weight: 600;
    font-size: var(--font-size-base);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-fast);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

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

/* ========================================
   Section Common
   ======================================== */
.section {
    padding: 5rem var(--spacing-6);
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-3);
}

.section-header p {
    font-size: var(--font-size-lg);
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Features Section
   ======================================== */
.features {
    background: var(--gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-6);
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-8);
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-4);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-icon.red {
    background: var(--primary-50);
    color: var(--primary);
}

.feature-icon.yellow {
    background: var(--accent-50);
    color: var(--accent-dark);
}

.feature-icon.green {
    background: rgba(76, 175, 80, 0.1);
    color: var(--success);
}

.feature-icon.blue {
    background: rgba(33, 150, 243, 0.1);
    color: var(--info);
}

.feature-card h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-2);
    color: var(--gray-900);
}

.feature-card p {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
    line-height: 1.6;
}

/* ========================================
   Merchant CTA Section
   ======================================== */
.merchant-cta {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    text-align: center;
}

.merchant-cta h2 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-4);
}

.merchant-cta p {
    font-size: var(--font-size-lg);
    color: var(--gray-800);
    max-width: 600px;
    margin: 0 auto var(--spacing-8);
    line-height: 1.6;
}

.btn-merchant-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-3) var(--spacing-8);
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: var(--font-size-base);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-fast);
    border: 2px solid var(--primary);
}

.btn-merchant-cta:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 3rem var(--spacing-6) 1.5rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-8);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-700);
}

.footer-brand img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    margin-bottom: var(--spacing-3);
}

.footer-brand p {
    font-size: var(--font-size-sm);
    line-height: 1.6;
    color: var(--gray-400);
}

.footer h4 {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--spacing-4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2);
}

.footer-links a {
    font-size: var(--font-size-sm);
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    text-align: center;
    font-size: var(--font-size-xs);
    color: var(--gray-500);
}

/* ========================================
   Mobile Responsive
   ======================================== */
@media (max-width: 768px) {
    .navbar-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--spacing-4) var(--spacing-6);
        box-shadow: var(--shadow-md);
        gap: var(--spacing-4);
    }

    .navbar-links.open {
        display: flex;
    }

    .navbar-cta {
        display: none;
    }

    .navbar-cta.open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 0 var(--spacing-6) var(--spacing-4);
        justify-content: center;
    }

    .navbar-hamburger {
        display: flex;
    }

    .hero {
        padding: 7rem var(--spacing-4) 3rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: var(--font-size-base);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-store-badge,
    .btn-merchant {
        width: 100%;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 3rem var(--spacing-4);
    }

    .merchant-cta h2 {
        font-size: var(--font-size-2xl);
    }
}
