/* =============================================
   IVENTO DIGITAL — styles.css
   Premium Liquid Glass Aesthetic
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --gold: #DAA520;
  --gold-light: #F4C84A;
  --gold-dark: #B8891A;
  --gold-subtle: rgba(218, 165, 32, 0.12);
  --gold-glow: rgba(218, 165, 32, 0.25);
  --black: #000000;
  --bg-deep: #050505;
  --bg-dark: #0A0A0A;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(218, 165, 32, 0.2);
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-muted: rgba(255, 255, 255, 0.35);
  --border: rgba(255, 255, 255, 0.08);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 48px;
  --transition: cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Outfit', sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }

/* ---- Global Background ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(218, 165, 32, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 110%, rgba(218, 165, 32, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ---- Animated Orbs ---- */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 15s ease-in-out infinite;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(218,165,32,0.06) 0%, transparent 70%);
  top: -200px; left: -200px;
  animation-delay: 0s;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(218,165,32,0.05) 0%, transparent 70%);
  bottom: -150px; right: -150px;
  animation-delay: 7s;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(218,165,32,0.04) 0%, transparent 70%);
  top: 40%; left: 50%;
  animation-delay: 3s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(40px, -30px) scale(1.05); }
  66%       { transform: translate(-20px, 30px) scale(0.97); }
}

/* ---- Utility ---- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  background: var(--gold-subtle);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold-light);
  backdrop-filter: blur(10px);
}
.tag::before { content: ''; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; animation: pulse 2s infinite; }

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

.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px; display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600; line-height: 1.1;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem; color: var(--text-secondary);
  line-height: 1.7; max-width: 560px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.03em;
  transition: all 0.3s var(--transition);
  position: relative; overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #000;
  box-shadow: 0 4px 24px rgba(218,165,32,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(218,165,32,0.45);
  background: linear-gradient(135deg, #FFD94A, var(--gold-light));
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--glass);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(218,165,32,0.4);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--gold-light);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  background: var(--gold-subtle);
}
.btn-ghost:hover {
  background: rgba(218,165,32,0.2);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---- Glass Card ---- */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.4s var(--transition);
}
.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(218,165,32,0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px rgba(218,165,32,0.05);
}

/* ================================================
   HEADER / NAV
   ================================================ */
#header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: all 0.4s var(--transition);
}
#header.scrolled {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
}

.nav {
  display: flex; align-items: center;
  height: 72px;
  gap: 40px;
}

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.nav-logo img {
  height: 36px; width: auto;
  filter: brightness(1.1);
}

.nav-links {
  display: flex; align-items: center; gap: 32px;
  margin-left: auto;
  list-style: none;
}
.nav-links a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  margin-left: auto;
  padding: 8px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ================================================
   HERO
   ================================================ */
#inicio {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(218,165,32,0.07) 0%, transparent 60%);
}

.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  padding: 80px 0;
}

.hero-content {}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px;
  background: var(--gold-subtle);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em;
  color: var(--gold-light);
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
  animation: fadeUp 0.8s var(--transition) both;
}
.hero-badge-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; animation: pulse 2s infinite; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.1s var(--transition) both;
}
.hero-title .line2 {
  display: block;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem; line-height: 1.75;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 40px;
  animation: fadeUp 0.8s 0.2s var(--transition) both;
}

.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 14px;
  animation: fadeUp 0.8s 0.3s var(--transition) both;
}

.hero-metrics {
  display: flex; gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.8s 0.4s var(--transition) both;
}
.metric-item {}
.metric-value {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
}
.metric-label {
  font-size: 12px; color: var(--text-muted);
  margin-top: 4px; letter-spacing: 0.05em;
}

.hero-visual {
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn 1.2s 0.3s var(--transition) both;
}

.hero-card-stack {
  position: relative; width: 100%; max-width: 460px;
}

