/* ============================================================
   HUGAR WildCode — Light Forest Theme
   Clean, nature-inspired, premium feel
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Outfit:wght@100..900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  /* Light palette derived from the logo */
  --c-bg:         #f5f7f0;
  --c-bg-2:       #eef2e6;
  --c-bg-3:       #e4edd6;
  --c-white:      #ffffff;
  --c-green-dark: #2d6a2d;
  --c-green:      #3d8b3d;
  --c-green-mid:  #5aab5a;
  --c-green-light:#7bc47b;
  --c-green-pale: #d4edda;
  --c-amber:      #e07b00;
  --c-teal:       #1a7a5e;
  --c-red:        #c0392b;
  --c-text:       #1a2e1a;
  --c-text-2:     #4a6741;
  --c-text-3:     #7a9a72;
  --c-border:     rgba(61,139,61,0.15);
  --c-border-2:   rgba(61,139,61,0.25);
  --c-card:       rgba(255,255,255,0.85);
  --c-shadow:     rgba(45,106,45,0.12);

  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --radius-xl:    28px;

  --shadow-sm:    0 2px 12px var(--c-shadow);
  --shadow-md:    0 8px 40px var(--c-shadow);
  --shadow-card:  0 4px 24px rgba(45,106,45,0.1);
  --ease:         cubic-bezier(0.22,0.61,0.36,1);
}

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Subtle leaf-pattern background ── */
.bg-leaf-pattern {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cellipse cx='40' cy='20' rx='12' ry='18' fill='%232d6a2d' transform='rotate(0 40 40)'/%3E%3Cellipse cx='40' cy='20' rx='12' ry='18' fill='%232d6a2d' transform='rotate(60 40 40)'/%3E%3Cellipse cx='40' cy='20' rx='12' ry='18' fill='%232d6a2d' transform='rotate(120 40 40)'/%3E%3Cellipse cx='40' cy='20' rx='12' ry='18' fill='%232d6a2d' transform='rotate(180 40 40)'/%3E%3Cellipse cx='40' cy='20' rx='12' ry='18' fill='%232d6a2d' transform='rotate(240 40 40)'/%3E%3Cellipse cx='40' cy='20' rx='12' ry='18' fill='%232d6a2d' transform='rotate(300 40 40)'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}
.bg-orb {
  position: fixed; z-index: 0; border-radius: 50%;
  filter: blur(100px); pointer-events: none;
}
.bg-orb-1 { width:700px; height:700px; background:radial-gradient(circle,rgba(90,171,90,0.1) 0%,transparent 70%); top:-200px; right:-150px; }
.bg-orb-2 { width:500px; height:500px; background:radial-gradient(circle,rgba(61,139,61,0.08) 0%,transparent 70%); bottom:5%; left:-100px; }

.navbar, section, footer, .auth-wrapper, .dashboard-wrapper { position: relative; z-index: 1; }

