/* ========================================================
   STARIKOV GROUP — Design System
   Ref: syntx.ai + linear.app
   Warm, cozy, professional, premium
   ======================================================== */

/* ── CSS Custom Properties ── */
:root,
[data-theme="light"] {
  --bg-primary: #F5F0EB;
  --bg-card: #FFFFFF;
  --bg-secondary: #EDE8E3;
  --bg-input: #FFFFFF;
  --bg-elevated: #F0EBE5;

  --text-primary: #1A1A1A;
  --text-secondary: #6B635B;
  --text-muted: #9B9488;

  --accent: #FF8C00;
  --accent-hover: #E07B00;
  --accent-dim: rgba(255, 140, 0, 0.08);
  --accent-glow: rgba(255, 140, 0, 0.15);

  --border: rgba(0, 0, 0, 0.06);
  --border-accent: rgba(255, 140, 0, 0.2);
  --border-hover: rgba(0, 0, 0, 0.12);

  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 4px 20px rgba(255, 140, 0, 0.12);
  --shadow-btn: 0 4px 14px rgba(255, 140, 0, 0.25);

  --success: #22C55E;
  --success-dim: rgba(34, 197, 94, 0.1);
  --warning: #F59E0B;
  --danger: #EF4444;

  --overlay: rgba(0, 0, 0, 0.4);
  --gradient-primary: linear-gradient(135deg, #FF8C00, #FF4D00);
  --orange-dark: #FF4D00;
  --accent-dark: #FF4D00;
  --glow-orange: rgba(255, 140, 0, 0.5);
  --glass-bg: rgba(255, 250, 245, 0.35);
  --glass-border: rgba(0, 0, 0, 0.06);
  --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition: all 0.3s ease;
  --transition-fast: all 0.15s ease;

  color-scheme: light;
}

[data-theme="dark"] {
  --bg-primary: #1A1714;
  --bg-card: #242019;
  --bg-secondary: #1E1B16;
  --bg-input: #2A2520;
  --bg-elevated: #302B24;

  --text-primary: #F5F0EB;
  --text-secondary: #9B9488;
  --text-muted: #6B635B;

  --accent: #FF8C00;
  --accent-hover: #FFa333;
  --accent-dim: rgba(255, 140, 0, 0.1);
  --accent-glow: rgba(255, 140, 0, 0.12);

  --border: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(255, 140, 0, 0.15);
  --border-hover: rgba(255, 255, 255, 0.12);

  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 4px 20px rgba(255, 140, 0, 0.08);
  --shadow-btn: 0 4px 14px rgba(255, 140, 0, 0.2);

  --overlay: rgba(0, 0, 0, 0.6);
  --gradient-primary: linear-gradient(135deg, #FF8C00, #FF4D00);
  --orange-dark: #FF4D00;
  --accent-dark: #FF4D00;
  --glow-orange: rgba(255, 140, 0, 0.4);
  --glass-bg: rgba(17, 17, 24, 0.3);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);

  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  display: block;
}

input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}
@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

.section {
  padding: 4rem 0;
}

@media (min-width: 640px) {
  .section { padding: 5rem 0; }
}

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

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .section-title { font-size: 2.25rem; }
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .section-subtitle { font-size: 1.125rem; }
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  line-height: 1.25;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), #FFB347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.text-center { text-align: center; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.5rem;
  transition: var(--transition);
  white-space: nowrap;
  user-select: none;
}

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

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.35);
}
.btn-accent:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--border-accent);
  background: var(--accent-dim);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent-dim);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}
.btn-ghost:hover {
  color: var(--accent);
  background: var(--accent-dim);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.btn-block {
  width: 100%;
}

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-hover);
}

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

/* ── Forms ── */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B635B' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ── Badge / Chip ── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--accent-dim);
  color: var(--accent);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: var(--bg-card);
  cursor: pointer;
  transition: var(--transition);
}

.chip:hover,
.chip.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

