/* ============================================================
   Orbex Studio — styles.css
   Dark SaaS / Gaming / Community aesthetic
   Font: Syne (headings) + DM Sans (body)
   ============================================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
  --bg:          #080b12;
  --bg-alt:      #0c1018;
  --surface:     rgba(255,255,255,0.04);
  --surface-hover: rgba(255,255,255,0.07);
  --border:      rgba(255,255,255,0.08);
  --border-glow: rgba(99,179,237,0.25);

  --text:        #e8edf5;
  --text-muted:  #7a8799;
  --text-dim:    #4a5568;

  --accent:      #5b8df6;
  --accent-2:    #a78bfa;
  --accent-green:#34d399;
  --accent-orange:#fb923c;

  --grad-1: linear-gradient(135deg, #5b8df6 0%, #a78bfa 100%);
  --grad-2: linear-gradient(135deg, #1a2035 0%, #0c1018 100%);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;

  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(91,141,246,0.15);
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ---------- UTILITY ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.gradient-text {
  background: var(--grad-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-primary {
  background: var(--grad-1);
  color: #fff;
  box-shadow: 0 4px 20px rgba(91,141,246,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(91,141,246,0.5);
}
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--surface-hover);
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(8,11,18,0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled { background: rgba(8,11,18,0.95); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
}
/* Your actual logo image */
.logo-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 15px;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: 8px; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  margin-left: auto;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 20px;
  gap: 12px;
  border-top: 1px solid var(--border);
}
.nav-mobile a { color: var(--text-muted); font-size: 15px; padding: 4px 0; }
.nav-mobile .btn { margin-top: 8px; text-align: center; justify-content: center; }
.nav-mobile.open { display: flex; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  animation: orbFloat 8s ease-in-out infinite;
}
.orb-1 { width:500px;height:500px;background:radial-gradient(circle,#5b8df6,transparent);top:-100px;left:-100px;animation-delay:0s; }
.orb-2 { width:400px;height:400px;background:radial-gradient(circle,#a78bfa,transparent);top:30%;right:-80px;animation-delay:3s; }
.orb-3 { width:300px;height:300px;background:radial-gradient(circle,#34d399,transparent);bottom:0;left:40%;animation-delay:5s; }
@keyframes orbFloat {
  0%,100%{transform:translate(0,0) scale(1)}
  33%{transform:translate(20px,-30px) scale(1.05)}
  66%{transform:translate(-15px,20px) scale(0.97)}
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,0.025) 1px,transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(91,141,246,0.1);
  border: 1px solid rgba(91,141,246,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease both;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:0.5;transform:scale(0.8)}
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
  animation: fadeUp 0.6s 0.1s ease both;
}
.hero-sub {
  max-width: 560px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeUp 0.6s 0.2s ease both;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}

/* Floating cards */
.floating-cards {
  position: absolute;
  right: 0;
  top: 30%;
  transform: translateY(-30%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: fadeUp 0.6s 0.4s ease both;
}
.float-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  min-width: 220px;
}
.float-card-1{animation:floatA 5s ease-in-out infinite}
.float-card-2{animation:floatB 6s ease-in-out infinite}
.float-card-3{animation:floatC 4.5s ease-in-out infinite}
@keyframes floatA{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes floatB{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes floatC{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}

.fcard-icon{font-size:22px;flex-shrink:0}
.fcard-text{display:flex;flex-direction:column;flex:1;min-width:0}
.fcard-text strong{font-size:13px;font-weight:600;white-space:nowrap}
.fcard-text span{font-size:11px;color:var(--text-muted);white-space:nowrap}
.fcard-status{width:8px;height:8px;border-radius:50%;margin-left:auto;flex-shrink:0}
.fcard-status.online{background:var(--accent-green);box-shadow:0 0 8px var(--accent-green);animation:pulse 2s infinite}

/* Online members counter in card */
.fcard-members {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--accent-green);
  font-weight: 600;
}
.fcard-members-dot {
  width: 6px; height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent-green);
  animation: pulse 2s infinite;
}

/* ---------- STATS ---------- */
.stats-section {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2px;
}
.stat-item {
  text-align: center;
  padding: 28px 20px;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content:'';
  position:absolute;
  right:0;top:20%;height:60%;
  width:1px;
  background:var(--border);
}
.stat-number {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  background: var(--grad-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.stat-label {
  color: var(--text-muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- SECTION BASE ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  background: rgba(91,141,246,0.1);
  border: 1px solid rgba(91,141,246,0.2);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 540px;
  margin: 0 auto;
}

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content:'';position:absolute;inset:0;
  background:var(--grad-1);opacity:0;
  transition:opacity var(--transition);
}
.service-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow),var(--shadow-card);
}
.service-card:hover::before{opacity:0.04}
.service-icon{font-size:36px;margin-bottom:20px;display:block}
.service-card h3{font-family:var(--font-head);font-size:20px;font-weight:700;margin-bottom:10px;position:relative}
.service-card p{color:var(--text-muted);font-size:15px;line-height:1.7;position:relative}

/* ---------- PRODUCTS ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow),var(--shadow-card);
}

/* Product image area */
.product-img-wrap {
  width: 100%;
  height: 160px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #0f1623, #141d2e);
  flex-shrink: 0;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
/* Fallback icon shown when image fails */
.product-img-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  opacity: 0.6;
}

.product-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.product-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.badge-coming {
  background: rgba(251,146,60,0.12);
  color: var(--accent-orange);
  border: 1px solid rgba(251,146,60,0.25);
}
.badge-available {
  background: rgba(52,211,153,0.12);
  color: var(--accent-green);
  border: 1px solid rgba(52,211,153,0.25);
}
.product-card h3{font-family:var(--font-head);font-size:17px;font-weight:700;margin-bottom:8px}
.product-card p{color:var(--text-muted);font-size:14px;line-height:1.6;flex:1}
.product-price{margin-top:16px;font-family:var(--font-head);font-size:15px;font-weight:700;color:var(--accent)}

/* ---------- REVIEWS ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}
.review-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
}
.review-card.featured {
  border-color: rgba(91,141,246,0.35);
  background: rgba(91,141,246,0.05);
}
.stars{color:#fbbf24;font-size:14px;margin-bottom:14px;letter-spacing:2px}
.review-text{font-size:15px;line-height:1.7;color:var(--text);margin-bottom:20px;font-style:italic}
.review-author{display:flex;align-items:center;gap:12px}

/* Avatar: supports both image and color fallback */
.review-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1);
}
.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.review-author-info strong{display:block;font-size:14px;font-weight:600}
.review-author-info span{font-size:12px;color:var(--text-muted)}

/* ---------- CONTACT ---------- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-left .section-tag{margin-bottom:16px}
.contact-left h2{font-family:var(--font-head);font-size:clamp(28px,4vw,42px);font-weight:800;letter-spacing:-1px;margin-bottom:16px}
.contact-left p{color:var(--text-muted);font-size:16px;margin-bottom:32px}
.contact-links{display:flex;gap:14px;flex-wrap:wrap}
.contact-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:32px}
.contact-card h3{font-family:var(--font-head);font-size:20px;font-weight:700;margin-bottom:24px}
.form-group{margin-bottom:18px}
.form-group label{display:block;font-size:13px;font-weight:500;color:var(--text-muted);margin-bottom:8px;text-transform:uppercase;letter-spacing:0.5px}
.form-group input,.form-group textarea{width:100%;background:rgba(255,255,255,0.04);border:1px solid var(--border);border-radius:var(--radius-sm);padding:12px 14px;color:var(--text);font-family:var(--font-body);font-size:15px;outline:none;transition:border-color var(--transition);resize:vertical}
.form-group input:focus,.form-group textarea:focus{border-color:var(--accent)}
.form-group input::placeholder,.form-group textarea::placeholder{color:var(--text-dim)}

/* ---------- FOOTER ---------- */
.footer{background:var(--bg-alt);border-top:1px solid var(--border);padding:80px 0 0}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:48px;padding-bottom:64px}
.footer-brand p{color:var(--text-muted);font-size:14px;margin:16px 0 20px;max-width:260px}
.footer-socials{display:flex;gap:12px}
.footer-socials a{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-muted);transition:var(--transition)}
.footer-socials a:hover{color:var(--text);border-color:var(--border-glow);background:var(--surface-hover)}
.footer-col h4{font-family:var(--font-head);font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:1px;margin-bottom:20px;color:var(--text)}
.footer-col a{display:block;color:var(--text-muted);font-size:14px;margin-bottom:10px;transition:color var(--transition)}
.footer-col a:hover{color:var(--accent)}
.footer-bottom{border-top:1px solid var(--border);padding:24px 0;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}
.footer-bottom p{color:var(--text-dim);font-size:13px}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
.reveal{opacity:0;transform:translateY(30px);transition:opacity 0.6s ease,transform 0.6s ease}
.reveal.visible{opacity:1;transform:translateY(0)}

/* ---------- RESPONSIVE ---------- */
@media(max-width:1024px){
  .floating-cards{display:none}
  .contact-wrapper{grid-template-columns:1fr;gap:40px}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:768px){
  .nav-links,.nav-cta{display:none}
  .nav-toggle{display:flex}
  .hero{padding:100px 24px 60px}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .stat-item::after{display:none}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;text-align:center}
}
@media(max-width:480px){
  .hero-title{letter-spacing:-1px}
  .stats-grid{grid-template-columns:1fr 1fr}
}


