/* ===========================
   CSS Variables & Reset
   Theme3: Combination of theme1 base + theme2 hero/CTA/footer
   =========================== */
:root {
  /* Theme1 base colors */
  --color-primary: #611F69;
  --color-primary-dark: #4A154B;
  --color-primary-light: #7C3085;
  --color-accent-blue: #36C5F0;
  --color-accent-green: #2EB67D;
  --color-accent-yellow: #ECB22E;
  --color-accent-red: #E01E5A;
  --color-bg: #ffffff;
  --color-bg-light: #F4EDE4;
  --color-bg-hero: #F4EDE4;
  --color-text: #1D1C1D;
  --color-text-secondary: #616061;
  --color-border: #DDDDDD;

  /* Theme2 gradient additions for hero/CTA/footer */
  --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  --gradient-5: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  --gradient-hero: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  --gradient-cta: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  --color-bg-dark: #0f0c29;
  --color-accent-pink: #f5576c;
  --color-accent-cyan: #00f2fe;

  /* Shared */
  --font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
  --radius: 8px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 8px 32px rgba(102, 126, 234, 0.25);
  --transition: 0.2s ease;
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   Gradient Text (theme2)
   =========================== */
.gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===========================
   Buttons (theme1 base + theme2 additions)
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.8px;
  padding: 12px 24px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: transparent;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.btn--ghost:hover {
  color: var(--color-primary);
}

/* Theme2-style buttons for hero/CTA */
.btn--glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn--white {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}

.btn--white:hover {
  background: #f0f0f0;
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 15px;
}

.btn--glow {
  border-radius: 50px;
  background: var(--gradient-1);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
  animation: pulse-glow 2s ease-in-out infinite;
}

.btn--glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 8px 32px rgba(102, 126, 234, 0.25); }
  50% { box-shadow: 0 8px 48px rgba(102, 126, 234, 0.45); }
}

.btn--glow-white {
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
  animation: pulse-glow-white 2s ease-in-out infinite;
}

.btn--glow-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.4);
}

@keyframes pulse-glow-white {
  0%, 100% { box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3); }
  50% { box-shadow: 0 8px 40px rgba(255, 255, 255, 0.5); }
}

/* ===========================
   Navbar (from theme1)
   =========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  height: var(--nav-height);
}

body {
  padding-top: var(--nav-height);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text);
}

.navbar__logo:hover {
  color: var(--color-primary);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar__links a {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  border-radius: 4px;
  transition: all var(--transition);
}

.navbar__links a:hover {
  color: var(--color-primary);
  background: rgba(97, 31, 105, 0.06);
}

.caret {
  font-size: 10px;
  margin-left: 2px;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

/* Dropdown menu */
.navbar__dropdown {
  position: relative;
}

.navbar__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1000;
}

.navbar__dropdown:hover .navbar__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar__dropdown:hover > a .caret {
  transform: rotate(180deg);
}

.navbar__dropdown-menu a {
  display: block;
  padding: 9px 18px;
  font-size: 14px;
  color: var(--color-text);
  border-radius: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.navbar__dropdown-menu a:hover {
  background: rgba(97, 31, 105, 0.06);
  color: var(--color-primary);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
}

/* ===========================
   Hero Section (from theme2)
   =========================== */
.hero {
  background: var(--gradient-hero);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Floating shapes */
.hero__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float-shape 20s ease-in-out infinite;
}

.shape--1 {
  width: 400px;
  height: 400px;
  background: #667eea;
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.shape--2 {
  width: 300px;
  height: 300px;
  background: #f5576c;
  bottom: -50px;
  left: -50px;
  animation-delay: -5s;
}

.shape--3 {
  width: 250px;
  height: 250px;
  background: #43e97b;
  top: 50%;
  left: 30%;
  animation-delay: -10s;
}

.shape--4 {
  width: 200px;
  height: 200px;
  background: #4facfe;
  top: 20%;
  right: 20%;
  animation-delay: -15s;
}

.shape--5 {
  width: 350px;
  height: 350px;
  background: #764ba2;
  bottom: 10%;
  right: 30%;
  animation-delay: -8s;
}

@keyframes float-shape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.1); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(20px, 10px) scale(1.05); }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  color: #fff;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.hero__badge:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-green);
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.badge-arrow {
  opacity: 0.5;
  transition: all var(--transition-smooth);
}