/* ── Navbar (glassmorphism) ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 64px;
  background: var(--glass-bg) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.hidden {
  transform: translateY(-100%);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.burger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  border-radius: 10px;
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.2s ease;
}

.burger-btn:hover {
  background: var(--glass-border);
}

.navbar-logo {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.navbar-logo-accent {
  color: var(--accent);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  border-radius: 10px;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.theme-toggle:hover {
  background: var(--glass-border);
}

.navbar-avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--glow-orange);
}

.navbar-auth-btn {
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.navbar-auth-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 15px var(--glow-orange);
}

.navbar-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  cursor: pointer;
  position: relative;
}

.navbar-user:hover {
  background: var(--accent-dim);
}

.navbar-username {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}

@media (max-width: 639px) {
  .navbar-username { display: none; }
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover);
  min-width: 180px;
  overflow: hidden;
  z-index: 110;
}

.user-dropdown a,
.user-dropdown button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  text-align: left;
}

.user-dropdown a:hover,
.user-dropdown button:hover {
  background: var(--accent-dim);
  color: var(--accent);
}

/* ── Sidebar (v0 design) ── */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sidebar-overlay.open {
  opacity: 1;
  visibility: visible;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  background: var(--bg-primary);
  z-index: 1101;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.sidebar.open {
  transform: translateX(0);
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--glass-border);
}

.sidebar-logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.sidebar-logo-text {
  color: var(--text-primary);
}

.sidebar-logo-accent {
  color: var(--accent);
}

.sidebar-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.sidebar-close:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.sidebar-nav {
  flex: 1;
  padding: 8px 0;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.sidebar-link:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.sidebar-link.active {
  background: var(--bg-elevated);
  color: var(--accent);
}

.sidebar-link.active .sidebar-link-icon svg {
  stroke: var(--accent);
  fill: rgba(255, 140, 0, 0.15);
}

.sidebar-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-link-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.sidebar-divider {
  height: 1px;
  background: var(--glass-border);
  margin: 4px 0;
}

.sidebar-section-title {
  padding: 12px 24px 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* Language selector (v0: two large buttons) */
.sidebar-lang {
  padding: 20px 24px;
  border-top: 1px solid var(--glass-border);
  flex-shrink: 0;
}

.sidebar-lang-title {
  display: none;
}

.sidebar-lang-grid {
  display: flex;
  gap: 12px;
}

.sidebar-lang-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--glass-border);
}

.sidebar-lang-item:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

.sidebar-lang-item.active {
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.sidebar-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--glass-border);
  flex-shrink: 0;
}

.sidebar-footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

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

/* ── Hero ── */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 2rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

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

.hero-glow-1 {
  width: 500px;
  height: 300px;
  background: linear-gradient(135deg, #FF8C00, #FF4D00);
  top: 0;
  right: -60px;
  opacity: 0.25;
}

.hero-glow-2 {
  width: 350px;
  height: 250px;
  background: linear-gradient(135deg, #FF4D00, #FF8C00);
  top: 0;
  left: -60px;
  opacity: 0.18;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

@media (min-width: 1024px) {
  .hero-content {
    max-width: 640px;
  }
}

.hero-brand {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .hero-brand { font-size: 3.5rem; }
}

@media (min-width: 1024px) {
  .hero-brand { font-size: 4rem; }
}

.hero-description {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 500px;
}

@media (min-width: 640px) {
  .hero-description { font-size: 1.125rem; }
}

.hero-cta {
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-stats span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.hero-stats strong {
  color: var(--text-primary);
  font-weight: 700;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  opacity: 0.4;
  animation: bounce 2s ease infinite;
}

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

/* ── Marquee Benefits Section ── */
.marquee-section {
  position: relative;
  padding: 1.5rem 0 2.5rem;
  overflow: hidden;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.02) 100%);
}

[data-theme="dark"] .marquee-section {
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.marquee-section::before,
.marquee-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.marquee-section::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-primary) 0%, transparent 100%);
}

.marquee-section::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-primary) 0%, transparent 100%);
}

.marquee-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.marquee-track {
  display: flex;
  overflow: hidden;
  user-select: none;
}

.marquee-content {
  display: flex;
  gap: 0.75rem;
  padding-right: 0.75rem;
  flex-shrink: 0;
}

.marquee-left .marquee-content {
  animation: marquee-scroll-left 35s linear infinite;
}