.hero-main-card {
  background: linear-gradient(135deg, rgba(218,165,32,0.08) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(30px);
  position: relative;
  overflow: hidden;
}
.hero-main-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(218,165,32,0.6), transparent);
}
.hero-card-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 24px;
}
.hero-services-list {
  display: flex; flex-direction: column; gap: 14px;
  list-style: none;
}
.hero-services-list li {
  display: flex; align-items: center; gap: 14px;
  font-size: 14px; color: var(--text-secondary);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.hero-services-list li:last-child { border-bottom: none; }
.service-icon-mini {
  width: 32px; height: 32px;
  background: var(--gold-subtle);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.hero-float-badge {
  position: absolute;
  background: rgba(10,10,10,0.9);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  backdrop-filter: blur(20px);
  display: flex; align-items: center; gap: 12px;
  white-space: nowrap;
  animation: float 4s ease-in-out infinite;
}
.float-1 { bottom: -20px; left: -20px; animation-delay: 0s; }
.float-2 { top: -20px; right: -20px; animation-delay: 2s; }

.hero-float-badge .badge-icon { font-size: 22px; }
.hero-float-badge .badge-text { font-size: 12px; }
.hero-float-badge .badge-text strong { display: block; font-size: 14px; color: var(--gold-light); font-weight: 600; }

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

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ================================================
   SERVICES
   ================================================ */
#servicios { background: transparent; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 64px;
}

.service-card {
  padding: 32px 28px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.4s var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.4s var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--glass-border);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

.service-icon {
  width: 52px; height: 52px;
  background: var(--gold-subtle);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: all 0.3s;
}
.service-card:hover .service-icon {
  background: rgba(218,165,32,0.2);
  border-color: rgba(218,165,32,0.4);
  transform: scale(1.05);
}

.service-name {
  font-size: 15px; font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.service-desc {
  font-size: 13px; line-height: 1.65;
  color: var(--text-secondary);
}

/* ================================================
   KOMMO
   ================================================ */
#kommo {
  background: transparent;
  position: relative;
}
#kommo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(218,165,32,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.kommo-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  margin-bottom: 80px;
}
.kommo-features { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.kommo-feature {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.3s;
}
.kommo-feature:hover { border-color: var(--glass-border); background: var(--bg-card-hover); }
.kommo-feature-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.kommo-feature-text h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.kommo-feature-text p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

.kommo-visual-card {
  background: linear-gradient(135deg, rgba(218,165,32,0.08) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.kommo-visual-card::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(218,165,32,0.5), transparent);
}
.kommo-logo-display {
  font-family: var(--font-display);
  font-size: 3.5rem; font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 12px;
}
.kommo-partner-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px;
  background: rgba(218,165,32,0.15);
  border: 1px solid rgba(218,165,32,0.3);
  border-radius: 100px;
  font-size: 12px; font-weight: 600; color: var(--gold);
  letter-spacing: 0.1em;
  margin-top: 12px;
}
.kommo-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.kommo-stat {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
}
.kommo-stat-val { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: var(--gold-light); }
.kommo-stat-lbl { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* Plans */
.plans-header { text-align: center; margin-bottom: 48px; }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }

.plan-card {
  border-radius: var(--radius-md);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--transition);
}
.plan-card.regular {
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.plan-card.featured {
  background: linear-gradient(160deg, rgba(218,165,32,0.12) 0%, rgba(218,165,32,0.05) 100%);
  border: 1px solid rgba(218,165,32,0.4);
}
.plan-card.featured::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.plan-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.4); }
.plan-card.featured:hover { box-shadow: 0 24px 60px rgba(218,165,32,0.15); }

.plan-badge {
  position: absolute; top: 20px; right: 20px;
  background: var(--gold);
  color: #000;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

.plan-name {
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 12px;
}
.plan-price {
  font-family: var(--font-display);
  font-size: 2.8rem; font-weight: 600;
  line-height: 1;
  margin-bottom: 4px;
}
.plan-price-sub {
  font-size: 12px; color: var(--text-muted);
  margin-bottom: 28px;
}

.plan-features { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.plan-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--text-secondary); line-height: 1.5;
}
.plan-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-buttons { display: flex; flex-direction: column; gap: 10px; }
.plan-buttons .btn { width: 100%; justify-content: center; }

/* Trust badges */
.trust-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 20px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-muted);
}
.trust-item svg { width: 16px; height: 16px; color: var(--gold); }