.hero__badge:hover .badge-arrow {
  opacity: 1;
  transform: translateX(3px);
}

.hero__title {
  font-size: 60px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero__title .gradient-text {
  background: linear-gradient(135deg, #667eea, #4facfe, #43e97b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Avatar stack */
.hero__avatars {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar-stack {
  display: flex;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  border: 1px solid #ffffff;
  margin-left: -10px;
  transition: transform var(--transition-smooth);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar:first-child { margin-left: 0; }

.avatar:hover {
  transform: translateY(-4px);
  z-index: 1;
}

.hero__avatars p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.hero__avatars strong {
  color: rgba(255, 255, 255, 0.9);
}

/* ===========================
   Mockup - Hero Visual (from theme2)
   =========================== */
.hero__mockup {
  position: relative;
}

.mockup {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08);
  background: #1e1e2e;
}

.mockup__topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: #181825;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup__dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot--red { background: #f5576c; }
.dot--yellow { background: #fee140; }
.dot--green { background: #43e97b; }

.mockup__search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

.mockup__body {
  display: flex;
  height: 380px;
}

.mockup__sidebar {
  width: 220px;
  background: #1e1e2e;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 0;
  flex-shrink: 0;
  overflow: hidden;
}

.mockup__workspace {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 16px;
}

.workspace-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}

.mockup__workspace strong {
  color: #fff;
  font-size: 14px;
  display: block;
}

.mockup__workspace small {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
}

.mockup__nav-label {
  padding: 12px 16px 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.3);
}

.mockup__channel {
  display: flex;
  align-items: center;
  padding: 5px 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  cursor: default;
  transition: all var(--transition-smooth);
}

.mockup__channel.active {
  background: rgba(102, 126, 234, 0.2);
  color: #fff;
}

.channel-hash {
  margin-right: 6px;
  opacity: 0.5;
  font-size: 14px;
}

.channel-badge {
  margin-left: auto;
  background: var(--color-accent-pink);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
}

.mockup__dm {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.dm-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.dm-status.online {
  background: var(--color-accent-green);
}

.mockup__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #11111b;
}

.mockup__header {
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 12px;
}

.mockup__header strong {
  color: #fff;
  font-size: 15px;
}

.mockup__header-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.mockup__messages {
  flex: 1;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

.mockup__msg {
  display: flex;
  gap: 10px;
}

.mockup__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.mockup__msg-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.mockup__msg-body strong {
  font-size: 13px;
  color: #fff;
}

.mockup__msg-body p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

.mockup__time {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.25);
  font-weight: 400;
}

.mockup__reactions {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.reaction {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  cursor: default;
}

.mockup__file {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 8px;
}

.file-icon { font-size: 20px; }

.mockup__file strong {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  display: block;
}

.mockup__file small {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
}

.mockup__input {
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup__input-actions {
  display: flex;
  gap: 10px;
  font-size: 16px;
  opacity: 0.4;
}

/* Floating notification cards */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  animation: float-card 4s ease-in-out infinite;
  z-index: 2;
}

.float-card--1 {
  top: 30px;
  right: -20px;
  animation-delay: 0s;
}

.float-card--2 {
  bottom: 40px;
  left: -30px;
  animation-delay: -2s;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-card strong {
  font-size: 13px;
  color: var(--color-text);
  display: block;
}

.float-card small {
  font-size: 11px;
  color: var(--color-text-secondary);
}

/* ===========================
   Trusted By — Feature Badges
   =========================== */
.trusted {
  padding: 72px 0;
  background: var(--color-bg);
  overflow: hidden;
}

.trusted__label {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
}

.trusted__badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.trusted__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px 10px 12px;
  background: var(--badge-gradient, linear-gradient(135deg, #e0e7ff, #c7d2fe));
  border: 1.5px solid var(--badge-border, rgba(255,255,255,0.3));
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 var(--badge-shimmer, rgba(255,255,255,0.2));
  transition: all var(--transition-smooth);
  animation: badge-float var(--float-duration, 3.5s) ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
  cursor: default;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(4px);
}

/* Shimmer sweep overlay */
.trusted__badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.3),
    transparent
  );
  transition: left 0.6s ease;
  pointer-events: none;
}

.trusted__badge:hover::before {
  left: 100%;
}

.trusted__badge:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow:
    0 12px 40px var(--badge-hover-shadow, rgba(0,0,0,0.2)),
    inset 0 1px 0 rgba(255,255,255,0.3);
  border-color: rgba(255,255,255,0.5);
  filter: brightness(1.08);
}

.trusted__badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(0,0,0,0.18);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255,255,255,0.15);
  transition: transform var(--transition-smooth), background var(--transition-smooth);
  backdrop-filter: blur(8px);
}

.trusted__badge:hover .trusted__badge-icon {
  transform: rotate(8deg) scale(1.1);
  background: rgba(0,0,0,0.25);
}

@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===========================
   Features (from theme1)
   =========================== */
.features {
  padding: 80px 0;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 50px;
}

.feature:last-child {
  margin-bottom: 0;
}

.feature--reverse {
  direction: rtl;
}

.feature--reverse > * {
  direction: ltr;
}

.feature__tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.feature__title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.feature__desc {
  font-size: 17px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature__link {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  transition: opacity var(--transition);
}

.feature__link:hover {
  opacity: 0.8;
}

/* Feature cards */
.feature__card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  transition: transform var(--transition);
}

.feature__card:hover {
  transform: translateY(-2px);
}

.feature__card:last-child {
  margin-bottom: 0;
}

.feature__card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature__card strong {
  font-size: 15px;
  display: block;
  margin-bottom: 4px;
}

.feature__card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* Illustration grid */
.feature__illustration {
  padding: 40px;
}

.illus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.illus-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px 20px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  transition: transform var(--transition);
}

