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

:root {
  --blue: #0468ff;
  --blue-dark: #0042af;
  --bg: #f9fafb;
  --text: #111827;
  --muted: #6b7280;
  --card-bg: #ffffff;
  --header-bg: #ffffff;
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);
  --transition: 0.2s ease-out;
}

body.dark-mode {
  --bg: #0f172a;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --card-bg: #1e293b;
  --header-bg: #1e293b;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.3);
}

html {
  scroll-behavior: smooth;
}

/* RTL Support */
html[dir="rtl"] {
  direction: rtl;
}

html[dir="rtl"] .header-inner,
html[dir="rtl"] .hero-grid,
html[dir="rtl"] .feature-grid,
html[dir="rtl"] .process-grid,
html[dir="rtl"] .products-grid,
html[dir="rtl"] .values-grid {
  direction: rtl;
}

html[dir="rtl"] .logo {
  flex-direction: row-reverse;
}

html[dir="rtl"] .nav {
  flex-direction: row-reverse;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Container */
.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
  transition: background var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.logo-image {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: transparent;
  border-radius: 8px;
  padding: 4px;
}

.logo-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.logo-subtitle {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  transition: background var(--transition), color var(--transition);
}

.nav a:hover {
  background: rgba(15, 23, 42, 0.04);
  color: var(--text);
}

body.dark-mode .nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, #fb923c, #f97316);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(251, 146, 60, 0.5);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(251, 146, 60, 0.6);
  background: linear-gradient(135deg, #f97316, #ea580c);
}

.btn-outline {
  background: var(--card-bg);
  border-color: rgba(148, 163, 184, 0.9);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--blue);
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border-color: transparent;
}

.btn-ghost:hover {
  background: rgba(37, 99, 235, 0.08);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
}

/* Dark mode toggle */
.dark-mode-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.05);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  color: var(--text);
}

.dark-mode-toggle:hover {
  background: rgba(15, 23, 42, 0.1);
  transform: scale(1.05);
}

body.dark-mode .dark-mode-toggle {
  background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .dark-mode-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

.dark-mode-toggle .sun-icon {
  display: block;
}

.dark-mode-toggle .moon-icon {
  display: none;
}

body.dark-mode .dark-mode-toggle .sun-icon {
  display: none;
}

body.dark-mode .dark-mode-toggle .moon-icon {
  display: block;
}

/* Language Selector */
.language-selector {
  position: relative;
  display: flex;
  align-items: center;
}

.language-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.05);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  color: var(--text);
}

.language-toggle:hover {
  background: rgba(15, 23, 42, 0.1);
  transform: scale(1.05);
}

body.dark-mode .language-toggle {
  background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .language-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

.language-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.15);
  padding: 0.5rem;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 100;
  border: 1px solid rgba(15, 23, 42, 0.1);
}

body.dark-mode .language-dropdown {
  border-color: rgba(255, 255, 255, 0.1);
}

.language-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: block;
  width: 100%;
  padding: 0.6rem 0.8rem;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
}

.language-option:hover {
  background: rgba(59, 130, 246, 0.1);
}

.language-option.active {
  background: rgba(59, 130, 246, 0.15);
  font-weight: 600;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: #ffffff;
  padding: 4.5rem 0 5.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.3fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}

.hero-content h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.3rem);
  line-height: 1.2;
  margin-bottom: 0.7rem;
}

.hero-subtitle {
  font-size: 0.88rem;
  max-width: 28rem;
  opacity: 0.9;
  line-height: 1.6;
  text-align: justify;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.8rem;
}

.stat-label {
  font-size: 0.72rem;
  opacity: 0.9;
}

.stat-value {
  font-size: 0.85rem;
  font-weight: 600;
}

/* Hero mockup */
.hero-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(1.5);
  margin: 3rem 0;
}

.phone-frame {
  width: 320px;
  border-radius: 36px;
  padding: 1.3rem;
  background: #0f172a;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.75);
}

.phone-header {
  display: flex;
  gap: 4px;
  margin-bottom: 0.6rem;
}

.phone-header .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #4b5563;
}

.phone-screen {
  background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
  border-radius: 24px;
  padding: 1.2rem;
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.05);
}

.screen-label {
  font-size: 0.78rem;
  color: #6b7280;
  margin: 0;
}

