/* =========================================================
   Velorix Web Studio — Premium Stylesheet
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --bg:          #0a0b12;
  --bg-alt:      #0e1019;
  --bg-card:     #14161f;
  --bg-card-2:   #181b26;
  --border:      rgba(255, 255, 255, 0.08);
  --border-2:    rgba(255, 255, 255, 0.14);

  --text:        #eef0f6;
  --text-muted:  #a3a8b8;
  --text-dim:    #6f7587;

  --accent:      #7c5cff;   /* violet */
  --accent-2:    #22d3ee;   /* cyan  */
  --accent-3:    #5b8def;   /* blue  */
  --accent-soft: rgba(124, 92, 255, 0.14);

  --grad:        linear-gradient(120deg, #7c5cff 0%, #5b8def 45%, #22d3ee 100%);
  --grad-soft:   linear-gradient(120deg, rgba(124,92,255,0.18), rgba(34,211,238,0.12));

  --radius:      18px;
  --radius-sm:   12px;
  --radius-lg:   28px;

  --shadow:      0 24px 60px -22px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 60px -12px rgba(124, 92, 255, 0.45);

  --maxw:        1180px;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);

  --font:        'Inter', system-ui, -apple-system, sans-serif;
  --font-head:   'Sora', 'Inter', sans-serif;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--accent); color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 110px 0; position: relative; }
.section--alt { background: var(--bg-alt); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.3rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-2);
  padding: 7px 14px; margin-bottom: 20px;
  background: var(--accent-soft); border: 1px solid var(--border-2); border-radius: 100px;
}

.lead { font-size: 1.15rem; color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 0.95rem;
  padding: 13px 26px; border-radius: 100px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, color 0.3s;
  white-space: nowrap; border: 1px solid transparent;
}
.btn--sm { padding: 9px 20px; font-size: 0.88rem; }
.btn--lg { padding: 16px 34px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 12px 30px -10px rgba(124, 92, 255, 0.6); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -10px rgba(124, 92, 255, 0.8); }

.btn--ghost { background: rgba(255,255,255,0.04); color: var(--text); border-color: var(--border-2); }
.btn--ghost:hover { background: rgba(255,255,255,0.09); transform: translateY(-3px); }

.btn--light { background: #fff; color: #0a0b12; }
.btn--light:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -10px rgba(255,255,255,0.4); }