/* How it works */
.how-it-works {
  margin-top: 64px;
  padding: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.how-title { font-size: 15px; font-weight: 600; margin-bottom: 32px; color: var(--gold-light); }
.how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.how-step { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.how-step-num {
  width: 36px; height: 36px;
  background: var(--gold-subtle);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--gold);
}
.how-step-text { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.how-step-text strong { display: block; color: var(--text-primary); font-size: 14px; margin-bottom: 4px; }

/* Activation form */
.activation-section {
  margin-top: 48px;
  padding: 48px;
  background: linear-gradient(135deg, rgba(218,165,32,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
}
.activation-title { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 8px; }
.activation-sub { font-size: 14px; color: var(--text-secondary); margin-bottom: 32px; }
.activation-form { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.form-group { flex: 1; min-width: 200px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 8px; }
.form-group input, .form-group select {
  width: 100%; padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.3s;
  outline: none;
}
.form-group input:focus, .form-group select:focus { border-color: var(--gold); }
.form-group select option { background: #1a1a1a; }

/* ================================================
   CLAUDE BOT
   ================================================ */
#claudebot {
  position: relative;
  overflow: hidden;
}
#claudebot::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 50%, rgba(218,165,32,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.claudebot-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}

.bot-features { display: flex; flex-direction: column; gap: 16px; margin: 32px 0; }
.bot-feature {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.3s;
}
.bot-feature:hover { border-color: var(--glass-border); transform: translateX(4px); }
.bot-feature-icon { font-size: 20px; flex-shrink: 0; }
.bot-feature-text h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.bot-feature-text p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

.bot-visual {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}
.chat-demo { display: flex; flex-direction: column; gap: 14px; }
.chat-msg {
  max-width: 80%; padding: 12px 16px;
  border-radius: 16px;
  font-size: 13px; line-height: 1.55;
}
.chat-msg.user {
  align-self: flex-end;
  background: rgba(218,165,32,0.15);
  border: 1px solid rgba(218,165,32,0.25);
  border-bottom-right-radius: 4px;
}
.chat-msg.bot {
  align-self: flex-start;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.chat-msg.bot .bot-name {
  font-size: 10px; font-weight: 600; color: var(--gold);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 6px;
}
.chat-typing {
  display: flex; gap: 4px; align-items: center; padding: 8px 0;
}
.chat-typing span {
  width: 6px; height: 6px;
  background: var(--gold-light);
  border-radius: 50%;
  animation: typing 1.2s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1); }
}

.bot-use-cases { margin-top: 32px; }
.use-cases-title { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.use-case-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.use-case-tag {
  padding: 6px 14px;
  background: var(--gold-subtle);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 12px; color: var(--gold-light);
}

/* ================================================
   PROCESS
   ================================================ */
#proceso {
  background: transparent;
}
.process-steps {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 64px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 36px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), var(--gold), var(--glass-border), transparent);
}

.process-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 16px;
  position: relative;
}
.step-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 600;
  margin-bottom: 24px; position: relative; z-index: 1;
  transition: all 0.3s;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.process-step:hover .step-num {
  background: var(--gold-subtle);
  border-color: var(--gold);
  color: var(--gold-light);
  transform: scale(1.1);
}
.step-title { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.step-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ================================================
   ABOUT / NOSOTROS
   ================================================ */
#nosotros {
  position: relative;
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.about-text p {
  font-size: 1rem; line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.about-mv { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.mv-item {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
}
.mv-item h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.mv-item p { font-size: 13px; color: var(--text-secondary); line-height: 1.65; }

.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.value-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  transition: all 0.3s;
}
.value-card:hover { border-color: var(--glass-border); background: var(--bg-card-hover); }
.value-icon { font-size: 28px; margin-bottom: 12px; }
.value-name { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.value-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.55; }

/* ================================================
   CONTACT
   ================================================ */
#contacto {
  position: relative;
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.contact-info { }
.contact-items { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.contact-item {
  display: flex; gap: 16px; align-items: center;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.3s;
}
.contact-item:hover { border-color: var(--glass-border); }
.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--gold-subtle);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-item-text label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.contact-item-text span { font-size: 14px; color: var(--text-primary); }
.contact-item-text a { color: var(--gold-light); transition: color 0.3s; }
.contact-item-text a:hover { color: var(--gold); }

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 40px;
}
.contact-form-title { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 8px; }
.contact-form-sub { font-size: 14px; color: var(--text-secondary); margin-bottom: 28px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form .form-group { margin: 0; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 13px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body); font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
  resize: vertical;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--gold);
}
.contact-form select option { background: #1a1a1a; }
.contact-form textarea { min-height: 100px; }

/* ================================================
   FOOTER
   ================================================ */
footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  position: relative; z-index: 1;
}
.footer-main {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 48px;
}
.footer-brand img { height: 32px; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.7; max-width: 280px; }
.footer-socials { display: flex; gap: 12px; margin-top: 20px; }
.footer-social {
  width: 36px; height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: all 0.3s;
}
.footer-social:hover { border-color: var(--glass-border); background: var(--bg-card-hover); }

.footer-col h5 {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 13px; color: var(--text-muted);
  transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 32px; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text-muted);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: var(--text-muted); transition: color 0.3s; }