/* ── Container ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 24px; height: 68px;
  display: flex; align-items: center;
  transition: all 0.3s var(--ease);
}
.navbar.scrolled {
  background: rgba(245,247,240,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--c-border), var(--shadow-sm);
}
.navbar-inner {
  max-width: 1180px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; gap: 32px;
}
.navbar-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.navbar-brand img { height: 40px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 900; color: var(--c-green-dark); letter-spacing: 0.04em; }
.brand-sub  { font-size: 0.65rem; font-weight: 600; color: var(--c-text-3); letter-spacing: 0.12em; text-transform: uppercase; }
.navbar-links {
  display: flex; list-style: none; gap: 4px; margin-left: auto;
}
.navbar-links a {
  text-decoration: none; color: var(--c-text-2); font-size: 0.88rem; font-weight: 500;
  padding: 6px 14px; border-radius: 8px; transition: color 0.2s, background 0.2s;
}
.navbar-links a:hover { color: var(--c-green-dark); background: var(--c-green-pale); }
.navbar-cta { display: flex; gap: 8px; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--c-text-2); border-radius: 2px; transition: all 0.3s; }

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: none; border-radius: var(--radius-md); cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: 0.92rem;
  text-decoration: none; transition: all 0.2s var(--ease);
  white-space: nowrap; line-height: 1;
}
.btn-lg  { padding: 14px 28px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-sm  { padding: 8px 16px; font-size: 0.82rem; border-radius: var(--radius-sm); }
.btn-primary {
  background: linear-gradient(135deg, var(--c-green) 0%, var(--c-green-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(45,106,45,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(45,106,45,0.4); filter: brightness(1.05); }
.btn-primary:active { transform: translateY(0); }
.btn-outline {
  background: transparent; color: var(--c-green-dark);
  border: 1.5px solid var(--c-border-2);
}
.btn-outline:hover { background: var(--c-green-pale); border-color: var(--c-green); }
.btn-ghost { background: rgba(61,139,61,0.07); color: var(--c-text-2); }
.btn-ghost:hover { background: var(--c-green-pale); color: var(--c-green-dark); }
.btn-icon { font-size: 1rem; }

/* ══════════════════════════════════════════
   BADGES
══════════════════════════════════════════ */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 20px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em;
}
.badge-green  { background: #d4edda; color: var(--c-green-dark); border: 1px solid rgba(45,106,45,0.2); }
.badge-teal   { background: #d0eee7; color: var(--c-teal); border: 1px solid rgba(26,122,94,0.2); }
.badge-amber  { background: #fff3cd; color: var(--c-amber); border: 1px solid rgba(224,123,0,0.2); }
.badge-free   { background: #d4edda; color: #1a6b1a; border: 1px solid rgba(26,107,26,0.25); font-size: 0.72rem; }
.badge-beta   { background: #fff3cd; color: #8a5700; border: 1px solid rgba(138,87,0,0.2); }
.badge-paid   { background: #fff8e1; color: var(--c-amber); border: 1px solid rgba(224,123,0,0.2); }
.badge-version { background: #e8f0fe; color: #1a73e8; border: 1px solid rgba(26,115,232,0.25); font-weight: 700; font-family: monospace; }

/* Update notice banner */
.update-notice-banner {
  background: #fff8e6;
  border: 1.5px solid #f5c062;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin: 24px 0 32px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}
.update-notice-banner .notice-icon { font-size: 1.4rem; line-height: 1; flex-shrink: 0; }
.update-notice-banner .notice-text { font-size: 0.88rem; color: #7a4b00; line-height: 1.5; }
.update-notice-banner .notice-text strong { color: #523100; }

.app-version-info { display: flex; flex-direction: column; gap: 4px; }
.version-label { font-size: 0.95rem; font-weight: 700; color: var(--c-text); font-family: 'Outfit', sans-serif; }
.version-sub { font-size: 0.78rem; color: var(--c-text-3); }

/* ══════════════════════════════════════════
   SECTION HELPERS
══════════════════════════════════════════ */
.section-eyebrow {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--c-green); margin-bottom: 8px;
}
.section-divider { width: 40px; height: 3px; background: linear-gradient(90deg, var(--c-green), var(--c-green-pale)); border-radius: 2px; margin-bottom: 16px; }
.section-title   { font-family: 'Outfit', sans-serif; font-size: 2.1rem; font-weight: 900; line-height: 1.2; margin-bottom: 12px; color: var(--c-text); }
.section-sub     { color: var(--c-text-2); font-size: 1rem; max-width: 560px; }

/* ── Fade-up animation ── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 100px 0 64px;
  background: linear-gradient(160deg, #f5f7f0 60%, #e4edd6 100%);
}
.hero-inner { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: center; }
.hero-eyebrow { margin-bottom: 20px; }
.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900; line-height: 1.1; margin-bottom: 22px;
  color: var(--c-text);
}
.accent   { color: var(--c-green-dark); }
.accent-2 { color: var(--c-green); }
.hero-desc { color: var(--c-text-2); font-size: 1.05rem; margin-bottom: 32px; max-width: 520px; line-height: 1.7; }
.hero-cta   { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 32px; }
.stat-item  { display: flex; flex-direction: column; gap: 2px; }
.stat-num   { font-family: 'Outfit', sans-serif; font-size: 1.7rem; font-weight: 800; color: var(--c-green-dark); }
.stat-label { font-size: 0.75rem; color: var(--c-text-3); text-transform: uppercase; letter-spacing: 0.05em; }

/* Hero Logo Display */
.hero-logo-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 0;
}
.hero-logo-wrap img { width: 100%; max-width: 300px; filter: drop-shadow(0 12px 40px rgba(45,106,45,0.2)); }

/* Hero floating preview cards */
.hero-visual { display: flex; flex-direction: column; gap: 14px; }
.app-card-preview {
  display: flex; align-items: center; gap: 14px;
  background: var(--c-card);
  border: 1px solid var(--c-border-2);
  border-radius: var(--radius-xl); padding: 16px 20px;
  text-decoration: none; transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-card);
  animation: floatCard 4s ease-in-out infinite;
}
.app-card-preview:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 40px rgba(45,106,45,0.18); }
.app-card-preview img { width: 52px; height: 52px; border-radius: 13px; object-fit: cover; }
.app-card-preview .acp-info { display: flex; flex-direction: column; }
.app-card-preview .app-name { font-weight: 700; font-size: 0.9rem; color: var(--c-text); }
.app-card-preview .app-tag  { font-size: 0.72rem; color: var(--c-text-3); margin-top: 2px; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* ══════════════════════════════════════════
   APPS SECTION
══════════════════════════════════════════ */
.apps-section { padding: 80px 0; background: var(--c-bg); }

/* Horizontal App Tabs */
.app-tabs-bar {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 0 0 12px; margin-bottom: 28px;
  scrollbar-width: none;
}
.app-tabs-bar::-webkit-scrollbar { display: none; }
.app-tab {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 40px; cursor: pointer;
  border: 1.5px solid var(--c-border-2); background: var(--c-card);
  font-weight: 600; font-size: 0.84rem; color: var(--c-text-2);
  white-space: nowrap; transition: all 0.2s var(--ease);
  flex-shrink: 0;
}
.app-tab:hover { border-color: var(--c-green); color: var(--c-green-dark); background: var(--c-green-pale); }
.app-tab.active { background: var(--c-green-dark); color: #fff; border-color: var(--c-green-dark); box-shadow: 0 4px 16px rgba(45,106,45,0.3); }
.app-tab img { width: 24px; height: 24px; border-radius: 6px; object-fit: cover; }

/* App panels */
.app-panel { display: none; }
.app-panel.active { display: block; animation: panelIn 0.35s var(--ease); }
@keyframes panelIn { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }

.app-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 24px;
}

.app-card-header { display: flex; gap: 22px; align-items: flex-start; }
.app-card-header img {
  width: 88px; height: 88px;
  border-radius: 22px; object-fit: cover; flex-shrink: 0;
  box-shadow: 0 6px 24px rgba(45,106,45,0.2);
}
.app-card-info   { flex: 1; min-width: 0; }
.app-card-name   { font-family: 'Outfit', sans-serif; font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; color: var(--c-text); }
.app-card-desc   { font-size: 0.9rem; color: var(--c-text-2); line-height: 1.65; margin-bottom: 12px; }
.app-card-tags   { display: flex; flex-wrap: wrap; gap: 6px; }

/* Features grid */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.feature-item {
  background: var(--c-bg-2); border: 1px solid var(--c-border);
  border-radius: 10px; padding: 9px 12px;
  font-size: 0.78rem; color: var(--c-text-2);
  display: flex; align-items: center; gap: 7px;
}
.feature-item::before { content: '✓'; color: var(--c-green); font-weight: 700; flex-shrink: 0; }

/* Screenshot strip - horizontal scroll */
.screenshots-label {
  font-size: 0.78rem; font-weight: 600; color: var(--c-text-3);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px;
}
.screenshot-strip {
  display: flex; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px; cursor: grab;
  scrollbar-width: thin; scrollbar-color: var(--c-border-2) transparent;
}
.screenshot-strip:active { cursor: grabbing; }
.screenshot-strip::-webkit-scrollbar { height: 4px; }
.screenshot-strip::-webkit-scrollbar-thumb { background: var(--c-border-2); border-radius: 2px; }
.screenshot-strip img {
  height: 260px; width: auto; flex-shrink: 0;
  border-radius: var(--radius-md); object-fit: cover;
  scroll-snap-align: start;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}
.screenshot-strip img:hover { transform: scale(1.02); }

/* No-screenshot placeholder */
.screenshots-placeholder {
  display: flex; align-items: center; justify-content: center;
  height: 120px; border-radius: var(--radius-lg);
  border: 2px dashed var(--c-border-2);
  color: var(--c-text-3); font-size: 0.85rem; gap: 8px;
  background: var(--c-bg-2);
}

.app-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; border-top: 1px solid var(--c-border);
  flex-wrap: wrap; gap: 14px; margin-top: auto;
}
.app-price { display: flex; flex-direction: column; gap: 3px; }
.price-main  { font-family: 'Outfit', sans-serif; font-size: 1.8rem; font-weight: 900; color: var(--c-green-dark); }
.price-label { font-size: 0.75rem; color: var(--c-text-3); }
.price-free  { font-family: 'Outfit', sans-serif; font-size: 1.8rem; font-weight: 900; color: #1a7a5e; }

/* ══════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════ */
.how-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--c-bg-2) 0%, var(--c-bg) 100%);
}
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 48px;
}
.step-card {
  background: var(--c-white); border: 1px solid var(--c-border);
  border-radius: var(--radius-lg); padding: 24px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--c-border-2); }
.step-num  { position: absolute; top: 14px; right: 18px; font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 900; color: rgba(61,139,61,0.08); line-height: 1; }
.step-icon { font-size: 1.8rem; margin-bottom: 12px; }
.step-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 8px; color: var(--c-text); }
.step-desc  { font-size: 0.82rem; color: var(--c-text-2); line-height: 1.6; }

/* ══════════════════════════════════════════
   PRICING
══════════════════════════════════════════ */
.pricing-section { padding: 80px 0; background: var(--c-bg); }
.pricing-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; max-width: 800px; margin: 40px auto 0;
}
.pricing-card {
  background: var(--c-white); border: 1px solid var(--c-border);
  border-radius: var(--radius-xl); padding: 32px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-card);
}
.pricing-card.featured {
  border-color: var(--c-green); border-width: 2px;
  box-shadow: 0 8px 40px rgba(45,106,45,0.15);
}
.pricing-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--c-green-dark), var(--c-green-light));
}
.pricing-badge  { margin-bottom: 16px; }
.pricing-price  { font-family: 'Outfit', sans-serif; font-size: 3.2rem; font-weight: 900; color: var(--c-green-dark); line-height: 1; }
.pricing-period { font-size: 0.88rem; color: var(--c-text-2); margin: 6px 0 4px; }
.pricing-trial  { font-size: 0.78rem; color: var(--c-text-3); margin-bottom: 20px; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.pricing-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.87rem; color: var(--c-text-2); }
.pricing-features li::before { content: '✓'; color: var(--c-green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.pricing-note { margin-top: 12px; font-size: 0.76rem; color: var(--c-text-3); text-align: center; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer { border-top: 1px solid var(--c-border); background: var(--c-bg-2); padding: 48px 24px 24px; }
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px;
  margin-bottom: 32px;
}
.footer-brand-logo { height: 64px; width: auto; margin-bottom: 12px; }
.footer-brand p { font-size: 0.83rem; color: var(--c-text-2); line-height: 1.6; max-width: 280px; }
.footer-col h4 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-text-3); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { text-decoration: none; color: var(--c-text-2); font-size: 0.86rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--c-green-dark); }
.footer-bottom {
  max-width: 1180px; margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 0.78rem; color: var(--c-text-3);
  border-top: 1px solid var(--c-border); padding-top: 20px;
}