.marquee-right .marquee-content {
  animation: marquee-scroll-right 35s linear infinite;
}

@keyframes marquee-scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@keyframes marquee-scroll-right {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: var(--transition);
}

.marquee-item:hover {
  border-color: var(--accent);
  color: var(--text-primary);
  box-shadow: 0 0 20px rgba(255, 122, 0, 0.15);
}

.marquee-item svg {
  flex-shrink: 0;
  color: var(--accent);
}

/* Pause animation on hover */
.marquee-track:hover .marquee-content {
  animation-play-state: paused;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .marquee-left .marquee-content,
  .marquee-right .marquee-content {
    animation: none;
  }
}

/* ── Swipe Cards Section ── */
.swipe-section {
  padding: 2rem 0 4rem;
}

.swipe-container {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding: 0 1rem 1.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-padding-left: 1rem;
}

.swipe-container::-webkit-scrollbar {
  display: none;
}

.swipe-card {
  flex: 0 0 72vw;
  max-width: 300px;
  scroll-snap-align: center;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 0;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  overflow: hidden;
}

@media (min-width: 640px) {
  .swipe-card { flex: 0 0 300px; }
}

@media (min-width: 1024px) {
  .swipe-card { flex: 0 0 260px; }
  .swipe-container { justify-content: center; padding: 0 0 1.5rem; }
}

.swipe-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.swipe-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

/* Обложка — картинка */
.service-card-cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--bg-secondary);
}

.service-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.4s ease;
}

.swipe-card:hover .service-card-cover img {
  transform: scale(1.04);
}

/* Тело карточки — glassmorphism */
.service-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid var(--glass-border);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.swipe-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.swipe-card-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.5rem;
}

.swipe-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.swipe-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: var(--transition);
}

.swipe-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ── Projects Section (home) ── */
.projects-section .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  margin-bottom: 2rem;
}

.projects-section .section-header .section-title {
  margin-bottom: 0;
}

.project-card-full {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.project-card-full:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-hover);
}

.project-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: var(--bg-secondary);
}

.project-card-body {
  padding: 1.5rem;
}

.project-card-full:not(:has(.project-card-image)) .project-card-body {
  padding: 1.75rem;
}

.project-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}

.project-card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.project-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 0.75rem;
}

.project-card-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── About Section ── */
.about-section {
  padding: 4rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; align-items: center; }
}

.about-text h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .about-text h2 { font-size: 2rem; }
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.about-feature-icon {
  color: var(--accent);
  font-size: 0.875rem;
}

.about-video {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-video-placeholder {
  color: var(--text-muted);
  font-size: 0.875rem;
  text-align: center;
}

.about-video-play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  box-shadow: var(--shadow-btn);
}

/* ── Reviews Section ── */
.reviews-container {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding: 0 1rem 1.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-padding-left: 1rem;
}

.reviews-container::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 80vw;
  max-width: 340px;
  scroll-snap-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

@media (min-width: 640px) {
  .review-card { flex: 0 0 340px; }
}

.review-stars {
  font-size: 0.875rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-name {
  font-size: 0.875rem;
  font-weight: 600;
}

.review-company {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── CTA Section ── */
.cta-section {
  padding: 4rem 0;
}

.cta-card {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
}

.cta-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.cta-description {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

@media (min-width: 480px) {
  .cta-buttons { flex-direction: row; justify-content: center; }
}

/* ── Footer ── */
.footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
}

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

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

.footer-telegram {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-telegram:hover {
  color: var(--accent);
}

.footer-col-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-link {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 0.25rem 0;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ── Auth Modal ── */
.auth-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.auth-modal {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-hover);
}

.auth-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.auth-modal-close:hover {
  background: var(--accent-dim);
  color: var(--accent);
}

.auth-modal-icon {
  margin-bottom: 1.5rem;
}

.auth-modal-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.auth-modal-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

.auth-telegram-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #2AABEE, #229ED9);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(42, 171, 238, 0.3);
}

.auth-telegram-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 171, 238, 0.4);
}

.auth-instructions {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
  line-height: 1.6;
}

