/* ===================================================
   Matheus AI — Landing Page Styles
   =================================================== */

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

:root {
  --primary: #6B2BFF;
  --secondary: #2E8BFF;
  --accent: #8F5CFF;
  --alert: #FF6A3D;
  --bg: #0B0B12;
  --surface: #13131E;
  --surface-hover: #1A1A2A;
  --text: #FFFFFF;
  --text-secondary: #8888AA;
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== UTILITIES ===== */
.text-white { color: #fff; }
.text-muted { color: var(--text-secondary); font-size: 1.5rem; font-weight: 700; }
.text-left { text-align: left !important; }
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.02em;
}

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

.section-bottom-cta {
  text-align: center;
  margin-top: 3rem;
}

.section-bg-accent {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(107,43,255,0.08) 0%, transparent 70%);
}

.section-bg-center {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(107,43,255,0.06) 0%, transparent 70%);
}

.section-bg-accent-bottom {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(107,43,255,0.07) 0%, transparent 70%);
}

.section-bg-dark {
  position: absolute;
  inset: 0;
  background: rgba(19,19,30,0.2);
  pointer-events: none;
}

.section-divider-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
}

.section-divider-purple {
  background: linear-gradient(90deg, transparent, rgba(107,43,255,0.3), transparent);
}

.section-divider-blue {
  background: linear-gradient(90deg, transparent, rgba(46,139,255,0.3), transparent);
}

/* ===== GRID BACKGROUND ===== */
.grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* ===== BADGES ===== */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(107,43,255,0.25);
  background: rgba(107,43,255,0.1);
  color: var(--accent);
}

.badge-secondary { border-color: rgba(46,139,255,0.25); background: rgba(46,139,255,0.1); color: var(--secondary); }
.badge-accent { border-color: rgba(143,92,255,0.25); background: rgba(143,92,255,0.1); color: var(--accent); }
.badge-blue { border-color: rgba(46,139,255,0.25); background: rgba(46,139,255,0.1); color: var(--secondary); }
.badge-purple { border-color: rgba(107,43,255,0.25); background: rgba(107,43,255,0.1); color: var(--primary); }

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}

.btn-primary:hover {
  transform: translateY(-1px) scale(1.02);
  opacity: 0.95;
}

.btn-primary:active { transform: scale(0.98); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid rgba(107,43,255,0.35);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn-outline:hover {
  background: rgba(107,43,255,0.08);
  border-color: rgba(107,43,255,0.5);
  transform: translateY(-1px);
}

.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; }
.btn-xl { padding: 1rem 2rem; font-size: 1.05rem; }

.btn-icon { transition: transform 0.2s; }
.btn-primary:hover .btn-icon { transform: translateX(3px); }

/* ===== CARD SURFACE ===== */
.card-surface {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.3s, transform 0.2s, box-shadow 0.3s;
}

.card-surface:hover {
  border-color: var(--border-hover);
}

