/* =============================================
   CÁNTARO IA — Estilos principales
   ============================================= */

/* RESET & VARIABLES */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cyan: #01edc4;
  --cyan-glow: rgba(1, 237, 196, 0.25);
  --cyan-subtle: rgba(1, 237, 196, 0.1);
  --navy: #101e3d;
  --gold: #fecb00;
  --bg: #000000;
  --bg2: #060e1e;
  --bg3: #0a1628;
  --card: #080f1f;
  --card-border: rgba(1, 237, 196, 0.15);
  --text: #f0f4ff;
  --muted: #7a8baa;
  --font-head: "Syne", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

/* =============================================
   NAV
   ============================================= */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 0.5px solid rgba(1, 237, 196, 0.12);
}

.nav-logo {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}

.nav-logo span {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--cyan);
}

.nav-cta {
  display: flex;
  gap: 0.75rem;
}

/* BOTONES */
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(1, 237, 196, 0.35);
  color: var(--cyan);
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-ghost:hover {
  background: var(--cyan-subtle);
}

.btn-primary {
  background: var(--cyan);
  border: none;
  color: #000;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-primary:hover {
  background: #00d4b0;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 0;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 80%,
      rgba(16, 30, 61, 0.9) 0%,
      rgba(0, 0, 0, 1) 65%);
}

#particleCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 3rem;
}

.hero-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse at center,
      rgba(1, 237, 196, 0.15) 0%,
      transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(1, 237, 196, 0.08);
  border: 1px solid rgba(1, 237, 196, 0.25);
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--cyan);
  margin-bottom: 1.8rem;
  letter-spacing: 0.5px;
}

.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.avatar-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 2.5px solid var(--cyan);
  overflow: hidden;
  margin: 0 auto 2rem;
  box-shadow:
    0 0 28px var(--cyan-glow),
    0 0 60px rgba(1, 237, 196, 0.08);
}

.avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 1.4rem;
}

.hero h1 .accent {
  color: var(--cyan);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.4rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-lg {
  padding: 0.8rem 1.8rem;
  font-size: 0.95rem;
  border-radius: 8px;
}

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar {
  background: rgba(16, 30, 61, 0.6);
  border: 0.5px solid rgba(1, 237, 196, 0.18);
  border-radius: 12px;
  padding: 1.2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  max-width: 700px;
  width: 100%;
  backdrop-filter: blur(10px);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.trust-num {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cyan);
}

.trust-label {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(1, 237, 196, 0.2);
  flex-shrink: 0;
}

.socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-link {
  color: var(--muted);
  font-size: 0.8rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s;
  white-space: nowrap;
}

.social-link:hover {
  color: var(--cyan);
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

/* =============================================
   STATS STRIP
   ============================================= */
.stats-strip {
  background: linear-gradient(135deg,
      #060e1e 0%,
      #0a1628 50%,
      #060e1e 100%);
  border-top: 1px solid rgba(1, 237, 196, 0.12);
  border-bottom: 1px solid rgba(1, 237, 196, 0.12);
  padding: 2.5rem 2rem;
  margin: 0;
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
  text-align: center;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--cyan);
  display: block;
}

.stat-lbl {
  font-size: 0.78rem;
  color: var(--muted);
}

/* =============================================
   SECCIONES
   ============================================= */
section {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-tag {
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.8px;
}

.section-title .accent {
  color: var(--cyan);
}

.section-sub {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* =============================================
   PROMPTS GRID
   ============================================= */
.prompts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.prompt-card {
  background: var(--card);
  border: 0.5px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  transition:
    transform 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.prompt-card:hover {
  transform: translateY(-5px);
  border-color: rgba(1, 237, 196, 0.4);
  box-shadow: 0 16px 48px rgba(1, 237, 196, 0.1);
}

.card-img {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg3);
  position: relative;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.prompt-card:hover .card-img img {
  transform: scale(1.04);
}

.card-category {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  border: 0.5px solid rgba(1, 237, 196, 0.3);
  border-radius: 20px;
  padding: 0.25rem 0.7rem;
  font-size: 0.68rem;
  color: var(--cyan);
  letter-spacing: 0.5px;
}

.card-body {
  padding: 1.1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.card-prompt {
  background: rgba(1, 237, 196, 0.04);
  border: 0.5px solid rgba(1, 237, 196, 0.1);
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.65;
  font-family: "Courier New", monospace;
  flex: 1;
  display: -webkit-box;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.copy-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(1, 237, 196, 0.08);
  border: 1px solid rgba(1, 237, 196, 0.25);
  color: var(--cyan);
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  font-size: 0.78rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  transition: all 0.2s;
}

.copy-btn:hover {
  background: rgba(1, 237, 196, 0.16);
  border-color: var(--cyan);
}

.copy-btn.copied {
  background: rgba(254, 203, 0, 0.1);
  border-color: rgba(254, 203, 0, 0.4);
  color: var(--gold);
}

/* =============================================
   SERVICIOS
   ============================================= */
.services-bg {
  background: linear-gradient(180deg,
      #000 0%,
      var(--navy) 50%,
      #000 100%);
  padding: 5rem 0;
}

.services-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.service-card {
  background: rgba(0, 0, 0, 0.5);
  border: 0.5px solid rgba(1, 237, 196, 0.15);
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  transition:
    border-color 0.2s,
    transform 0.2s;
}

.service-card:hover {
  border-color: rgba(1, 237, 196, 0.4);
  transform: translateY(-3px);
}

.service-icon {
  font-size: 1.6rem;
  margin-bottom: 0.85rem;
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}

.gold-dot {
  color: var(--gold);
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  text-align: center;
  padding: 6rem 2rem;
  background: radial-gradient(ellipse at 50% 0%,
      rgba(16, 30, 61, 0.8) 0%,
      #000 60%);
  border-top: 1px solid rgba(1, 237, 196, 0.1);
}

.cta-section h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.cta-section p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.socials-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-family: var(--font-body);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.social-btn.ig {
  background: rgba(225, 48, 108, 0.1);
  border-color: rgba(225, 48, 108, 0.25);
  color: #f472b6;
}

.social-btn.ig:hover {
  background: rgba(225, 48, 108, 0.2);
}

.social-btn.tt {
  background: rgba(1, 237, 196, 0.08);
  border-color: rgba(1, 237, 196, 0.2);
  color: var(--cyan);
}

.social-btn.tt:hover {
  background: rgba(1, 237, 196, 0.15);
}

.social-btn.fb {
  background: rgba(24, 119, 242, 0.1);
  border-color: rgba(24, 119, 242, 0.25);
  color: #60a5fa;
}

.social-btn.fb:hover {
  background: rgba(24, 119, 242, 0.18);
}

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.78rem;
  color: var(--muted);
  border-top: 0.5px solid rgba(1, 237, 196, 0.08);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  nav {
    padding: 1rem 1.25rem;
  }

  .nav-links {
    display: none;
  }

  .trust-bar {
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.2rem 1.5rem;
  }

  .trust-divider {
    width: 80%;
    height: 1px;
  }

  .socials {
    flex-wrap: wrap;
    justify-content: center;
  }

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