/* index.css — Styles for Mimasaur landing page (index.html) */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg:       #FFF0F5;
    --surface:  #FFD1DC;
    --accent:   #FFB6C1;
    --accent-d: #ffa0b0;
    --text:     #1e293b;
    --text2:    #475569;
    --text3:    #94a3b8;
    --white:    #ffffff;
    --border:   #FFD1DC;
    --dark:     #0f172a;
    --dark2:    #1e293b;
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
}

/* ── NAV ───────────────────────────────────────── */
nav {
    position: sticky;
    top: 0;
    background: rgba(255, 240, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}
.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.nav-logo img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}
.nav-logo-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}
/* Hamburger — always visible, opens sidebar */
.hamburger {
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
    padding: 4px 8px;
    color: var(--text2);
    line-height: 1;
    flex-shrink: 0;
    transition: color .15s;
    border-radius: 6px;
}
.hamburger:hover { color: #be185d; background: var(--surface); }

/* ── Overlay sidebar ──────────────────────────────────── */
.sidebar {
    position: fixed; top: 0; left: 0; bottom: 0; width: 280px;
    background: var(--white); border-right: 1px solid var(--border);
    box-shadow: 4px 0 32px rgba(219,39,119,.1);
    display: flex; flex-direction: column;
    transform: translateX(-100%);
    transition: transform .22s cubic-bezier(.4,0,.2,1);
    z-index: 200;
}
.sidebar.open { transform: translateX(0); }
.sidebar-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 20px; height: 60px; flex-shrink: 0;
    border-bottom: 1px solid var(--border);
}
.sidebar-logo {
    display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.sidebar-logo img { width: 28px; height: 28px; object-fit: contain; }
.sidebar-logo-name { font-size: 16px; font-weight: 800; color: var(--text); letter-spacing: -0.01em; }
.sidebar-close {
    background: none; border: none; color: var(--text3);
    font-size: 20px; cursor: pointer; padding: 4px 6px; line-height: 1;
    border-radius: 6px; transition: color .15s, background .15s;
}
.sidebar-close:hover { color: var(--text); background: var(--surface); }
.sidebar-nav { flex: 1; padding: 8px 0; overflow-y: auto; }
.sidebar-section-label {
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .1em; color: var(--text3);
    padding: 14px 20px 4px;
}
.sidebar-link {
    display: flex; align-items: center; gap: 12px;
    padding: 0 20px; height: 48px;
    text-decoration: none; color: var(--text2);
    font-size: 14px; font-weight: 500;
    transition: background .12s, color .12s;
}
.sidebar-link:hover { background: #FFF0F5; color: var(--text); }
.sidebar-link .s-icon { font-size: 18px; flex-shrink: 0; width: 24px; text-align: center; }
.sidebar-link.active { background: #FFF0F5; color: #be185d; border-right: 3px solid #be185d; font-weight: 600; }

/* Smaller anchor shortcuts */
.sidebar-link-sm {
    height: 40px;
    font-size: 12px;
    color: var(--text3);
}
.sidebar-link-sm:hover { color: var(--text2); }
.sidebar-link-sm .s-icon { font-size: 15px; }

.sidebar-divider { height: 1px; background: var(--border); margin: 8px 0; }

/* Backdrop */
.nav-backdrop {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.35); z-index: 199;
}
.nav-backdrop.open { display: block; }

.nav-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.btn-nav-signin {
    background: transparent;
    border: 1.5px solid var(--accent);
    color: var(--text);
    border-radius: 8px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s;
}
.btn-nav-signin:hover { background: var(--accent); }
.btn-nav-cta {
    background: var(--accent);
    border: none;
    color: #6b1226;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s;
    white-space: nowrap;
}
.btn-nav-cta:hover { background: var(--accent-d); }

/* ── HERO ───────────────────────────────────────── */
.hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 72px 24px 60px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}
@media (max-width: 700px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 48px;
    }
    .hero-img { order: -1; display: flex; justify-content: center; }
}

.hero-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #be185d;
    background: #ffe4e6;
    border: 1px solid #fecdd3;
    border-radius: 20px;
    padding: 4px 14px;
    margin-bottom: 18px;
}
.hero-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 18px;
}
.hero-title em {
    font-style: normal;
    color: #db2777;
}
.hero-body {
    font-size: 17px;
    color: var(--text2);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 32px;
}
@media (max-width: 700px) { .hero-body { margin: 0 auto 32px; } }

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
@media (max-width: 700px) { .hero-ctas { justify-content: center; } }

.btn-primary {
    background: var(--accent);
    color: #6b1226;
    border: none;
    border-radius: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background .15s, transform .1s;
}
.btn-primary:hover { background: var(--accent-d); transform: translateY(-1px); }

.btn-secondary-outline {
    background: transparent;
    color: var(--text2);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: border-color .15s, color .15s;
}
.btn-secondary-outline:hover { border-color: var(--accent); color: var(--text); }