/* ---------- Scroll progress + back to top ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad); z-index: 1000; transition: width 0.1s linear;
}
.back-to-top {
  position: fixed; bottom: 26px; right: 26px; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad); color: #fff; font-size: 1.2rem;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none;
  transform: translateY(16px); transition: all 0.4s var(--ease);
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 800;
  padding: 18px 0; transition: padding 0.3s, background 0.3s, border-color 0.3s, box-shadow 0.3s;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  padding: 12px 0;
  background: rgba(10, 11, 18, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 30px -20px rgba(0,0,0,0.8);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.brand { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 6px; }
.brand-mark { color: var(--accent); }
.brand-logo { height: 30px; width: auto; border-radius: 7px; display: block; }
.brand-accent { color: var(--text-muted); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 19px; }
.nav-links a:not(.btn) { font-size: 0.95rem; color: var(--text-muted); font-weight: 500; transition: color 0.2s; position: relative; }
.nav-soft { display: inline-flex; align-items: center; gap: 7px; }
.nav-beta {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent-2); background: var(--accent-soft); border: 1px solid var(--border-2);
  padding: 2px 7px; border-radius: 100px; line-height: 1.4;
}
.nav-soft::after { display: none; }
.nav-links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad); transition: width 0.3s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links a:not(.btn):hover::after,
.nav-links a.active::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 170px 0 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; transition: transform 0.3s ease-out; will-change: transform; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; }
.orb--1 { width: 460px; height: 460px; background: radial-gradient(circle, #7c5cff, transparent 70%); top: -120px; left: -80px; animation: float1 16s ease-in-out infinite; }
.orb--2 { width: 420px; height: 420px; background: radial-gradient(circle, #22d3ee, transparent 70%); bottom: -140px; right: -60px; animation: float2 19s ease-in-out infinite; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
@keyframes float1 { 50% { transform: translate(40px, 50px) scale(1.1); } }
@keyframes float2 { 50% { transform: translate(-40px, -40px) scale(1.08); } }

.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center;
}
.hero-text h1 { margin-bottom: 22px; }
.hero-text .lead { max-width: 540px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 0 rgba(34,211,238,0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(34,211,238,0); } 100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); } }

.hero-trust { display: flex; align-items: center; gap: 16px; }
.trust-badge {
  font-size: 1.05rem; letter-spacing: 2px; color: #ffd166;
  padding: 10px 16px; border-radius: 12px;
  background: rgba(255, 209, 102, 0.1); border: 1px solid rgba(255, 209, 102, 0.25);
}
.trust-text { display: flex; flex-direction: column; line-height: 1.3; }
.trust-text strong { color: var(--text); font-size: 0.95rem; }
.trust-text span { color: var(--text-muted); font-size: 0.88rem; }

/* Hero visual */
.hero-image-wrap { position: relative; border-radius: var(--radius-lg); }
.hero-image-wrap img { border-radius: var(--radius-lg); box-shadow: var(--shadow), var(--shadow-glow); border: 1px solid var(--border); }
.hero-float {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: rgba(20, 22, 31, 0.92); backdrop-filter: blur(10px);
  border: 1px solid var(--border-2); border-radius: 14px; padding: 12px 16px;
  box-shadow: var(--shadow);
}
.hero-float strong { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.hero-float span { font-size: 0.78rem; color: var(--text-muted); }
.hf-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 1.1rem; background: var(--accent-soft); color: var(--accent-2); }
.hf-icon--green { background: rgba(52, 211, 153, 0.16); color: #34d399; }
.hero-float--top { top: 26px; left: -30px; animation: bob 4.5s ease-in-out infinite; }
.hero-float--bottom { bottom: 30px; right: -24px; animation: bob 4.5s ease-in-out infinite 0.6s; }
@keyframes bob { 50% { transform: translateY(-12px); } }

/* Logo strip */
.logo-strip { margin-top: 80px; text-align: center; }
.logo-strip > span { display: block; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 18px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; }
.logo-row span { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--text-dim); opacity: 0.7; transition: color 0.3s, opacity 0.3s; }
.logo-row span:hover { color: var(--text); opacity: 1; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--border); }
.about-badge {
  position: absolute; bottom: -26px; right: -20px;
  background: var(--grad); color: #fff; padding: 20px 24px; border-radius: var(--radius);
  box-shadow: var(--shadow-glow); display: flex; align-items: center; gap: 14px;
}
.about-badge strong { font-family: var(--font-head); font-size: 2.2rem; line-height: 1; }
.about-badge span { font-size: 0.85rem; line-height: 1.3; opacity: 0.95; }

.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--text-muted); margin-bottom: 18px; }
.about-text strong { color: var(--text); }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 26px 0 32px; }
.about-point { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; font-weight: 500; }
.ap-check { width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-2); display: grid; place-items: center; font-size: 0.75rem; flex-shrink: 0; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s, background 0.3s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: var(--grad-soft); opacity: 0; transition: opacity 0.4s;
}
.card:hover { transform: translateY(-8px); border-color: var(--border-2); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }

.card-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.6rem; margin-bottom: 20px;
  background: var(--accent-soft); border: 1px solid var(--border-2);
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Software development (beta) ---------- */
.softdev-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    var(--grad) border-box;
  padding: 54px 48px;
}
.softdev-glow {
  position: absolute; top: -40%; right: -10%; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(124,92,255,0.22), transparent 65%);
  filter: blur(40px); pointer-events: none;
}
.softdev-body { position: relative; max-width: 720px; }
.beta-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-2); padding: 8px 16px; margin-bottom: 22px;
  background: var(--accent-soft); border: 1px solid var(--border-2); border-radius: 100px;
}
.beta-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 0 rgba(34,211,238,0.6); animation: pulse 2s infinite; }
.softdev-card h2 { margin-bottom: 18px; }
.softdev-lead { color: var(--text-muted); font-size: 1.08rem; margin-bottom: 26px; }
.softdev-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.softdev-tags span {
  font-size: 0.85rem; font-weight: 500; color: var(--text);
  padding: 8px 16px; border-radius: 100px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-2);
}
.softdev-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.softdev-note { color: var(--text-dim); font-size: 0.9rem; max-width: 360px; }

/* ---------- Why choose us ---------- */
.why-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
}
.why-card:hover { transform: translateY(-6px); border-color: var(--border-2); box-shadow: var(--shadow); }
.why-icon { font-size: 2rem; margin-bottom: 14px; }
.why-card h4 { margin-bottom: 8px; }
.why-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ---------- Portfolio ---------- */
.portfolio-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
}
.portfolio-card:hover { transform: translateY(-8px); border-color: var(--border-2); box-shadow: var(--shadow); }
.pc-image { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.pc-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.portfolio-card:hover .pc-image img { transform: scale(1.08); }
.pc-tag {
  position: absolute; top: 14px; left: 14px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
  background: rgba(10,11,18,0.78); backdrop-filter: blur(6px);
  color: var(--accent-2); padding: 5px 12px; border-radius: 100px; border: 1px solid var(--border-2);
}
.pc-body { padding: 24px; }
.pc-body h3 { margin-bottom: 8px; }
.pc-body p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 16px; }
.pc-link { color: var(--accent-2); font-weight: 600; font-size: 0.9rem; transition: opacity 0.3s; }
.pc-link:hover { opacity: 0.8; }