.footer-bottom-links a:hover { color: var(--text-primary); }

/* ================================================
   SCROLL REVEAL
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ================================================
   TOAST
   ================================================ */
.toast {
  position: fixed; bottom: 32px; right: 32px;
  padding: 14px 24px;
  background: rgba(10,10,10,0.95);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  font-size: 14px; color: var(--text-primary);
  backdrop-filter: blur(20px);
  z-index: 9999;
  transform: translateY(80px); opacity: 0;
  transition: all 0.4s var(--transition);
  display: flex; align-items: center; gap: 10px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { font-size: 18px; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .process-steps::before { display: none; }
  .how-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(5,5,5,0.97);
    backdrop-filter: blur(24px);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 20px;
    z-index: 999;
  }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .kommo-intro { grid-template-columns: 1fr; gap: 40px; }
  .plans-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto 40px; }
  .claudebot-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .hero-metrics { flex-wrap: wrap; gap: 24px; }
  .hero-float-badge { display: none; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  .activation-form { flex-direction: column; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .kommo-stats { grid-template-columns: 1fr; }
}

/* ================================================
   KOMMO CHECKOUT WIDGET
   ================================================ */
.kommo-checkout {
  margin-top: 16px;
}

.kc-step-label {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 32px;
}
.kc-step-num {
  width: 28px; height: 28px;
  background: var(--gold);
  color: #000;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
  flex-shrink: 0;
}

.kc-step-hidden { display: none !important; }

.plan-price-unit {
  font-size: 0.55em;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 4px;
}

/* Plan card selected state */
.kc-plan-card.selected {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 2px rgba(218,165,32,0.25), 0 24px 60px rgba(0,0,0,0.35);
}
.kc-plan-card.selected::after {
  content: '✓ Seleccionado';
  display: block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold);
  margin-top: 12px;
  text-align: center;
}

/* Step 2 summary wrap */
.kc-summary-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Summary card */
.kc-summary-card {
  padding: 32px;
}
.kcs-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 24px; gap: 12px;
}
.kcs-plan-name {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 600;
}
.kcs-plan-sub {
  font-size: 12px; color: var(--text-muted); margin-top: 2px;
}
.kc-change-plan {
  font-size: 12px; color: var(--gold-light);
  background: none; border: none; cursor: pointer;
  padding: 4px 8px;
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  white-space: nowrap;
  transition: all 0.2s;
  font-family: var(--font-body);
}
.kc-change-plan:hover { border-color: var(--gold); color: var(--gold); }

.kcs-license-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.kcs-label { font-size: 14px; font-weight: 500; }
.kcs-counter {
  display: flex; align-items: center; gap: 16px;
}
.kcs-cnt-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gold-subtle);
  border: 1px solid var(--glass-border);
  color: var(--gold-light);
  font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}
.kcs-cnt-btn:hover { background: rgba(218,165,32,0.2); border-color: var(--gold); }
.kcs-cnt-btn:active { transform: scale(0.92); }
.kcs-cnt-val {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 600;
  min-width: 36px; text-align: center;
  color: var(--gold-light);
}

.kcs-breakdown { margin-bottom: 20px; }
.kcs-row {
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--text-secondary);
  padding: 6px 0;
}
.kcs-divider { height: 1px; background: var(--border); margin: 8px 0; }
.kcs-total { padding-top: 10px !important; }
.kcs-total-val {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 600;
  color: var(--gold-light);
}
.kcs-note {
  font-size: 11px !important; color: var(--text-muted) !important;
  font-style: italic;
}

.kcs-whatsapp-row { margin-top: 16px; }