.hero-download-note {
    font-size: 13px;
    color: var(--text3);
    margin-top: 14px;
}
.hero-download-link {
    color: var(--text2);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed var(--text3);
    transition: color .15s, border-color .15s;
}
.hero-download-link:hover { color: var(--text); border-color: var(--text2); }

.hero-img img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 16px 40px rgba(255, 182, 193, 0.4));
}
@media (max-width: 700px) { .hero-img img { width: 220px; height: 220px; } }

/* ── SECTION COMMON ─────────────────────────────── */
section { padding: 72px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #be185d;
    margin-bottom: 10px;
}
.section-title {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 14px;
}
.section-sub {
    font-size: 16px;
    color: var(--text2);
    max-width: 520px;
    line-height: 1.65;
    margin-bottom: 48px;
}

/* ── APPS SECTION ───────────────────────────────── */
#apps { background: var(--white); }

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.app-feature-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
    transition: transform .15s, box-shadow .15s;
}
.app-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(255, 182, 193, 0.2);
}
.app-feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--card-accent, var(--accent));
    border-radius: 18px 18px 0 0;
}
.afc-tagasulat { --card-accent: #FFB6C1; }
.afc-sweldo    { --card-accent: #86efac; }

.afc-icon { font-size: 36px; }
.afc-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
}
.afc-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--card-accent, var(--accent));
    margin-top: -10px;
}
.afc-desc {
    font-size: 14px;
    color: var(--text2);
    line-height: 1.65;
}
.afc-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}
.afc-features li {
    font-size: 13px;
    color: var(--text2);
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.afc-features li::before {
    content: '✓';
    color: var(--card-accent, var(--accent));
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}
.afc-plan-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 2px 10px;
    border-radius: 20px;
    margin-top: 4px;
    align-self: flex-start;
}
.tag-free { background: #ffe4e6; color: #be185d; border: 1px solid #fecdd3; }
.tag-pro  { background: #dbeafe; color: #1d4ed8; border: 1px solid #bfdbfe; }

/* clickable card (now an <a> tag) */
a.app-feature-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.afc-learn-more {
    font-size: 13px;
    font-weight: 700;
    color: var(--card-accent, var(--accent));
    margin-top: auto;
    padding-top: 4px;
    transition: letter-spacing .15s;
}
a.app-feature-card:hover .afc-learn-more {
    letter-spacing: .03em;
}

/* ── HOW IT WORKS ───────────────────────────────── */
#how { background: var(--bg); }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    counter-reset: steps;
}
.step {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    counter-increment: steps;
}
.step-num {
    width: 32px;
    height: 32px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: #6b1226;
}
.step-title { font-size: 15px; font-weight: 700; color: var(--text); }
.step-body  { font-size: 13px; color: var(--text2); line-height: 1.6; }

/* ── PRICING ────────────────────────────────────── */
#pricing { background: var(--white); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.price-card {
    border: 1.5px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}
