/* ===== AUTO THEME — NO TOGGLE ===== */
:root {
  --max-w: 1200px;
  --g: #00c566;
  --g2: #009e52;
  --gp: rgba(0, 197, 102, 0.1);
  --gborder: rgba(0, 197, 102, 0.25);
  --gborder2: rgba(0, 197, 102, 0.12);
  --bg: #060d0a;
  --bg2: #0d1f15;
  --bgnav: rgba(6, 13, 10, 0.92);
  --text: #e8f5ee;
  --text2: rgba(232, 245, 238, 0.6);
  --text3: rgba(232, 245, 238, 0.35);
  --card: rgba(255, 255, 255, 0.04);
  --cardborder: rgba(0, 197, 102, 0.18);
  --shadow: 0 4px 24px rgba(0, 197, 102, 0.08);
  --shadowhov: 0 16px 48px rgba(0, 197, 102, 0.14);
  --input: rgba(255, 255, 255, 0.05);
  --inputborder: rgba(0, 197, 102, 0.28);
  --warn-bg: rgba(212, 134, 10, 0.1);
  --warn-border: rgba(212, 134, 10, 0.3);
  --warn-text: #f0c04a;
  --info-bg: rgba(0, 197, 102, 0.08);
  --info-border: rgba(0, 197, 102, 0.2);
  --info-text: #5dffc0;
  --step-bg: #1c2b22;
  --step-border: #2a3d30;
}

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

html {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: inherit;
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-thumb {
  background: var(--g);
  border-radius: 4px;
}

/* NAV */
.cg-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: var(--max-w);
  z-index: 300;
  background: rgba(6, 13, 10, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--gborder2);
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.cg-nav-inner {
  padding: 0 20px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cg-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cg-logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #00c566, #009e52);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(0, 197, 102, 0.35);
  flex-shrink: 0;
}

.cg-logo-mark svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cg-logo-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.cg-logo-name span {
  color: var(--g);
}

.cg-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.cg-nl {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 50px;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cg-nl:hover {
  background: var(--card);
  color: #fff;
}

.nl-icon {
  font-size: 14px;
  opacity: 0.6;
  transition: all 0.2s ease;
}

.cg-nl:hover .nl-icon {
  opacity: 1;
  transform: scale(1.1);
}

.cg-auth {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cg-login {
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  padding: 7px 14px;
  border-radius: 9px;
  transition: all 0.15s;
  white-space: nowrap;
}

.cg-login:hover {
  background: var(--gp);
  color: var(--g);
}

.cg-signup {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 50px;
  background: linear-gradient(135deg, #00c566, #009e52);
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 3px 16px rgba(0, 197, 102, 0.3);
  transition: all 0.2s;
}

.cg-signup:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 197, 102, 0.4);
}

.cg-ham {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.cg-ham span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s;
  transform-origin: center;
}

.cg-ham.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.cg-ham.open span:nth-child(2) {
  opacity: 0;
}

.cg-ham.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.cg-mob {
  display: none;
  position: fixed;
  top: 96px;
  left: 16px;
  right: 16px;
  bottom: 84px;
  background: rgba(6, 13, 10, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--gborder2);
  border-radius: 24px;
  z-index: 299;
  padding: 20px 16px 24px;
  overflow-y: auto;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.cg-mob.open {
  display: flex;
}

/* APP-LIKE BOTTOM NAV */
.cg-bottom-nav {
  display: none;
}

.cg-mob-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  padding: 13px 16px;
  border-radius: 12px;
  border-bottom: 1px solid var(--gborder2);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.15s;
  text-decoration: none;
}

.cg-mob-link:hover {
  background: var(--gp);
  color: var(--g);
}

.cg-mob-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gp);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.cg-mob-cta {
  background: linear-gradient(135deg, #00c566, #009e52) !important;
  color: #fff !important;
  border-radius: 14px;
  margin-top: 8px;
}

/* GLASS */
.glass {
  background: var(--card);
  border: 1px solid var(--cardborder);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.glass:hover {
  box-shadow: var(--shadowhov);
  transform: translateY(-3px);
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 197, 102, 0.04), transparent 60%);
  pointer-events: none;
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #020806 0%, #061a0f 45%, #0a2818 100%);
}

@media (min-width: 901px) {
  .hero {
    padding-top: 60px;
  }
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 65% 35%,
      rgba(0, 197, 102, 0.16),
      transparent 70%
    ),
    radial-gradient(
      ellipse 50% 50% at 15% 75%,
      rgba(0, 197, 102, 0.08),
      transparent 60%
    );
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 197, 102, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 197, 102, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px 72px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 197, 102, 0.12);
  border: 1px solid rgba(0, 197, 102, 0.3);
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 22px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.bdot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--g);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