/* ══════════════════════════════════════════
   AUTH PAGE (login.html)
══════════════════════════════════════════ */
.auth-wrapper {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 80px 24px 40px;
  background: linear-gradient(160deg, var(--c-bg) 60%, var(--c-bg-2) 100%);
}
.auth-card {
  background: var(--c-white); border: 1px solid var(--c-border);
  border-radius: var(--radius-xl); padding: 40px;
  width: 100%; max-width: 420px;
  box-shadow: 0 12px 60px rgba(45,106,45,0.12);
}
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-logo img { height: 80px; width: auto; margin-bottom: 10px; }
.auth-logo h1 { font-family: 'Outfit', sans-serif; font-size: 1.3rem; font-weight: 800; line-height: 1.3; margin-bottom: 6px; color: var(--c-text); }
.auth-logo p { font-size: 0.84rem; color: var(--c-text-2); }

.auth-step { display: none; }
.auth-step.active { display: block; }

.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--c-text-2); margin-bottom: 8px; }
.form-input {
  width: 100%; background: var(--c-bg);
  border: 1.5px solid var(--c-border-2); border-radius: var(--radius-md);
  padding: 13px 16px; color: var(--c-text); font-size: 0.95rem; font-family: inherit;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus { border-color: var(--c-green); box-shadow: 0 0 0 3px rgba(61,139,61,0.1); }
.form-input::placeholder { color: var(--c-text-3); }
.form-hint { font-size: 0.75rem; color: var(--c-text-3); margin-top: 6px; }

.msg-error { display: none; color: var(--c-red); font-size: 0.8rem; margin: 8px 0 14px; padding: 8px 12px; background: rgba(192,57,43,0.07); border-radius: 8px; }
.msg-success { display: none; color: var(--c-green-dark); font-size: 0.8rem; margin: 8px 0 14px; padding: 8px 12px; background: var(--c-green-pale); border-radius: 8px; }
.auth-divider { text-align: center; font-size: 0.78rem; color: var(--c-text-3); margin-top: 20px; }

/* OTP inputs */
.otp-inputs { display: flex; gap: 10px; margin-bottom: 16px; justify-content: center; }
.otp-input {
  width: 48px; height: 56px; text-align: center;
  font-size: 1.4rem; font-weight: 700; font-family: 'Outfit', sans-serif;
  background: var(--c-bg); border: 1.5px solid var(--c-border-2);
  border-radius: var(--radius-md); color: var(--c-text); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.otp-input:focus { border-color: var(--c-green); box-shadow: 0 0 0 3px rgba(61,139,61,0.1); }

.resend-btn { background: none; border: none; color: var(--c-text-3); font-size: 0.8rem; cursor: pointer; text-decoration: underline; transition: color 0.2s; }
.resend-btn:not([disabled]):hover { color: var(--c-green-dark); }
.resend-btn[disabled] { cursor: default; text-decoration: none; opacity: 0.5; }

.spinner { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loader-ring { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--c-green-pale); border-top-color: var(--c-green); animation: spin 0.8s linear infinite; }

/* ══════════════════════════════════════════
   DASHBOARD
══════════════════════════════════════════ */
.dashboard-wrapper { padding: 80px 24px 48px; max-width: 1180px; margin: 0 auto; }
.dashboard-apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-bottom: 48px; }
.dash-app-card { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); transition: all 0.3s var(--ease); }
.dash-app-card:hover { border-color: var(--c-green); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.dash-section { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-xl); padding: 28px; box-shadow: var(--shadow-sm); }

