/*
 Theme Name: Biznet GeneratePress Child
 Theme URI: https://example.com
 Description: Child theme for Biznet on top of GeneratePress
 Author: Leah
 Template: generatepress
 Version: 1.0
*/

/* ===== RESET קטן לעמוד הבית ===== */

.home .site-content {
  padding: 0;
}

.home #primary {
  margin: 0;
}

.home .entry-content {
  margin: 0;
  padding: 0;
}

body {
  background-color: #020617;
}

/* ===== "אפליקציית הבית" ===== */

#biznet-app-home {
  --bn-blue: #3b82f6;
  --bn-blue-light: #60a5fa;
  --bn-gold: #fbbf24;
  --bn-gold-light: #fcd34d;
  --bn-bg: #050817;
  --bn-bg-soft: #0f172a;
  --bn-bg-card: #1e293b;
  --bn-border-subtle: rgba(148, 163, 184, 0.15);
  --bn-border-medium: rgba(148, 163, 184, 0.3);
  --bn-text-main: #f8fafc;
  --bn-text-muted: #94a3b8;
  --bn-radius-sm: 10px;
  --bn-radius-md: 16px;
  --bn-radius-lg: 20px;
  --bn-radius-xl: 28px;
  --bn-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --bn-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.2);
  --bn-shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.4);
  --bn-shadow-glow: 0 0 30px rgba(59, 130, 246, 0.3);

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #020617 50%, #1e1b4b 100%);
  color: var(--bn-text-main);
  padding: 60px 20px 80px;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

#biznet-app-home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 600px;
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.15), transparent 70%);
  pointer-events: none;
}

#biznet-app-home * {
  box-sizing: border-box;
}

.bn-shell {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ===== HEADER ===== */

.bn-header {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  border-radius: var(--bn-radius-xl);
  border: 1px solid var(--bn-border-medium);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
  box-shadow: var(--bn-shadow-md);
  transition: all 0.3s ease;
}

.bn-header:hover {
  box-shadow: var(--bn-shadow-lg);
  border-color: rgba(148, 163, 184, 0.4);
}

.bn-logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.bn-logo-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bn-gold), var(--bn-gold-light));
  color: #111827;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bn-logo-circle:hover {
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5);
}

.bn-logo-title {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--bn-text-main);
}

.bn-logo-sub {
  font-size: 12px;
  color: var(--bn-text-muted);
  margin-top: 2px;
}

.bn-nav {
  display: flex;
  gap: 8px;
  flex: 1;
  justify-content: center;
  padding: 4px;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 12px;
}

.bn-nav-btn {
  border: none;
  background: transparent;
  color: var(--bn-text-muted);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  position: relative;
}

.bn-nav-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--bn-blue), var(--bn-blue-light));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.bn-nav-btn:hover {
  color: var(--bn-text-main);
  transform: translateY(-1px);
}

.bn-nav-btn-active {
  color: var(--bn-text-main);
  position: relative;
}

.bn-nav-btn-active::before {
  opacity: 1;
}

.bn-nav-btn span {
  position: relative;
  z-index: 1;
}

.bn-cta-area {
  display: flex;
  gap: 10px;
}

/* ===== BUTTONS ===== */

.bn-btn {
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.bn-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bn-btn:hover::before {
  opacity: 1;
}

.bn-btn-primary {
  background: linear-gradient(135deg, var(--bn-blue), var(--bn-blue-light));
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.bn-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.5);
}

.bn-btn-primary:active {
  transform: translateY(0);
}

.bn-btn-secondary {
  background: var(--bn-bg-card);
  border-color: var(--bn-border-medium);
  color: var(--bn-text-main);
}

.bn-btn-secondary:hover {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(148, 163, 184, 0.5);
  transform: translateY(-1px);
}

.bn-btn-ghost {
  background: transparent;
  border-color: var(--bn-border-medium);
  color: var(--bn-text-main);
}

.bn-btn-ghost:hover {
  border-color: var(--bn-blue);
  color: var(--bn-blue);
  background: rgba(59, 130, 246, 0.1);
}

.bn-btn-link {
  background: transparent;
  border: none;
  color: var(--bn-blue);
  padding-inline: 0;
  text-decoration: none;
  position: relative;
}

.bn-btn-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--bn-blue);
  transform: scaleX(1);
  transition: transform 0.2s ease;
}

.bn-btn-link:hover::after {
  transform: scaleX(1.1);
}

.bn-btn-full {
  width: 100%;
}

.bn-btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

/* ===== HERO ===== */

.bn-main {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.bn-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 20px 0;
}