.price-card.featured { border-color: #FFB6C1; background: #fff8fa; }
.price-card.recommended {
    border-color: #db2777;
    background: #fff8fa;
    box-shadow: 0 8px 32px rgba(219, 39, 119, 0.12);
}
.recommended-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #db2777;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 3px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

/* ── FAQ ─────────────────────────────────────────── */
#faq { background: var(--white); }
.faq-list { max-width: 720px; }
details.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
}
details.faq-item:first-of-type { border-top: 1px solid var(--border); }
details.faq-item summary {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    user-select: none;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: '+'; font-size: 20px; font-weight: 400; color: #FFB6C1; flex-shrink: 0; }
details.faq-item[open] summary::after { content: '−'; }
.faq-a {
    font-size: 14px;
    color: var(--text2);
    line-height: 1.75;
    margin-top: 10px;
    padding-right: 24px;
}
.faq-a a { color: #db2777; text-decoration: none; font-weight: 600; }
.faq-a a:hover { text-decoration: underline; }

.price-name  { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text3); }
.price-value { font-size: 36px; font-weight: 800; color: var(--text); letter-spacing: -0.03em; }
.price-value span { font-size: 14px; font-weight: 400; color: var(--text3); }
.price-was { font-size: 16px; font-weight: 500; color: var(--text3); text-decoration: line-through; margin-right: 4px; }
.price-lto-badge {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 10px; font-weight: 700; color: #b45309;
    background: #fef9c3; border: 1px solid #fde68a;
    border-radius: 20px; padding: 2px 8px; margin-bottom: 4px;
}
.price-founder-badge {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 10px; font-weight: 700; color: #0369a1;
    background: #e0f2fe; border: 1px solid #bae6fd;
    border-radius: 20px; padding: 2px 8px; margin-bottom: 4px;
}
.price-card.sweldo-solo { border-color: #818cf8; background: #f5f3ff; }

/* Single Pre-register CTA centered below the pricing cards */
.pricing-cta { text-align: center; margin-top: 28px; }

/* "Beta" pill — used next to Sweldo (still stabilising) */
.beta-pill {
    display: inline-block; vertical-align: middle;
    font-size: 10px; font-weight: 700; letter-spacing: .03em;
    color: #6d28d9; background: #ede9fe; border: 1px solid #ddd6fe;
    border-radius: 6px; padding: 1px 6px; margin-left: 4px;
}
.price-desc  { font-size: 13px; color: var(--text2); line-height: 1.5; }
.price-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
}
.price-features li {
    font-size: 13px;
    color: var(--text2);
    display: flex;
    gap: 8px;
}
.price-features li::before { content: '✓'; color: #db2777; font-weight: 700; flex-shrink: 0; }
.price-features li.dimmed { color: var(--text3); }
.price-features li.dimmed::before { content: '—'; color: var(--text3); }

.btn-price {
    margin-top: 8px;
    padding: 13px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    text-align: center;
    transition: all .15s;
    text-decoration: none;
    display: block;
}
.btn-price.active  { background: var(--accent); color: #6b1226; border: none; }
.btn-price.active:hover { background: var(--accent-d); }
.btn-price.soon    { background: transparent; border: 1.5px solid var(--border); color: var(--text3); cursor: not-allowed; opacity: 0.6; }

.pricing-note {
    font-size: 13px;
    color: var(--text3);
    margin-top: 20px;
}

/* ── CONTACT / INQUIRY FORM ─────────────────────── */
#contact { background: var(--white); }

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: start;
}
@media (max-width: 860px) {
    .contact-wrap { grid-template-columns: 1fr; }
    .contact-aside { order: -1; }
}

/* Form */
.contact-form {
    display: flex; flex-direction: column; gap: 20px;
}
.contact-field {
    display: flex; flex-direction: column; gap: 6px; position: relative;
}
.contact-field label {
    font-size: 13px; font-weight: 600; color: var(--text);
}
.contact-field input,
.contact-field textarea {
    font-family: inherit; font-size: 14px; color: var(--text);
    background: var(--bg); border: 1.5px solid var(--border);
    border-radius: 10px; padding: 12px 14px;
    transition: border-color .15s, box-shadow .15s;
    outline: none; resize: vertical;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: var(--text3); }
.contact-field input:focus,
.contact-field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(219,39,119,.1);
}
.contact-charcount {
    font-size: 11px; color: var(--text3);
    text-align: right; margin-top: 2px;
}
.contact-msg {
    font-size: 13px; font-weight: 600; padding: 10px 14px;
    border-radius: 8px;
}
.contact-msg-error { background: #fee2e2; color: #dc2626; }
.contact-submit { align-self: flex-start; }

/* Success state */
.contact-success {
    display: flex; flex-direction: column;
    align-items: flex-start; gap: 12px;
    padding: 32px; background: var(--bg);
    border: 1.5px solid var(--border); border-radius: 16px;
}
.contact-success-icon { font-size: 40px; }
.contact-success h3 {
    font-size: 22px; font-weight: 800;
    color: var(--text); letter-spacing: -0.02em;
}
.contact-success p { font-size: 14px; color: var(--text2); line-height: 1.65; }
.contact-reset {
    background: transparent; border: 1.5px solid var(--border);
    color: var(--text2); border-radius: 10px; padding: 10px 20px;
    font-size: 14px; font-weight: 600; font-family: inherit; cursor: pointer;
    transition: border-color .15s, color .15s;
}
.contact-reset:hover { border-color: var(--accent); color: var(--accent); }

/* Aside */
.contact-aside {
    display: flex; flex-direction: column; gap: 24px;
    padding-top: 4px;
}
.contact-aside-item {
    display: flex; gap: 14px; align-items: flex-start;
}
.contact-aside-icon {
    font-size: 22px; width: 40px; height: 40px;
    background: var(--bg); border: 1px solid var(--border);
    border-radius: 10px; display: flex; align-items: center;
    justify-content: center; flex-shrink: 0;
}
.contact-aside-title {
    font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px;
}
.contact-aside-desc {
    font-size: 13px; color: var(--text2); line-height: 1.6;
}
.contact-aside-desc a { color: var(--accent); text-decoration: none; }
.contact-aside-desc a:hover { text-decoration: underline; }

/* ── CTA BANNER ─────────────────────────────────── */
.cta-banner {
    background: linear-gradient(135deg, #FFD1DC 0%, #FFB6C1 100%);
    border-radius: 20px;
    padding: 56px 48px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.cta-banner h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}
.cta-banner p { font-size: 16px; color: #6b1226; max-width: 420px; line-height: 1.6; }
#cta { background: var(--bg); }

/* ── FOOTER ─────────────────────────────────────── */
footer {
    background: var(--dark);
    color: #94a3b8;
    padding: 40px 24px;
}
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.footer-logo img   { width: 28px; height: 28px; object-fit: contain; }
.footer-logo span  { font-size: 15px; font-weight: 700; color: #FFB6C1; }
.footer-copy { font-size: 12px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a {
    font-size: 12px;
    color: #64748b;
    text-decoration: none;
    transition: color .15s;
}
.footer-links a:hover { color: #FFB6C1; }
