:root {
  --bg-deep: #040816;
  --card-dark: #0c1a33;
  --card-darker: #081024;
  --card-border: rgba(102, 255, 219, 0.18);
  --text-main: #f4f7ff;
  --text-muted: #9fb3d9;
  --accent: #57ffba;
  --accent-strong: #46a0ff;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  min-height: 100vh;
  color: var(--text-main);
  background: radial-gradient(circle at top, #0a1530 0%, #040816 45%, #020512 100%);
  position: relative;
  overflow-x: hidden;
}

.background-pattern {
  background-image: url("images/background.png");
  background-repeat: repeat;
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.background-orb {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  animation: floatGlow 15s ease-in-out infinite;
  z-index: -2;
}

.orb-one {
  background: rgba(87, 255, 186, 0.4);
  top: 12%;
  left: 5%;
}

.orb-two {
  background: rgba(70, 160, 255, 0.35);
  bottom: 10%;
  right: 8%;
  animation-delay: 5s;
}

.orb-three {
  background: rgba(255, 255, 255, 0.18);
  top: 45%;
  right: 30%;
  animation-delay: 9s;
}

.background-aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.35;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(87, 255, 186, 0.35),
      transparent 55%
    ),
    radial-gradient(
      circle at 80% 30%,
      rgba(70, 160, 255, 0.25),
      transparent 50%
    );
  mix-blend-mode: screen;
  animation: auroraDrift 18s ease-in-out infinite;
}

.background-aurora.aurora-two {
  animation-duration: 25s;
  animation-direction: reverse;
  opacity: 0.28;
  filter: blur(10px);
}

.top-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #1e293b;
  padding: 0.65rem;
  font-size: 0.95rem;
  color: var(--text-main);
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-banner .content {
  background: #203252;
  border-radius: 10px;
  width: 60%;
  text-align: center;
  padding: 0.5rem 0;
  border: 1px solid #24406f;
}