/* PayPal card */
.kc-paypal-wrap {
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.kcp-title {
  font-size: 15px; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.kcp-title::before { content: '🔒'; font-size: 18px; }
.kcp-amount-display {
  font-size: 14px; color: var(--text-secondary);
  padding: 14px 16px;
  background: var(--gold-subtle);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
}
.kcp-amount-display strong {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.4rem;
}
.kcp-trust {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.kcp-trust span {
  font-size: 11px; color: var(--text-muted);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
}
#paypal-button-container { min-height: 50px; }
.kcp-note {
  font-size: 11px; color: var(--text-muted);
  text-align: center; line-height: 1.5;
}

/* Slide animation for step transition */
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.kc-step-visible { animation: slideInUp 0.45s cubic-bezier(0.4,0,0.2,1) both; }

@media (max-width: 768px) {
  .kc-summary-wrap { grid-template-columns: 1fr; }
}

/* =========================
   PRODUCT SECTIONS — BASE
========================= */
.product-section{
  position:relative;
  padding:96px 0;
  overflow:hidden;
  background: radial-gradient(1200px 800px at 20% 10%, rgba(218,165,32,.08), transparent 60%),
              radial-gradient(900px 700px at 80% 30%, rgba(255,255,255,.04), transparent 60%);
}

.container{
  width:min(1180px, calc(100% - 48px));
  margin:0 auto;
}

.product-grid{
  display:grid;
  grid-template-columns: 1fr 1.15fr;
  gap:28px;
  align-items:start;
}

@media (max-width: 980px){
  .product-grid{ grid-template-columns:1fr; }
}

.glass{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}

.product-copy{
  padding:28px;
  position:sticky;
  top:90px;
}

@media (max-width: 980px){
  .product-copy{ position:relative; top:auto; }
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius: 999px;
  font-size:12px;
  letter-spacing:.06em;
  font-weight:700;
  text-transform:uppercase;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
}

.product-title{
  margin:16px 0 10px;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height:1.1;
  letter-spacing:-.02em;
}

.product-sub{
  color: rgba(255,255,255,.78);
  line-height:1.7;
  margin-bottom:18px;
}

.product-bullets{
  list-style:none;
  padding:0;
  margin:0 0 22px;
  display:grid;
  gap:10px;
}
.product-bullets li{
  position:relative;
  padding-left:18px;
  color: rgba(255,255,255,.78);
}
.product-bullets li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  opacity:.9;
}

.cta-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:6px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius: 999px;
  text-decoration:none;
  font-weight:700;
  line-height:1.2;
  letter-spacing:.02em;
  border:1px solid rgba(255,255,255,.14);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  cursor:pointer;
  user-select:none;
}

.btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}

/* Ensure the existing btn overrides don't conflict, these will follow */
.product-section .btn-primary{
  background: linear-gradient(90deg, rgba(218,165,32,.95), rgba(255,210,120,.75));
  color:#0b0b0b;
}

.product-section .btn-secondary{
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
}

.trust-line{
  margin-top:16px;
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
  color: rgba(255,255,255,.65);
  font-size:12px;
}

/* =========================
   KOMMO THEME (Blue/Purple)
========================= */
.product-kommo{
  background:
    radial-gradient(1000px 700px at 12% 20%, rgba(59,130,246,.22), transparent 60%),
    radial-gradient(900px 700px at 86% 15%, rgba(124,58,237,.18), transparent 55%),
    radial-gradient(1200px 900px at 50% 80%, rgba(218,165,32,.06), transparent 60%);
}

.badge-kommo{
  border-color: rgba(59,130,246,.35);
  background: linear-gradient(90deg, rgba(59,130,246,.18), rgba(124,58,237,.14));
}

.grad-kommo{
  background: linear-gradient(90deg, #3B82F6, #7C3AED);
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}

.kommo-primary.btn-primary{
  background: linear-gradient(90deg, rgba(59,130,246,.95), rgba(124,58,237,.92));
  color: #ffffff;
  border-color: rgba(255,255,255,.12);
}

.kommo-secondary.btn-secondary{
  border-color: rgba(124,58,237,.35);
}

/* =========================
   OPENCLAW THEME (Orange/Amber)
========================= */
.product-openclaw{
  background:
    radial-gradient(1000px 700px at 12% 20%, rgba(249,115,22,.22), transparent 60%),
    radial-gradient(900px 700px at 86% 15%, rgba(245,158,11,.18), transparent 55%),
    radial-gradient(1200px 900px at 50% 80%, rgba(218,165,32,.06), transparent 60%);
}

.badge-openclaw{
  border-color: rgba(249,115,22,.35);
  background: linear-gradient(90deg, rgba(249,115,22,.18), rgba(245,158,11,.14));
}

.grad-openclaw{
  background: linear-gradient(90deg, #F97316, #F59E0B);
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}

.openclaw-primary.btn-primary{
  background: linear-gradient(90deg, rgba(249,115,22,.95), rgba(245,158,11,.92));
  color:#0b0b0b;
}

.openclaw-secondary.btn-secondary{
  border-color: rgba(245,158,11,.35);
}

/* =========================
   PREVIEW SHELL + PANELS
========================= */
.preview-shell{
  padding:16px;
  position:relative;
}

.preview-topbar{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom:14px;
}

.dots{
  display:flex;
  gap:6px;
}
.dots span{
  width:10px;height:10px;border-radius:50%;
  background: rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.10);
}

.preview-title{
  flex:1;
  font-size:12px;
  color: rgba(255,255,255,.72);
  letter-spacing:.04em;
}

.preview-pill{
  font-size:11px;
  padding:6px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.85);
}

