/* ===== Zefira Studio — V3 DARK PREMIUM (gradient + glass) ===== */
:root {
  --bg: #07070d;
  --panel: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.1);
  --white: #ffffff;
  --muted: #9aa3b2;
  --g1: #8b5cf6;
  --g2: #3b82f6;
  --g3: #22d3ee;
  --green: #34d399;
  --red: #f87171;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--white); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.03em; }
h1 { font-size: 3.6rem; font-weight: 800; }
h2 { font-size: 2.3rem; margin-bottom: 0.5rem; font-weight: 800; }
img { display: block; width: 100%; height: auto; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; z-index: 1; }
.eyebrow, .hero-eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; background: linear-gradient(90deg, var(--g1), var(--g2), var(--g3)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 0.6rem; }
.section-sub { color: var(--muted); font-size: 0.98rem; max-width: 560px; margin: 0.6rem auto 0; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; background: rgba(7, 7, 13, 0.75); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); z-index: 100; }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { font-size: 1.15rem; font-weight: 700; color: var(--white); text-decoration: none; letter-spacing: -0.02em; }
.logo span, .footer-brand span { background: linear-gradient(90deg, var(--g1), var(--g3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: #b8bfca; text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.btn { display: inline-block; padding: 13px 28px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 0.94rem; transition: transform 0.15s, box-shadow 0.25s, filter 0.2s; cursor: pointer; border: none; }
.btn:hover { transform: translateY(-2px); }
.btn-small { padding: 8px 16px; font-size: 0.85rem; }
.btn-light { background: linear-gradient(90deg, var(--g1), var(--g2)); color: #ffffff; box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4); }
.btn-light:hover { filter: brightness(1.1); }
.btn-dark { background: rgba(255, 255, 255, 0.06); color: var(--white); border: 1px solid var(--line); }
.btn-dark:hover { border-color: rgba(255, 255, 255, 0.25); }
.btn-outline { border: 1.5px solid rgba(255, 255, 255, 0.3); color: var(--white); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.07); }
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

/* HERO */
.hero { position: relative; z-index: 1; min-height: 94vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero-bg-grid { position: absolute; inset: 0; }
.hero-bg-grid::before, .hero-bg-grid::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; animation: float 14s ease-in-out infinite; }
.hero-bg-grid::before { width: 520px; height: 520px; background: radial-gradient(circle, rgba(139, 92, 246, 0.55), transparent 70%); top: -120px; left: -80px; }
.hero-bg-grid::after { width: 460px; height: 460px; background: radial-gradient(circle, rgba(34, 211, 238, 0.4), transparent 70%); bottom: -140px; right: -60px; animation-delay: -7s; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, -30px) scale(1.08); } }
.hero-content { position: relative; max-width: 800px; padding: 130px 24px 56px; }
.hero h1 { background: linear-gradient(100deg, #ffffff 20%, #c9b8ff 50%, #9be8ff 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 1.18rem; color: var(--muted); margin-bottom: 2.4rem; max-width: 580px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.hero-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 58px; }
.hero-badges span { border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(6px); color: #d0d6e0; font-size: 0.82rem; font-weight: 600; padding: 7px 14px; border-radius: 20px; }
.hero-stats { display: flex; gap: 54px; justify-content: center; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 30px; }
.hstat strong { display: block; font-size: 1.85rem; font-weight: 800; background: linear-gradient(90deg, #fff, #c9b8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hstat span { font-size: 0.82rem; color: var(--muted); }

/* SERVICES */
.section-head { text-align: center; margin-bottom: 54px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; backdrop-filter: blur(12px); transition: transform 0.2s, border-color 0.2s, background 0.2s; }
.service-card:hover { transform: translateY(-5px); border-color: rgba(139, 92, 246, 0.5); background: rgba(255, 255, 255, 0.07); }
.service-card h3 { font-size: 1.1rem; }
.service-card p { color: var(--muted); font-size: 0.9rem; flex-grow: 1; }
.card-price { background: linear-gradient(90deg, var(--g2), var(--g3)); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; font-size: 0.88rem; }

/* WORK */
.work { background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.05) 50%, transparent); }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.work-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--white); backdrop-filter: blur(12px); transition: transform 0.2s, border-color 0.2s, box-shadow 0.3s; }
.work-card:hover { transform: translateY(-5px); border-color: rgba(139, 92, 246, 0.5); box-shadow: var(--shadow); }
.work-card img { height: 220px; object-fit: cover; transition: transform 0.4s ease; }
.work-card:hover img { transform: scale(1.05); }
.work-info { padding: 20px 24px 24px; }
.work-info h3 { font-size: 1.2rem; margin-bottom: 4px; }
.work-info p { color: var(--muted); font-size: 0.9rem; margin-bottom: 10px; }
.work-tags { display: inline-block; color: #c9b8ff; font-size: 0.76rem; font-weight: 600; border: 1px solid rgba(139, 92, 246, 0.35); background: rgba(139, 92, 246, 0.12); padding: 3px 10px; border-radius: 12px; margin-bottom: 10px; }
.work-link { display: block; background: linear-gradient(90deg, var(--g1), var(--g3)); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 600; font-size: 0.9rem; }

/* COMPARE */
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); backdrop-filter: blur(12px); }
.compare-table th, .compare-table td { padding: 15px 22px; text-align: left; font-size: 0.92rem; }
.compare-table thead th { background: rgba(255, 255, 255, 0.03); border-bottom: 1px solid var(--line); font-weight: 700; color: #d0d6e0; }
.compare-table thead .col-good { color: var(--green); }
.compare-table tbody tr { border-bottom: 1px solid var(--line); }
.compare-table tbody tr:last-child { border-bottom: none; }
.compare-table td:first-child { color: #d0d6e0; font-weight: 600; white-space: nowrap; }
.compare-table .bad { color: var(--red); }
.compare-table .good { color: var(--green); font-weight: 500; }

/* PROCESS */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process-step { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 26px; backdrop-filter: blur(12px); transition: transform 0.2s, border-color 0.2s; }
.process-step:hover { transform: translateY(-4px); border-color: rgba(59, 130, 246, 0.5); }
.step-num { display: block; font-size: 1.5rem; font-weight: 800; background: linear-gradient(90deg, var(--g1), var(--g3)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.process-step h3 { margin-bottom: 6px; font-size: 1.05rem; }
.process-step p { color: var(--muted); font-size: 0.88rem; }

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 34px 28px; display: flex; flex-direction: column; gap: 12px; backdrop-filter: blur(12px); transition: transform 0.2s, border-color 0.2s, box-shadow 0.3s; }
.price-card:hover { transform: translateY(-4px); }
.price-card.featured { border-color: transparent; background: linear-gradient(var(--bg), var(--bg)) padding-box, linear-gradient(135deg, var(--g1), var(--g3)) border-box; border: 1px solid transparent; box-shadow: 0 0 40px rgba(139, 92, 246, 0.25); }
.price-card h3 { font-size: 1.1rem; color: #b8bfca; }
.price-card .price { font-size: 2.5rem; font-weight: 800; color: var(--white); letter-spacing: -0.03em; }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 12px; }
.price-card li { color: var(--muted); font-size: 0.92rem; padding-left: 24px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.price-card .btn { align-self: flex-start; margin-top: auto; }
.pricing-note { text-align: center; color: var(--muted); font-size: 0.88rem; margin-top: 30px; }

/* FAQ */
.faq { background: linear-gradient(180deg, transparent, rgba(34, 211, 238, 0.05) 50%, transparent); }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; backdrop-filter: blur(12px); transition: border-color 0.2s; }
.faq-item:hover { border-color: rgba(59, 130, 246, 0.4); }
.faq-item summary { padding: 18px 22px; font-weight: 600; font-size: 0.98rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--white); transition: color 0.2s; }
.faq-item summary:hover { color: #c9b8ff; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; background: linear-gradient(90deg, var(--g1), var(--g3)); -webkit-background-clip: text; background-clip: text; color: transparent; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 22px 18px; color: var(--muted); font-size: 0.92rem; }

/* CONTACT */
.contact { position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent 70%); filter: blur(80px); bottom: -300px; left: 50%; transform: translateX(-50%); }
.contact-inner { position: relative; text-align: center; max-width: 640px; }
.contact-sub { color: var(--muted); margin-bottom: 2rem; }
.contact-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
.footer { position: relative; z-index: 1; background: #050508; border-top: 1px solid var(--line); padding: 40px 0 28px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer-brand { font-size: 1.02rem; font-weight: 700; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { color: #5d6470; font-size: 0.82rem; }

/* BACK TO TOP */
.cursor-glow { position: fixed; top: 0; left: 0; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 246, 0.16), rgba(59, 130, 246, 0.07) 45%, transparent 70%); pointer-events: none; z-index: 0; will-change: transform; }
@media (hover: none) { .cursor-glow { display: none; } }

/* BACK TO TOP */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(10px); color: #c9b8ff; font-size: 1.2rem; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.25s, transform 0.25s, visibility 0.25s; z-index: 90; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { border-color: rgba(139, 92, 246, 0.6); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* MOBILE */
@media (max-width: 900px) {
  .services-grid, .process-grid { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; background: rgba(7, 7, 13, 0.98); padding: 20px 24px; gap: 18px; align-items: flex-start; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .hero h1 { font-size: 2.4rem; }
  .hero-stats { gap: 32px; }
  .services-grid, .process-grid, .pricing-grid { grid-template-columns: 1fr; }
  .section { padding: 66px 0; }
}