.page {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

.hero {
  text-align: center;
}

.hero-icon {
  width: 170px;
  height: 170px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #172a52, #0b152b);
  border: 3px solid rgba(87, 255, 186, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 1.6rem;
  box-shadow: 0 15px 40px rgba(8, 22, 48, 0.8);
  text-align: center;
  animation: pulseFloat 6s ease-in-out infinite;
  background-image: url("images/2.jpg");
  background-size: 100% 100%;
  position: relative;
}

/* .hero-icon img {
  width: 64px;
  height: 64px;
} */

.hero-icon p {
  margin: 0;
  font-weight: 500;
  font-size: 0.85rem;
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
}

.analysis-card {
  margin: 0 auto;
  background: #1f2b3d;
  padding: 2.5rem 2rem;
  border-radius: 10px 10px 20px 20px;
  border: 1px solid var(--card-border);
  box-shadow: 0 35px 90px rgba(4, 5, 18, 0.75);
  border-top-width: 0;
  overflow: hidden;
  position: relative;
  animation: fadeUp 0.8s ease both;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.analysis-card::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-image: linear-gradient(to right, #d2f3de, #42ce76);
}

.analysis-card .eyebrow {
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
}

.analysis-card h1 {
  font-size: 14px;
  color: #bfbfbf;
  margin-top: 0;
  line-height: 1.4;
}

.sub-analysis-box {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 20px;
  padding: 15px 20px;
  margin-top: 20px;
  text-align: left;
}

.accuracy {
  margin-bottom: 0.3rem;
  font-weight: 500;
  color: #ffffff;
  font-size: 18px;
}

.accuracy span {
  color: #00ff00;
  font-weight: 700;
}

.subtext {
  font-size: 14px;
  color: #fff;
  margin: 0.3rem 0 1.5rem;
  line-height: 1.6;
}

.subtext strong {
  color: #00ff00;
  text-decoration: underline;
}

.analysis-form {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.analysis-form input {
  flex: 1;
  min-width: 250px;
  padding: 0.95rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text-main);
  font-size: 1rem;
  outline: none;
  border-radius: 6px;
  transition: border 0.2s linear;
}

.analysis-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.analysis-form input:focus {
  border-color: #2f71f0;
}

.analysis-form button {
  padding: 0.95rem 2.6rem;
  border-radius: 6px;
  border: none;
  background: #2f71f0;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  letter-spacing: 0.5px;
}

.analysis-form button:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 15px 30px rgba(70, 160, 255, 0.4);
  background: linear-gradient(120deg, #46a0ff, #57ffba);
}

.ticker {
  color: #b3b3b3;
  text-align: left;
  font-size: 0.8rem;
}

.analysis-card:hover,
.badge:hover,
.metric-grid .line > div:hover,
.ai-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(4, 8, 22, 0.6);
}

.whatsapp-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 45px rgba(20, 147, 124, 0.3);
}


.hero-badges {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 1rem;
  justify-items: center;
}

.badge {
  background: #334155;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 20px 0;
  color: #fff;
  font-size: 14px;
  width: 100%;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: fadeUp 0.9s ease both;
}

.badge img {
  height: 28px;
  width: auto;
  margin-bottom: 14px;
}

.metric-grid {
  margin: 3rem auto;
}

.metric-grid .line {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.metric-grid .line:first-child {
  margin-top: 0;
}

.metric-grid .line > div {
  flex: 1;
  background: #1f2b3d;
  border: 2px solid #324055;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: fadeUp 1s ease both;
}

.metric-grid .line > div .icon {
  background: #22c55e;
  border-radius: 50%;
  overflow: hidden;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
}

.metric-grid .line > div .icon img {
  height: 20px;
}

.metric-grid .line > div span {
  font-size: 20px;
  color: #fff;
  letter-spacing: 1px;
}

.ai-section {
  margin-top: 3.5rem;
}

.ai-card {
  border-radius: 30px;
  padding: 2.5rem;
  background: #1f2b3d;
  border: 1px solid #324055;
  text-align: center;
  animation: fadeUp 1s ease both;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-card h2 {
  margin-top: 0;
  font-size: 2rem;
  color: #5ba0f9;
}

.ai-card p {
  color: #bfbfbf;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.ai-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.ai-stats div {
  background: #334155;
  border-radius: 18px;
  padding: 1.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.ai-stats img {
  width: 40px;
  height: 40px;
}

.ai-stats strong {
  font-size: 1.4rem;
  color: #5ba0f9;
}

.ai-stats span {
  color: #fff;
}

.whatsapp {
  margin-top: 3rem;
  cursor: pointer;
}

.whatsapp-card {
  background: linear-gradient(to right, #24d167, #14927c);
  border-radius: 20px;
  padding: 1.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6rem;
  color: #fff;
  animation: fadeUp 1.1s ease both;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.4rem;
}

.whatsapp-card p {
  margin: 0;
  color: #fff;
}


.whatsapp-card button {
  box-sizing: border-box;
  background: rgba(255, 255, 255, .2);
  border: 0;
  display: flex;
  justify-content: center;
  align-items: center; 
  width: 100px;
  flex-basis: 100px;
  height: 100px;
  padding: 0; 
  flex-shrink: 0;
  border-radius: 20px;
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.whatsapp-card button:hover {
  opacity: 0.9;
  transform: translateY(-4px);
}

.whatsapp-card button img {
  width: 60px;
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  color: #fff;
  background: #1e293b;
  border-bottom: 1px solid #7f7f7f;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

footer p {
  margin: 15px 0 0 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--accent);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 22, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 999;
}

.modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: min(420px, 100%);
  background: linear-gradient(180deg, #132036 0%, #0a1428 100%);
  border: 1px solid rgba(87, 255, 186, 0.2);
  border-radius: 20px;
  padding: 1.8rem;
  text-align: center;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7);
}

.modal-spinner {
  width: 78px;
  height: 78px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 3px solid rgba(87, 255, 186, 0.15);
  display: grid;
  place-items: center;
}

.modal-spinner span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #57ffba;
  animation: spin 1s linear infinite;
}

.modal-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin: 0 auto 1rem;
  background: rgba(87, 255, 186, 0.12);
  display: grid;
  place-items: center;
}

.modal-icon img {
  width: 40px;
  height: 40px;
}

.modal-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.modal-card h4 {
  margin: 0 0 0.6rem;
  font-size: 1.4rem;
}

.modal-copy {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.modal-status {
  color: #d5e6ff;
  font-size: 0.9rem;
}

.modal-cta {
  width: 100%;
  padding: 0.85rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(120deg, #46a0ff, #57ffba);
  color: #041027;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.6rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.modal-secondary {
  width: 100%;
  padding: 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--text-main);
  font-weight: 500;
  margin-top: 0.6rem;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.modal-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(70, 160, 255, 0.35);
}

.modal-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(40px, -30px, 0) scale(1.1);
  }
}

@keyframes pulseFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.02);
  }
}