/* ══════════════════════════════════════════
   RESPONSIVE & MOBILE FIRST OPTIMIZATION
══════════════════════════════════════════ */
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.hero-eyebrow {
  display: flex;
  justify-content: center;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
  margin-top: 36px;
}

@media (max-width: 900px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .navbar-links {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(10, 22, 10, 0.96) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 20px 24px;
    flex-direction: column;
    gap: 8px;
    border-bottom: 1px solid rgba(74, 222, 128, 0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
  }
  .navbar-links.open { display: flex; }
  .nav-toggle { display: flex; margin-left: auto; }
  .navbar-cta { display: none; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .hero { padding: 95px 0 40px !important; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.7rem) !important; line-height: 1.15 !important; margin-bottom: 16px !important; }
  .hero-desc { font-size: 0.95rem !important; line-height: 1.6 !important; margin-bottom: 24px !important; padding: 0 6px; }
  
  .hero-cta {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.95rem;
  }
  
  .hero-stats {
    width: 100%;
    justify-content: space-around;
    gap: 8px;
    margin-top: 24px;
    padding: 14px 12px;
    background: rgba(14, 28, 14, 0.65);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(74, 222, 128, 0.25);
    border-radius: 16px;
  }
  .stat-num { font-size: 1.5rem !important; }
  .stat-label { font-size: 0.72rem !important; }

  .atmosphere-bar {
    width: 100%;
    border-radius: 18px !important;
    padding: 8px 10px !important;
    gap: 6px !important;
    justify-content: center;
    margin-bottom: 20px !important;
  }
  .atmo-btn {
    font-size: 0.72rem !important;
    padding: 6px 10px !important;
    flex: 1 1 calc(50% - 10px);
    text-align: center;
  }

  .app-tabs-bar {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 8px !important;
    padding-bottom: 10px !important;
    scrollbar-width: none !important;
  }
  .app-tabs-bar::-webkit-scrollbar { display: none; }
  .app-tab {
    padding: 10px 14px !important;
    font-size: 0.85rem !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }

  .app-card {
    padding: 20px 16px !important;
    border-radius: 18px !important;
  }
  .app-card-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
  .app-card-header img {
    width: 58px !important;
    height: 58px !important;
  }
  .features-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .screenshot-strip {
    gap: 10px !important;
    padding-bottom: 10px !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .screenshot-strip img {
    height: 260px !important;
    width: auto !important;
    border-radius: 12px !important;
  }
  .app-card-footer {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
  }
  .app-actions {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }
  .app-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }
}

@media (max-width: 600px) {
  .section-title { font-size: 1.6rem !important; }
  .section-sub { font-size: 0.88rem !important; }
  .steps-grid { grid-template-columns: 1fr !important; }
  .footer-inner { grid-template-columns: 1fr !important; }
}

/* ══════════════════════════════════════════
   DOWNLOAD BUTTON (clean, no emoji)
══════════════════════════════════════════ */
.btn-download {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: var(--radius-md);
  background: var(--c-green-dark); color: #fff;
  font-family: inherit; font-weight: 700; font-size: 0.9rem;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.2s var(--ease);
  box-shadow: 0 3px 14px rgba(45,106,45,0.25);
  letter-spacing: 0.01em;
}
.btn-download::before {
  content: '';
  display: inline-block; width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.7); border-top: none; border-left: none;
  transform: rotate(45deg) translateY(-3px);
  margin-right: 2px;
}
.btn-download:hover {
  background: var(--c-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(45,106,45,0.35);
}
.app-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ══════════════════════════════════════════
   BUNDLE & BETA BANNERS
══════════════════════════════════════════ */
.bundle-banner {
  background: linear-gradient(135deg, #d0eee7, #e8f5f0);
  border-radius: 10px; padding: 11px 16px;
  font-size: 0.86rem; color: var(--c-teal); font-weight: 600;
  margin-bottom: 8px;
}
.beta-banner {
  background: #fff8e1; border-radius: 10px;
  padding: 11px 16px; font-size: 0.86rem;
  color: #8a5700; font-weight: 600; margin-bottom: 8px;
}

/* ══════════════════════════════════════════
   HERO PHONE ANIMATION
══════════════════════════════════════════ */
.hero-anim-wrap {
  position: relative; display: flex;
  justify-content: center; align-items: center;
  padding: 20px 0;
}
.hero-anim-phone {
  width: 260px;
  background: var(--c-white);
  border: 2px solid var(--c-border-2);
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(45,106,45,0.18), 0 4px 20px rgba(0,0,0,0.06);
  overflow: hidden;
  position: relative;
}
.hero-anim-phone::before {
  content: '';
  display: block; width: 80px; height: 6px;
  background: var(--c-border-2); border-radius: 3px;
  margin: 14px auto 0;
}
.phone-screen {
  padding: 16px 18px 8px;
  min-height: 240px; position: relative;
}
.phone-slide {
  display: none; animation: slideIn 0.4s var(--ease);
}
.phone-slide.active { display: block; }
@keyframes slideIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

.phone-app-icon img {
  width: 52px; height: 52px; border-radius: 14px;
  object-fit: cover; margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(45,106,45,0.2);
}
.phone-app-name {
  font-family: 'Outfit', sans-serif; font-weight: 800;
  font-size: 1rem; color: var(--c-text); margin-bottom: 6px;
}
.phone-app-desc {
  font-size: 0.75rem; color: var(--c-text-2); line-height: 1.5; margin-bottom: 14px;
}
.phone-bar {
  height: 6px; background: var(--c-bg-2);
  border-radius: 3px; overflow: hidden; margin-bottom: 6px;
}
.phone-bar-fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--c-green-dark), var(--c-green-mid));
  animation: barPulse 2s ease-in-out infinite alternate;
}
@keyframes barPulse { from { opacity:0.7; } to { opacity:1; } }
.phone-bar-label { font-size: 0.7rem; color: var(--c-green); font-weight: 600; }

.phone-stat-row {
  display: flex; gap: 8px; margin-top: 8px;
}
.phone-stat {
  flex: 1; background: var(--c-bg-2); border-radius: 10px; padding: 8px 6px;
  text-align: center;
}
.phone-stat span { display: block; font-family:'Outfit',sans-serif; font-size:0.9rem; font-weight:800; color:var(--c-green-dark); }
.phone-stat small { font-size:0.65rem; color:var(--c-text-3); }

