/* Inner pages: Makvishan Commerce product page + policy pages.
   Builds on styles.css (same colours, fonts and buttons). */

/* Page header (shorter than the home hero, same look) */
.page-hero {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    color: var(--text-white);
    padding: 160px 0 90px;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 85%, rgba(79, 70, 229, 0.35) 0%, transparent 50%),
        radial-gradient(circle at 85% 15%, rgba(245, 158, 11, 0.28) 0%, transparent 50%);
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--secondary-color);
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}
.page-hero h1 {
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 1.25rem;
}
.page-hero h1 .grad {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.page-hero .lead {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 640px;
    line-height: 1.7;
}
.page-hero .btn { padding: 1rem 2.4rem; border-radius: 50px; font-weight: 700; }
.page-hero.compact { padding: 140px 0 60px; }
.page-hero.compact h1 { font-size: 2.6rem; }

/* Store mock-up in the product hero (a browser frame drawn in CSS) */
.mock-browser {
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    color: var(--text-primary);
    transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
}
.mock-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #f1f5f9;
    border-bottom: 1px solid var(--border-color);
}
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.mock-bar i:nth-child(1) { background: #ef4444; }
.mock-bar i:nth-child(2) { background: #f59e0b; }
.mock-bar i:nth-child(3) { background: #10b981; }
.mock-bar span {
    margin-left: 10px;
    flex: 1;
    background: #fff;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    padding: 3px 10px;
}
.mock-body { padding: 16px; }
.mock-nav { display: flex; justify-content: space-between; align-items: center; font-weight: 800; margin-bottom: 12px; }
.mock-nav small { font-weight: 500; color: var(--text-secondary); }
.mock-banner {
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 12px;
}
.mock-banner b { display: block; font-size: 1.1rem; }
.mock-banner small { opacity: 0.85; }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-card { border: 1px solid var(--border-color); border-radius: 10px; padding: 8px; font-size: 0.75rem; }
.mock-card .img { height: 60px; border-radius: 8px; margin-bottom: 6px; }
.mock-card:nth-child(1) .img { background: linear-gradient(135deg, #fde68a, #f59e0b); }
.mock-card:nth-child(2) .img { background: linear-gradient(135deg, #a5f3fc, #06b6d4); }
.mock-card:nth-child(3) .img { background: linear-gradient(135deg, #c7d2fe, #4f46e5); }
.mock-card b { display: block; }
.mock-card s { color: var(--text-light); margin-left: 4px; }
.mock-card em { color: var(--success-color); font-style: normal; font-weight: 700; margin-left: 4px; }

/* Feature cards */
.feature-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: transparent; }
.feature-card .icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}
.feature-card h5 { font-weight: 800; margin-bottom: 0.6rem; }
.feature-card p { color: var(--text-secondary); margin: 0; }

/* Plans */
.plans { background: var(--light-surface); }
.plan-card {
    background: #fff;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    height: 100%;
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.plan-card.featured { border: 2px solid var(--primary-color); box-shadow: var(--shadow-xl); }
.plan-card .tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-secondary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    white-space: nowrap;
}
.plan-card h4 { font-weight: 900; margin-bottom: 0.25rem; }
.plan-card .for { color: var(--text-secondary); margin-bottom: 1.5rem; }
.plan-card ul { list-style: none; padding: 0; margin: 0 0 2rem; }
.plan-card li { padding: 0.45rem 0 0.45rem 1.8rem; position: relative; }
.plan-card li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--success-color);
}
.plan-card .btn { border-radius: 50px; font-weight: 700; padding: 0.8rem 1.5rem; }
.btn-soft {
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary-color);
    border: none;
}
.btn-soft:hover { background: var(--primary-color); color: #fff; }

/* Steps */
.step { text-align: center; padding: 1rem; }
.step .num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    background: var(--gradient-secondary);
    box-shadow: var(--shadow-lg);
}
.step h5 { font-weight: 800; }
.step p { color: var(--text-secondary); }

/* Call to action band */
.cta-band {
    background: var(--gradient-hero);
    color: #fff;
    border-radius: 32px;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.3) 0%, transparent 50%);
}
.cta-band > * { position: relative; }
.cta-band .btn { border-radius: 50px; font-weight: 700; padding: 1rem 2.4rem; }

/* Legal pages */
.legal { padding: 4rem 0 5rem; }
.legal-body {
    max-width: 820px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
}
.legal-body h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 2.5rem 0 0.75rem;
    color: var(--text-primary);
}
.legal-body p, .legal-body li { color: #334155; }
.legal-body ul { padding-left: 1.3rem; margin-bottom: 1rem; }
.legal-body li { margin-bottom: 0.4rem; }
.legal-body .updated { color: var(--text-secondary); font-size: 0.95rem; }
.legal-body .contact-box {
    background: var(--light-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
}

/* Site footer links (all pages) */
.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    margin-right: 1.25rem;
    font-size: 0.95rem;
}
.footer-links a:hover { color: var(--secondary-color); }

/* Home page product card */
#commerce-card .commerce-card {
    background: var(--gradient-hero);
    color: #fff;
    border-radius: 32px;
    padding: 3.5rem 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
#commerce-card .commerce-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 90%, rgba(79, 70, 229, 0.35) 0%, transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(245, 158, 11, 0.3) 0%, transparent 50%);
}
#commerce-card .commerce-card > * { position: relative; }
#commerce-card .badge-new {
    background: var(--gradient-secondary);
    border-radius: 50px;
    padding: 0.35rem 1rem;
    font-weight: 700;
    font-size: 0.85rem;
}
#commerce-card .chips span {
    display: inline-block;
    margin: 0.25rem 0.35rem 0 0;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.9rem;
}
#commerce-card .btn { border-radius: 50px; font-weight: 700; padding: 0.9rem 2.2rem; }

@media (max-width: 992px) {
    .page-hero { padding: 130px 0 70px; }
    .page-hero h1 { font-size: 2.5rem; }
    .mock-browser { transform: none; margin-top: 3rem; }
}
@media (max-width: 576px) {
    .page-hero h1 { font-size: 2rem; }
    .page-hero.compact h1 { font-size: 2rem; }
    .mock-grid { grid-template-columns: repeat(2, 1fr); }
    .mock-card:nth-child(3) { display: none; }
    .cta-band { padding: 3rem 1.25rem; border-radius: 24px; }
    #commerce-card .commerce-card { padding: 2.5rem 1.5rem; border-radius: 24px; }
}

/* Keep the buttons' shine animation inside the button */
.page-hero .btn, .cta-band .btn, .plan-card .btn, #commerce-card .btn { position: relative; overflow: hidden; }
/* Same width as the MonitHQ card above it */
#commerce-card .container { max-width: 900px; }