.hero h1 {
  font-size: clamp(30px, 5vw, 58px);
  font-weight: 800;
  color: white;
  letter-spacing: -2px;
  margin-bottom: 20px;
  line-height: 1.08;
}

.hero h1 em {
  color: var(--g);
  font-style: normal;
  position: relative;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--g), transparent);
  border-radius: 2px;
}

.hero-sub {
  font-size: 16px;
  color: var(--text2);
  max-width: var(--max-w);
  margin-bottom: 34px;
  line-height: 1.85;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--gborder2);
  border: 1px solid var(--gborder);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 34px;
}

.hstat {
  padding: 14px 12px;
  background: var(--card);
}

.hstat-n {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(15px, 2vw, 21px);
  font-weight: 600;
  color: var(--g);
  display: block;
}

.hstat-l {
  font-size: 9px;
  color: var(--text3);
  margin-top: 3px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.hero-btns {
  display: flex;
  gap: 35px;
  flex-wrap: wrap;
}

.btn-p {
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(135deg, #00c566, #009e52);
  color: #fff;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 22px rgba(0, 197, 102, 0.32);
  transition: all 0.2s;
}

.btn-p:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 34px rgba(0, 197, 102, 0.42);
}

.btn-s {
  padding: 13px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  background: var(--gp);
  color: var(--text);
  border: 1px solid var(--gborder);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-s:hover {
  background: var(--card);
}

/* TOOL NAV STRIP */
.toolnav-wrap {
  background: var(--bg2);
  border-bottom: 1px solid var(--gborder2);
}

.toolnav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.tncard {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 16px;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.2s;
}

.tncard:hover {
  transform: translateY(-3px);
}

.tncard-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.tncard-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.tncard-desc {
  font-size: 11px;
  color: var(--text2);
  line-height: 1.5;
}

.section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--g);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-label::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--g);
  border-radius: 1px;
}

.tools-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 72px 24px;
}

.step-card {
  padding: 26px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.step-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--g), #5dffc0);
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00c566, #009e52);
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 18px rgba(0, 197, 102, 0.35);
}

.svc-price {
  font-family: "JetBrains Mono", monospace;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

.btn-buy {
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, #00c566, #009e52);
  color: #fff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.15s;
  box-shadow: 0 3px 12px rgba(0, 197, 102, 0.25);
}

.btn-buy:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(0, 197, 102, 0.35);
}

.btn-apply {
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 10px;
  background: rgba(212, 134, 10, 0.1);
  color: #f0c04a;
  border: 1px solid rgba(212, 134, 10, 0.3);
  text-decoration: none;
  display: inline-block;
  transition: all 0.15s;
}

.btn-apply:hover {
  background: rgba(212, 134, 10, 0.18);
}

.news-tag {
  font-size: 9px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  background: var(--gp);
  color: var(--g);
  border: 1px solid var(--gborder);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.info-box {
  background: var(--info-bg);
  border: 1px solid var(--info-border);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--info-text);
  line-height: 1.7;
}

.warn-box {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--warn-text);
  line-height: 1.7;
}

.btn-green {
  padding: 13px 26px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(135deg, #00c566, #009e52);
  color: #fff;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 197, 102, 0.3);
  transition: all 0.2s;
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 197, 102, 0.4);
}

