
/* ===== GLOBAL RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ===== HERO SECTION ===== */
.new-hero {
  position: relative;
  min-height: 90vh;
  height: auto;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;

  background: radial-gradient(
    circle at 50% 30%,
    rgba(14,165,233,0.35) 0%,
    rgba(14,165,233,0.18) 18%,
    rgba(2,6,23,0.85) 50%,
    #020617 80%
  );
}

/* Glow */
.hero-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, #38bdf8 0%, transparent 70%);
  filter: blur(160px);
  opacity: 0.35;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  animation: floatGlow 6s ease-in-out infinite alternate;
}

.hero-glow::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #0ea5e9, transparent 70%);
  filter: blur(120px);
  opacity: 0.4;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
}

/* Edge blend */
.new-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle,
    transparent 40%,
    rgba(2,6,23,0.6) 75%,
    #020617 100%
  );
  pointer-events: none;
}

/* Floating animation */
@keyframes floatGlow {
  from {
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    transform: translateX(-50%) translateY(20px);
  }
}

/* Cursor glow */
.cursor-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56,189,248,0.25), transparent 70%);
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* ===== HERO TEXT ===== */
.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(to right, #38bdf8, #7dd3fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  margin-top: 15px;
  color: #94a3b8;
  font-size: 1.1rem;
}

.hero-stats {
  margin-top: 25px;
  display: flex;
  gap: 20px;
  justify-content: center;
  color: #38bdf8;
  font-size: 0.9rem;
}

/* ===== SECTIONS ===== */
.section {
  position: relative;
  z-index: 2;
  padding: 60px 20px;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(14,165,233,0.08),
    transparent 70%
  );
  pointer-events: none;
}

/* ===== FEATURES ===== */
.features {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== GLASS CARDS ===== */
.feature-card,
.tool-card,
.category-card {
  backdrop-filter: blur(16px);
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 10px 30px rgba(0,0,0,0.4);
  border-radius: 18px;
}

/* Feature cards */
.feature-card {
  padding: 25px;
  width: 250px;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: #0ea5e9;
}

/* Tool cards */
.tool-card {
  padding: 20px;
}

.tool-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: #38bdf8;
  box-shadow: 0 0 30px rgba(14,165,233,0.25);
}

/* Category cards */
.category-card {
  padding: 30px;
  border-radius: 20px;
}

.category-card:hover {
  transform: scale(1.05);
  background: rgba(14,165,233,0.1);
}

/* ===== BUTTONS ===== */
.btn {
  position: relative;
  overflow: hidden;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 500;
}

.btn.primary {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  border: none;
  color: white;
}

.btn.primary:hover {
  box-shadow: 0 0 25px rgba(14,165,233,0.6);
}

.btn.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.35),
    transparent
  );
  opacity: 0;
  transition: 0.4s;
}

.btn.primary:hover::after {
  opacity: 1;
  transform: translateX(100%);
}

/* ===== AQUA POPUP ===== */
.aqua-popup {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 300px;
  z-index: 9999;
  transition: all 0.3s ease;
}

.popup-header button {
  z-index: 10000;
  position: relative;
}

.aqua-popup * {
  pointer-events: auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .aqua-popup {
    width: 90%;
    right: 5%;
    bottom: 80px;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }

  .features {
    flex-direction: column;
    align-items: center;
  }
}

.secondary {
  opacity: 0.7;
}

.secondary:hover {
  opacity: 1;
}

/* ================= HERO INPUT ================= */

.hero-input-box {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-input-box input {
  padding: 12px 14px;
  width: 100%;
  max-width: 320px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: white;
  outline: none;
  font-size: 15px;
  backdrop-filter: blur(10px);
}

.hero-input-box input::placeholder {
  color: rgba(255,255,255,0.5);
}

.hero-input-box button {
  padding: 12px 16px;
  font-size: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.hero-input-box button:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 25px rgba(14,165,233,0.4);
}

/* ================= HERO OUTPUT ================= */

.hero-output {
  margin-top: 25px;
  background: rgba(255,255,255,0.04);
  padding: 20px;
  border-radius: 14px;
  max-width: 600px;
  width: 100%;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  animation: fadeIn 0.4s ease;
}

.hero-output h3 {
  margin-bottom: 10px;
  color: #38bdf8;
}

.hero-output .step {
  margin-bottom: 12px;
  padding: 10px;
  border-left: 2px solid #0ea5e9;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
}

/* ================= CORE POWERS ================= */

.core-powers .feature-card {
  transition: 0.3s;
}

.core-powers .feature-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* ================= USE CASES ================= */

.use-cases .tool-card {
  transition: 0.3s;
}

.use-cases .tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

/* ================= FLOAT BUTTON ================= */

.aqua-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  color: white;
  padding: 14px 18px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  z-index: 9999;
}