/* ---------- Process ---------- */
.process-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.process-step {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; display: flex; gap: 18px; align-items: flex-start;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
}
.process-step:hover { transform: translateY(-6px); border-color: var(--border-2); box-shadow: var(--shadow); }
.ps-num {
  font-family: var(--font-head); font-weight: 800; font-size: 1.4rem;
  width: 54px; height: 54px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--border-2); color: var(--accent-2);
}
.ps-body h4 { margin-bottom: 6px; }
.ps-body p { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Statistics ---------- */
.stats-section { padding: 90px 0; overflow: hidden; }
.stats-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(124,92,255,0.12), transparent 70%); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.stat { text-align: center; padding: 20px; }
.stat strong {
  display: block; font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; margin-bottom: 8px;
}
.stat span { color: var(--text-muted); font-size: 0.95rem; font-weight: 500; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 16px;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
}
.testimonial:hover { transform: translateY(-6px); border-color: var(--border-2); box-shadow: var(--shadow); }
.stars { color: #ffd166; letter-spacing: 2px; font-size: 1rem; }
.testimonial blockquote { color: var(--text); font-size: 0.98rem; line-height: 1.7; flex-grow: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.tm-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; color: #fff;
  background: var(--grad); border: 1px solid var(--border-2);
}
.testimonial figcaption strong { display: block; font-size: 0.95rem; }
.testimonial figcaption span { font-size: 0.83rem; color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden; transition: border-color 0.3s, background 0.3s;
}
.faq-item[open] { border-color: var(--border-2); background: var(--bg-card-2); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 24px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.5rem; color: var(--accent-2); font-weight: 400;
  transition: transform 0.3s var(--ease); flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 22px; }
.faq-answer p { color: var(--text-muted); font-size: 0.96rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-info h2 { margin-bottom: 18px; }
.contact-info p { color: var(--text-muted); margin-bottom: 30px; }
.contact-list { display: flex; flex-direction: column; gap: 18px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.ci-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; background: var(--accent-soft); border: 1px solid var(--border-2); flex-shrink: 0; }
.contact-list strong { display: block; font-size: 0.95rem; }
.contact-list span { color: var(--text-muted); font-size: 0.9rem; }
.contact-list a { color: var(--text-muted); font-size: 0.9rem; transition: color 0.2s; }
.contact-list a:hover { color: var(--accent-2); }

.contact-form {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label { font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--text-muted); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 0.95rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  padding: 13px 15px; transition: border-color 0.3s, box-shadow 0.3s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.form-note { margin-top: 16px; color: #34d399; font-weight: 600; font-size: 0.95rem; text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 70px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--border); }
.footer-about p { color: var(--text-muted); font-size: 0.92rem; margin: 16px 0 20px; max-width: 320px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-card); border: 1px solid var(--border-2); transition: transform 0.3s, background 0.3s, color 0.3s; }
.socials a:hover { transform: translateY(-3px); background: var(--accent-soft); color: var(--accent-2); }
.footer-col h4 { margin-bottom: 18px; font-size: 1rem; }
.footer-col a { display: block; color: var(--text-muted); font-size: 0.92rem; margin-bottom: 11px; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 26px; color: var(--text-dim); font-size: 0.86rem; }

/* ---------- Pricing ---------- */
.guarantee-banner {
  display: flex; align-items: center; gap: 18px;
  max-width: 860px; margin: 0 auto 44px;
  background: var(--grad-soft); border: 1px solid var(--border-2); border-radius: var(--radius);
  padding: 20px 26px;
}
.gb-icon { font-size: 2rem; flex-shrink: 0; }
.gb-text strong { display: block; font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 4px; color: var(--text); }
.gb-text span { color: var(--text-muted); font-size: 0.92rem; line-height: 1.55; }

.pricing-software-note {
  max-width: 720px; margin: -20px auto 36px; text-align: center;
  background: var(--bg-card); border: 1px dashed var(--border-2); border-radius: var(--radius-sm);
  padding: 14px 22px; color: var(--text-muted); font-size: 0.92rem; line-height: 1.55;
}
.pricing-software-note strong { color: var(--text); }
.pricing-software-note a { color: var(--accent-2); font-weight: 600; white-space: nowrap; }

.pricing-grid { align-items: stretch; }
.plan-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px 30px; display: flex; flex-direction: column; position: relative;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
}
.plan-card:hover { transform: translateY(-8px); border-color: var(--border-2); box-shadow: var(--shadow); }
.plan-card--featured {
  border-color: transparent; background:
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    var(--grad) border-box;
  box-shadow: var(--shadow), var(--shadow-glow);
}
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 16px; border-radius: 100px;
  white-space: nowrap; box-shadow: 0 8px 20px -8px rgba(124,92,255,0.7);
}
.plan-head { padding-bottom: 22px; border-bottom: 1px solid var(--border); margin-bottom: 22px; }
.plan-head h3 { font-size: 1.4rem; margin-bottom: 6px; }
.plan-tagline { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 18px; }
.plan-price { font-family: var(--font-head); font-weight: 800; font-size: 2.7rem; line-height: 1; color: var(--text); display: flex; align-items: baseline; gap: 2px; }
.plan-currency { font-size: 1.4rem; font-weight: 700; color: var(--text-muted); }
.plan-period { font-family: var(--font); font-size: 0.85rem; font-weight: 500; color: var(--text-dim); margin-left: 8px; align-self: center; }
.plan-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; flex-grow: 1; }
.plan-features li { position: relative; padding-left: 28px; font-size: 0.92rem; color: var(--text); line-height: 1.45; }
.plan-features li::before {
  position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.7rem; font-weight: 700;
}
.plan-features li.yes::before { content: '✓'; background: var(--accent-soft); color: var(--accent-2); }
.plan-features li.no { color: var(--text-dim); }
.plan-features li.no::before { content: '✕'; background: rgba(255,255,255,0.05); color: var(--text-dim); }
.plan-features li.note { padding-left: 0; font-size: 0.82rem; color: var(--text-dim); font-style: italic; border-top: 1px dashed var(--border); padding-top: 12px; }
.plan-features li.note::before { content: none; }
.plan-addon {
  background: var(--bg); border: 1px dashed var(--border-2); border-radius: var(--radius-sm);
  padding: 12px 14px; margin-bottom: 22px; font-size: 0.88rem; color: var(--text);
}
.plan-addon strong { color: var(--accent-2); }
.plan-addon span { display: block; color: var(--text-dim); font-size: 0.8rem; margin-top: 3px; }
.plan-btn { margin-top: auto; }
.pricing-foot { text-align: center; margin-top: 40px; color: var(--text-muted); }
.pricing-foot a { color: var(--accent-2); font-weight: 600; }

