:root { --accent: #10b981; --accent-dark: #059669; --bg: #07130d; --card: rgba(255, 255, 255, 0.96); --ink: #0f172a; --muted: #475569; }
* { box-sizing: border-box; }
html, body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif; color: var(--ink); min-height: 100%; overflow-x: clip; }
body { background: var(--bg); padding-top: 76px; display: flex; flex-direction: column; min-height: 100vh; }

body::before { content: ""; position: fixed; inset: 0; z-index: -2; background: url('https://images.pexels.com/photos/6804612/pexels-photo-6804612.jpeg') center/cover no-repeat; filter: brightness(0.8) saturate(1.15); animation: bgZoom 40s ease-in-out infinite alternate; }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; background: radial-gradient(circle at top, rgba(16,185,129,0.12), rgba(2,6,23,0.78) 80%); pointer-events: none; }
.bg-gradient, #particle-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.bg-gradient { background: linear-gradient(125deg, rgba(6,78,59,0.35), rgba(16,185,129,0.15), rgba(2,6,23,0.5)); mix-blend-mode: overlay; }
@keyframes bgZoom { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scrollX { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes rgbFlow { 0% { background-position: 0% center; } 100% { background-position: 300% center; } }

header { position: fixed; top: 0; left: 0; width: 100vw; z-index: 500; background: rgba(7, 19, 13, 0.72); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,0.14); }
.header-inner { width: 100%; padding: 10px 22px; }
.navbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; width: 100%; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: #fff; text-decoration: none; }
.brand img { height: 38px; border-radius: 10px; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { color: #ecfdf5; text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 8px; transition: 0.2s; }
.nav-links a:hover { background: rgba(16, 185, 129, 0.22); color: #fff; }
.nav-links a.nav-cta, .cta { display: inline-block; background: var(--accent); color: #fff; padding: 10px 20px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 14px; border: none; cursor: pointer; transition: 0.2s; }
.nav-links a.nav-cta:hover, .cta:hover { background: var(--accent-dark); transform: translateY(-1px); }
.cta-outline { display: inline-block; background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.3); padding: 10px 20px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 14px; }
.btn-sm { padding: 7px 14px; font-size: 13px; margin-top: 8px; }

.navbar-toggler { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 36px; height: 32px; padding: 0; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.28); border-radius: 8px; cursor: pointer; }
.navbar-toggler span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: 0.25s; transform-origin: center; }
.navbar-toggler.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggler.active span:nth-child(2) { opacity: 0; }
.navbar-toggler.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

main { position: relative; z-index: 10; width: 100%; flex: 1; padding-bottom: 20px; }
.page-section { display: none; width: 100%; animation: fadeUp 0.35s ease; }
.page-section.active { display: block; }
.card { background: var(--card); padding: 28px; border-radius: 20px; box-shadow: 0 20px 45px rgba(0,0,0,0.28); border: 1px solid rgba(255,255,255,0.65); margin-top: 16px; width: 100%; }

.hero-card { position: relative; margin-top: 16px; border-radius: 22px; overflow: hidden; background: linear-gradient(145deg, rgba(6, 28, 19, 0.84), rgba(15, 23, 42, 0.86)); border: 1px solid rgba(255,255,255,0.16); box-shadow: 0 24px 60px rgba(0,0,0,0.45); backdrop-filter: blur(14px); }
.hero-content { padding: 48px 24px; text-align: center; color: #fff; }
.badge-pill { display: inline-block; padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; text-transform: uppercase; background: rgba(16,185,129,0.18); color: #6ee7b7; border: 1px solid rgba(110,231,183,0.35); margin-bottom: 14px; }
.hero-title { font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 900; margin: 0 0 12px; }
/*.hero-rgb-text { background: linear-gradient(90deg, rgb(255,42,95), rgb(0,245,155), rgb(0,195,255), rgb(255,42,95)); background-size: 300% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 8px 24px rgba(0,195,255,0.3)); animation: rgbFlow 5s linear infinite; }*/
.hero-rgb-text { background: linear-gradient(90deg, #fff, rgb(255,0,76), rgb(255,136,0), rgb(255,230,0), rgb(0,230,118), rgb(0,195,255), rgb(138,92,255), #fff) 0/350%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 8px 24px rgba(255,255,255,0.22)); animation: rgbFlow 6s linear infinite; }
.hero-sub { font-size: 1.12rem; color: #cbd5e1; max-width: 720px; margin: 0 auto 24px; line-height: 1.65; }
.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.story-grid, .info-grid, .pillars-grid, .setup-columns, .errors-grid, .tables-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.story-grid { margin-top: 36px; text-align: left; }
.glass-box { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 24px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }
.section-head h2 { margin: 0; font-size: 1.35rem; font-weight: 800; color: #fff; }
.sub-tag { font-size: 12px; font-weight: 600; color: #6ee7b7; background: rgba(16,185,129,0.15); padding: 3px 10px; border-radius: 999px; }
.feature-list { margin: 0; padding-left: 18px; color: #e2e8f0; display: grid; gap: 10px; line-height: 1.6; font-size: 14.5px; }

.page-header { text-align: center; margin-bottom: 24px; }
.page-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--accent-dark); background: #d1fae5; padding: 4px 12px; border-radius: 999px; margin-bottom: 6px; }
.page-header h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: #064e3b; }
.page-lead { max-width: 820px; margin: 10px auto 0; color: var(--muted); line-height: 1.6; }
.sub-heading { font-size: 1.25rem; font-weight: 800; color: #064e3b; margin: 24px 0 14px; }

.info-tile, .step-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; padding: 18px; }
.info-tile h3 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 700; color: #0f172a; }
.info-tile p, .step-card { margin: 0; color: #334155; line-height: 1.65; font-size: 14.5px; }
.pillar-item { background: #f8fafc; border-left: 4px solid var(--accent); border-radius: 10px; padding: 14px 16px; font-size: 14px; line-height: 1.55; color: #1e293b; }
.callout-banner { margin-top: 18px; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; padding: 14px 18px; border-radius: 12px; font-weight: 600; text-align: center; font-size: 14.5px; }

.services-slider, .about-slider { width: 100%; overflow: hidden; margin-top: 24px; padding: 10px 0; }
.services-track, .about-track { display: flex; gap: 18px; width: max-content; will-change: transform; }
.services-track { animation: scrollX 35s linear infinite; }
.about-track { animation: scrollX 42s linear infinite; }
.services-slider:hover .services-track, .about-slider:hover .about-track { animation-play-state: paused; }
.service-card { min-width: 270px; flex-shrink: 0; background: #fff; border: 1px solid #e2e8f0; padding: 22px 18px; border-radius: 16px; text-align: center; box-shadow: 0 8px 22px rgba(15,23,42,0.07); transition: 0.25s; }
.service-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.srv-badge { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--accent-dark); background: #ecfdf5; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
.srv-desc { margin: 0; font-size: 13px; color: var(--muted); }
.srv-price { margin: 10px 0 14px; font-size: 1.4rem; font-weight: 800; color: #064e3b; }
.about-card { min-width: 320px; max-width: 320px; flex-shrink: 0; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; padding: 20px; }
.about-card h3 { margin: 0 0 10px; color: #064e3b; }
.about-card ul { margin: 0; padding-left: 18px; color: #334155; font-size: 13.5px; line-height: 1.6; display: grid; gap: 6px; }

.legal-doc p, .legal-doc li { color: #334155; line-height: 1.7; font-size: 14.5px; }
.legal-doc h3 { color: #064e3b; font-size: 1.1rem; font-weight: 700; margin: 18px 0 8px; }
.legal-list { padding-left: 20px; display: grid; gap: 10px; }
ol.legal-list { list-style: none; padding-left: 0; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
ol.legal-list > li.info-tile > strong { display: block; font-size: 1.05rem; color: #064e3b; margin-bottom: 6px; }
.legal-doc .info-tile ul { margin-top: 8px; padding-left: 18px; display: grid; gap: 6px; }
.doc-link { color: var(--accent-dark); font-weight: 600; text-decoration: none; }
.doc-link:hover { text-decoration: underline; }

.blog-intro { text-align: center; max-width: 900px; margin: 0 auto 22px; }
.check-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.check-pills span { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.setup-col { display: flex; flex-direction: column; gap: 12px; }
.setup-badge { display: inline-block; align-self: flex-start; padding: 8px 16px; border-radius: 10px; font-size: 1rem; font-weight: 800; margin: 0; }
.setup-badge.morpho { background: #dbeafe; color: #1e3a8a; }
.setup-badge.mantra { background: #ede9fe; color: #5b21b6; }
.step-card { border-left: 4px solid var(--accent); border-radius: 12px; }
.step-card ul { margin: 8px 0; padding-left: 18px; }
.host-pill { display: inline-block; background: #e0f2fe; color: #0369a1; padding: 4px 10px; border-radius: 6px; font-weight: 700; }
.error-card { border-left-color: #ef4444; }
.modern-table { width: 100%; border-collapse: collapse; border-radius: 10px; overflow: hidden; font-size: 14px; }
.modern-table th { background: #064e3b; color: #fff; text-align: left; padding: 10px 14px; }
.modern-table td { padding: 10px 14px; border-bottom: 1px solid #e2e8f0; background: #f8fafc; }

.contact-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-group span { font-size: 13px; font-weight: 700; color: #1e293b; }
.field-group input, .field-group textarea { padding: 10px 14px; border: 1px solid #cbd5e1; border-radius: 10px; font-size: 14px; }
.contact-card { background: linear-gradient(145deg, #064e3b, #0f172a); color: #fff; padding: 26px; border-radius: 16px; }
.contact-card h3 { font-size: 1.6rem; font-weight: 900; margin: 6px 0 4px; }
.owner-name { color: #6ee7b7; font-weight: 700; margin: 0 0 14px; }
.contact-line { margin: 8px 0; font-size: 14px; color: #e2e8f0; }
.contact-line a { color: #fff; text-decoration: none; }

.modal-backdrop { display: none; position: fixed; inset: 0; background: rgba(2,6,23,0.7); backdrop-filter: blur(4px); z-index: 1000; justify-content: center; align-items: center; }
.modal-box { background: #fff; padding: 24px; border-radius: 16px; max-width: 520px; width: 92%; position: relative; }
.modal-close { position: absolute; top: 12px; right: 16px; cursor: pointer; font-size: 24px; color: #64748b; }
.modal-form { display: grid; gap: 12px; }
.modal-form input { padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 14px; }
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.swal2-container {z-index: 2147483647 !important;}

#scrollBtn { opacity: 0.42; transition: opacity 0.25s, transform 0.25s; } #scrollBtn:hover { opacity: 0.95; }
.whatsapp-float { position: fixed; bottom: 98px; right: 20px; width: 52px; height: 52px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; z-index: 1000; cursor: grab; box-shadow: 0 8px 20px rgba(37,211,102,0.45); }
.whatsapp-float img { width: 36px; height: 36px; pointer-events: none; }
.pause-animation { animation-play-state: paused; }
#scrollBtn { position: fixed; right: 20px; bottom: 50px; z-index: 999; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border: none; border-radius: 50%; background: var(--accent); color: #fff; cursor: pointer; transition: 0.25s; }
#scrollBtn:hover { background: var(--accent-dark); }
#scrollBtn svg { transition: transform 0.3s ease; }
#scrollBtn.is-up svg { transform: rotate(180deg); }

footer { width: 100vw; max-width: 100vw; position: relative; z-index: 10; background: rgba(7, 19, 13, 0.85); backdrop-filter: blur(14px); border-top: 1px solid rgba(255,255,255,0.14); padding: 9px 22px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 12px; }
footer ul { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; gap: 14px; }
footer ul li a { color: #e2e8f0; text-decoration: none; font-size: 13px; font-weight: 600; white-space: nowrap; }
footer ul li a:hover { color: var(--accent); }
.footer-copy { color: #cbd5e1; margin: 0; font-size: 12.5px; white-space: nowrap; }
.footer-mail { color: #6ee7b7; text-decoration: none; font-weight: 600; transition: 0.2s; }
.footer-mail:hover { color: #fff; text-decoration: none; text-shadow: 0 0 8px rgba(110,231,183,0.65); }
.footer-dev { color: #38bdf8; font-weight: 600; }

@media (max-width: 960px) {
  .footer-inner { flex-direction: column; gap: 4px; text-align: center; }
  footer ul { flex-wrap: wrap; justify-content: center; gap: 4px 10px; }
  footer ul li a { font-size: 9.5px; }
  .footer-copy { white-space: normal; font-size: 10.5px; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .navbar-toggler { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links { display: none; flex-direction: column; align-items: stretch; width: 100%; padding-top: 12px; margin-top: 10px; border-top: 1px solid rgba(255,255,255,0.14); gap: 4px; }
  .nav-links.open { display: flex; }
  .service-card { min-width: 230px; }
  .about-card { min-width: 270px; max-width: 270px; }
}