.btn-outline {
  padding: 12px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  background: var(--gp);
  color: var(--text);
  border: 1px solid var(--gborder);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: var(--card);
}

.input-f {
  padding: 12px 15px;
  border: 1.5px solid var(--inputborder);
  border-radius: 12px;
  font-size: 14px;
  color: var(--text);
  background: var(--input);
  width: 100%;
  font-family: var(--font-primary);
  transition: all 0.15s;
}

.input-f:focus {
  outline: none;
  border-color: var(--g);
  box-shadow: 0 0 0 4px rgba(0, 197, 102, 0.1);
}

.input-f::placeholder {
  color: var(--text3);
}

select.input-f option {
  background: var(--bg);
  color: var(--text);
}

.label-f {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text3);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 7px;
}

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

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

@keyframes cpulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.9;
  }
}

@keyframes eflow {
  from {
    stroke-dashoffset: 40;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes cglow {
  0%,
  100% {
    filter: drop-shadow(0 0 4px #5dffc0);
  }
  50% {
    filter: drop-shadow(0 0 16px #5dffc0);
  }
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .toolnav {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  body {
    padding-bottom: 74px; /* Space for bottom nav */
  }

  .cg-links,
  .cg-auth,
  .cg-ham {
    display: none !important;
  }

  footer {
    display: none !important;
  }

  .cg-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 74px;
    background: rgba(6, 13, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--gborder2);
    z-index: 400;
    padding: 0 10px;
    padding-bottom: env(safe-area-inset-bottom);
    align-items: center;
    justify-content: space-around;
  }

  .cgb-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--text3);
    text-decoration: none;
    width: 60px;
    height: 100%;
    transition: color 0.2s;
  }

  .cgb-item svg {
    width: 22px;
    height: 22px;
  }

  .cgb-item span {
    font-size: 10px;
    font-weight: 600;
  }

  .cgb-item.active,
  .cgb-item:hover {
    color: var(--g);
  }
}

@media (max-width: 768px) {
  .wrap {
    padding: 48px 16px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero-btns {
    flex-direction: column;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .toolnav {
    grid-template-columns: 1fr 1fr;
    padding: 12px;
  }

  .wrap {
    padding: 36px 14px;
  }
}

/* Contact & Invest Pages CSS */
.contact-page-wrap,
.invest-wrap {
  padding-top: 100px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}
.contact-bg-glow,
.invest-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 800px;
  background: radial-gradient(
    ellipse at top,
    rgba(0, 197, 102, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: -1;
}
.contact-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 0 24px;
}
.contact-header {
  text-align: center;
  margin-bottom: 40px;
}
.contact-header h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.contact-sub {
  font-size: 16px;
  color: var(--text2);
  max-width: var(--max-w);
  margin: 0 auto;
  line-height: 1.6;
}
.investor-redirect {
  max-width: var(--max-w);
  margin: 0 auto 32px auto;
  background: rgba(212, 134, 10, 0.05);
  border: 1px dashed rgba(212, 134, 10, 0.3);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.investor-redirect h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.investor-redirect p {
  font-size: 14px;
  color: var(--text2);
}
.btn-invest-redirect {
  padding: 12px 24px;
  border-radius: 12px;
  background: rgba(212, 134, 10, 0.1);
  color: #f0c04a;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid rgba(212, 134, 10, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.contact-card,
.if-card {
  max-width: var(--max-w);
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--cardborder);
  background: var(--bgnav);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 48px 40px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.if-sec {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gborder2);
}
.if-sec:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.if-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.if-title span {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--gp);
  color: var(--g);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .contact-card,
  .if-card {
    padding: 32px 24px;
  }
  .contact-header h1 {
    font-size: 28px;
  }
}
.f-group {
  position: relative;
}
.f-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text3);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 8px;
}
.f-input {
  padding: 14px 16px;
  border: 1px solid var(--inputborder);
  border-radius: 12px;
  font-size: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  width: 100%;
  font-family: var(--font-primary);
  transition: all 0.2s;
}
.f-input:focus {
  border-color: var(--g);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(0, 197, 102, 0.1);
  outline: none;
}
.f-select {
  appearance: none;
  cursor: pointer;
}
.f-select option {
  background: var(--bg);
  color: var(--text);
}
.f-select-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  pointer-events: none;
  color: var(--text3);
}
.if-card .f-select-icon {
  top: auto;
  bottom: 14px;
  transform: none;
}
.dynamic-fields {
  display: none;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.btn-submit {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00c566, #009e52);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 197, 102, 0.25);
  transition: all 0.3s;
  font-family: var(--font-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 197, 102, 0.4);
}
.btn-submit:hover .btn-arrow {
  transform: translateX(4px);
}
.btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}
.form-msg {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--gborder2);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

/* MOBILE GRID FIXES FOR TOOLS */
@media (max-width: 600px) {
  /* Subsidy Checker Fix */
  #slist > div {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  #slist > div > div:last-child {
    text-align: left !important;
  }

  /* ROI Estimator Fixes */
  .rs-metrics {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .rs-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .rs-config {
    text-align: left;
  }
  .re-card #preview_units,
  .re-card #preview_gross {
    font-size: 24px !important;
  }
  .re-card .flex-mob-col {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 12px;
  }
  .re-card .text-mob-left {
    text-align: left !important;
  }
  #rsum > div {
    grid-template-columns: 1fr !important;
  }
  #rsum .align-mob-left {
    text-align: left !important;
  }
}