.screen-balance {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0.3rem 0 0.9rem;
  color: #334155;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.screen-card.bento-mini {
  font-size: 0.65rem;
  padding: 0.75rem 0.3rem;
  text-align: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #1e40af;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid rgba(59, 130, 246, 0.1);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Mini Bento spotlight effect */
.bento-spotlight-mini {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle 80px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.3), transparent 80%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 1;
}

.bento-mini:hover .bento-spotlight-mini {
  opacity: 1;
}

/* Mini Bento border glow */
.bento-border-mini {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0) 0%, 
    rgba(255, 255, 255, 0.5) 50%, 
    rgba(255, 255, 255, 0) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 2;
}

.bento-mini:hover .bento-border-mini {
  opacity: 0.6;
}

.screen-card.bento-mini:nth-child(1) {
  background: linear-gradient(135deg, #a855f7, #9333ea);
  color: #ffffff;
  border-color: rgba(168, 85, 247, 0.3);
}

.screen-card.bento-mini:nth-child(2) {
  background: linear-gradient(135deg, #fb923c, #f97316);
  color: #ffffff;
  border-color: rgba(251, 146, 60, 0.3);
}

.screen-card.bento-mini:nth-child(3) {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #ffffff;
  border-color: rgba(59, 130, 246, 0.3);
}

.screen-card.bento-mini:nth-child(4) {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  border-color: rgba(34, 197, 94, 0.3);
}

.screen-card.bento-mini:nth-child(5) {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  border-color: rgba(239, 68, 68, 0.3);
}

.screen-card.bento-mini:nth-child(6) {
  background: linear-gradient(135deg, #1e3a8a, #1e40af);
  color: #ffffff;
  border-color: rgba(30, 58, 138, 0.3);
}

.screen-card.bento-mini:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  filter: brightness(1.15);
}

.screen-card.bento-mini {
  position: relative;
  z-index: 0;
}

.screen-card.bento-mini * {
  position: relative;
  z-index: 3;
}

/* Dark mode phone mockup */
body.dark-mode .phone-screen {
  background: linear-gradient(to bottom, #1e293b 0%, #0f172a 100%);
}

body.dark-mode .screen-label {
  color: #94a3b8;
}

body.dark-mode .screen-balance {
  color: #e2e8f0;
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section-light {
  background: var(--card-bg);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.section-header-left {
  text-align: left;
  margin-left: 0;
}

.section-header h2 {
  margin-bottom: 0.4rem;
  font-size: 1.6rem;
}

.section-header p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  text-align: justify;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  position: relative;
}

.feature-grid.shape-blur-container {
  overflow: hidden;
  border-radius: 1rem;
  padding: 2rem 0;
}

.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.4rem 1.2rem;
  font-size: 0.9rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.feature-card p {
  text-align: justify;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.08);
  margin-bottom: 0.6rem;
  margin-left: auto;
  margin-right: auto;
}

/* Process */
.process-grid.shape-blur-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.shape-blur {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}

.shape-blur-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  top: -100px;
  left: -100px;
  animation: float 8s ease-in-out infinite;
}

.shape-blur-2 {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, #ec4899, #f97316);
  top: 50%;
  right: -150px;
  animation: float 10s ease-in-out infinite reverse;
}

.shape-blur-3 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #22c55e, #3b82f6);
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  animation: float 12s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  33% {
    transform: translateY(-20px) translateX(20px);
  }
  66% {
    transform: translateY(20px) translateX(-20px);
  }
}

body.dark-mode .shape-blur {
  opacity: 0.2;
}

.process-step {
  text-align: center;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  position: relative;
  z-index: 1;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.8);
}

body.dark-mode .process-step {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(10px);
}

/* Star Border Animation */
.star-border-card {
  position: relative;
  overflow: hidden;
}

.star-border {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg,
    #3b82f6 90deg,
    #8b5cf6 180deg,
    #ec4899 270deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: star-border-rotate 4s linear infinite;
  opacity: 0.6;
}

@keyframes star-border-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.star-border-card:hover .star-border {
  opacity: 1;
  animation-duration: 2s;
}

body.dark-mode .star-border {
  opacity: 0.8;
}

.process-step .btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--text);
  color: var(--card-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
}