/* ============================================================
   NEW ADDITIONS — Modals, Plans, Product Details, Stars, Dots
   ============================================================ */

/* ---------- FLOATING CARD STATUS DOTS ---------- */
.status-yellow {
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-left: auto;
  flex-shrink: 0;
  background: #facc15;
  box-shadow: 0 0 8px #facc15;
  animation: pulse 2s infinite;
}
.status-green {
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-left: auto;
  flex-shrink: 0;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse 2s infinite;
}

/* ---------- SERVICE BUTTON ---------- */
.service-btn {
  margin-top: 20px;
  width: 100%;
  justify-content: center;
  font-size: 14px;
  padding: 10px 16px;
  position: relative;
  z-index: 1;
}
.service-btn:hover {
  background: rgba(91,141,246,0.12);
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- PRODUCT FOOTER (price + details button) ---------- */
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.product-details-btn {
  font-size: 13px;
  padding: 8px 14px;
  flex-shrink: 0;
}
.product-details-btn:hover {
  background: rgba(91,141,246,0.12);
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- STARS (per-review rating) ---------- */
.stars { margin-bottom: 14px; display: flex; gap: 2px; }
.star { font-size: 15px; }
.star-filled { color: #fbbf24; }
.star-empty  { color: #374151; }

/* ---------- MODAL OVERLAY ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  overflow-y: auto;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: #0f1623;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 40px;
  max-width: 900px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.modal-overlay.open .modal-box {
  transform: translateY(0);
}
.modal-box::-webkit-scrollbar { width: 6px; }
.modal-box::-webkit-scrollbar-track { background: transparent; }
.modal-box::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }

.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 16px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}
.modal-close:hover { background: rgba(255,255,255,0.1); color: var(--text); }

.modal-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.modal-icon { font-size: 40px; flex-shrink: 0; line-height: 1; }
.modal-header h2 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}
.modal-header p { color: var(--text-muted); font-size: 14px; }

/* ---------- PLANS GRID ---------- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.plan-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: var(--transition);
}
.plan-card:hover { border-color: var(--border-glow); }
.plan-highlight {
  border-color: rgba(91,141,246,0.5) !important;
  background: rgba(91,141,246,0.06);
  box-shadow: 0 0 30px rgba(91,141,246,0.1);
}
.plan-recommended {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad-1);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.plan-name {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  margin-top: 8px;
}
.plan-price {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 800;
  background: var(--grad-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  line-height: 1;
}
.plan-features {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.plan-check {
  color: var(--accent-green);
  font-size: 13px;
  flex-shrink: 0;
  font-weight: 700;
  margin-top: 1px;
}

/* ---------- PRODUCT DETAIL MODAL ---------- */
.product-detail-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.product-detail-img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  max-height: 260px;
  border: 1px solid var(--border);
}
.product-detail-price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.product-detail-price {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  background: var(--grad-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.product-detail-info h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.product-detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

/* ---------- RESPONSIVE MODAL ---------- */
@media (max-width: 640px) {
  .modal-box { padding: 28px 20px; }
  .plans-grid { grid-template-columns: 1fr; }
  .product-detail-body { grid-template-columns: 1fr; }
  .product-detail-img { max-height: 180px; }
}

/* ---------- MODAL NOTE ROW (demo + docs links) ---------- */
.modal-note-row {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.modal-note-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(91,141,246,0.07);
  border: 1px solid rgba(91,141,246,0.18);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
  flex: 1;
  min-width: 200px;
  line-height: 1.4;
}
.modal-note-link:hover {
  background: rgba(91,141,246,0.14);
  border-color: rgba(91,141,246,0.35);
  color: var(--text);
}
.modal-note-icon {
  font-size: 16px;
  flex-shrink: 0;
}

/* ---------- CONTACT FORM STATUS & SPINNER ---------- */
.form-status {
  font-size: 14px;
  border-radius: var(--radius-sm);
  padding: 0;
  margin-bottom: 0;
  line-height: 1.5;
  transition: all 0.25s ease;
  min-height: 0;
}
.form-status:not(:empty) {
  padding: 12px 14px;
  margin-bottom: 14px;
}
.form-status-success {
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: var(--accent-green);
}
.form-status-error {
  background: rgba(251, 113, 133, 0.1);
  border: 1px solid rgba(251, 113, 133, 0.3);
  color: #fb7185;
}
.form-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-left: 4px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
#formSubmit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}