.phone-map-mock {
  height: 90px; background: #e8f3e8; border-radius: 10px;
  position: relative; overflow: hidden; margin-top: 8px;
}
.map-dot {
  position: absolute; width: 10px; height: 10px;
  background: var(--c-green-dark); border-radius: 50%;
  transform: translate(-50%,-50%);
}
.map-dot.pulse::after {
  content:''; position:absolute; inset:-4px;
  border-radius:50%; border: 2px solid var(--c-green);
  animation: ping 1.5s ease-out infinite;
}
@keyframes ping { 0%{transform:scale(0.8);opacity:1} 100%{transform:scale(2);opacity:0} }
.map-line {
  position:absolute; top:30%; left:40%; width:30%; height:2px;
  background: rgba(45,106,45,0.4); transform-origin: left center;
}

.phone-geo-badge {
  margin-top: 12px; padding: 8px 12px; border-radius: 8px;
  background: var(--c-green-pale); font-size: 0.72rem;
  color: var(--c-green-dark); font-family: monospace; font-weight: 600;
}

.phone-dots {
  display: flex; justify-content: center; gap: 6px; padding: 12px 0;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--c-border-2); cursor: pointer; transition: background 0.2s;
}
.dot.active { background: var(--c-green-dark); }

/* Floating badges */
.hero-float-badge {
  position: absolute;
  background: var(--c-white); border: 1px solid var(--c-border-2);
  border-radius: 20px; padding: 7px 14px;
  font-size: 0.78rem; font-weight: 700; color: var(--c-green-dark);
  box-shadow: var(--shadow-sm);
  animation: floatBadge 3s ease-in-out infinite alternate;
}
.badge-left  { left: -20px; top: 30%; animation-delay: 0s; }
.badge-right { right: -20px; top: 60%; animation-delay: 0.8s; }
@keyframes floatBadge { from{transform:translateY(0);} to{transform:translateY(-8px);} }

/* ══════════════════════════════════════════
   3D LIVING WORLD WEBGL ENHANCEMENTS
══════════════════════════════════════════ */
#webgl-site-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.88;
  transition: opacity 0.5s ease;
}

body {
  position: relative;
  background: #0d1a0d;
  color: #f0f7f0;
}

/* Translucent Glassmorphic Sections */
.hero {
  background: transparent !important;
  position: relative;
  z-index: 1;
}

.apps-section {
  background: rgba(10, 20, 10, 0.45) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(74, 222, 128, 0.15);
  border-bottom: 1px solid rgba(74, 222, 128, 0.15);
}