/* Products - Magic Bento */
.products-grid.magic-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  position: relative;
}

.bento-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--card-bg);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Spotlight effect */
.bento-spotlight {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle 300px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(59, 130, 246, 0.15), transparent 80%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.bento-card:hover .bento-spotlight {
  opacity: 1;
}

/* Border glow effect */
.bento-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0) 0%, 
    rgba(59, 130, 246, 0.3) 50%, 
    rgba(59, 130, 246, 0) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.bento-card:hover .bento-border {
  opacity: 1;
}

body.dark-mode .bento-card {
  border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .bento-spotlight {
  background: radial-gradient(circle 300px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(99, 179, 255, 0.2), transparent 80%);
}

.bento-card .product-image {
  width: 100%;
  height: 200px;
  background: url('https://images.pexels.com/photos/1181671/pexels-photo-1181671.jpeg?auto=compress&cs=tinysrgb&w=800') center/cover no-repeat;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 0;
}

.bento-card:hover .product-image {
  transform: scale(1.05);
}

.bento-card .product-content {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
  z-index: 1;
}

.bento-card:nth-child(1) .product-image {
  background-image: url('images/idcard.png');
}

.bento-card:nth-child(2) .product-image {
  background-image: url('images/cicada.png');
}
.bento-card:nth-child(3) .product-image {
  background-image: url('images/linchpin369.png');
}
.bento-card:nth-child(4) .product-image {
  background-image: url('images/nft.png');
}
.bento-card:nth-child(5) .product-image {
  background-image: url('images/directory.png');
}
.bento-card:nth-child(6) .product-image {
  background-image: url('images/Tokenization.png');
}

.bento-card.wide {
  grid-column: span 2;
}

.bento-card h3 {
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.bento-description {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.bento-card:hover .bento-description {
  opacity: 1;
  transform: translateY(0);
}

.product-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.products-desc {
  max-width: 640px;
  margin: 1.8rem auto 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.value-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.2rem;
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
}

.values-grid.magic-bento .value-card.bento-card {
  background: var(--card-bg);
  border-radius: 18px;
  padding: 1.5rem 1.3rem;
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.values-grid.magic-bento .value-card.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  display: block;
  position: relative;
  z-index: 3;
}

.values-grid.magic-bento .value-card h3 {
  position: relative;
  z-index: 3;
  margin-bottom: 0.6rem;
}

.values-grid.magic-bento .value-card p {
  position: relative;
  z-index: 3;
}

body.dark-mode .values-grid.magic-bento .value-card.bento-card {
  border-color: rgba(255, 255, 255, 0.05);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.2rem;
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
  text-align: center;
}

.testimonial-card > p:not(.role) {
  text-align: justify;
}

.avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #fee2e2;
  color: #b91c1c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.7rem;
  margin-left: auto;
  margin-right: auto;
}

.role {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0;
}

.business-grid .business-card:nth-child(1) {
  background: #fee2e2;
}
.business-grid .business-card:nth-child(2) {
  background: #e5e7eb;
}
.business-grid .business-card:nth-child(3) {
  background: #dbeafe;
}

body.dark-mode .business-grid .business-card:nth-child(1) {
  background: rgba(254, 226, 226, 0.1);
}
body.dark-mode .business-grid .business-card:nth-child(2) {
  background: rgba(229, 231, 235, 0.1);
}
body.dark-mode .business-grid .business-card:nth-child(3) {
  background: rgba(219, 234, 254, 0.1);
}

/* Newsletter */
.newsletter {
  margin-top: 2.5rem;
  padding: 1.5rem 1.2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Electric Border Animation */
.electric-border-card {
  position: relative;
}

.electric-border {
  position: absolute;
  inset: -3px;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    90deg,
    transparent,
    #3b82f6,
    #8b5cf6,
    #ec4899,
    #f97316,
    #22c55e,
    transparent
  );
  background-size: 200% 100%;
  animation: electric-border-flow 4s linear infinite;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.electric-border-card:hover .electric-border {
  opacity: 1;
  animation-duration: 2s;
}

@keyframes electric-border-flow {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

body.dark-mode .electric-border {
  opacity: 0.8;
}

body.dark-mode .electric-border-card:hover .electric-border {
  opacity: 1;
}

.newsletter > * {
  position: relative;
  z-index: 1;
}

/* Shiny Text Animation */
.shiny-text {
  background: linear-gradient(
    110deg,
    #ffffff 0%,
    #ffffff 45%,
    #e0f2fe 50%,
    #ffffff 55%,
    #ffffff 100%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shiny-text-flow 3s linear infinite;
  font-size: 2rem;
  font-weight: 700;
}

@keyframes shiny-text-flow {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

body.dark-mode .shiny-text {
  background: linear-gradient(
    110deg,
    #ffffff 0%,
    #ffffff 45%,
    #bae6fd 50%,
    #ffffff 55%,
    #ffffff 100%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Fade Content Animation */
.fade-content-section .fade-in-item {
  opacity: 0;
  transform: translateY(30px);
  animation: fade-in-up 0.8s ease-out forwards;
}

.fade-content-section .fade-in-item:nth-child(1) {
  animation-delay: 0.1s;
}

.fade-content-section .fade-in-item:nth-child(2) {
  animation-delay: 0.2s;
}

.fade-content-section .fade-in-item:nth-child(3) {
  animation-delay: 0.3s;
}

.fade-content-section .fade-in-item:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes fade-in-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.newsletter p {
  margin-top: 0.2rem;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.newsletter-form input {
  border-radius: 999px;
  border: none;
  padding: 0.55rem 0.8rem;
  min-width: 180px;
  font-size: 0.9rem;
}

.newsletter-form button {
  border-radius: 999px;
  border: none;
  padding: 0.55rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  background: #111827;
  color: #ffffff;
  cursor: pointer;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 2rem;
}

.faq-intro p {
  font-size: 0.95rem;
  color: var(--muted);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: var(--card-bg);
  padding: 0.7rem 0.9rem;
}

body.dark-mode .faq-item {
  border-color: rgba(148, 163, 184, 0.2);
}

.faq-item summary {
  cursor: pointer;
  font-size: 0.9rem;
}

.faq-item p {
  margin-top: 0.4rem;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: justify;
}

/* CTA section */
.section-cta {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #ffffff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-inner p {
  margin: 0.3rem 0 0;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #e5e7eb;
  padding: 1.3rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-links a {
  color: #e5e7eb;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .products-grid .product-card.wide {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-mockup {
    order: -1;
    margin-bottom: 1.4rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  }
  
  body.dark-mode .site-header {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }
  
  .header-inner {
    padding-block: 1rem;
  }
  
  .container {
    width: min(100% - 2rem, 100%);
  }
  
  .nav {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: var(--header-bg);
    padding: 1rem 1.2rem;
    flex-direction: column;
    gap: 0.3rem;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    z-index: 100;
    border-radius: 0 0 16px 16px;
  }
  
  body.dark-mode .nav {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
  }

  .nav.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.2s ease;
  }
  
  .nav a:hover {
    transform: translateX(4px);
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 2.5rem 0 3rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-mockup {
    transform: scale(0.95);
    margin: 1.5rem 0 0;
  }

  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1rem;
    max-width: 100%;
    line-height: 1.6;
  }

  .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
  }

  .hero-actions {
    margin-top: 1.5rem;
  }

  .hero-stats {
    margin-top: 1.5rem;
    gap: 1.2rem;
  }

  .logo-subtitle {
    font-size: 0.65rem;
  }

  .feature-grid,
  .process-grid,
  .products-grid,
  .values-grid,
  .testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 1.2rem;
  }
  
  .process-grid.shape-blur-container {
    grid-template-columns: 1fr !important;
  }

  .feature-card,
  .value-card,
  .testimonial-card {
    padding: 1.8rem 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .feature-card:active,
  .value-card:active,
  .bento-card:active {
    transform: scale(0.98);
  }

  .process-step {
    padding: 1.8rem 1.5rem;
  }
  
  .process-grid {
    gap: 1.8rem;
  }
  
  .step-number {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .step-number {
    font-size: 1.8rem;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    text-align: center;
  }

  .cta-inner > div {
    width: 100%;
  }

  .cta-inner .btn {
    width: 100%;
  }

  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter {
    padding: 1.8rem 1.5rem;
  }
  
  .newsletter p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
  }

  .section-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
  }

  .section-header p {
    font-size: 1rem;
    line-height: 1.7;
  }
  
  .section {
    padding: 3rem 0;
  }

  .product-card .product-image {
    height: 180px;
  }

  .product-card .product-content {
    padding: 1rem;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .footer-inner {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
    padding: 0.5rem 0;
  }
  
  .footer-copy {
    font-size: 0.85rem;
    order: 2;
  }
  
  .footer-links {
    order: 1;
  }
  
  .site-footer {
    padding: 2rem 0;
  }
  
  .bento-card {
    padding: 1.8rem 1.5rem;
  }
  
  .products-grid {
    gap: 1.8rem;
  }
  
  .products-grid.magic-bento {
    grid-template-columns: 1fr !important;
  }
  
  .products-grid .bento-card {
    grid-column: 1 !important;
  }
  
  .hero-actions {
    gap: 1rem;
  }
  
  .hero-actions .btn {
    padding: 0.85rem 1.8rem;
    font-size: 1rem;
    min-height: 48px;
  }
  
  .btn {
    min-height: 44px;
    touch-action: manipulation;
  }
  
  .faq-item summary {
    padding: 1rem;
    font-size: 1rem;
  }
  
  .faq-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0 1rem 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.5rem, 100%);
  }
  
  .header-inner {
    padding-block: 0.8rem;
  }

  .logo-image {
    width: 38px;
    height: 38px;
  }

  .logo-title {
    font-size: 0.82rem;
  }

  .logo-subtitle {
    font-size: 0.58rem;
  }
  
  .dark-mode-toggle,
  .language-toggle {
    width: 38px;
    height: 38px;
    padding: 0.45rem;
  }
  
  .dark-mode-toggle svg,
  .language-toggle svg {
    width: 16px;
    height: 16px;
  }

  .hero {
    padding: 2rem 0 2.5rem;
  }

  .hero-content h1 {
    font-size: 1.5rem;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .hero-mockup {
    transform: scale(0.85);
    margin: 1rem 0 0;
  }

  .phone-frame {
    width: 260px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .logo-image {
    width: 38px;
    height: 38px;
  }

  .logo-title {
    font-size: 0.82rem;
  }

  .logo-subtitle {
    font-size: 0.58rem;
  }

  .btn {
    font-size: 0.88rem;
    padding: 0.7rem 1.3rem;
  }

  .section {
    padding: 2rem 0;
  }

  .section-header {
    margin-bottom: 1.5rem;
  }

  .section-header h2 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
  }

  .section-header p {
    font-size: 0.85rem;
  }

  .feature-card h3,
  .value-card h3,
  .process-step h3 {
    font-size: 1.1rem;
  }

  .feature-card p,
  .value-card p,
  .process-step p {
    font-size: 0.88rem;
  }

  .product-card .product-image {
    height: 160px;
  }

  .product-label {
    font-size: 0.7rem;
  }

  .product-card h3 {
    font-size: 0.9rem;
  }

  .screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .screen-card {
    font-size: 0.55rem;
    padding: 0.6rem 0.15rem;
    min-width: 0;
    overflow: visible;
    white-space: normal;
    word-wrap: break-word;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
  }

  .screen-label {
    font-size: 0.7rem;
  }

  .screen-balance {
    font-size: 0.8rem;
  }

  .testimonial-card {
    padding: 1rem;
  }

  .avatar-circle {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }

  .faq-item summary {
    font-size: 0.88rem;
  }

  .faq-item p {
    font-size: 0.85rem;
  }

  .stat-label {
    font-size: 0.68rem;
  }

  .stat-value {
    font-size: 0.8rem;
  }

  .newsletter h2 {
    font-size: 1.3rem;
  }

  .newsletter p {
    font-size: 0.85rem;
  }

  .footer-copy {
    font-size: 0.8rem;
  }
  
  /* Mobile improvements for process buttons */
  .process-step .btn {
    font-size: 0.75rem;
    padding: 0.5rem 0.7rem;
  }
  
  .process-step > div[style*="flex"] {
    gap: 0.4rem !important;
    flex-wrap: wrap;
  }
  
  .process-step p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  /* Adjust shiny text for mobile */
  .shiny-text {
    font-size: 1.3rem !important;
  }
  
  /* Better spacing for electric border */
  .newsletter {
    padding: 1.2rem 1rem !important;
  }
}