/* ---------- Minecraft plugins (blocky theme) ---------- */
.mc-section { position: relative; overflow: hidden; background: #11160f; }
.mc-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(124, 200, 80, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 200, 80, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 40%, transparent 80%);
}
.mc-section .container { position: relative; }
.mc-eyebrow { color: #8bd450; background: rgba(124, 200, 80, 0.14); border-color: rgba(124, 200, 80, 0.4); }
.mc-title {
  font-family: 'Press Start 2P', var(--font-head); font-weight: 400;
  font-size: clamp(1.3rem, 3.4vw, 2.1rem); line-height: 1.4; letter-spacing: 0;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.5);
}

/* Compatibility chips */
.mc-compat { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin: 0 auto 36px; max-width: 760px; }
.mc-compat-label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: #7d9b63; }
.mc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mc-chips span {
  font-family: 'Press Start 2P', var(--font-head); font-size: 0.6rem; color: #d7f0c2;
  background: #2c3a22; border: 2px solid #3e5230; box-shadow: inset -2px -2px 0 #20291a, inset 2px 2px 0 #4f6b3c;
  padding: 8px 10px;
}

/* Pay-after guarantee (minecrafty) */
.mc-guarantee {
  display: flex; align-items: center; gap: 18px; max-width: 820px; margin: 0 auto 46px;
  background: #1b2415; border: 2px solid #4a7a2e;
  box-shadow: inset -3px -3px 0 #141a10, inset 3px 3px 0 #5f9e3b; padding: 20px 24px;
}
.mc-creeper { font-size: 2rem; flex-shrink: 0; }
.mc-guarantee strong { display: block; font-family: var(--font-head); font-size: 1.08rem; color: #aee87a; margin-bottom: 4px; }
.mc-guarantee span { color: #b9c7ab; font-size: 0.92rem; line-height: 1.55; }

/* Group sub-headings */
.mc-subhead {
  font-family: 'Press Start 2P', var(--font-head); font-weight: 400;
  font-size: 0.85rem; color: #aee87a; text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
  text-align: center; margin: 8px 0 26px; letter-spacing: 0.02em;
}
.mc-subhead--packs { margin-top: 54px; }
.mc-loaders { text-align: center; color: #9fb18d; font-size: 0.9rem; margin: -16px 0 26px; }
.mc-loaders strong { color: #d7f0c2; }

/* Tier cards (blocks) */
.mc-grid { align-items: stretch; margin-bottom: 0; }
.mc-card {
  background: #1c2417; border: 3px solid #3e5230;
  box-shadow: inset -4px -4px 0 #141a10, inset 4px 4px 0 #506b3c, var(--shadow);
  display: flex; flex-direction: column; position: relative;
  transition: transform 0.25s var(--ease);
}
.mc-card:hover { transform: translateY(-6px); }
.mc-card--featured { border-color: #5fa83c; box-shadow: inset -4px -4px 0 #14200d, inset 4px 4px 0 #7ed24e, 0 0 50px -12px rgba(124,200,80,0.5); }
.mc-popular {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  font-family: 'Press Start 2P', var(--font-head); font-size: 0.55rem; color: #11160f;
  background: #7ed24e; padding: 7px 14px; box-shadow: 2px 2px 0 rgba(0,0,0,0.5); white-space: nowrap;
}
.mc-card-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 3px solid #141a10;
}
.mc-top--iron { background: linear-gradient(#9aa0a6, #6f757b); }
.mc-top--diamond { background: linear-gradient(#5fd4e6, #2aa7bd); }
.mc-top--netherite { background: linear-gradient(#5a5258, #2f2a2e); }
.mc-top--copper { background: linear-gradient(#e08552, #b25a32); }
.mc-top--emerald { background: linear-gradient(#3fd07e, #1f9b56); }
.mc-top--amethyst { background: linear-gradient(#b07ee6, #7d4bbd); }
.mc-top--lapis { background: linear-gradient(#4f7fd6, #2c4f9e); }
.mc-top--gold { background: linear-gradient(#f1c34a, #c9962a); }
.mc-top--redstone { background: linear-gradient(#d2493a, #9e2b22); }
.mc-tier { font-family: 'Press Start 2P', var(--font-head); font-size: 0.85rem; color: #fff; text-shadow: 2px 2px 0 rgba(0,0,0,0.45); }
.mc-block { font-size: 1.5rem; filter: drop-shadow(2px 2px 0 rgba(0,0,0,0.4)); }
.mc-card-body { padding: 24px 22px; display: flex; flex-direction: column; flex-grow: 1; }
.mc-tagline { color: #9fb18d; font-size: 0.92rem; margin-bottom: 14px; }
.mc-price { font-family: 'Press Start 2P', var(--font-head); font-size: 1.7rem; color: #aee87a; margin-bottom: 22px; text-shadow: 2px 2px 0 rgba(0,0,0,0.5); }
.mc-cur { font-size: 1rem; vertical-align: top; margin-right: 2px; }
.mc-features { display: flex; flex-direction: column; gap: 11px; margin-bottom: 24px; flex-grow: 1; }
.mc-features li { position: relative; padding-left: 26px; font-size: 0.9rem; color: #d4e0c8; line-height: 1.45; }
.mc-features li::before { content: '▰'; position: absolute; left: 0; top: 0; color: #7ed24e; font-size: 0.85rem; }

/* Minecraft buttons */
.mc-btn {
  font-family: 'Press Start 2P', var(--font-head); font-size: 0.62rem; line-height: 1.5;
  color: #fff; text-shadow: 2px 2px 0 rgba(0,0,0,0.45); text-align: center;
  background: #6f757b; border: none; padding: 14px 16px; margin-top: auto;
  box-shadow: inset -3px -3px 0 #3f4347, inset 3px 3px 0 #9aa0a6; cursor: pointer;
  transition: transform 0.1s, filter 0.2s;
}
.mc-btn:hover { filter: brightness(1.12); }
.mc-btn:active { transform: translateY(2px); box-shadow: inset 3px 3px 0 #3f4347, inset -3px -3px 0 #9aa0a6; }
.mc-btn--green { background: #5fa83c; box-shadow: inset -3px -3px 0 #2f6a1d, inset 3px 3px 0 #84d35a; }

.mc-foot { text-align: center; margin-top: 38px; color: #9fb18d; font-size: 0.95rem; max-width: 760px; margin-left: auto; margin-right: auto; }
.mc-foot a { color: #8bd450; font-weight: 600; }

/* Minecraft mini-game: Creeper Whack */
.mc-game { max-width: 540px; margin: 64px auto 0; text-align: center; }
.mc-game .mc-subhead { margin-bottom: 8px; }
.mc-game-hud { display: flex; justify-content: center; align-items: stretch; gap: 12px; margin: 20px 0; flex-wrap: wrap; }
.mc-stat {
  background: #1c2417; border: 2px solid #3e5230;
  box-shadow: inset -2px -2px 0 #141a10, inset 2px 2px 0 #506b3c;
  padding: 9px 14px; min-width: 78px; display: flex; flex-direction: column; gap: 5px; justify-content: center;
}
.mc-stat span { font-family: 'Press Start 2P', var(--font-head); font-size: 0.5rem; letter-spacing: 0.05em; color: #7d9b63; }
.mc-stat strong { font-family: 'Press Start 2P', var(--font-head); font-size: 0.95rem; color: #aee87a; }
.mc-game .mc-btn { margin-top: 0; align-self: stretch; display: flex; align-items: center; padding: 0 20px; }
.mc-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 360px; margin: 0 auto; }
.mc-cell {
  aspect-ratio: 1; cursor: pointer; position: relative; overflow: hidden;
  background: linear-gradient(#6b4a2f, #4a3320); border: 3px solid #34250f;
  box-shadow: inset -4px -4px 0 #2c1f12, inset 4px 4px 0 #7d5736;
  display: flex; align-items: center; justify-content: center;
}
.mc-cell:active { box-shadow: inset 4px 4px 0 #2c1f12, inset -4px -4px 0 #7d5736; }
.mc-pop { width: 74%; height: 74%; display: flex; align-items: center; justify-content: center; animation: mcPop 0.16s ease-out; }
.mc-emoji { font-size: clamp(1.6rem, 7vw, 2.3rem); line-height: 1; }
.mc-creeper-face {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><rect width='8' height='8' fill='%236cc349'/><rect x='1.3' y='1.3' width='1.7' height='2.1' fill='%23173a12'/><rect x='5' y='1.3' width='1.7' height='2.1' fill='%23173a12'/><rect x='3.15' y='3.3' width='1.7' height='1.5' fill='%23173a12'/><rect x='2.5' y='4.8' width='1.05' height='1.7' fill='%23173a12'/><rect x='4.45' y='4.8' width='1.05' height='1.7' fill='%23173a12'/></svg>");
  background-size: contain; background-repeat: no-repeat; background-position: center; image-rendering: pixelated;
}
@keyframes mcPop { from { transform: scale(0.2); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.mc-flash {
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  font-family: 'Press Start 2P', var(--font-head); font-size: 0.7rem; color: #aee87a;
  text-shadow: 1px 1px 0 #000; pointer-events: none; animation: mcFlash 0.55s ease-out forwards;
}
.mc-flash.bad { color: #ff6b5e; }
@keyframes mcFlash { to { transform: translate(-50%, -24px); opacity: 0; } }
.mc-game-msg { margin-top: 16px; font-family: var(--font-head); font-weight: 700; color: #aee87a; font-size: 1rem; min-height: 1.2em; }
.mc-mute {
  background: #1c2417; border: 2px solid #3e5230;
  box-shadow: inset -2px -2px 0 #141a10, inset 2px 2px 0 #506b3c;
  padding: 0 14px; font-size: 1.15rem; cursor: pointer; color: #aee87a;
}
.mc-mute.off { opacity: 0.55; }
.mc-board.shake { animation: mcShake 0.4s ease; }
@keyframes mcShake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-6px); }
  40%, 60% { transform: translateX(6px); }
}

/* ---------- Order modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(5, 6, 10, 0.74); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 20px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  position: relative; width: 100%; max-width: 620px; margin: auto;
  background: var(--bg-card); border: 1px solid var(--border-2); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow);
  transform: translateY(24px) scale(0.98); transition: transform 0.35s var(--ease);
}
.modal-overlay.open .modal { transform: none; }
.modal-close {
  position: absolute; top: 16px; right: 18px; width: 38px; height: 38px; border-radius: 50%;
  font-size: 1.6rem; line-height: 1; color: var(--text-muted);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border); transition: background 0.2s, color 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.1); color: var(--text); }
.modal-head { margin-bottom: 22px; padding-right: 30px; }
.modal-head h3 { font-size: 1.5rem; margin-bottom: 8px; }
.modal-head p { color: var(--text-muted); font-size: 0.95rem; }
.order-summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--grad-soft); border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  padding: 16px 20px; margin-bottom: 24px;
}
.os-label { display: block; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 2px; }
.order-summary strong { font-family: var(--font-head); font-size: 1.15rem; }
.os-price { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.order-form .field label .opt { color: var(--text-dim); font-weight: 400; }
.maint-toggle {
  display: flex; align-items: flex-start; gap: 12px; cursor: pointer;
  background: var(--bg); border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  padding: 14px 16px; margin-bottom: 20px; font-size: 0.9rem; color: var(--text);
}
.maint-toggle[hidden] { display: none; }
.maint-toggle input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; cursor: pointer; }
.maint-toggle strong { color: var(--accent-2); }
.maint-toggle em { color: var(--text-dim); font-style: normal; font-size: 0.82rem; }
.maint-included {
  background: var(--accent-soft); border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  padding: 14px 16px; margin-bottom: 20px; font-size: 0.9rem; color: var(--accent-2); font-weight: 600;
}
.order-reassure {
  font-size: 0.85rem; color: var(--text-muted); line-height: 1.5;
  text-align: center; margin-bottom: 16px;
}
.order-reassure strong { color: var(--text); }

/* Minecrafty order modal (for plugin orders) */
.modal--mc {
  background: #1b2415; border: 3px solid #5fa83c;
  box-shadow: inset -4px -4px 0 #131a0d, inset 4px 4px 0 #79c24c, var(--shadow);
}
.modal--mc .modal-head .eyebrow {
  font-family: 'Press Start 2P', var(--font-head); font-size: 0.55rem; letter-spacing: 0.04em;
  color: #11160f; background: #7ed24e; border: none; border-radius: 0;
}
.modal--mc #orderModalTitle { color: #aee87a; text-shadow: 2px 2px 0 rgba(0,0,0,0.4); }
.modal--mc .modal-head p { color: #b9c7ab; }
.modal--mc .modal-close { color: #aee87a; }
.modal--mc .order-summary {
  background: #16200f; border: 2px solid #4a7a2e; border-radius: 0;
  box-shadow: inset -2px -2px 0 #0f1709, inset 2px 2px 0 #5f9e3b;
}
.modal--mc .os-label { color: #7d9b63; }
.modal--mc .order-summary strong { color: #d7f0c2; }
.modal--mc .os-price { background: none; -webkit-text-fill-color: #aee87a; color: #aee87a; text-shadow: 2px 2px 0 rgba(0,0,0,0.4); }
.modal--mc .maint-included {
  background: rgba(124, 200, 80, 0.14); border-color: #4a7a2e; color: #aee87a; border-radius: 0;
}
.modal--mc .field input:focus,
.modal--mc .field textarea:focus { border-color: #5fa83c; box-shadow: 0 0 0 3px rgba(124, 200, 80, 0.18); }
.modal--mc button[type="submit"] {
  font-family: 'Press Start 2P', var(--font-head); font-size: 0.7rem; line-height: 1.6;
  background: #5fa83c; color: #fff; text-shadow: 2px 2px 0 rgba(0,0,0,0.4);
  border-radius: 0; box-shadow: inset -3px -3px 0 #2f6a1d, inset 3px 3px 0 #84d35a;
}
.modal--mc button[type="submit"]:hover { filter: brightness(1.12); transform: none; box-shadow: inset -3px -3px 0 #2f6a1d, inset 3px 3px 0 #84d35a; }
.modal--mc button[type="submit"]:active { transform: translateY(2px); }
body.modal-open { overflow: hidden; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Cool animations ---------- */
/* Flowing gradient text */
.gradient-text { background-size: 220% auto; animation: textFlow 6s linear infinite; }
@keyframes textFlow { to { background-position: 220% center; } }

/* Shine sweep across primary buttons on hover */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: ''; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg); transition: left 0.7s var(--ease); pointer-events: none;
}
.btn--primary:hover::after { left: 130%; }

/* Gently floating hero image */
.hero-image-wrap { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Pulsing glow on the featured plan card */
.plan-card--featured { animation: glowPulse 3.5s ease-in-out infinite; }
@keyframes glowPulse {
  0%, 100% { box-shadow: var(--shadow), 0 0 50px -16px rgba(124, 92, 255, 0.5); }
  50%      { box-shadow: var(--shadow), 0 0 75px -6px rgba(124, 92, 255, 0.85); }
}

/* Snappier transform while a card is being tilted by the cursor */
.tilt-active { transition: transform 0.12s ease-out, border-color 0.3s, box-shadow 0.4s !important; }

/* Animated underline under section headings */
.section-head h2 { position: relative; display: inline-block; }
.section-head h2::after {
  content: ''; position: absolute; left: 50%; bottom: -14px; width: 0; height: 3px; border-radius: 3px;
  background: var(--grad); transform: translateX(-50%); transition: width 0.8s var(--ease) 0.2s;
}
.section-head.in h2::after, .reveal.in .section-head h2::after { width: 64px; }
.section-head.reveal.in h2::after { width: 64px; }

/* ---------- Ambient (always-on) animations ---------- */
@property --bd { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

/* Floating particles in the hero */
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.particle {
  position: absolute; bottom: -24px; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.95), rgba(34, 211, 238, 0.15) 70%);
  animation-name: floatUp; animation-timing-function: linear; animation-iteration-count: infinite;
}
@keyframes floatUp {
  0%   { transform: translateY(0) translateX(0) scale(0.7); opacity: 0; }
  10%  { opacity: 0.85; }
  85%  { opacity: 0.5; }
  100% { transform: translateY(calc(var(--rise, 760px) * -1)) translateX(var(--drift, 30px)) scale(1); opacity: 0; }
}

/* Auto-scrolling industry marquee */
.logo-marquee {
  overflow: hidden; margin-top: 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logo-track { display: flex; align-items: center; gap: 48px; width: max-content; animation: marquee 26s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-track span {
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem;
  color: var(--text-dim); opacity: 0.75; white-space: nowrap; transition: color 0.3s, opacity 0.3s;
}
.logo-track span:hover { color: var(--text); opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Continuously bobbing service-card icons */
.service-card .card-icon { animation: iconBob 3.6s ease-in-out infinite; }
.service-card:nth-child(2n) .card-icon { animation-delay: -1.2s; }
.service-card:nth-child(3n) .card-icon { animation-delay: -2.4s; }
.service-card:nth-child(4n) .card-icon { animation-delay: -0.6s; }
@keyframes iconBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* Rotating gradient border on the featured plan card */
.plan-card--featured {
  background:
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    conic-gradient(from var(--bd), #7c5cff, #22d3ee, #5b8def, #7c5cff) border-box;
  animation: glowPulse 3.5s ease-in-out infinite, spinBorder 8s linear infinite;
}
@keyframes spinBorder { to { --bd: 360deg; } }

/* Drifting blocks in the Minecraft section */
.mc-floaties { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.mc-floaty { position: absolute; width: 26px; height: 26px; opacity: 0.16; border-radius: 3px; }
.mc-floaty:nth-child(1) { left: 7%;  top: 16%; background: #6cc349; animation: mcFloat 9s ease-in-out infinite; }
.mc-floaty:nth-child(2) { left: 86%; top: 22%; background: #5fd4e6; animation: mcFloat 11s ease-in-out infinite -2s; }
.mc-floaty:nth-child(3) { left: 18%; top: 70%; background: #b07ee6; animation: mcFloat 10s ease-in-out infinite -4s; }
.mc-floaty:nth-child(4) { left: 78%; top: 66%; background: #e0b53f; animation: mcFloat 12s ease-in-out infinite -1s; }
.mc-floaty:nth-child(5) { left: 46%; top: 10%; background: #d2493a; animation: mcFloat 13s ease-in-out infinite -5s; }
.mc-floaty:nth-child(6) { left: 60%; top: 80%; background: #6cc349; animation: mcFloat 10.5s ease-in-out infinite -3s; }
@keyframes mcFloat { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-30px) rotate(14deg); } }
.mc-section .container { z-index: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-timeline { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px) {
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(300px, 80vw);
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 8px;
    background: var(--bg-alt); border-left: 1px solid var(--border);
    padding: 100px 28px 40px; transform: translateX(100%); transition: transform 0.4s var(--ease);
    box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a:not(.btn) { width: 100%; padding: 10px 0; font-size: 1.05rem; }
  .nav-links .btn { width: 100%; margin-top: 10px; }
  .nav-toggle { display: flex; z-index: 810; }
}

@media (max-width: 860px) {
  .section { padding: 80px 0; }

  .hero { padding: 140px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { order: -1; max-width: 460px; margin: 0 auto; }
  .hero-float--top { left: 0; }
  .hero-float--bottom { right: 0; }

  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-media { max-width: 480px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 620px) {
  .grid-3, .grid-4, .stats, .process-timeline { grid-template-columns: 1fr; }
  .stats { gap: 32px; }
  .about-points { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .modal-overlay { padding: 20px 14px; }
  .modal { padding: 26px 22px; }
  .order-summary { padding: 14px 16px; }
  .guarantee-banner { flex-direction: column; text-align: center; gap: 10px; padding: 20px; }
  .softdev-card { padding: 34px 24px; }
  .softdev-note { max-width: none; }
  .mc-guarantee { flex-direction: column; text-align: center; gap: 12px; }
  .about-badge { right: 10px; bottom: -20px; padding: 16px 18px; }
  .hero-float { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