.auth-cancel {
  display: block;
  width: 100%;
  margin-top: 1rem;
  padding: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.auth-cancel:hover {
  color: var(--accent);
}

/* ── Back Link ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  transition: var(--transition-fast);
}

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

/* ── Progress Bar ── */
.progress-bar {
  height: 8px;
  background: var(--bg-elevated);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #FFB347);
  border-radius: 4px;
  transition: width 0.5s ease;
}

/* ── Spinner ── */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.6s linear infinite;
}

.spinner-dark {
  border-color: var(--border);
  border-top-color: var(--accent);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Toast ── */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  box-shadow: var(--shadow-hover);
  pointer-events: auto;
  animation: toastIn 0.3s ease;
}

.toast.success {
  border-color: var(--success);
  background: rgba(34, 197, 94, 0.1);
}

.toast.error {
  border-color: var(--danger);
  background: rgba(239, 68, 68, 0.1);
}

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

/* ── Animations ── */
[data-animate] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-animate].visible,
.hero [data-animate] {
  opacity: 1;
  transform: translateY(0);
}

.stagger > [data-animate]:nth-child(1) { transition-delay: 0s; }
.stagger > [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.stagger > [data-animate]:nth-child(3) { transition-delay: 0.2s; }
.stagger > [data-animate]:nth-child(4) { transition-delay: 0.3s; }
.stagger > [data-animate]:nth-child(5) { transition-delay: 0.4s; }
.stagger > [data-animate]:nth-child(6) { transition-delay: 0.5s; }

/* ── Utilities ── */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }

/* body padding for fixed navbar */
.page-body {
  padding-top: 0;
}

/* Страницы без hero-секции — первая секция учитывает высоту navbar */
.page-body > .section:first-child,
.page-body > .page-section:first-child {
  padding-top: calc(4rem + 64px);
}

/* ── Page-specific section padding ── */
.page-section {
  padding-top: 2rem;
}

/* Project tabs scrollbar hide on mobile */
@media (max-width: 767px) {
  .page-section [style*="overflow-x:auto"] {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .page-section [style*="overflow-x:auto"]::-webkit-scrollbar {
    display: none;
  }
}

/* ── Bottom Tab Bar (glassmorphism) ── */
.bottom-tabbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--glass-bg) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  border-top: 1px solid var(--glass-border);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.1);
  border-radius: 24px 24px 0 0;
  padding-bottom: env(safe-area-inset-bottom, 0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: none;
}

@media (max-width: 767px) {
  .bottom-tabbar {
    display: block;
  }

  .page-body {
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }

  .footer {
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }

  .toast-container {
    bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
}

.bottom-tabbar.hidden {
  transform: translateY(100%);
}

.bottom-tabbar-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 64px;
  max-width: 500px;
  margin: 0 auto;
  padding: 0 8px;
}

.btab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  padding: 8px 4px 12px;
  background: transparent;
  border: none;
  text-decoration: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.btab-item:hover {
  color: var(--text-primary);
}

.btab-icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: all 0.2s ease;
}

.btab-item.active {
  color: var(--accent);
}

.btab-item.active .btab-icon {
  stroke: var(--accent);
  filter: drop-shadow(0 0 8px var(--glow-orange))
          drop-shadow(0 0 16px rgba(255, 77, 0, 0.3));
  transform: scale(1.1);
}

.btab-item.active .btab-label {
  color: var(--accent);
  font-weight: 600;
  text-shadow: 0 0 10px var(--glow-orange);
}