.bn-hero-text h1 {
  font-size: 42px;
  line-height: 1.15;
  margin: 0 0 20px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--bn-text-main), var(--bn-text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bn-hero-subtitle {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--bn-text-muted);
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.bn-highlight {
  color: var(--bn-gold-light);
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.bn-highlight::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--bn-gold), var(--bn-gold-light));
  opacity: 0.5;
}

.bn-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.bn-hero-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.bn-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: var(--bn-gold-light);
  font-size: 13px;
  font-weight: 500;
  width: fit-content;
}

.bn-micro {
  font-size: 13px;
  color: var(--bn-text-muted);
  line-height: 1.5;
}

/* ===== HERO SIMULATOR ===== */

.bn-hero-sim {
  display: flex;
  justify-content: center;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.bn-device {
  width: 100%;
  max-width: 360px;
  background: var(--bn-bg-card);
  border-radius: 32px;
  border: 1px solid var(--bn-border-medium);
  box-shadow: var(--bn-shadow-lg), var(--bn-shadow-glow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bn-device:hover {
  transform: translateY(-4px);
  box-shadow: var(--bn-shadow-lg), 0 0 40px rgba(59, 130, 246, 0.4);
}

.bn-device-header {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--bn-border-subtle);
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.9), rgba(30, 64, 175, 0.2));
  font-size: 12px;
  font-weight: 500;
}

.bn-device-dots {
  display: flex;
  gap: 5px;
}

.bn-device-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bn-border-medium);
  transition: background 0.3s ease;
}

.bn-device:hover .bn-device-dots span:nth-child(1) {
  background: #ef4444;
}

.bn-device:hover .bn-device-dots span:nth-child(2) {
  background: #fbbf24;
}

.bn-device:hover .bn-device-dots span:nth-child(3) {
  background: #22c55e;
}

.bn-device-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--bn-text-muted);
}

.bn-device-body {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 280px;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  background: linear-gradient(to bottom, var(--bn-bg-soft), var(--bn-bg));
}

.bn-device-body::-webkit-scrollbar {
  width: 4px;
}

.bn-device-body::-webkit-scrollbar-track {
  background: transparent;
}

.bn-device-body::-webkit-scrollbar-thumb {
  background: var(--bn-border-subtle);
  border-radius: 2px;
}

.bn-chat-row {
  display: flex;
  font-size: 13px;
  animation: messageSlide 0.4s ease-out;
}

@keyframes messageSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bn-chat-row-client {
  justify-content: flex-start;
}

.bn-chat-row-bot {
  justify-content: flex-end;
}

.bn-chat-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 16px;
  line-height: 1.5;
  box-shadow: var(--bn-shadow-sm);
  transition: transform 0.2s ease;
}

.bn-chat-bubble:hover {
  transform: scale(1.02);
}

.bn-chat-row-client .bn-chat-bubble {
  background: var(--bn-bg-card);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--bn-border-subtle);
}

.bn-chat-row-bot .bn-chat-bubble {
  background: linear-gradient(135deg, var(--bn-blue), var(--bn-blue-light));
  border-bottom-right-radius: 4px;
  color: white;
}

.bn-device-input {
  padding: 12px 16px;
  border-top: 1px solid var(--bn-border-subtle);
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bn-bg-soft);
}

.bn-device-placeholder {
  flex: 1;
  padding: 10px 14px;
  border-radius: 20px;
  background: var(--bn-bg);
  border: 1px solid var(--bn-border-subtle);
  color: var(--bn-text-muted);
  font-size: 13px;
  transition: border-color 0.2s ease;
}

.bn-device-placeholder:hover {
  border-color: var(--bn-border-medium);
}

.bn-device-send-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--bn-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: 18px;
}

.bn-device-send-btn:hover {
  background: var(--bn-blue-light);
  transform: scale(1.1);
}

/* ===== SCREENS AREA ===== */

.bn-screens-area {
  padding: 32px;
  border-radius: var(--bn-radius-xl);
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--bn-border-medium);
  box-shadow: var(--bn-shadow-md);
}

.bn-screens-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--bn-border-subtle);
}

.bn-screen-tab {
  border-radius: 12px;
  border: 1px solid var(--bn-border-medium);
  background: var(--bn-bg-card);
  color: var(--bn-text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.bn-screen-tab::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bn-blue), var(--bn-blue-light));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.bn-screen-tab span {
  position: relative;
  z-index: 1;
}

.bn-screen-tab:hover {
  border-color: var(--bn-blue);
  transform: translateY(-2px);
}

.bn-screen-tab-active {
  color: white;
}

.bn-screen-tab-active::before {
  opacity: 1;
}

.bn-screens-wrapper {
  position: relative;
  min-height: 400px;
}

/* ===== SCREEN CONTENT ===== */

.bn-screen {
  display: none;
  opacity: 0;
  animation: screenFade 0.4s ease-out forwards;
}