@keyframes auroraDrift {
  0% {
    transform: translate3d(-5%, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(5%, -4%, 0) scale(1.08);
  }
  100% {
    transform: translate3d(-5%, 0, 0) scale(1);
  }
}

@media (max-width: 640px) {
  .top-banner {
    padding: 0.75rem 1rem;
  }

  .top-banner .content {
    width: 100%;
    border-radius: 16px;
    padding: 0.6rem 1rem;
  }

  .page {
    width: min(600px, 94vw);
  }

  .analysis-card {
    padding: 2rem;
  }

  .hero-icon {
    width: 140px;
    height: 140px;
    padding: 1.2rem;
    gap: 0.2rem;
  }

  .hero-icon img {
    width: 62px;
    height: 62px;
  }

  .hero-icon p {
    font-size: 0.8rem;
  }

  .ai-card {
    padding: 1.8rem;
  }

  .whatsapp-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .whatsapp-card button {
    width: 80px;
    height: 80px;
    border-radius: 18px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .analysis-card .eyebrow {
    font-size: 1rem;
  }

  .analysis-card h1 {
    font-size: 13px;
  }

  .accuracy {
    font-size: 16px;
  }

  .subtext {
    font-size: 13px;
  }

  .ticker {
    font-size: 0.75rem;
  }

  .metric-grid .line {
    gap: 12px;
  }

  .metric-grid .line > div span {
    font-size: 16px;
  }

  .ai-card h2 {
    font-size: 1.6rem;
  }

  .ai-card p {
    font-size: 0.9rem;
  }

  .ai-stats strong {
    font-size: 1.15rem;
  }

  .whatsapp-card h3 {
    font-size: 1.2rem;
  }

  .whatsapp-card p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .analysis-card {
    padding: 1.5rem 1.25rem;
  }

  .analysis-card .eyebrow {
    font-size: 0.9rem;
  }

  .analysis-card h1 {
    font-size: 12px;
  }
  .hero-icon {
    width: 120px;
    height: 120px;
    padding: 1rem;
  }

  .hero-icon img {
    width: 60px;
    height: 60px;
  }

  .hero-icon p {
    font-size: 0.72rem;
  }

  .sub-analysis-box {
    padding: 1rem;
  }

  .metric-grid .line > div {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  .metric-grid .line > div .icon {
    margin: 0 0 0.8rem 0;
  }

  .metric-grid .line > div span {
    font-size: 15px;
  }

  .ai-stats {
    grid-template-columns: 1fr;
  }

  .ai-card h2 {
    font-size: 1.35rem;
  }

  .ai-card p {
    font-size: 0.85rem;
  }

  .ai-stats strong {
    font-size: 1rem;
  }

  .whatsapp-card button {
    width: 100%;
    height: 64px;
    border-radius: 16px;
  }

  .whatsapp-card p {
    font-size: 0.9rem;
  }

  .footer-links a {
    font-size: 0.85rem;
  }

  footer {
    padding: 2rem 1rem 2.5rem;
  }
}