.illus-box:hover {
  transform: scale(1.05);
}

.illus-box--purple { background: var(--color-primary); }
.illus-box--green { background: var(--color-accent-green); }
.illus-box--blue { background: var(--color-accent-blue); }
.illus-box--yellow { background: var(--color-accent-yellow); }

/* ===========================
   Hierarchy Diagram
   =========================== */
.hierarchy-diagram {
  width: 100%;
  padding: 10px 0;
}

.hierarchy-svg {
  width: 100%;
  height: auto;
  max-width: 540px;
  margin: 0 auto;
  display: block;
}

/* Orthogonal connection lines */
.conn-line {
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 6 4;
  animation: dash-flow 1.5s linear infinite;
}

.conn-line--v {
  stroke: #a78bfa;
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 6 4;
  animation: dash-flow 1.5s linear infinite;
}

.conn-line--h {
  stroke: #a78bfa;
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 6 4;
  animation: dash-flow 1.5s linear infinite;
  animation-direction: reverse;
}

@keyframes dash-flow {
  to { stroke-dashoffset: -20; }
}

/* Junction dots at connector intersections */
.conn-dot {
  opacity: 0.8;
}

/* Node hover */
.node {
  cursor: default;
  transition: transform 0.3s ease;
}

.node:hover {
  filter: brightness(1.08);
}