@keyframes screenFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bn-screen-active {
  display: block;
}

.bn-screen-text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
  color: var(--bn-text-main);
}

.bn-screen-text p {
  font-size: 16px;
  color: var(--bn-text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.bn-list,
.bn-steps {
  margin: 0 0 20px;
  padding-right: 24px;
  font-size: 15px;
  color: var(--bn-text-main);
  line-height: 1.7;
}

.bn-list li,
.bn-steps li {
  margin-bottom: 12px;
  position: relative;
  padding-right: 8px;
}

.bn-list li::before {
  content: "•";
  position: absolute;
  right: -16px;
  color: var(--bn-blue);
  font-weight: bold;
}

.bn-inline-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  margin-top: 24px;
  padding: 16px;
  background: rgba(59, 130, 246, 0.05);
  border-radius: var(--bn-radius-md);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* ===== GRID / MOCK PANELS ===== */

.bn-screen-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: flex-start;
}

.bn-mock-panel {
  background: var(--bn-bg-card);
  border-radius: var(--bn-radius-lg);
  border: 1px solid var(--bn-border-medium);
  padding: 20px;
  box-shadow: var(--bn-shadow-md);
  transition: all 0.3s ease;
}

.bn-mock-panel:hover {
  border-color: var(--bn-border-medium);
  box-shadow: var(--bn-shadow-lg);
  transform: translateY(-2px);
}

.bn-mock-header {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bn-text-muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bn-border-subtle);
  margin-bottom: 16px;
}

.bn-mock-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bn-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bn-field-label {
  color: var(--bn-text-muted);
  font-size: 13px;
  font-weight: 500;
}

.bn-field input,
.bn-field select {
  background: var(--bn-bg-soft);
  border-radius: var(--bn-radius-sm);
  border: 1px solid var(--bn-border-subtle);
  padding: 10px 12px;
  font-size: 14px;
  color: var(--bn-text-main);
  transition: all 0.2s ease;
}

.bn-field input:hover,
.bn-field select:hover {
  border-color: var(--bn-border-medium);
}

.bn-field input:focus,
.bn-field select:focus {
  outline: none;
  border-color: var(--bn-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.bn-two-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.bn-chips-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bn-chip {
  border-radius: 8px;
  padding: 8px 14px;
  border: 1px solid var(--bn-border-medium);
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  color: var(--bn-text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.bn-chip:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--bn-blue);
  transform: translateY(-1px);
}

.bn-chip-active {
  background: var(--bn-blue);
  border-color: var(--bn-blue);
  color: white;
}

/* ===== ACTIVITY LIST ===== */

.bn-activity-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: var(--bn-radius-sm);
  transition: background 0.2s ease;
}

.bn-activity-row:hover {
  background: rgba(59, 130, 246, 0.05);
}

.bn-activity-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px currentColor;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.bn-activity-dot-green {
  background: #22c55e;
}

.bn-activity-dot-gold {
  background: var(--bn-gold);
}

.bn-activity-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--bn-text-main);
}

.bn-activity-meta {
  font-size: 12px;
  color: var(--bn-text-muted);
  margin-top: 2px;
}

.bn-activity-time {
  font-size: 12px;
  color: var(--bn-text-muted);
  white-space: nowrap;
}

/* ===== BOTTOM CTA ===== */

.bn-bottom-cta {
  margin-top: 48px;
}

.bn-bottom-cta-inner {
  border-radius: var(--bn-radius-xl);
  border: 1px solid var(--bn-border-medium);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(251, 191, 36, 0.05));
  backdrop-filter: blur(10px);
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--bn-shadow-lg);
  transition: all 0.3s ease;
}

.bn-bottom-cta-inner:hover {
  border-color: var(--bn-blue);
  box-shadow: var(--bn-shadow-lg), var(--bn-shadow-glow);
}

.bn-bottom-cta-inner h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  color: var(--bn-text-main);
}

.bn-bottom-cta-inner p {
  margin: 0;
  font-size: 15px;
  color: var(--bn-text-muted);
  line-height: 1.6;
  max-width: 600px;
}

.bn-bottom-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
  .bn-hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bn-screen-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  #biznet-app-home {
    padding: 40px 16px 60px;
  }

  .bn-header {
    flex-wrap: wrap;
    padding: 14px 18px;
  }

  .bn-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .bn-cta-area {
    margin-right: auto;
  }

  .bn-hero-text h1 {
    font-size: 32px;
  }

  .bn-screens-area {
    padding: 24px 20px;
  }

  .bn-bottom-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .bn-hero-text h1 {
    font-size: 28px;
  }

  .bn-btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .bn-device {
    max-width: 100%;
  }
}