.pill-kommo{
  border-color: rgba(59,130,246,.35);
  background: linear-gradient(90deg, rgba(59,130,246,.18), rgba(124,58,237,.14));
}

.pill-openclaw{
  border-color: rgba(249,115,22,.35);
  background: linear-gradient(90deg, rgba(249,115,22,.18), rgba(245,158,11,.14));
}

.preview-body{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}

@media (max-width: 680px){
  .preview-body{ grid-template-columns:1fr; }
}

.panel{
  padding:12px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
}

.panel-h{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
  color: rgba(255,255,255,.85);
  font-size:12px;
}
.panel-ic{ opacity:.95; }
.panel-tag{
  margin-left:auto;
  font-size:10px;
  opacity:.7;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.chat{
  display:grid;
  gap:8px;
}
.msg{
  padding:10px 10px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.16);
  color: rgba(255,255,255,.82);
  font-size:12px;
  line-height:1.5;
}
.msg .b{ font-weight:800; font-size:10px; opacity:.75; margin-bottom:4px; letter-spacing:.06em; }
.msg.me{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}
.msg.openclaw-me{
  background: rgba(249,115,22,.10);
  border-color: rgba(249,115,22,.20);
}

.kanban{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:10px;
  overflow:auto;
  padding-bottom:4px;
}
@media (max-width: 680px){
  .kanban{ grid-template-columns: 1fr 1fr; }
}

.col{
  min-width:140px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.14);
  border-radius: 14px;
  padding:10px;
}
.col-h{
  font-size:11px;
  font-weight:800;
  margin-bottom:8px;
  opacity:.85;
}
.card-lead{
  padding:9px 9px;
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  margin-bottom:8px;
  font-size:11px;
  color: rgba(255,255,255,.82);
}
.card-lead span{ display:block; opacity:.7; font-size:10px; margin-top:2px; }
.card-lead.highlight{
  border-color: rgba(124,58,237,.35);
  background: linear-gradient(90deg, rgba(59,130,246,.12), rgba(124,58,237,.10));
}

.flow{
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
}
.node{
  padding:8px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.14);
  font-size:11px;
  color: rgba(255,255,255,.82);
}
.node.ok{
  border-color: rgba(59,130,246,.30);
  background: linear-gradient(90deg, rgba(59,130,246,.14), rgba(124,58,237,.12));
}
.arrow{ opacity:.6; }

.panel-metrics{
  grid-column: 1 / -1;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
}
@media (max-width: 680px){
  .panel-metrics{ grid-template-columns: 1fr; }
}

.metric{
  padding:12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.12);
}
.metric .k{ font-size:10px; letter-spacing:.12em; text-transform:uppercase; opacity:.6; }
.metric .v{ font-size:18px; font-weight:900; margin-top:6px; }

/* OpenClaw studio extras */
.openclaw-body{
  grid-template-columns: 1fr 1fr;
}
.intent-list{ display:grid; gap:8px; }
.intent{
  padding:10px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.14);
  color: rgba(255,255,255,.82);
  font-size:12px;
}
.intent.active{
  border-color: rgba(249,115,22,.35);
  background: linear-gradient(90deg, rgba(249,115,22,.12), rgba(245,158,11,.10));
}

.resp-cards{ display:grid; gap:10px; }
.resp-card{
  padding:10px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.14);
}
.resp-card .t{ font-weight:900; font-size:12px; }
.resp-card .p{ opacity:.75; font-size:12px; margin-top:4px; line-height:1.5; }
.resp-card.highlight{
  border-color: rgba(245,158,11,.35);
  background: linear-gradient(90deg, rgba(249,115,22,.12), rgba(245,158,11,.10));
}