/* ================= PULSE ANIMATION ================= */

.pulse {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* ================= FINAL CTA ================= */

.final-cta {
  text-align: center;
}

.final-cta h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.final-cta .hero-sub {
  opacity: 0.8;
  margin-bottom: 20px;
}

/* secondary button */
.secondary {
  opacity: 0.7;
}

.secondary:hover {
  opacity: 1;
}

/* ================= ANIMATIONS ================= */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  max-width: 700px;
  margin: auto;
  z-index: 2;
}

.btn.ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: #e2e8f0;
}

.btn.ghost:hover {
  background: rgba(255,255,255,0.08);
}

.hero-output {
  margin: 25px auto 0;
  word-wrap: break-word;
}

.tool-card,
.feature-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-buttons {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  width: auto;
  padding: 10px 18px;
}

.hero-input-box {
  align-items: center;
}

.hero-input-box input {
  height: 48px;
}

.hero-input-box button {
  height: 48px;
}

.hero-content h1 {
  font-size: 3rem;
}

.hero-content p {
  margin-top: 10px;
}

.hero-buttons {
  margin-top: 12px;
}

.hero-input-box {
  background: rgba(255,255,255,0.04);
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-content {
  position: relative;
}

.hero-content::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14,165,233,0.15), transparent 70%);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.hero-input-box:hover {
  border-color: rgba(14,165,233,0.5);
  box-shadow: 0 0 20px rgba(14,165,233,0.2);
}
.hero-input-box input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 12px rgba(56,189,248,0.4);
}

/* ===== HERO IMPROVEMENT ===== */

.hero-content h1 {
  font-size: 2.8rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1rem;
  opacity: 0.85;
}

/* Input container = premium bar */
.hero-input-box {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 520px;
  margin: 25px auto 0;

  background: rgba(255,255,255,0.05);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  padding: 4px;
}

/* Input */
.hero-input-box input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 14px;
  font-size: 14px;
}

/* Button attached to input */
.hero-input-box button {
  border-radius: 10px;
  padding: 10px 14px;
  margin-left: 4px;
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  font-size: 13px;
}

.hero-input-box button:hover {
  transform: scale(1.05);
}

.hero-stats {
  margin-top: 20px;
  gap: 15px;
  font-size: 0.8rem;
  opacity: 0.85;
}

/* Better depth */
.feature-card,
.tool-card,
.category-card {
  transition: all 0.25s ease;
}

/* Hover = premium feel */
.feature-card:hover,
.tool-card:hover,
.category-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.section {
  padding: 70px 20px;
}

.section-title {
  margin-bottom: 25px;
  font-size: 1.8rem;
}

.final-cta {
  padding: 80px 20px;
}

.final-cta h1 {
  font-size: 2.2rem;
}

.final-cta .btn {
  font-size: 15px;
}

.aqua-float {
  padding: 12px 16px;
  font-size: 14px;
}

.pulse {
  animation: pulse 2.5s infinite;
}

/* ===== TRUST STRIP FIX ===== */

.trust-strip {
  text-align: center;
  padding: 25px 15px;
}

.trust-strip p {
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #94a3b8;
}

/* FIX ICON ROW */
.trust-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap; /* important for mobile */
}

.trust-icons span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #e2e8f0;
  white-space: nowrap; /* prevents breaking */
}

.explore-all {
  border: 1px dashed #38bdf8;
  background: rgba(56, 189, 248, 0.05);
}

.explore-all:hover {
  background: rgba(56, 189, 248, 0.15);
  transform: translateY(-5px);
}