.btab-label {
  font-size: 0.625rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.btab-center {
  flex: 1.2;
  padding-top: 0;
}

.btab-center-btn {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -20px;
  box-shadow: 0 4px 20px var(--glow-orange), 0 0 30px rgba(255, 77, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btab-center:hover .btab-center-btn,
.btab-center.active .btab-center-btn {
  transform: scale(1.05);
  box-shadow: 0 4px 25px var(--glow-orange), 0 0 40px rgba(255, 77, 0, 0.4);
}

.btab-center-btn svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
}

.btab-center-letter {
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
}

.btab-center .btab-label {
  margin-top: 4px;
}

.btab-center.active .btab-icon,
.btab-center.active .btab-center-btn svg {
  filter: none;
  transform: none;
  stroke: #fff;
}

.btab-svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

body.page-admin .bottom-tabbar {
  display: none !important;
}
body.page-admin .page-body {
  padding-bottom: 0 !important;
}

/* ── Mobile Adaptive ── */
@media (max-width: 480px) {
  .page-body > .section:first-child,
  .page-body > .page-section:first-child {
    padding-top: calc(4rem + 56px);
  }

  .hero {
    padding-top: 56px;
  }

  .navbar {
    height: 56px;
  }

  .navbar .container {
    padding: 0 12px;
  }

  .navbar-logo {
    font-size: 1rem;
  }

  .burger-btn,
  .theme-toggle {
    width: 36px;
    height: 36px;
  }

  .navbar-avatar {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }

  .navbar-auth-btn {
    padding: 6px 12px;
    font-size: 0.8125rem;
  }

  .page-body {
    padding-top: 56px;
  }

  .bottom-tabbar-inner {
    height: 56px;
    padding: 0 4px;
  }

  .btab-icon {
    width: 20px;
    height: 20px;
  }

  .btab-label {
    font-size: 0.5625rem;
  }

  .btab-center-btn {
    width: 46px;
    height: 46px;
    margin-top: -16px;
  }

  .btab-center-letter {
    font-size: 1rem;
  }

  .btab-center-btn svg {
    width: 20px;
    height: 20px;
  }

  .btab-item {
    padding: 6px 2px 8px;
    gap: 2px;
  }

  .page-body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  }

  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-brand {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 0.9375rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .service-card-body {
    padding: 1rem 0.875rem;
  }
}

/* ========================================
   AI CHAT HERO
   ======================================== */

.ai-chat-container {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* Chat box */
.ai-chat-box {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(255, 140, 0, 0.1);
  transition: all 0.3s ease;
}

.ai-chat-box:focus-within {
  border-color: rgba(255, 140, 0, 0.4);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.12), 0 0 0 3px rgba(255, 140, 0, 0.15);
}

/* Input wrapper */
.ai-input-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card);
  border-radius: 18px;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.ai-input-wrapper:focus-within {
  border-color: var(--accent);
}

.ai-input-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  opacity: 0.8;
  margin-bottom: 8px;
}

.ai-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-primary);
  resize: none;
  min-height: 24px;
  max-height: 200px;
  outline: none;
  font-family: inherit;
}

.ai-input::placeholder {
  color: var(--text-muted);
}

/* Send button */
.ai-send-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #FF8C00, #FF4D00);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3);
}

.ai-send-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(255, 140, 0, 0.4);
}

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

.ai-send-btn .spin {
  animation: spinAnim 0.8s linear infinite;
}

@keyframes spinAnim {
  to { transform: rotate(360deg); }
}

/* Suggestion chips */
.ai-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 8px 4px;
  justify-content: center;
}

.ai-suggestion-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ai-suggestion-chip:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.chip-icon {
  font-size: 1rem;
}

/* Stats row */
.hero-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.stat-live {
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
  animation: livePulse 2s infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.stat-divider {
  opacity: 0.4;
}

/* ══════════════════════════════════════════════════════════
   SHOP STYLES
   ══════════════════════════════════════════════════════════ */

.shop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .shop-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.shop-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  transition: var(--transition);
}

.shop-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.shop-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 100px;
}

.shop-card__badge--new {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.shop-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.shop-card__title {
  font-size: 1.125rem;
  font-weight: 800;
}

.shop-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.shop-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.shop-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.shop-card__price-current {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
}

.shop-card__price-old {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.shop-card__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.shop-card__actions .btn {
  flex: 1;
  justify-content: center;
}

/* Shop Benefits */
.shop-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 3rem;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

@media (min-width: 768px) {
  .shop-benefits {
    grid-template-columns: repeat(3, 1fr);
  }
}

.shop-benefit {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.shop-benefit__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  color: var(--accent);
  flex-shrink: 0;
}

.shop-benefit__text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.shop-benefit__text strong {
  font-size: 0.9375rem;
  font-weight: 700;
}

.shop-benefit__text span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Cart FAB */
.shop-cart-fab {
  position: fixed;
  bottom: 100px;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255, 140, 0, 0.4);
  z-index: 100;
  transition: var(--transition);
}

.shop-cart-fab:hover {
  transform: scale(1.1);
}

.shop-cart-fab-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  background: var(--danger);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

/* Cart Drawer */
.shop-cart-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 200;
}