/* ===== LINKS ===== */
.link-primary {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.link-primary:hover { color: var(--accent); }

/* ===== TAGS ===== */
.tag {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: border-color 0.2s;
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

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

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

@keyframes typingDot {
  0%, 80%, 100% { opacity: 0.2; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
}

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

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

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(32px) scale(0.97); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

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

@keyframes orbitPulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0.3; }
}

.animate-float { animation: floatUp 6s ease-in-out infinite; }
.animate-float-delayed { animation: floatUpDelayed 8s ease-in-out infinite 1s; }

.fade-in-up { animation: fadeInUp 0.8s ease-out 0.2s both; }
.fade-in-right { animation: fadeInRight 0.8s ease-out 0.4s both; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-stagger.visible { opacity: 1; transform: translateY(0); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background: rgba(11,11,18,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.nav-logo:hover .nav-logo-icon { opacity: 1; }

.nav-logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gradient);
  transition: width 0.3s;
}

.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }

.nav-cta-desktop { display: flex; }

.nav-mobile-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-mobile-btn:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.nav-mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.5rem;
  background: rgba(19,19,30,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.nav-mobile-menu.open { max-height: 400px; }

.nav-mobile-link {
  display: block;
  padding: 0.875rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.nav-mobile-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.btn-mobile-cta {
  margin-top: 0.5rem;
  justify-content: center;
  width: 100%;
}

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

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 30% 40%, rgba(107,43,255,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 70% 60%, rgba(46,139,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.orb-left {
  top: 25%;
  left: -8rem;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(107,43,255,0.25) 0%, transparent 70%);
  opacity: 0.5;
}

.orb-right {
  bottom: 25%;
  right: -8rem;
  width: 20rem;
  height: 20rem;
  background: radial-gradient(circle, rgba(46,139,255,0.2) 0%, transparent 70%);
  opacity: 0.4;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 500px;
}

.hero-subtitle strong { color: var(--text); font-weight: 600; }

.hero-ctas {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.stat-divider {
  width: 1px;
  height: 2.5rem;
  background: var(--border);
  flex-shrink: 0;
}

/* ===== PHONE MOCKUP ===== */
.hero-mockup {
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.mockup-glow {
  position: absolute;
  inset: -2rem;
  border-radius: 2rem;
  opacity: 0.3;
  filter: blur(60px);
  background: radial-gradient(ellipse at center, rgba(107,43,255,0.6) 0%, rgba(46,139,255,0.3) 50%, transparent 70%);
  pointer-events: none;
}

.phone-mockup {
  position: relative;
  width: 100%;
  max-width: 340px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #111118;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.8);
}

.phone-header {
  background: #0F1922;
  padding: 0.875rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.phone-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.phone-info { flex: 1; min-width: 0; }

.phone-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.phone-status {
  font-size: 0.7rem;
  color: #4ADE80;
}

.phone-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  animation: pulse 2s infinite;
}

.chat-area {
  background: #0B0B0F;
  padding: 1rem 0.75rem;
  height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  scroll-behavior: smooth;
}

.chat-area::-webkit-scrollbar { width: 4px; }
.chat-area::-webkit-scrollbar-track { background: transparent; }
.chat-area::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.chat-date {
  text-align: center;
  margin-bottom: 0.25rem;
}

.chat-date span {
  font-size: 0.625rem;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.05);
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
}

/* Chat bubbles */
.chat-bubble {
  animation: messageAppear 0.3s ease-out;
}

.chat-user {
  display: flex;
  justify-content: flex-end;
}

.chat-user-inner {
  max-width: 78%;
  background: var(--gradient);
  padding: 0.625rem 1rem;
  border-radius: 18px 18px 4px 18px;
}

.chat-user-inner p {
  font-size: 0.8125rem;
  color: white;
  line-height: 1.5;
}

.chat-bot {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
}

.chat-bot-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.chat-bot-inner {
  max-width: 78%;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 0.625rem 1rem;
  border-radius: 18px 18px 18px 4px;
}

.chat-bot-inner p {
  font-size: 0.8125rem;
  color: var(--text);
  line-height: 1.5;
}

.chat-alert {
  display: flex;
  justify-content: flex-start;
}

.chat-alert-inner {
  max-width: 88%;
  background: #2A1A0F;
  border: 1px solid rgba(255,106,61,0.3);
  padding: 0.625rem 1rem;
  border-radius: 18px 18px 18px 4px;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.chat-alert-icon {
  color: var(--alert);
  flex-shrink: 0;
  margin-top: 2px;
}

.chat-alert-inner p {
  font-size: 0.8125rem;
  color: #FFDBC8;
  line-height: 1.5;
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 1rem;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 18px 18px 18px 4px;
  width: fit-content;
  animation: messageAppear 0.2s ease-out;
}

.typing-label {
  font-size: 0.65rem;
  color: var(--text-secondary);
  margin-right: 0.25rem;
}

.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.typing-dot:nth-child(2) { animation: typingDot 1.4s ease-in-out infinite; }
.typing-dot:nth-child(3) { animation: typingDot 1.4s ease-in-out infinite 0.2s; }
.typing-dot:nth-child(4) { animation: typingDot 1.4s ease-in-out infinite 0.4s; }

.phone-input-bar {
  background: #0F1922;
  padding: 0.625rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.phone-input-field {
  flex: 1;
  background: #1A2530;
  border-radius: 999px;
  padding: 0.5rem 1rem;
}

.phone-input-field span {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.phone-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.hero-bottom-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 8rem;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

/* ===== HOW IT WORKS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}

.step-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  cursor: default;
}

.step-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.step-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s;
}

.step-icon-purple { color: var(--primary); box-shadow: 0 0 20px rgba(107,43,255,0.3); }
.step-icon-blue { color: var(--secondary); box-shadow: 0 0 20px rgba(46,139,255,0.3); }
.step-icon-accent { color: var(--accent); box-shadow: 0 0 20px rgba(143,92,255,0.3); }

.step-number {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  transition: color 0.3s;
  select-none: none;
}

.step-card:hover .step-number { color: rgba(255,255,255,0.1); }

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.step-arrow {
  display: none;
  position: absolute;
  right: -1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.hover-glow-purple { position: relative; overflow: hidden; }
.hover-glow-purple::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(107,43,255,0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.hover-glow-purple:hover::before { opacity: 1; }

.hover-glow-blue::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(46,139,255,0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.hover-glow-blue:hover::before { opacity: 1; }

.hover-glow-accent::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(143,92,255,0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.hover-glow-accent:hover::before { opacity: 1; }

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.feature-card:hover { transform: translateY(-4px); }

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.feature-card:hover .feature-icon-wrap { transform: scale(1.1); }

.feature-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.feature-badge {
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  background: rgba(143,92,255,0.15);
  border: 1px solid rgba(143,92,255,0.2);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent);
}

.feature-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== INTEGRATIONS ===== */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.integration-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.2s, transform 0.2s;
  cursor: default;
}

.integration-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.integration-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.integration-icon-purple { background: rgba(107,43,255,0.15); color: var(--primary); }
.integration-icon-blue { background: rgba(46,139,255,0.15); color: var(--secondary); }
.integration-icon-orange { background: rgba(255,106,61,0.15); color: var(--alert); }
.integration-icon-green { background: rgba(74,222,128,0.15); color: #4ADE80; }

.integration-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
}

.integrations-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.integrations-note svg { color: var(--primary); flex-shrink: 0; }

/* ===== SECURITY ===== */
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

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

.shield-container {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(107,43,255,0.12);
  animation: orbitPulse 3s ease-in-out infinite;
}

.shield-ring-1 { inset: -24px; animation-delay: 0s; }
.shield-ring-2 { inset: -48px; animation-delay: 0.4s; opacity: 0.6; }
.shield-ring-3 { inset: -72px; animation-delay: 0.8s; opacity: 0.35; }

.shield-main {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(107,43,255,0.2);
  background: radial-gradient(circle, rgba(107,43,255,0.2) 0%, rgba(107,43,255,0.05) 60%, transparent 80%);
  box-shadow: 0 0 60px rgba(107,43,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.shield-inner {
  position: absolute;
  width: 75%;
  height: 75%;
  border-radius: 50%;
  border: 1px solid rgba(107,43,255,0.1);
  background: rgba(107,43,255,0.04);
}

.shield-icon-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.shield-icon { color: white; }

.shield-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
}

.orbit-icon {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.orbit-1 { top: 0; left: 50%; transform: translateX(-50%) translateY(-50%); }
.orbit-2 { right: 0; top: 50%; transform: translateX(50%) translateY(-50%); }
.orbit-3 { bottom: 0; left: 50%; transform: translateX(-50%) translateY(50%); }
.orbit-4 { left: 0; top: 50%; transform: translateX(-50%) translateY(-50%); }

.shield-main {
  background: linear-gradient(135deg, #6B2BFF, #2E8BFF);
}

.shield-icon-wrap .shield-icon { color: white; }

/* Fix shield icon bg */
.shield-main { background: radial-gradient(circle, rgba(107,43,255,0.25) 0%, rgba(107,43,255,0.07) 60%, transparent 80%); }

.shield-icon-box {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6B2BFF, #2E8BFF);
  box-shadow: 0 0 40px rgba(107,43,255,0.5);
}

.shield-icon-box svg { color: white; width: 40px; height: 40px; }

.security-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.security-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
}

.security-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  transition: background 0.2s;
}

.security-feature:hover { background: rgba(255,255,255,0.02); }

.security-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(107,43,255,0.1);
  border: 1px solid rgba(107,43,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: background 0.2s;
}

.security-feature:hover .security-feature-icon { background: rgba(107,43,255,0.15); }

.security-feature-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.security-feature-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.security-trust-badge {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(107,43,255,0.06);
  border: 1px solid rgba(107,43,255,0.12);
}

.trust-icon { color: var(--primary); flex-shrink: 0; margin-top: 2px; }

.trust-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.trust-text strong { color: var(--text); }

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 16px;
  position: relative;
  transition: transform 0.2s;
}

.pricing-card:hover { transform: translateY(-4px); }

.pricing-card-featured {
  background: var(--surface);
  border: 2px solid rgba(107,43,255,0.5);
  box-shadow: 0 0 40px rgba(107,43,255,0.2);
}

.pricing-featured-glow {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(107,43,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.pricing-badge-top {
  position: absolute;
  top: -0.875rem;
  left: 50%;
  transform: translateX(-50%);
}

.pricing-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.875rem;
  border-radius: 999px;
  background: var(--gradient);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(107,43,255,0.4);
}

.pricing-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.pricing-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pricing-icon-default {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.pricing-icon-featured {
  background: var(--gradient);
  color: white;
}

.pricing-plan-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.pricing-tagline {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.pricing-price {
  font-size: 1.5rem;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.pricing-btn {
  width: 100%;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  position: relative;
  z-index: 1;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  position: relative;
  z-index: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.75rem;
}

.pricing-feature-item.included { color: var(--text); }
.pricing-feature-item.not-included { color: rgba(136,136,170,0.4); text-decoration: line-through; }

.check-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  flex-shrink: 0;
  color: var(--text-secondary);
}

.check-primary {
  background: rgba(107,43,255,0.2);
  color: var(--primary);
}

.dash-icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  color: rgba(136,136,170,0.3);
}

.pricing-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2.5rem;
}

/* ===== CTA SECTION ===== */
.cta-section { overflow: hidden; }

.cta-divider {
  background: linear-gradient(90deg, transparent, rgba(107,43,255,0.4), rgba(46,139,255,0.4), transparent);
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 120% 100% at 50% 50%, rgba(107,43,255,0.2) 0%, rgba(46,139,255,0.1) 40%, transparent 70%);
  pointer-events: none;
}

.cta-grid-bg { opacity: 0.4; }

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.cta-orb-left {
  top: 50%;
  left: 25%;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, rgba(107,43,255,0.25) 0%, transparent 70%);
  transform: translateY(-50%);
  opacity: 0.4;
}

.cta-orb-right {
  top: 50%;
  right: 25%;
  width: 14rem;
  height: 14rem;
  background: radial-gradient(circle, rgba(46,139,255,0.2) 0%, transparent 70%);
  transform: translateY(-50%);
  opacity: 0.3;
}

.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  background: linear-gradient(135deg, #6B2BFF, #2E8BFF);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 60px rgba(107,43,255,0.5), 0 0 120px rgba(107,43,255,0.2);
}

.cta-icon { color: white; }

.cta-icon-badge {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: white;
}

.cta-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

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

.cta-buttons {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.cta-secondary-link:hover { color: var(--text); }

.cta-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.cta-bottom-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 6rem;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  position: relative;
}

.footer-container {
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo { text-decoration: none; }

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.social-link {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.social-link:hover {
  color: var(--text);
  background: rgba(255,255,255,0.1);
  border-color: var(--border-hover);
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-email:hover { color: var(--text); }

.footer-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ADE80;
  animation: pulse 2s infinite;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-mockup { justify-content: center; }
  .hero-title { font-size: clamp(2rem, 6vw, 3rem); }
  .steps-grid { grid-template-columns: 1fr; }
  .step-arrow { display: none !important; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .integrations-grid { grid-template-columns: repeat(4, 1fr); }
  .security-grid { grid-template-columns: 1fr; gap: 3rem; }
  .security-visual { order: -1; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta-desktop { display: none; }
  .nav-mobile-btn { display: flex; }
  .nav-mobile-menu.open { padding: 1rem 1.5rem; }

  .section-padding { padding: 4rem 0; }
  .features-grid { grid-template-columns: 1fr; }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .security-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1rem; }
  .stat-divider { display: none; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn-secondary, .hero-ctas .btn-primary { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-trust { flex-direction: column; gap: 0.75rem; }
}