.how-section {
  background: rgba(8, 16, 8, 0.5) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.navbar {
  background: rgba(10, 22, 10, 0.65) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.navbar.scrolled {
  background: rgba(8, 18, 8, 0.85) !important;
  backdrop-filter: blur(24px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.5);
}

.navbar-brand .brand-name {
  color: #ffffff;
  text-shadow: 0 0 20px rgba(74, 222, 128, 0.6);
}

.navbar-brand .brand-sub {
  color: #9ab39a;
}

.navbar-links a {
  color: #c2d6c2 !important;
  font-weight: 600;
}
.navbar-links a:hover {
  color: #4ade80 !important;
  background: rgba(74, 222, 128, 0.12) !important;
}

.hero-title {
  color: #ffffff !important;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.hero-title .accent {
  color: #4ade80 !important;
  text-shadow: 0 0 30px rgba(74, 222, 128, 0.4);
}

.hero-title .accent-2 {
  color: #a7f3d0 !important;
}

.hero-desc {
  color: #b8ccb8 !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.stat-num {
  color: #4ade80 !important;
  text-shadow: 0 0 15px rgba(74, 222, 128, 0.5);
}
.stat-label {
  color: #8da68d !important;
}

/* 3D Glass Cards */
.app-card {
  background: rgba(14, 28, 14, 0.75) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(74, 222, 128, 0.25) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  border-radius: var(--radius-xl);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.app-card:hover {
  border-color: rgba(74, 222, 128, 0.6) !important;
  transform: translateY(-4px) scale(1.005);
  box-shadow: 0 24px 60px rgba(45, 106, 45, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.app-card-name {
  color: #ffffff !important;
  font-size: 1.25rem;
}
.app-card-desc {
  color: #b8ccb8 !important;
}

.section-title {
  color: #ffffff !important;
}
.section-sub {
  color: #9ab39a !important;
}

.app-tab {
  background: rgba(14, 28, 14, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #c2d6c2 !important;
  backdrop-filter: blur(12px);
}
.app-tab.active {
  background: linear-gradient(135deg, #1e5c1e, #2d8a2d) !important;
  color: #ffffff !important;
  border-color: #4ade80 !important;
  box-shadow: 0 4px 20px rgba(74, 222, 128, 0.35) !important;
}

.feature-item {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #d1e2d1 !important;
}

.step-card {
  background: rgba(14, 28, 14, 0.7) !important;
  backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(74, 222, 128, 0.2) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.3s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  border-color: #4ade80 !important;
  box-shadow: 0 20px 50px rgba(45, 106, 45, 0.25) !important;
}
.step-title {
  color: #ffffff !important;
}
.step-desc {
  color: #9ab39a !important;
}

.footer {
  background: rgba(6, 12, 6, 0.9) !important;
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.footer-col ul li a {
  color: #9ab39a !important;
}
.footer-col ul li a:hover {
  color: #4ade80 !important;
}

/* Floating 3D Atmosphere Switcher */
.atmosphere-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 22, 10, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 40px;
  padding: 6px 14px;
  margin-bottom: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
.atmo-btn {
  padding: 6px 14px;
  border-radius: 20px;
  border: none;
  background: none;
  color: #9ab39a;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.atmo-btn.active {
  background: rgba(74, 222, 128, 0.25);
  color: #ffffff;
  border: 1px solid rgba(74, 222, 128, 0.5);
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.3);
}

/* Specular 3D buttons */
.btn-primary {
  background: linear-gradient(135deg, #2d6a2d, #1e5c1e) !important;
  color: #fff !important;
  border: 1px solid rgba(74, 222, 128, 0.4) !important;
  box-shadow: 0 6px 24px rgba(45, 106, 45, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #388a38, #266b26) !important;
  box-shadow: 0 10px 32px rgba(74, 222, 128, 0.45), inset 0 1px 0 #fff !important;
  transform: translateY(-2px);
}
/* ══════════════════════════════════════════
   3D AUTH (login.html)
══════════════════════════════════════════ */
.auth-wrapper {
  background: transparent !important;
  position: relative;
  z-index: 1;
}

.auth-card {
  background: rgba(12, 24, 12, 0.78) !important;
  backdrop-filter: blur(28px) !important;
  -webkit-backdrop-filter: blur(28px) !important;
  border: 1px solid rgba(74, 222, 128, 0.28) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  color: #f0f7f0;
}

.auth-logo h1 {
  color: #ffffff !important;
  text-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
}
.auth-logo p {
  color: #9ab39a !important;
}

.form-label {
  color: #c2d6c2 !important;
}

.form-input {
  background: rgba(20, 38, 20, 0.6) !important;
  border: 1px solid rgba(74, 222, 128, 0.25) !important;
  color: #ffffff !important;
  backdrop-filter: blur(10px);
}
.form-input:focus {
  border-color: #4ade80 !important;
  box-shadow: 0 0 16px rgba(74, 222, 128, 0.35) !important;
}
.form-input::placeholder {
  color: #6e8a6e !important;
}

.btn-google {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  color: #1a2e1a !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}
.btn-google:hover {
  background: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(74, 222, 128, 0.4) !important;
}

.btn-email {
  background: rgba(20, 42, 20, 0.75) !important;
  border: 1px solid rgba(74, 222, 128, 0.3) !important;
  color: #d1e8d1 !important;
  backdrop-filter: blur(10px);
}
.btn-email:hover {
  background: rgba(30, 60, 30, 0.9) !important;
  border-color: #4ade80 !important;
  color: #ffffff !important;
}

.or-divider {
  color: #7a9a72 !important;
}
.or-divider::before, .or-divider::after {
  background: rgba(74, 222, 128, 0.2) !important;
}

/* ══════════════════════════════════════════
   3D DASHBOARD (dashboard.html)
══════════════════════════════════════════ */
.dashboard-wrapper {
  background: transparent !important;
  position: relative;
  z-index: 1;
}

.stat-bar {
  background: rgba(12, 24, 12, 0.75) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(74, 222, 128, 0.25) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45) !important;
}
.stat-bar-num {
  color: #4ade80 !important;
  text-shadow: 0 0 15px rgba(74, 222, 128, 0.5);
}
.stat-bar-label {
  color: #9ab39a !important;
}

.lic-card {
  background: rgba(14, 28, 14, 0.78) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(74, 222, 128, 0.28) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  border-radius: var(--radius-xl);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.lic-card:hover {
  border-color: #4ade80 !important;
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(45, 106, 45, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}
.lic-card-name {
  color: #ffffff !important;
}

/* ══════════════════════════════════════════
   3D ADMIN PANEL (admin.html)
══════════════════════════════════════════ */
.admin-container {
  position: relative;
  z-index: 1;
}

.admin-title {
  color: #ffffff !important;
  text-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
}

.stat-card {
  background: rgba(14, 28, 14, 0.75) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(74, 222, 128, 0.25) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4) !important;
}
.stat-val {
  color: #4ade80 !important;
  text-shadow: 0 0 15px rgba(74, 222, 128, 0.4);
}
.stat-lbl {
  color: #9ab39a !important;
}

.data-table-wrap {
  background: rgba(12, 24, 12, 0.8) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(74, 222, 128, 0.25) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5) !important;
}
table.data-table th {
  background: rgba(20, 42, 20, 0.8) !important;
  color: #4ade80 !important;
  border-bottom: 1px solid rgba(74, 222, 128, 0.2) !important;
}
table.data-table td {
  border-bottom: 1px solid rgba(74, 222, 128, 0.12) !important;
  color: #d1e8d1 !important;
}

.grant-box {
  background: rgba(14, 28, 14, 0.8) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(74, 222, 128, 0.28) !important;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.5) !important;
}

.pin-modal {
  background: rgba(5, 12, 5, 0.75) !important;
  backdrop-filter: blur(14px) !important;
}
.pin-card {
  background: rgba(14, 28, 14, 0.92) !important;
  backdrop-filter: blur(32px) !important;
  -webkit-backdrop-filter: blur(32px) !important;
  border: 1.5px solid rgba(74, 222, 128, 0.35) !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8) !important;
  color: #ffffff;
}

.tab-btn {
  color: #9ab39a !important;
}
.tab-btn.active {
  background: rgba(74, 222, 128, 0.2) !important;
  color: #4ade80 !important;
  border: 1px solid rgba(74, 222, 128, 0.35);
}

/* ══════════════════════════════════════════
   HIGH-CONTRAST PILL BUTTONS (Styled like Browse Apps)
══════════════════════════════════════════ */
.btn-pill-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, #22c55e, #15803d) !important;
  color: #ffffff !important;
  border: 1px solid rgba(134, 239, 172, 0.45) !important;
  border-radius: 9999px !important;
  padding: 10px 22px !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.35), inset 0 1px 0 rgba(255,255,255,0.3) !important;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}
.btn-pill-primary:hover {
  background: linear-gradient(135deg, #34d399, #16a34a) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(74, 222, 128, 0.5), inset 0 1px 0 #ffffff !important;
  color: #ffffff !important;
}

.btn-pill-secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: rgba(34, 197, 94, 0.18) !important;
  color: #ffffff !important;
  border: 1.5px solid #4ade80 !important;
  border-radius: 9999px !important;
  padding: 10px 20px !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  text-decoration: none !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 4px 18px rgba(74, 222, 128, 0.25) !important;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}
.btn-pill-secondary:hover {
  background: rgba(34, 197, 94, 0.35) !important;
  border-color: #86efac !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 26px rgba(74, 222, 128, 0.45) !important;
}

.hero-cta .btn-pill-primary.btn-lg,
.hero-cta .btn-pill-secondary.btn-lg {
  padding: 14px 32px !important;
  font-size: 1.05rem !important;
}

/* Navbar Button Contrast */
.navbar .btn-outline {
  background: rgba(34, 197, 94, 0.15) !important;
  color: #ffffff !important;
  border: 1.5px solid #4ade80 !important;
  backdrop-filter: blur(12px) !important;
  font-weight: 700 !important;
}
.navbar .btn-outline:hover {
  background: rgba(34, 197, 94, 0.3) !important;
  color: #ffffff !important;
  border-color: #86efac !important;
  box-shadow: 0 0 16px rgba(74, 222, 128, 0.4) !important;
}

/* ══════════════════════════════════════════
   APP CARD HEADER & TOP-RIGHT ACTIONS
══════════════════════════════════════════ */
.app-card-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 20px !important;
  margin-bottom: 20px !important;
  flex-wrap: wrap !important;
}
.app-card-title-group {
  display: flex !important;
  gap: 16px !important;
  align-items: flex-start !important;
  flex: 1 1 320px !important;
}
.app-card-title-group img {
  width: 64px !important;
  height: 64px !important;
  border-radius: 14px !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4) !important;
}
.app-card-header-actions {
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}

@media (max-width: 600px) {
  .app-card-header {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .app-card-header-actions {
    width: 100% !important;
    justify-content: flex-start !important;
  }
}

/* ══════════════════════════════════════════
   3D ACCORDION APP GALLERY (React Bits Style)
══════════════════════════════════════════ */
.accordion-app-container {
  position: relative !important;
  width: 100% !important;
  margin-top: 24px !important;
  display: flex !important;
  align-items: center !important;
}

.accordion-app-gallery {
  display: flex !important;
  flex-direction: row !important;
  gap: 12px !important;
  width: 100% !important;
  height: 560px !important;
  perspective: 1600px !important;
  perspective-origin: 50% 50% !important;
  margin: 0 auto !important;
  user-select: none !important;
}

.ag-app-card {
  position: relative !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
  height: 100% !important;
  border-radius: var(--radius-xl) !important;
  overflow: hidden !important;
  background: rgba(8, 22, 8, 0.94) !important;
  backdrop-filter: blur(28px) !important;
  -webkit-backdrop-filter: blur(28px) !important;
  border: 1.5px solid rgba(74, 222, 128, 0.22) !important;
  box-shadow: 0 16px 48px -12px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  cursor: pointer !important;
  transform-style: preserve-3d !important;
  transform-origin: center center !important;
  transition: border-color 0.35s ease, box-shadow 0.35s ease !important;
  will-change: flex-grow, transform !important;
}

.ag-app-card:hover:not(.ag-card--active) {
  border-color: rgba(74, 222, 128, 0.5) !important;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.9), 0 0 20px rgba(74, 222, 128, 0.2) !important;
}

.ag-app-card.ag-card--active {
  flex-grow: 5.8 !important;
  cursor: default !important;
  border-color: rgba(74, 222, 128, 0.75) !important;
  box-shadow: 0 24px 70px -15px rgba(34, 197, 94, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

/* ── Collapsed Spine / Teaser View ── */
.ag-card-spine {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 24px 8px !important;
  gap: 14px !important;
  z-index: 5 !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease, transform 0.3s ease !important;
  background: linear-gradient(180deg, rgba(6, 18, 6, 0.88) 0%, rgba(3, 10, 3, 0.96) 100%) !important;
}

.ag-app-card.ag-card--active .ag-card-spine {
  opacity: 0 !important;
  transform: translateY(-20px) !important;
  pointer-events: none !important;
}

.ag-spine-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  object-fit: cover !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7) !important;
  border: 1.5px solid rgba(74, 222, 128, 0.4) !important;
  flex-shrink: 0 !important;
}

.ag-spine-title {
  writing-mode: vertical-rl !important;
  transform: rotate(180deg) !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  letter-spacing: 0.05em !important;
  color: #ffffff !important;
  white-space: nowrap !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8) !important;
  margin-top: 12px !important;
}

.ag-spine-badge {
  font-size: 0.66rem !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border-radius: 9999px !important;
  background: rgba(74, 222, 128, 0.18) !important;
  color: #86efac !important;
  border: 1px solid rgba(74, 222, 128, 0.35) !important;
  white-space: nowrap !important;
  margin-top: auto !important;
}

/* ── Full Card Body (Revealed on Active Expand) ── */
.ag-card-body {
  position: absolute !important;
  inset: 0 !important;
  padding: 24px 28px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow-y: auto !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(74, 222, 128, 0.4) transparent !important;
  transform: translateX(20px) !important;
  transition: opacity 0.35s ease 0.1s, transform 0.35s ease 0.1s !important;
}

.ag-app-card.ag-card--active .ag-card-body {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateX(0) !important;
}

.ag-card-body .app-card-desc {
  font-size: 0.88rem !important;
  line-height: 1.5 !important;
  color: #d1fae5 !important;
  margin: 8px 0 12px !important;
}

.ag-card-body .features-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 8px !important;
  margin-bottom: 12px !important;
}

.ag-card-body .feature-item {
  font-size: 0.78rem !important;
  padding: 6px 10px !important;
}

.ag-card-body .screenshots-label {
  font-size: 0.78rem !important;
  margin-bottom: 8px !important;
}

.ag-card-body .screenshot-strip {
  gap: 10px !important;
  overflow-x: auto !important;
  padding-bottom: 4px !important;
}

.ag-card-body .screenshot-strip img {
  height: 110px !important;
  width: auto !important;
  border-radius: 10px !important;
}

/* ── Mobile Responsive Accordion ── */
@media (max-width: 860px) {
  .accordion-app-container {
    padding: 0 !important;
  }
  .accordion-app-gallery {
    flex-direction: column !important;
    height: auto !important;
    perspective: none !important;
    gap: 12px !important;
    overflow: visible !important;
  }
  .ag-app-card {
    height: 68px !important;
    min-height: 68px !important;
    width: 100% !important;
    flex: none !important;
    transform: none !important;
    position: relative !important;
    overflow: hidden !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
    border-radius: 16px !important;
  }
  .ag-app-card.ag-card--active {
    height: auto !important;
    min-height: unset !important;
    overflow: visible !important;
    border-color: rgba(74, 222, 128, 0.75) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6) !important;
  }
  .ag-card-spine {
    position: absolute !important;
    inset: 0 !important;
    height: 68px !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    padding: 12px 18px !important;
    gap: 14px !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    background: linear-gradient(180deg, rgba(8, 24, 8, 0.95) 0%, rgba(4, 14, 4, 0.98) 100%) !important;
  }
  .ag-app-card.ag-card--active .ag-card-spine {
    opacity: 0 !important;
    pointer-events: none !important;
    display: none !important;
  }
  .ag-spine-title {
    writing-mode: horizontal-tb !important;
    transform: none !important;
    margin-top: 0 !important;
    font-size: 0.95rem !important;
  }
  .ag-spine-badge {
    margin-left: auto !important;
    margin-top: 0 !important;
  }
  .ag-card-body {
    position: relative !important;
    inset: auto !important;
    padding: 20px 18px !important;
    transform: none !important;
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  .ag-app-card.ag-card--active .ag-card-body {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .ag-card-body .features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ── Card Close X Button (Top Right of Card) ── */
.ag-card-close-x {
  position: absolute !important;
  top: 16px !important;
  right: 18px !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #d1fae5 !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  z-index: 20 !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}
.ag-card-close-x:hover {
  background: rgba(239, 68, 68, 0.35) !important;
  border-color: rgba(239, 68, 68, 0.75) !important;
  color: #ffffff !important;
  transform: scale(1.12) !important;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35) !important;
}

/* Slider Arrow Navigation Buttons */
.slider-arrow {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 54px !important;
  height: 54px !important;
  border-radius: 50% !important;
  background: rgba(8, 20, 8, 0.92) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1.5px solid rgba(74, 222, 128, 0.45) !important;
  color: #ffffff !important;
  font-size: 2.2rem !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 25 !important;
  box-shadow: 0 10px 32px rgba(0,0,0,0.7) !important;
  transition: all 0.25s var(--ease) !important;
  user-select: none !important;
}
.slider-arrow:hover {
  background: rgba(34, 197, 94, 0.45) !important;
  border-color: #86efac !important;
  color: #4ade80 !important;
  transform: translateY(-50%) scale(1.12) !important;
  box-shadow: 0 12px 36px rgba(74, 222, 128, 0.5) !important;
}
.slider-arrow.slider-prev {
  left: -26px !important;
}
.slider-arrow.slider-next {
  right: -26px !important;
}

@media (max-width: 900px) {
  .slider-arrow.slider-prev { left: 4px !important; width: 44px !important; height: 44px !important; font-size: 1.8rem !important; }
  .slider-arrow.slider-next { right: 4px !important; width: 44px !important; height: 44px !important; font-size: 1.8rem !important; }
}

/* Dots Bar with Pill Tabs (Top Navigation) */
.slider-dots-bar {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 18px 0 24px 0 !important;
  flex-wrap: wrap !important;
}
.dot-tab {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 16px !important;
  border-radius: 9999px !important;
  background: rgba(14, 28, 14, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #9ab39a !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  backdrop-filter: blur(12px) !important;
  transition: all 0.25s ease !important;
  font-family: inherit !important;
}
.dot-tab img {
  width: 18px !important;
  height: 18px !important;
  border-radius: 4px !important;
  object-fit: cover !important;
}
.dot-tab .dot-indicator {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: rgba(74, 222, 128, 0.4) !important;
  transition: all 0.25s ease !important;
}
.dot-tab:hover {
  background: rgba(20, 44, 20, 0.8) !important;
  color: #ffffff !important;
  border-color: rgba(74, 222, 128, 0.4) !important;
}
.dot-tab.active {
  background: rgba(34, 197, 94, 0.2) !important;
  border-color: #4ade80 !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(74, 222, 128, 0.35) !important;
}
.dot-tab.active .dot-indicator {
  background: #4ade80 !important;
  box-shadow: 0 0 8px #4ade80 !important;
  width: 14px !important;
  border-radius: 6px !important;
}

/* Screenshot Strip Clickable Cursor & Hover Glow */
.screenshot-strip img {
  cursor: pointer !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}
.screenshot-strip img:hover {
  transform: scale(1.04) translateY(-4px) !important;
  border-color: #4ade80 !important;
  box-shadow: 0 12px 32px rgba(74, 222, 128, 0.35) !important;
}

/* ══════════════════════════════════════════
   FULLSCREEN SCREENSHOT LIGHTBOX MODAL
══════════════════════════════════════════ */
.lightbox-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10000 !important;
  background: rgba(3, 8, 3, 0.94) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.3s var(--ease) !important;
  touch-action: pan-y !important;
}
.lightbox-modal.active {
  opacity: 1 !important;
  pointer-events: auto !important;
}
.lightbox-content {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  max-width: 90vw !important;
  max-height: 90vh !important;
}
.lightbox-content img {
  max-height: 80vh !important;
  max-width: 85vw !important;
  border-radius: 18px !important;
  object-fit: contain !important;
  box-shadow: 0 20px 80px rgba(0,0,0,0.85), 0 0 40px rgba(74,222,128,0.3) !important;
  border: 1.5px solid rgba(74,222,128,0.35) !important;
  animation: lbZoom 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
@keyframes lbZoom {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.lightbox-caption {
  margin-top: 14px !important;
  color: #d1fae5 !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  background: rgba(14, 28, 14, 0.88) !important;
  padding: 8px 20px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(74,222,128,0.35) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4) !important;
}
.lightbox-close {
  position: absolute !important;
  top: 24px !important;
  right: 28px !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,0.12) !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  color: #ffffff !important;
  font-size: 1.5rem !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  z-index: 10002 !important;
}
.lightbox-close:hover {
  background: rgba(239,68,68,0.85) !important;
  border-color: #ef4444 !important;
  transform: scale(1.1) !important;
}
.lightbox-arrow {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 58px !important;
  height: 58px !important;
  border-radius: 50% !important;
  background: rgba(12, 28, 12, 0.88) !important;
  border: 1.5px solid rgba(74,222,128,0.45) !important;
  color: #ffffff !important;
  font-size: 2.2rem !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  z-index: 10001 !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.7) !important;
}
.lightbox-arrow:hover {
  background: rgba(34,197,94,0.45) !important;
  color: #86efac !important;
  transform: translateY(-50%) scale(1.12) !important;
  box-shadow: 0 10px 36px rgba(74,222,128,0.5) !important;
}
.lightbox-arrow.lightbox-prev { left: 28px !important; }
.lightbox-arrow.lightbox-next { right: 28px !important; }

@media (max-width: 600px) {
  .lightbox-arrow.lightbox-prev { left: 10px !important; width: 44px !important; height: 44px !important; font-size: 1.8rem !important; }
  .lightbox-arrow.lightbox-next { right: 10px !important; width: 44px !important; height: 44px !important; font-size: 1.8rem !important; }
  .lightbox-close { top: 16px !important; right: 16px !important; width: 40px !important; height: 40px !important; }
}