.shop-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  background: var(--bg-primary);
  border-left: 1px solid var(--border);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.shop-cart-drawer.open {
  transform: translateX(0);
}

.shop-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.shop-cart-header h3 {
  font-size: 1.125rem;
  font-weight: 700;
}

.shop-cart-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.shop-cart-close:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.shop-cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

.shop-cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.shop-cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.shop-cart-item-name {
  font-weight: 600;
  font-size: 0.9375rem;
}

.shop-cart-item-price {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 600;
}

.shop-cart-item-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.shop-cart-item-remove:hover {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
}

.shop-cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
}

.shop-cart-empty p {
  margin-top: 1rem;
  font-size: 0.9375rem;
}

.shop-cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}

.shop-cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.shop-cart-total strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
}

.shop-cart-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* ══════════════════════════════════════════════════════════
   V2 REDESIGN STYLES - Premium Modern Design
   ══════════════════════════════════════════════════════════ */

/* ── Hero V2 ── */
.hero-v2 {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-v2-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-v2-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 140, 0, 0.12), transparent 70%);
}

[data-theme="dark"] .hero-v2-gradient {
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 140, 0, 0.15), transparent 70%);
}

.hero-v2-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
}

[data-theme="dark"] .hero-v2-orb {
  opacity: 0.25;
}

.hero-v2-orb-1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #FF8C00 0%, #FF4D00 100%);
  top: -200px;
  right: -150px;
  animation-delay: 0s;
}

.hero-v2-orb-2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #FFB347 0%, #FF8C00 100%);
  bottom: -100px;
  left: -100px;
  animation-delay: -7s;
}

.hero-v2-orb-3 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
  top: 40%;
  left: 60%;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(-30px, -20px) scale(1.02); }
}

.hero-v2-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
}

[data-theme="dark"] .hero-v2-grid {
  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);
}

.hero-v2-noise {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
}

.hero-v2-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-v2-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-v2-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero-v2-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-v2-title-line {
  display: block;
}

.hero-v2-title-gradient {
  background: linear-gradient(135deg, #FF8C00 0%, #FF4D00 50%, #FF6B35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-v2-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

/* Hero Chat V2 */
.hero-v2-chat {
  max-width: 580px;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-v2-chat-inner {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 12px 12px 12px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(255, 140, 0, 0.05);
  transition: all 0.3s ease;
}

.hero-v2-chat-inner:focus-within {
  border-color: var(--accent);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08), 0 0 0 3px rgba(255, 140, 0, 0.1);
}

[data-theme="dark"] .hero-v2-chat-inner {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 140, 0, 0.1);
}

[data-theme="dark"] .hero-v2-chat-inner:focus-within {
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(255, 140, 0, 0.15);
}

.hero-v2-chat-icon {
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.7;
}

.hero-v2-chat-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-primary);
  resize: none;
  outline: none;
  min-height: 28px;
  max-height: 120px;
}

.hero-v2-chat-input::placeholder {
  color: var(--text-muted);
}

.hero-v2-chat-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 16px;
  color: #fff;
  transition: all 0.3s ease;
}

.hero-v2-chat-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(255, 140, 0, 0.4);
}

.hero-v2-chat-btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Hero Chips */
.hero-v2-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.hero-v2-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.hero-v2-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.hero-v2-chip svg {
  color: var(--accent);
  opacity: 0.8;
}

/* Hero Stats */
.hero-v2-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

@media (max-width: 480px) {
  .hero-v2-stats {
    gap: 1rem;
  }
}

.hero-v2-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.hero-v2-stat-live {
  flex-direction: row;
  gap: 6px;
}

.hero-v2-stat-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-v2-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.hero-v2-stat-live .hero-v2-stat-value {
  font-size: 1.125rem;
}

.hero-v2-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-v2-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

@media (max-width: 480px) {
  .hero-v2-stat-divider {
    display: none;
  }
}

