/* RemindMyCard - Production CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --secondary: #1E293B;
    --bg-color: #ffffff;
    --bg-offset: #F8FAFC;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --border: #E2E8F0;
    --radius: 12px;
    --max-width: 1200px;
    --gradient: linear-gradient(135deg, #EFF6FF 0%, #FFFFFF 100%);
}

/* RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Inter', sans-serif; 
    background: var(--bg-color); 
    color: var(--text-main); 
    line-height: 1.6; 
    overflow-x: hidden; 
    width: 100%;
}

a { text-decoration: none; color: inherit; transition: 0.2s; }
ul { list-style: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }

/* UTILITIES & BUTTONS */
.w-full { width: 100%; }
.text-center { text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; border: none; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3); }
.btn-secondary { background: white; color: var(--text-main); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--bg-offset); border-color: #CBD5E1; }

/* NAV */
nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); height: 70px; display: flex; align-items: center; }
.nav-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-weight: 800; font-size: 1.3rem; color: var(--secondary); display: flex; align-items: center; gap: 10px; }

/* HERO SECTION */
.hero { padding: 80px 0 60px; text-align: center; background: var(--gradient); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.hero-pill { display: inline-block; background: #DBEAFE; color: var(--primary); padding: 6px 16px; border-radius: 100px; font-size: 0.85rem; font-weight: 700; margin-bottom: 24px; letter-spacing: 0.5px; }
.hero h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.03em; color: var(--secondary); font-weight: 800; }
.hero p { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-btns { gap: 16px; display: flex; justify-content: center; margin-bottom: 60px; }

/* MOCKUP GRAPHICS */
.mockup-container { max-width: 800px; margin: 0 auto; position: relative; perspective: 1000px; }
.mockup-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border);
    padding: 40px;
    text-align: left;
    position: relative;
    transform: rotateX(2deg);
    z-index: 10;
}
.alert-bubble {
    background: #EFF6FF;
    border-left: 4px solid var(--primary);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    animation: slideUp 0.8s ease-out;
}
.alert-icon { font-size: 24px; }
.alert-content strong { display: block; color: var(--text-main); margin-bottom: 4px; }
.alert-content span { color: var(--text-muted); font-size: 0.9rem; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* STEPS (How it works) */
.steps { padding: 80px 0; background: white; }
.section-header { text-align: center; margin-bottom: 60px; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: 2.25rem; margin-bottom: 16px; color: var(--secondary); }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step-item { text-align: center; }
.step-num { width: 40px; height: 40px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; margin: 0 auto 20px; }
.step-item h3 { margin-bottom: 12px; font-size: 1.25rem; }
.step-item p { color: var(--text-muted); }

/* FEATURES */
.features { padding: 80px 0; background: var(--bg-offset); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.feature-card { background: white; padding: 32px; border-radius: var(--radius); border: 1px solid var(--border); transition: 0.3s; }
.feature-card:hover { border-color: var(--primary); box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1); transform: translateY(-2px); }
.icon-box { width: 50px; height: 50px; background: #EFF6FF; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; color: var(--primary); }

/* PRICING */
.pricing { padding: 100px 0; }
.pricing-grid { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.price-card { padding: 40px; border-radius: 16px; border: 1px solid var(--border); background: white; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--primary); background: #ffffff; box-shadow: 0 20px 40px -15px rgba(37, 99, 235, 0.15); position: relative; }
.best-value { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--primary); color: white; padding: 4px 16px; border-radius: 100px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }
.price-amount { font-size: 3.5rem; font-weight: 800; color: var(--secondary); margin: 16px 0 8px; }

/* Original Price Strikethrough */
.original-price {
    text-decoration: line-through;
    text-decoration-color: #94A3B8;
    color: #475569;
    font-size: 1.125rem;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: -15px;
    min-height: 1.7rem;
}

/* Helper to align cards */
.invisible { visibility: hidden; }

.check-list { margin-bottom: 32px; flex-grow: 1; margin-top: 12px; }
.check-list li { margin-bottom: 16px; color: var(--text-main); display: flex; gap: 12px; font-size: 0.95rem; }
.check-list li svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--primary); }

/* FAQ */
.faq { padding: 80px 0; background: var(--bg-offset); }
.faq-grid { max-width: 800px; margin: 0 auto; display: grid; gap: 24px; }
.faq-item { background: white; padding: 24px; border-radius: 12px; border: 1px solid var(--border); }
.faq-item h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--secondary); }
.faq-item p { color: var(--text-muted); font-size: 0.95rem; }

/* FOOTER */
footer { padding: 60px 0 30px; border-top: 1px solid var(--border); background: white; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; }
.footer-links { display: flex; gap: 32px; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }
.footer-links a:hover { color: var(--primary); }

/* RESPONSIVE FIXES (PERFECT CENTERING & NO SCROLL) */
@media (max-width: 768px) {
    /* 1. Less padding on container to give cards more space */
    .container { padding: 0 16px; } 
    
    .hero { padding: 60px 0 40px; }
    .hero h1 { font-size: 2.5rem; }
    .hero-btns { flex-direction: column; }
    
    .steps-grid { grid-template-columns: 1fr; }
    
    /* 2. Pricing Fix for Mobile */
    .pricing { padding: 60px 0; }
    .pricing-grid { 
        display: flex;          
        flex-direction: column; 
        align-items: center;    /* Keeps cards centered */
        width: 100%;            /* Force grid to be 100% of container */
        gap: 40px;              
    }
    
    .price-card { 
        padding: 32px 20px;     /* Reduce internal padding slightly */
        width: 100%;            /* Take full width available */
        max-width: 100%;        /* REMOVE pixel limitation - this fixes the scroll! */
        margin: 0;              
    }
    
    .price-amount { 
        font-size: 3rem; 
    }
    
    .footer-grid { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; flex-direction: column; gap: 16px; }
}