.connect-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
.conn{
  padding:10px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.14);
  font-size:12px;
  color: rgba(255,255,255,.82);
}

.msg.buttons{
  background: transparent;
  border: none;
  padding: 0;
}
.chip{
  display:inline-flex;
  margin-right:8px;
  margin-top:8px;
  padding:8px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.86);
  cursor:pointer;
  transition: transform .2s ease, border-color .2s ease;
}
.chip:hover{
  transform: translateY(-1px);
  border-color: rgba(245,158,11,.35);
}

/* How blocks */
.how{
  margin-top:14px;
  padding:16px;
}
.how-title{
  font-weight:900;
  margin-bottom:10px;
  letter-spacing:.02em;
}
.how-steps{
  display:grid;
  gap:10px;
}
.how-step{
  display:flex;
  gap:10px;
  align-items:center;
  color: rgba(255,255,255,.78);
  font-size:13px;
  line-height:1.5;
}
.how-step span{
  width:26px;height:26px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.14);
  font-weight:900;
}

/* Orbs */
.product-orb{
  position:absolute;
  width:520px;
  height:520px;
  border-radius: 999px;
  filter: blur(70px);
  opacity:.45;
  animation: floaty 10s ease-in-out infinite;
  pointer-events:none;
}
.orb-a{ left:-180px; top:-140px; background: rgba(59,130,246,.55); }
.orb-b{ right:-200px; top:-120px; background: rgba(124,58,237,.55); animation-delay: -3s; }
.orb-c{ left:-180px; top:-140px; background: rgba(249,115,22,.55); }
.orb-d{ right:-200px; top:-120px; background: rgba(245,158,11,.55); animation-delay: -3s; }

@keyframes floaty{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(30px, 18px) scale(1.05); }
}

/* Remove old Kommo padding logic if interfering */
.reveal.product-grid { opacity:0; transform: translateY(12px); transition: all .6s ease; }
.reveal.product-grid.visible { opacity:1; transform: translateY(0); }


/* ================================================
   1. TV & EXTRA LARGE SCREENS (min-width: 1441px)
   ================================================ */
@media (min-width: 1441px) {
  .product-section { padding: 120px 0; }
  .container { width: min(1400px, calc(100% - 64px)); }
  .product-title { font-size: 3.2rem; }
  .product-sub { font-size: 1.15rem; line-height: 1.8; }
  .glass { padding: 40px; }
  .btn { font-size: 1.1rem; padding: 16px 24px; }
  .how-step { font-size: 1.1rem; }
}

/* ================================================
   2. TABLETS & SMALL DESKTOPS (max-width: 980px)
   (Many of these declarations are mostly present but we reinforce layout logic here)
   ================================================ */
@media (max-width: 980px) {
  .product-section { padding: 80px 0; }
  .product-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-copy { position: relative; top: auto; padding: 32px 24px; }
  .product-preview { width: 100%; max-width: 760px; margin: 0 auto; }
}

/* ================================================
   3. MOBILE DEVICES (max-width: 680px)
   ================================================ */
@media (max-width: 680px) {
  .product-section { padding: 60px 0; }
  
  .product-title { font-size: 2.2rem; }
  
  .preview-body,
  .openclaw-body { grid-template-columns: 1fr; gap: 12px; }
  
  .kanban { 
    grid-template-columns: repeat(4, 1fr); /* Allow horizontal scrolling */
    white-space: nowrap;
    padding-bottom: 8px;
  }
  .col { min-width: 180px; }
  
  .panel-metrics { grid-template-columns: 1fr; }
  
  .how-steps { grid-template-columns: 1fr; }
  
  .cta-row { flex-direction: column; width: 100%; }
  .cta-row .btn { width: 100%; text-align: center; justify-content: center; }

  /* OpenClaw intent/cards adjust */
  .resp-cards, .connect-grid { grid-template-columns: 1fr; }

  /* Ensure orbs don't overflow on small screens */
  .product-orb { width: 300px; height: 300px; filter: blur(40px); }
  .orb-a, .orb-c { left: -100px; top: -50px; }
  .orb-b, .orb-d { right: -100px; top: auto; bottom: -50px; }
}

/* ================================================
   4. SMALL MOBILE (SE/MINI) (max-width: 480px)
   ================================================ */
@media (max-width: 480px) {
  .product-title { font-size: 1.8rem; }
  .product-sub { font-size: 0.95rem; }
  .glass { padding: 20px 16px; }
  .badge { font-size: 10px; }
}



