/* === Puncto Landing Page === */
:root {
  --primary: #4F46E5;
  --primary-dark: #3730A3;
  --primary-light: #EEF2FF;
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --text: #1E293B;
  --text-secondary: #64748B;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.02);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Navigation === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.logo-img-footer {
  height: 28px;
  width: auto;
  display: block;
}

.nav.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-bottom-color: transparent;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

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

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-white {
  background: #fff;
  color: var(--primary);
}

.btn-white:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
  border-radius: 10px;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 15px;
  border-radius: var(--radius-sm);
}

/* === Hero === */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: float 8s ease-in-out infinite;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: #C7D2FE;
  top: -100px;
  right: -80px;
  animation-delay: 0s;
}

.blob-2 {
  width: 300px;
  height: 300px;
  background: #A5B4FC;
  bottom: -60px;
  left: -60px;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

.hero-inner {
  position: relative;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.badge {
  display: inline-block;
  padding: 2px 10px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #818CF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.stat span {
  font-size: 13px;
  color: var(--text-muted);
}

/* === Animations === */
.fade-in-up {
  opacity: 0;
  transform: translateY(32px);
  animation: fadeInUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.38s; }
.delay-4 { animation-delay: 0.54s; }

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-32px);
  animation: fadeInLeft 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes fadeInLeft {
  to { opacity: 1; transform: translateX(0); }
}

.fade-in-right {
  opacity: 0;
  transform: translateX(32px);
  animation: fadeInRight 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes fadeInRight {
  to { opacity: 1; transform: translateX(0); }
}

/* === Sections === */
.section {
  padding: 80px 0;
}

.section-light {
  background: #fff;
}

.section-header {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-secondary);
}

/* === Grid & Cards === */
.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--icon-bg, var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* === Steps === */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  counter-reset: step;
}

.step {
  text-align: center;
  padding: 32px;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 8px 16px -4px rgba(79, 70, 229, 0.3);
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* === CTA Section === */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #6366F1 100%);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}

.cta-box h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.cta-box p {
  max-width: 480px;
  margin: 0 auto 28px;
  font-size: 16px;
  opacity: 0.9;
}

.cta-note {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  opacity: 0.75;
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  backdrop-filter: blur(4px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FBBF24;
  animation: pulse 2s ease-in-out infinite;
}

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

/* === Footer === */
.footer {
  background: var(--text);
  color: var(--text-muted);
  padding: 48px 0 32px;
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 18px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-by {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
  text-decoration: none;
  transition: var(--transition);
}

.footer-by:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  font-size: 13px;
}

/* === Legal Pages === */
.page-legal .nav {
  position: relative;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.legal-content {
  padding: 48px 0 80px;
  background: #fff;
}

.legal-content h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.legal-date {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--text);
}

.legal-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-content ul {
  margin: 12px 0 20px 20px;
}

.legal-content li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.legal-content a:hover {
  text-decoration: underline;
}

/* === FAQ === */
.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* === Scroll Reveal === */
.scroll-reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-44px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal-right {
  opacity: 0;
  transform: translateX(44px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* === Responsive === */
@media (max-width: 640px) {
  .hero {
    padding: 120px 0 60px;
  }
  .hero-stats {
    gap: 24px;
  }
  .section {
    padding: 60px 0;
  }
  .steps {
    gap: 16px;
  }
}

/* === Pro Section === */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
  display: inline-block;
}

.pro-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 768px) {
  .pro-showcase {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.pro-showcase-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Layout diagram placeholder */
.layout-diagram {
  display: grid;
  grid-template-columns: 80px 1fr;
  height: 320px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.ld-sidebar {
  background: #0F172A;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ld-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ld-topbar {
  height: 56px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
  flex-shrink: 0;
}

.ld-content {
  flex: 1;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pro-palette {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.pro-palette-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.pro-palette-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.08), 0 0 0 1px var(--border);
}

.pro-palette-item span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.pro-palette-item small {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.pro-palette-item small.pro-label {
  color: var(--primary);
  background: var(--primary-light);
  padding: 2px 8px;
  border-radius: 99px;
}

.pro-showcase-text {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.pro-feature-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.pro-feature-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}


/* === SMS Section === */
.sms-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 768px) {
  .sms-showcase {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.sms-visual {
  display: flex;
  justify-content: center;
}

.sms-phone {
  width: 260px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.sms-phone-header {
  background: #F8FAFC;
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  text-align: center;
}

.sms-phone-body {
  padding: 20px 16px;
  background: #fff;
  min-height: 180px;
}

.sms-bubble {
  background: #F1F5F9;
  border-radius: 14px 14px 14px 4px;
  padding: 14px;
  margin-bottom: 12px;
}

.sms-meta {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
}

.sms-features {
  display: flex;
  flex-direction: column;
  gap: 28px;
}


/* === Waitlist Form === */
.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.waitlist-input {
  padding: 14px 20px;
  font-size: 15px;
  font-family: inherit;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.12);
  color: #fff;
  backdrop-filter: blur(4px);
  min-width: 260px;
  outline: none;
  transition: var(--transition);
}

.waitlist-input::placeholder {
  color: rgba(255,255,255,0.55);
}

.waitlist-input:focus {
  border-color: #fff;
  background: rgba(255,255,255,0.2);
}

.waitlist-msg {
  font-size: 14px;
  font-weight: 500;
  min-height: 20px;
  margin-top: 4px;
}

.waitlist-msg.success {
  color: #BBF7D0;
}

.waitlist-msg.error {
  color: #FECACA;
}