/* Hero Scroll */
.hero-v2-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero-v2-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ── Marquee V2 ── */
.marquee-v2 {
  position: relative;
  padding: 1.5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.marquee-v2::before,
.marquee-v2::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.marquee-v2::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-secondary), transparent);
}

.marquee-v2::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-secondary), transparent);
}

.marquee-v2-track {
  display: flex;
  overflow: hidden;
}

.marquee-v2-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem;
  animation: marquee-v2 25s linear infinite;
}

@keyframes marquee-v2 {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.marquee-v2-item {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

/* ── Section V2 ── */
.section-v2 {
  padding: 6rem 0;
  position: relative;
}

.section-v2-alt {
  background: var(--bg-secondary);
}

.section-v2-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-v2-label {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section-v2-title {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-v2-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

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

/* ── Bento Grid ── */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
  }
}

@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bento-card {
  position: relative;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

[data-theme="dark"] .bento-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.bento-card-main {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
}

@media (min-width: 768px) {
  .bento-card-main {
    grid-template-columns: 1fr 1fr;
  }
}

.bento-card-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.15), transparent 70%);
  pointer-events: none;
}

[data-theme="dark"] .bento-card-glow {
  opacity: 0.5;
}

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

.bento-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  color: var(--accent);
}

.bento-card-icon-lg {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
}

.bento-card-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 4px 10px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 100px;
}

.bento-card-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.bento-card-main .bento-card-title {
  font-size: 1.5rem;
}

.bento-card-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.bento-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.2s ease;
}

.bento-card:hover .bento-card-link {
  gap: 10px;
}

.bento-card-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-visual-chat {
  width: 100%;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bento-visual-msg {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.875rem;
  line-height: 1.4;
}

.bento-visual-msg-user {
  background: var(--accent-dim);
  color: var(--text-primary);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.bento-visual-msg-ai {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.bento-visual-typing {
  display: flex;
  gap: 4px;
}

.bento-visual-typing span {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: typing 1.4s infinite;
}

.bento-visual-typing span:nth-child(2) { animation-delay: 0.2s; }
.bento-visual-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* ── Bento Scroll Wrapper ── */
.bento-scroll-wrapper {
  grid-column: 1 / -1;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.bento-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.bento-scroll-wrapper > .bento-card {
  flex: 0 0 78vw;
  max-width: 300px;
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .bento-scroll-wrapper > .bento-card {
    flex: 0 0 calc(50% - 0.5rem);
    max-width: 360px;
  }
}

@media (min-width: 1024px) {
  .bento-scroll-wrapper {
    overflow: visible;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-bottom: 0;
  }
  .bento-scroll-wrapper > .bento-card {
    flex: none;
    max-width: none;
    scroll-snap-align: none;
  }
}

/* ── Projects V2 ── */
.projects-v2-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .projects-v2-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-v2-card {
  position: relative;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-v2-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .project-v2-card:hover {
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.project-v2-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-v2-icon {
  font-size: 2rem;
}

.project-v2-tags {
  display: flex;
  gap: 6px;
}

.project-v2-tag {
  padding: 4px 10px;
  background: var(--bg-secondary);
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.project-v2-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.project-v2-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}

.project-v2-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

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

.project-v2-duration {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
}

.project-v2-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--accent-dim);
  border-radius: var(--radius-xs);
  color: var(--accent);
  transition: all 0.2s ease;
}

.project-v2-card:hover .project-v2-arrow {
  background: var(--accent);
  color: #fff;
}

/* ── Features V2 ── */
.features-v2-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .features-v2-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-v2-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-v2-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.feature-v2-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}

.feature-v2-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--accent-dim);
  border-radius: var(--radius);
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.feature-v2-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

/* ── Process V2 ── */
.process-v2-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .process-v2-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
}

.process-v2-card {
  position: relative;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

@media (min-width: 768px) {
  .process-v2-card {
    border-radius: 0;
    border-right: none;
  }
  
  .process-v2-card:first-child {
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  }
  
  .process-v2-card:last-child {
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    border-right: 1px solid var(--border);
  }
}

.process-v2-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 1rem;
}

.process-v2-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

.process-v2-line {
  display: none;
}

@media (min-width: 768px) {
  .process-v2-line {
    display: block;
    position: absolute;
    top: 50%;
    right: -12px;
    width: 24px;
    height: 2px;
    background: var(--accent);
    z-index: 1;
  }
  
  .process-v2-line::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
  }
  
  .process-v2-card:last-child .process-v2-line {
    display: none;
  }
}