/* =========================
   HOSTINGER THEME (Purple/Magenta)
========================= */
.product-hostinger{
  background:
    radial-gradient(1000px 700px at 12% 20%, rgba(103, 58, 183,.22), transparent 60%),
    radial-gradient(900px 700px at 86% 15%, rgba(216, 27, 96,.18), transparent 55%),
    radial-gradient(1200px 900px at 50% 80%, rgba(218,165,32,.06), transparent 60%);
}

.badge-hostinger{
  border-color: rgba(103, 58, 183,.35);
  background: linear-gradient(90deg, rgba(103, 58, 183,.18), rgba(216, 27, 96,.14));
}

.grad-hostinger{
  background: linear-gradient(90deg, #673ab7, #d81b60);
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}

.hostinger-primary.btn-primary{
  background: linear-gradient(90deg, rgba(103, 58, 183,.95), rgba(216, 27, 96,.92));
  color: #ffffff;
  border-color: rgba(255,255,255,.12);
}

.pill-hostinger{
  border-color: rgba(103, 58, 183,.35);
  background: linear-gradient(90deg, rgba(103, 58, 183,.18), rgba(216, 27, 96,.14));
}

.highlight-hostinger {
  border-color: rgba(216, 27, 96,.35) !important;
  background: linear-gradient(90deg, rgba(103, 58, 183,.12), rgba(216, 27, 96,.10)) !important;
}

/* Orbs */
.orb-e{ left:-180px; top:-140px; background: rgba(103, 58, 183,.55); }
.orb-f{ right:-200px; top:-120px; background: rgba(216, 27, 96,.55); animation-delay: -3s; }


/* =========================
   HOSTINGER PRICING OVERRIDES
========================= */
.hostinger-grid {
  grid-template-columns: 1fr; /* Stack title/copy on top of pricing */
  gap: 40px;
}

.hostinger-grid .product-copy {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.hostinger-grid .product-bullets {
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two column bullets for compactness */
  gap: 12px 24px;
}
@media (max-width: 768px) {
  .hostinger-grid .product-bullets { grid-template-columns: 1fr; }
}

.hostinger-pricing-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 10px;
}
@media (max-width: 980px) {
  .hostinger-pricing-wrapper { grid-template-columns: 1fr; max-width: 500px; margin: 10px auto 0; }
}

.h-card {
  position: relative;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.h-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 80px rgba(103, 58, 183, 0.25);
}

.hc-popular {
  border-color: rgba(216, 27, 96, 0.4);
  background: linear-gradient(180deg, rgba(216,27,96,0.08), rgba(103,58,183,0.05));
  box-shadow: 0 18px 60px rgba(216,27,96,0.15);
}

.hc-popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #d81b60, #ba0046);
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(216, 27, 96, 0.4);
}

.hc-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.1);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.1);
  align-self: flex-start;
  margin-bottom: 16px;
}
.hc-popular .hc-badge { background: rgba(216,27,96,0.15); color: #ffb1c8; border-color: rgba(216,27,96,0.3); }

.hc-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.hc-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  min-height: 42px;
  margin-bottom: 20px;
}

.hc-price {
  font-family: var(--font-display, inherit);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}
.hc-price .currency { font-size: 1.4rem; vertical-align: top; margin-right: 4px; opacity: 0.8; }
.hc-price .mo { font-size: 1rem; color: rgba(255,255,255,0.5); font-weight: 400; margin-left: 4px; }

.hc-promo {
  font-size: 0.85rem;
  font-weight: 700;
  color: #a78bfa; /* subtle purple */
  margin-top: 8px;
  margin-bottom: 24px;
}
.hc-popular .hc-promo { color: #f472b6; /* subtle pink */ }

.hc-btn {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  margin-bottom: 24px;
}
.hc-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
}
.btn-popular {
  background: linear-gradient(90deg, #673ab7, #d81b60);
  border: none;
  box-shadow: 0 8px 20px rgba(216, 27, 96, 0.3);
}
.btn-popular:hover {
  background: linear-gradient(90deg, #7e57c2, #e91e63);
  box-shadow: 0 12px 28px rgba(216, 27, 96, 0.4);
}

.hc-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}
.hc-features li {
  position: relative;
  padding-left: 20px;
}
.hc-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #a78bfa;
  font-weight: 800;
}
.hc-popular .hc-features li::before { color: #f472b6; }
