/* Finman Marketing — shared styles */
:root {
  --accent:      #5b50e8;
  --accent-light:#7b72ef;
  --accent-glow: rgba(91,80,232,0.12);
  --text:        #0f172a;
  --text-muted:  #64748b;
  --bg:          #f0f2f5;
  --card:        #ffffff;
  --border:      #e2e8f0;
  --success:     #10b981;
  --radius:      12px;
  --font:        -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: #fff; line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-light); text-decoration: underline; }
img { max-width: 100%; }

/* NAV */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; height: 60px; display: flex; align-items: center; gap: 32px; }
.nav-logo { font-size: 20px; font-weight: 800; background: linear-gradient(135deg,#6c63ff,#a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; flex-shrink: 0; }
.nav-links { display: flex; gap: 24px; flex: 1; }
.nav-links a { color: var(--text-muted); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--accent); text-decoration: none; }
.nav-cta { margin-left: auto; display: flex; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: var(--radius); font-size: 15px; font-weight: 600; cursor: pointer; transition: all .18s; border: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-light); text-decoration: none; color: #fff; }
.btn-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-outline:hover { background: var(--accent-glow); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--text-muted); font-size: 14px; }
.btn-ghost:hover { color: var(--accent); text-decoration: none; }
.btn-lg { padding: 14px 28px; font-size: 17px; }

/* HERO */
.hero { background: linear-gradient(160deg,#f5f3ff 0%,#ede9fe 40%,#e0f2fe 100%); padding: 88px 24px 72px; text-align: center; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; line-height: 1.15; max-width: 780px; margin: 0 auto 20px; }
.hero h1 span { background: linear-gradient(135deg,#5b50e8,#a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 1.15rem; color: var(--text-muted); max-width: 560px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.badge-row { display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.badge { background: rgba(91,80,232,.08); border: 1px solid rgba(91,80,232,.2); color: var(--accent); border-radius: 999px; padding: 4px 14px; font-size: 13px; font-weight: 500; }

/* SECTIONS */
section { padding: 72px 24px; }
.container { max-width: 1100px; margin: 0 auto; }
.section-label { text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
h2.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 14px; }
p.section-sub { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; }

/* FEATURES GRID */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin-top: 48px; }
.feature-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; transition: box-shadow .18s, transform .18s; }
.feature-card:hover { box-shadow: 0 8px 28px rgba(91,80,232,.12); transform: translateY(-3px); }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-glow); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.pricing-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 28px; }
.pricing-card.popular { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); position: relative; }
.popular-tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; border-radius: 999px; padding: 4px 16px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.price { font-size: 2.4rem; font-weight: 900; color: var(--accent); margin: 12px 0 4px; }
.price span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.pricing-features { list-style: none; margin: 20px 0 28px; display: flex; flex-direction: column; gap: 10px; }
.pricing-features li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.pricing-features li::before { content: "✓"; color: var(--success); font-weight: 700; flex-shrink: 0; }

/* FAQ */
.faq-list { max-width: 760px; margin: 40px auto 0; }
details { border: 1px solid var(--border); border-radius: var(--radius); padding: 0; margin-bottom: 12px; overflow: hidden; }
summary { padding: 18px 24px; font-weight: 600; font-size: 15px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::after { content: "+"; font-size: 20px; color: var(--accent); flex-shrink: 0; }
details[open] summary::after { content: "−"; }
.faq-body { padding: 0 24px 18px; color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* CTA BANNER */
.cta-banner { background: linear-gradient(135deg,#5b50e8,#7c3aed); color: #fff; text-align: center; }
.cta-banner h2 { font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 800; margin-bottom: 12px; }
.cta-banner p { opacity: .85; font-size: 1.05rem; margin-bottom: 32px; }
.btn-white { background: #fff; color: var(--accent); }
.btn-white:hover { background: #f0f2ff; text-decoration: none; color: var(--accent); }

/* FOOTER */
footer { background: #0f172a; color: #94a3b8; padding: 48px 24px 32px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 32px; }
.footer-brand p { font-size: 13px; margin-top: 10px; line-height: 1.6; }
.footer-col h4 { color: #e2e8f0; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-col a { display: block; color: #94a3b8; font-size: 13px; margin-bottom: 8px; }
.footer-col a:hover { color: #e2e8f0; text-decoration: none; }
.footer-bottom { max-width: 1100px; margin: 32px auto 0; padding-top: 24px; border-top: 1px solid #1e293b; font-size: 12px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* BLOG */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 40px; }
.blog-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .18s, transform .18s; }
.blog-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.1); transform: translateY(-3px); }
.blog-card-body { padding: 24px; }
.blog-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 8px; display: block; }
.blog-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.blog-card p { color: var(--text-muted); font-size: 13px; line-height: 1.6; }
.blog-card-meta { display: flex; gap: 12px; margin-top: 16px; font-size: 12px; color: var(--text-muted); }

/* ARTICLE */
.article-hero { background: linear-gradient(160deg,#f5f3ff,#ede9fe); padding: 64px 24px 48px; }
.article-tag { display: inline-block; background: var(--accent-glow); color: var(--accent); border-radius: 999px; padding: 4px 14px; font-size: 12px; font-weight: 700; margin-bottom: 16px; }
.article-hero h1 { font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 900; max-width: 780px; line-height: 1.2; }
.article-meta { margin-top: 16px; font-size: 13px; color: var(--text-muted); display: flex; gap: 16px; flex-wrap: wrap; }
.article-body { max-width: 760px; margin: 0 auto; padding: 56px 24px 72px; }
.article-body h2 { font-size: 1.5rem; font-weight: 800; margin: 40px 0 14px; }
.article-body h3 { font-size: 1.15rem; font-weight: 700; margin: 28px 0 10px; }
.article-body p { margin-bottom: 18px; color: #1e293b; line-height: 1.75; }
.article-body ul, .article-body ol { margin: 0 0 18px 24px; }
.article-body li { margin-bottom: 8px; color: #1e293b; line-height: 1.7; }
.article-body strong { color: var(--text); }
.article-cta { background: var(--accent-glow); border: 1px solid rgba(91,80,232,.2); border-radius: var(--radius); padding: 28px 32px; margin: 40px 0; text-align: center; }
.article-cta h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.article-cta p { color: var(--text-muted); font-size: 14px; margin-bottom: 18px; }

/* COMPARE TABLE */
.compare-table { width: 100%; border-collapse: collapse; margin: 32px 0; font-size: 15px; }
.compare-table th { background: #f8fafc; padding: 14px 18px; text-align: left; font-weight: 700; border-bottom: 2px solid var(--border); }
.compare-table th:first-child { min-width: 220px; }
.compare-table td { padding: 13px 18px; border-bottom: 1px solid var(--border); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .check { color: var(--success); font-weight: 700; }
.compare-table .cross { color: #ef4444; }
.compare-table .partial { color: var(--accent); }
.compare-table tr:hover td { background: #f8fafc; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links { display: none; }
  section { padding: 48px 16px; }
  .hero { padding: 64px 16px 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