/* ── Reviews V2 ── */
.reviews-v2-container {
  overflow: hidden;
  padding: 0 1rem;
}

.reviews-v2-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 1rem 0;
}

.reviews-v2-track::-webkit-scrollbar {
  display: none;
}

.review-v2-card {
  flex-shrink: 0;
  width: 320px;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  scroll-snap-align: start;
  transition: all 0.3s ease;
}

.review-v2-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
}

.review-v2-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
}

.review-v2-stars svg {
  width: 18px;
  height: 18px;
  color: #FBBF24;
}

.review-v2-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.review-v2-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-v2-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 50%;
}

.review-v2-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-v2-name {
  font-size: 0.9375rem;
  font-weight: 600;
}

.review-v2-company {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ── CTA V2 ── */
.cta-v2 {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.cta-v2-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-v2-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.cta-v2-orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(255, 140, 0, 0.15);
  top: -100px;
  left: -100px;
}

.cta-v2-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(255, 77, 0, 0.1);
  bottom: -50px;
  right: -50px;
}

[data-theme="dark"] .cta-v2-orb-1 {
  background: rgba(255, 140, 0, 0.08);
}

[data-theme="dark"] .cta-v2-orb-2 {
  background: rgba(255, 77, 0, 0.05);
}

.cta-v2-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 140, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 140, 0, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 70%);
}

.cta-v2-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.cta-v2-label {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.cta-v2-title {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.cta-v2-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.cta-v2-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ── Buttons V2 ── */
.btn-v2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-v2-lg {
  padding: 16px 32px;
  font-size: 1rem;
  border-radius: var(--radius);
}

.btn-v2-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 140, 0, 0.3);
}

.btn-v2-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 140, 0, 0.4);
}

.btn-v2-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-v2-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.btn-v2-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.btn-v2-glass:hover {
  border-color: var(--border-hover);
  background: var(--bg-elevated);
}

/* ── Smooth Theme Transition ── */
html {
  transition: background-color 0.4s ease, color 0.4s ease;
}

*, *::before, *::after {
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Responsive */
@media (max-width: 640px) {
  .ai-chat-container {
    padding: 0 12px;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 2.75rem);
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .ai-chat-box {
    border-radius: 20px;
    padding: 6px;
  }

  .ai-input-wrapper {
    padding: 10px 12px;
    border-radius: 14px;
    gap: 8px;
  }

  .ai-suggestions {
    gap: 6px;
    padding: 10px 4px 2px;
  }

  .ai-suggestion-chip {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .hero-stats-row {
    gap: 8px;
    font-size: 0.8rem;
  }
}

/* ========================================
   SHOP ITEM PAGE (pi-*)
   ======================================== */

.pi-hero {
  padding: 120px 0 60px;
  position: relative;
}

.pi-hero__content {
  max-width: 640px;
}

.pi-hero__title {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.pi-hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.pi-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.shop-item-price-block {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}

.shop-item-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

.pi-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.pi-block h2,
.pi-block h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.pi-block p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.pi-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.pi-feature {
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.pi-feature .pi-feature__icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.pi-feature h4 {
  font-weight: 600;
  margin-bottom: 4px;
}

.pi-feature p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.pi-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.pi-stat-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  text-align: center;
}

.pi-stat-card .pi-stat__value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}

.pi-stat-card .pi-stat__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.pi-results {
  list-style: none;
  padding: 0;
  margin-top: 16px;
}

.pi-result {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  line-height: 1.6;
}

.pi-result:last-child {
  border-bottom: none;
}

.pi-result::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

.pi-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.pi-tech-stack .badge {
  padding: 6px 14px;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
}

@media (max-width: 640px) {
  .pi-hero {
    padding: 100px 0 40px;
  }

  .shop-item-price-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .pi-features {
    grid-template-columns: 1fr;
  }
}