/* TABLES */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--gborder2);
  background: var(--card);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th {
  background: rgba(0, 197, 102, 0.08);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  padding: 16px;
  border-bottom: 1px solid var(--gborder);
  white-space: nowrap;
}

td {
  padding: 16px;
  font-size: 14px;
  color: var(--text2);
  border-bottom: 1px solid var(--gborder2);
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Force Title Case styling as requested */
label,
.f-label,
.gf-group label,
.form-group label,
.section-label {
  text-transform: capitalize !important;
}

::-webkit-input-placeholder {
  text-transform: none !important;
}
::-moz-placeholder {
  text-transform: none !important;
}
:-ms-input-placeholder {
  text-transform: none !important;
}
::-ms-input-placeholder {
  text-transform: none !important;
}
::placeholder {
  text-transform: none !important;
}

.cg-error-field {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15) !important;
}

/* ===== CUSTOM CURSOR ===== */
@media (pointer: fine) {
  * {
    cursor: none !important;
  }
}

.cg-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--g);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999999;
  transition:
    width 0.2s,
    height 0.2s,
    background-color 0.2s,
    opacity 0.2s;
  box-shadow: 0 0 10px rgba(0, 197, 102, 0.4);
}

.cg-cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 197, 102, 0.6);
  background-color: rgba(0, 197, 102, 0.05);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999998;
  transition:
    width 0.2s,
    height 0.2s,
    border-color 0.2s,
    background-color 0.2s,
    opacity 0.2s;
}

.cg-cursor-dot.hover {
  width: 6px;
  height: 6px;
  background-color: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

.cg-cursor-outline.hover {
  width: 56px;
  height: 56px;
  border-color: rgba(0, 197, 102, 0.2);
  background-color: rgba(0, 197, 102, 0.1);
}

.cg-cursor-outline.loading {
  border-style: dashed;
  animation: cg-pulse-load 1s infinite alternate;
}

@keyframes cg-pulse-load {
  0% {
    width: 40px;
    height: 40px;
    border-color: var(--g);
    opacity: 1;
  }
  100% {
    width: 60px;
    height: 60px;
    border-color: rgba(0, 197, 102, 0.2);
    opacity: 0.4;
  }
}

@media (hover: none) and (pointer: coarse) {
  .cg-cursor-dot,
  .cg-cursor-outline {
    display: none !important;
  }
}
