/* ── Mainpixel.studio — Redesign 2026 ──────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Inter',system-ui,-apple-system,sans-serif;color:#1a1a1a;background:#fff;line-height:1.6;font-size:15px;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
h1,h2,h3,h4{color:#000;line-height:1.25;font-weight:600}
h1{font-size:clamp(1.8rem,4vw,2.8rem);letter-spacing:-.02em}
h2{font-size:clamp(1.4rem,3vw,2rem);letter-spacing:-.01em}
h3{font-size:1.15rem}
h4{font-size:1rem}
p{color:#555;line-height:1.7}
.container{max-width:1080px;margin:0 auto;padding:0 24px}
section{padding:64px 0}
section.alt{background:#f7f7f8}

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn{display:inline-block;padding:12px 28px;border-radius:6px;font-weight:600;font-size:.875rem;cursor:pointer;transition:all .15s;border:none;text-align:center;letter-spacing:.01em}
.btn-primary{background:#000;color:#fff}.btn-primary:hover{background:#222}
.btn-outline{background:transparent;color:#000;border:1.5px solid #d0d0d0}.btn-outline:hover{border-color:#000}
.btn-sm{padding:10px 22px;font-size:.8rem}
.badge{display:inline-block;padding:4px 12px;border-radius:4px;font-size:.7rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;background:#f0f0f0;color:#666}

/* ── Header ──────────────────────────────────────────────────────── */
header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid #eee;padding:14px 0}
header .wrap{display:flex;align-items:center;justify-content:space-between}
header .logo img{height:28px}
header nav{display:flex;gap:24px;align-items:center}
header nav a{font-size:.82rem;font-weight:500;color:#555;transition:color .15s}
header nav a:hover{color:#000}
.hamburger{display:none;flex-direction:column;gap:4px;cursor:pointer;background:none;border:none;padding:6px}
.hamburger span{display:block;width:20px;height:1.5px;background:#000;transition:all .2s}
.mobile-nav{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:#fff;z-index:200;flex-direction:column;align-items:center;justify-content:center;gap:28px}
.mobile-nav.open{display:flex}
.mobile-nav a{font-size:1.1rem;font-weight:500;color:#333}
.mobile-nav .close-btn{position:absolute;top:16px;right:20px;font-size:1.8rem;cursor:pointer;background:none;border:none;color:#000}

/* ── Hero ────────────────────────────────────────────────────────── */
.hero{padding:80px 0 64px;text-align:center}
.hero .badge{margin-bottom:16px}
.hero h1{margin-bottom:16px}
.hero p{font-size:1rem;max-width:560px;margin:0 auto 28px}
.hero .cta-row{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

/* ── Grid ────────────────────────────────────────────────────────── */
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.split{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}

/* ── Cards ───────────────────────────────────────────────────────── */
.card{background:#fff;border:1px solid #eee;border-radius:10px;padding:28px;transition:border-color .2s}
.card:hover{border-color:#ccc}
.card h4{margin-bottom:8px;color:#000}
.card p{font-size:.875rem}

/* ── Product Cards ───────────────────────────────────────────────── */
.product-card{border-radius:10px;overflow:hidden;border:1px solid #eee;background:#fff;transition:border-color .2s}
.product-card:hover{border-color:#ccc}
.product-card img{width:100%;aspect-ratio:4/3;object-fit:cover}
.product-card .info{padding:20px}
.product-card h3{margin-bottom:6px}
.product-card p{font-size:.85rem;margin-bottom:14px}

/* ── Pricing Cards ───────────────────────────────────────────────── */
.pricing-card{border:1px solid #eee;border-radius:10px;padding:32px 24px;text-align:center;display:flex;flex-direction:column;transition:border-color .2s}
.pricing-card:hover{border-color:#ccc}
.pricing-card.featured{border:2px solid #000}
.pricing-card .price{font-size:1.8rem;font-weight:700;margin:12px 0}
.pricing-card ul{list-style:none;text-align:left;margin:16px 0;flex:1}
.pricing-card ul li{padding:7px 0;border-bottom:1px solid #f5f5f5;font-size:.85rem;color:#555}
.pricing-card ul li::before{content:"— ";color:#999}

/* ── Icon Box ────────────────────────────────────────────────────── */
.icon-box{text-align:center;padding:20px 16px}
.icon-box img{width:40px;height:40px;margin:0 auto 12px;object-fit:contain;opacity:.8}
.icon-box h4{margin-bottom:6px;font-size:.9rem}
.icon-box p{font-size:.8rem;color:#888}

/* ── FAQ ─────────────────────────────────────────────────────────── */
.faq-item{border-bottom:1px solid #eee;padding:16px 0}
.faq-q{display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-weight:600;font-size:.9rem;color:#222}
.faq-q::after{content:"+";font-size:1.2rem;font-weight:300;color:#999;transition:transform .2s}
.faq-item.open .faq-q::after{transform:rotate(45deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .3s ease;font-size:.85rem;line-height:1.7}
.faq-item.open .faq-a{max-height:500px;padding-top:10px}

/* ── Forms ────────────────────────────────────────────────────────── */
.form-group{margin-bottom:16px}
.form-group label{display:block;font-size:.8rem;font-weight:500;margin-bottom:5px;color:#444}
.form-group input,.form-group textarea,.form-group select{width:100%;padding:11px 14px;border:1px solid #e0e0e0;border-radius:6px;font-size:.875rem;font-family:inherit;background:#fafafa;transition:border .15s}
.form-group input:focus,.form-group textarea:focus,.form-group select:focus{border-color:#000;outline:none;background:#fff}
.form-group textarea{min-height:100px;resize:vertical}

/* ── Solution Cards ──────────────────────────────────────────────── */
.solutions-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.solution-card{display:flex;gap:16px;align-items:flex-start;padding:20px;border:1px solid #eee;border-radius:10px;background:#fff}
.solution-card img{width:64px;height:64px;border-radius:6px;object-fit:cover;flex-shrink:0}
.solution-card h4{margin-bottom:4px;font-size:.9rem}
.solution-card p{font-size:.8rem}

/* ── Testimonials ────────────────────────────────────────────────── */
.testimonial{padding:24px;background:#f7f7f8;border-radius:10px}
.testimonial p{font-style:italic;color:#444;margin-bottom:10px;font-size:.85rem}
.testimonial .author{font-weight:600;font-size:.8rem;color:#888}

/* ── Steps ───────────────────────────────────────────────────────── */
.steps{counter-reset:step}
.step{display:flex;gap:16px;align-items:flex-start;padding:20px 0;border-bottom:1px solid #eee}
.step::before{counter-increment:step;content:counter(step);display:flex;align-items:center;justify-content:center;min-width:36px;height:36px;border-radius:50%;background:#000;color:#fff;font-weight:600;font-size:.9rem;flex-shrink:0}
.step h4{margin-bottom:4px;font-size:.9rem}
.step p{font-size:.83rem}

/* ── Stats ───────────────────────────────────────────────────────── */
.stat{text-align:center;padding:16px}
.stat .num{font-size:2rem;font-weight:700;color:#000;letter-spacing:-.02em}
.stat .label{font-size:.78rem;color:#888;margin-top:2px}

/* ── Marquee ─────────────────────────────────────────────────────── */
.marquee{overflow:hidden;background:#000;color:#fff;padding:12px 0;font-size:.8rem;font-weight:500;white-space:nowrap}
.marquee-inner{display:inline-block;animation:marquee 20s linear infinite}
.marquee-inner span{margin:0 40px}
@keyframes marquee{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* ── CTA Banner ──────────────────────────────────────────────────── */
.cta-banner{background:#000;color:#fff;text-align:center;padding:48px 24px;border-radius:10px}
.cta-banner h2{color:#fff;margin-bottom:16px;font-size:1.3rem}
.cta-banner .btn-primary{background:#fff;color:#000}.cta-banner .btn-primary:hover{background:#eee}

/* ── Footer ──────────────────────────────────────────────────────── */
footer{background:#0a0a0a;color:#fff;padding:40px 0 24px}
.footer-inner{display:flex;justify-content:space-between;align-items:flex-start;gap:32px;flex-wrap:wrap;padding-bottom:24px;border-bottom:1px solid #1a1a1a}
.footer-brand{max-width:320px}
.footer-brand img{height:24px;filter:brightness(0) invert(1);margin-bottom:12px}
.footer-brand p{font-size:.78rem;color:rgba(255,255,255,.4);line-height:1.6}
.footer-links{display:flex;gap:24px}
.footer-links a{font-size:.8rem;color:rgba(255,255,255,.5);transition:color .15s}
.footer-links a:hover{color:#fff}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;padding-top:16px;font-size:.75rem;color:rgba(255,255,255,.3)}

/* ── Content pages ───────────────────────────────────────────────── */
.content-page{max-width:720px;margin:0 auto}
.content-page h1{margin-bottom:32px;font-size:1.6rem}
.content-page h3{margin-top:32px;margin-bottom:8px;font-size:1.05rem}
.content-page h4{margin-top:16px;margin-bottom:4px;font-size:.95rem}
.content-page p{margin:8px 0 16px;font-size:.88rem;line-height:1.8}
.content-page a{text-decoration:underline;text-underline-offset:2px}

/* ── Responsive ──────────────────────────────────────────────────── */
@media(max-width:900px){
    .grid-3,.grid-4,.solutions-grid{grid-template-columns:1fr}
    .grid-2,.split{grid-template-columns:1fr}
    header nav{display:none}
    .hamburger{display:flex}
    .hero{padding:56px 0 48px}
    section{padding:48px 0}
    .footer-inner{flex-direction:column}
}
@media(max-width:600px){
    .hero h1{font-size:1.6rem}
    .cta-row{flex-direction:column;align-items:center}
    .stat .num{font-size:1.6rem}
    .container{padding:0 16px}
}