/* Integrations */
.feature__integrations {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.integration-bubble {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
  animation: float 3s ease-in-out infinite;
  animation-delay: var(--delay);
}

.integration-bubble:hover {
  transform: scale(1.1);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.integration-center {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
}

.integration-center small {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.8;
}

/* ===========================
   Store-Network Architecture Diagram
   =========================== */
.store-network-diagram {
  width: 100%;
  padding: 10px 0;
}

.store-network-svg {
  width: 100%;
  height: auto;
  max-width: 560px;
  margin: 0 auto;
  display: block;
}

.store-network-svg .node {
  cursor: default;
  transition: transform 0.3s ease;
}

.store-network-svg .node:hover {
  filter: brightness(1.08);
}

/* ===========================
   Showcase Page Diagram
   =========================== */
.showcase-diagram {
  width: 100%;
  padding: 10px 0;
}

.showcase-svg {
  width: 100%;
  height: auto;
  max-width: 640px;
  margin: 0 auto;
  display: block;
}

.showcase-svg .sc-card {
  cursor: default;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.showcase-svg .sc-card:hover {
  filter: brightness(1.1);
}

/* ===========================
   Feature Detail Pages
   =========================== */
.feature-hero {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, #0f0a1a 0%, #1a0e2e 50%, #0d1b2a 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(97,31,105,0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(99,102,241,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.feature-hero__tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(99,102,241,0.15);
  color: #818cf8;
  margin-bottom: 16px;
}

.feature-hero__title {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.feature-hero__desc {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 640px;
  margin: 0 auto 32px;
}

.feature-illustration {
  padding: 60px 0;
  background: var(--color-bg);
}

.feature-illustration__inner {
  max-width: 700px;
  margin: 0 auto;
}

.feature-illustration svg {
  width: 100%;
  height: auto;
  display: block;
}

.feature-screenshot {
  padding: 0 0 40px;
  background: var(--color-bg);
}

.feature-screenshot__inner {
  max-width: 700px;
  margin: 0 auto;
}

.feature-screenshot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.feature-screenshot__placeholder {
  width: 100%;
  min-height: 300px;
  border-radius: 12px;
  border: 2px dashed #94a3b8;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 15px;
  font-weight: 500;
  font-family: system-ui, sans-serif;
}

/* ===========================
   Solution Pages
   =========================== */
.solution-section {
  padding: 60px 0 40px;
  background: var(--color-bg);
}

.solution-section__inner {
  max-width: 760px;
  margin: 0 auto;
}

.solution-section__title {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.solution-section__body p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.solution-section__body p:last-child {
  margin-bottom: 0;
}

.solution-section__body strong {
  color: var(--color-text);
  font-weight: 700;
}

.solution-section__body em {
  font-style: italic;
}

/* Duo (two side-by-side) image placeholders */
.feature-screenshot--duo {
  padding: 0 0 40px;
}

.feature-screenshot__duo-inner {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-screenshot__duo-inner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

@media (max-width: 768px) {
  .solution-section__title {
    font-size: 22px;
  }
  .solution-section__body p {
    font-size: 15px;
  }
  .feature-screenshot__duo-inner {
    grid-template-columns: 1fr;
  }
}

.feature-cta {
  text-align: center;
  padding: 40px 0 80px;
  background: var(--color-bg);
}

.feature-cta .btn {
  font-size: 16px;
  padding: 14px 36px;
}

@media (max-width: 768px) {
  .feature-hero {
    padding: 100px 0 40px;
  }
  .feature-hero__title {
    font-size: 28px;
  }
  .feature-hero__desc {
    font-size: 15px;
  }
}

/* ===========================
   Stats (from theme1)
   =========================== */
.stats {
  background: var(--color-bg-light);
  padding: 100px 0;
}

.stats__title {
  text-align: center;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.stats__subtitle {
  text-align: center;
  font-size: 17px;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto 56px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stats__item {
  text-align: center;
  padding: 32px 16px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stats__number {
  font-size: 48px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.stats__desc {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* ===========================
   CTA Section (from theme2)
   =========================== */
.cta {
  background: var(--gradient-cta);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
}

.cta-shape--1 {
  width: 400px;
  height: 400px;
  background: #fff;
  top: -150px;
  right: -100px;
}

.cta-shape--2 {
  width: 300px;
  height: 300px;
  background: #43e97b;
  bottom: -100px;
  left: 10%;
}

.cta-shape--3 {
  width: 250px;
  height: 250px;
  background: #4facfe;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cta__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta__title {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.cta__subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
}

.cta__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.cta__trust {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta__trust span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* ===========================
   Footer (from theme2)
   =========================== */
.footer {
  background: var(--color-bg-dark);
  color: #fff;
  padding: 72px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  padding-bottom: 56px;
}

.footer__brand .footer__tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  margin-top: 8px;
  max-width: 250px;
}

/* Footer Contact Section */
.footer__heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

.footer__contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.footer__contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__contact-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 2px;
}

.footer__contact-item a {
  font-size: 14px;
  color: #818cf8;
  text-decoration: none;
  transition: color var(--transition-smooth);
}

.footer__contact-item a:hover {
  color: #a5b4fc;
}

.footer__contact-address {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}

.logo-icon--sm {
  width: 30px;
  height: 30px;
  font-size: 15px;
  border-radius: 8px;
}

.logo-text {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.footer__tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 250px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition-smooth);
}

.footer__social a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateY(-2px);
}

.footer__columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer__col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.4);
}

.footer__col ul li {
  margin-bottom: 12px;
}

.footer__col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-smooth);
}

.footer__col ul li a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--transition-smooth);
}

.footer__legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px) {
  .hero__title {
    font-size: 48px;
  }

  .feature__title {
    font-size: 32px;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ===========================
   Mobile Menu
   =========================== */
.navbar__mobile-overlay {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 998;
}

.navbar--open .navbar__mobile-overlay {
  display: block;
}

@media (max-width: 768px) {
  .navbar__links,
  .navbar__actions {
    display: none;
  }

  .navbar--open .navbar__links,
  .navbar--open .navbar__actions {
    display: flex;
  }

  .navbar--open .navbar__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    padding: 16px 20px 140px;
    gap: 4px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    z-index: 999;
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
    animation: mobileSlideDown 0.25s ease;
  }

  .navbar--open .navbar__actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    padding: 12px 20px 20px;
    gap: 8px;
    z-index: 999;
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
  }

  .navbar--open .navbar__links a {
    padding: 12px 16px;
    font-size: 16px;
    border-radius: 8px;
  }

  .navbar--open .navbar__actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Mobile dropdown — tap to toggle */
  .navbar--open .navbar__dropdown-menu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 0 16px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: transparent;
  }

  .navbar--open .navbar__dropdown.open .navbar__dropdown-menu {
    display: block;
  }

  .navbar--open .navbar__dropdown.open > a .caret {
    transform: rotate(180deg);
  }

  .navbar__hamburger {
    display: flex;
  }

  /* Hamburger animation */
  .navbar__hamburger span {
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  .navbar--open .navbar__hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .navbar--open .navbar__hamburger span:nth-child(2) {
    opacity: 0;
  }

  .navbar--open .navbar__hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding: 80px 0 60px;
    min-height: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__title {
    font-size: 38px;
    letter-spacing: -1px;
  }

  .mockup__sidebar { width: 160px; }
  .mockup__body { height: 300px; }

  .float-card--1 { right: -10px; top: 15px; }
  .float-card--2 { left: -10px; bottom: 20px; }

  .float-card {
    padding: 10px 14px;
    font-size: 12px;
  }

  .feature {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
  }

  .feature--reverse {
    direction: ltr;
  }

  .hierarchy-diagram {
    padding: 10px 0;
  }
  .hierarchy-svg {
    max-width: 100%;
  }

  .store-network-diagram {
    padding: 10px 0;
  }
  .store-network-svg {
    max-width: 100%;
  }

  .showcase-diagram {
    padding: 10px 0;
  }
  .showcase-svg {
    max-width: 100%;
  }

  .feature__title {
    font-size: 28px;
  }

  .stats__title {
    font-size: 28px;
  }

  .stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stats__number {
    font-size: 36px;
  }

  .cta__title {
    font-size: 32px;
  }

  .footer__columns {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@keyframes mobileSlideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 30px;
  }

  .hero__cta {
    flex-direction: column;
  }

  .hero__cta .btn {
    text-align: center;
    justify-content: center;
  }

  .hero__avatars {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .mockup__sidebar { width: 100px; font-size: 11px; }
  .mockup__body { height: 260px; }

  .float-card { display: none; }

  .illus-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .illus-box {
    padding: 20px 12px;
  }

  .stats__grid {
    grid-template-columns: 1fr;
  }

  .cta__title {
    font-size: 26px;
  }

  .cta__trust {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .footer__columns {
    grid-template-columns: 1fr;
  }

  .trusted__badges {
    gap: 10px;
  }

  .trusted__badge {
    padding: 8px 16px 8px 10px;
    font-size: 12px;
  }

  .trusted__badge-icon {
    width: 30px;
    height: 30px;
  }

  .trusted__badge-icon svg {
    width: 16px;
    height: 16px;
  }
}
