/* ==========================================================================
   PORTAL OFFICIAL LANDING PAGE — STYLESHEET
   Design System: Strict Monochrome iOS Minimalist / Deep Black OLED
   ========================================================================== */

:root {
  --bg-black: #000000;
  --bg-subtle: #09090b;
  --bg-card: #111114;
  --bg-card-hover: #17171c;
  --bg-card-border: rgba(255, 255, 255, 0.08);
  --bg-card-border-hover: rgba(255, 255, 255, 0.18);

  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  --text-muted: #52525b;

  --accent-white: #ffffff;
  --accent-blue: #3b82f6;
  --accent-blue-glow: rgba(59, 130, 246, 0.15);

  --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, sans-serif;
  --header-height: 72px;
  --container-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  background-color: var(--bg-black);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--bg-black);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.5;
  selection-background-color: rgba(255, 255, 255, 0.2);
}

::selection {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   LAYOUT & CONTAINER
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }
}

/* Subtle background noise grid */
/* ===================================
   AMBIENT MOTION BACKGROUND (WHITE & PURE BLACK)
   =================================== */
.ambient-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(140px);
  z-index: 0;
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
}

.ambient-glow-1 {
  width: 720px;
  height: 480px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  animation: whiteGlowPulse 11s ease-in-out infinite alternate;
}

.ambient-glow-2 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 75%);
  bottom: 8%;
  right: 5%;
  animation: whiteGlowDrift 16s ease-in-out infinite alternate;
}

@keyframes whiteGlowPulse {
  0% {
    opacity: 0.04;
    transform: translateX(-50%) scale(0.92);
  }
  50% {
    opacity: 0.10;
    transform: translateX(-48%) scale(1.08) translateY(24px);
  }
  100% {
    opacity: 0.05;
    transform: translateX(-52%) scale(1.01) translateY(-14px);
  }
}

@keyframes whiteGlowDrift {
  0% {
    opacity: 0.03;
    transform: translate(0, 0) scale(1);
  }
  50% {
    opacity: 0.08;
    transform: translate(-50px, -40px) scale(1.15);
  }
  100% {
    opacity: 0.04;
    transform: translate(30px, 45px) scale(0.92);
  }
}

.ambient-grid {
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.035) 0%, transparent 60%),
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 80px 80px, 80px 80px;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.site-header.scrolled {
  background-color: rgba(0, 0, 0, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.site-header .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform var(--transition-fast);
}

.brand-link:hover {
  transform: scale(1.02);
}

.brand-logo {
  height: 32px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.2));
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 14.5px;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 22px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.12);
}

.btn-primary:hover {
  background-color: #ededed;
  box-shadow: 0 6px 28px rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(1px);
  background-color: #dcdcdc;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.btn-secondary:active {
  transform: translateY(1px);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 16px;
  border-radius: var(--radius-pill);
}

/* Mobile Hamburger */
.mobile-toggle-btn {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 8px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  padding-top: calc(var(--header-height) + 70px);
  padding-bottom: 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
  animation: heroFloat 4s ease-in-out infinite;
}

.hero-badge-pill span.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #3b82f6;
  box-shadow: 0 0 10px #3b82f6;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.hero-title {
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #ffffff;
  max-width: 960px;
  margin: 0 auto 24px;
}

.hero-title .gradient-text {
  background: linear-gradient(180deg, #ffffff 40%, rgba(255, 255, 255, 0.55) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.5;
  max-width: 680px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* ==========================================================================
   APP MOCKUP SHOWCASE (INTERACTIVE DEVICE FRAME)
   ========================================================================== */

.mockup-wrap {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  perspective: 1200px;
}

.mockup-frame {
  background-color: #0c0c0e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow: 
    0 30px 100px -20px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 1px 3px rgba(255, 255, 255, 0.1) inset;
  overflow: hidden;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.mockup-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background-color: rgba(20, 20, 24, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-dots {
  display: flex;
  gap: 8px;
}

.mockup-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
}

.mockup-dot.red { background-color: #ef4444; }
.mockup-dot.yellow { background-color: #eab308; }
.mockup-dot.green { background-color: #22c55e; }

.mockup-url-pill {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 5px 22px;
  font-size: 12.5px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup-url-pill svg {
  color: #22c55e;
}

.mockup-content {
  display: grid;
  grid-template-columns: 310px 1fr;
  height: 520px;
  background-color: #050507;
  text-align: left;
}

@media (max-width: 900px) {
  .mockup-content {
    grid-template-columns: 1fr;
    height: auto;
  }
  .mockup-sidebar {
    display: none;
  }
}

/* Sidebar inside mockup */
.mockup-sidebar {
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  background-color: #09090c;
  display: flex;
  flex-direction: column;
}

.mockup-sidebar-header {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-search-input {
  width: 100%;
  padding: 8px 12px 8px 32px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #ffffff;
  outline: none;
}

.mockup-chat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.mockup-chat-item.active {
  background-color: rgba(255, 255, 255, 0.08);
}

.mockup-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #27272a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
  position: relative;
}

.mockup-avatar.online::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #22c55e;
  border: 2px solid #09090c;
}

.mockup-chat-info {
  flex: 1;
  min-width: 0;
}

.mockup-chat-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3px;
}

.mockup-chat-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
}

.mockup-chat-time {
  font-size: 11px;
  color: var(--text-tertiary);
}

.mockup-chat-last {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Chat Stage inside mockup */
.mockup-chat-stage {
  display: flex;
  flex-direction: column;
  background-color: #060608;
  position: relative;
}

.mockup-chat-header {
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(12, 12, 15, 0.85);
}

.mockup-messages-list {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mockup-msg {
  max-width: 380px;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 13.5px;
  line-height: 1.45;
  position: relative;
}

.mockup-msg.incoming {
  align-self: flex-start;
  background-color: #1a1a1f;
  color: #ffffff;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-msg.outgoing {
  align-self: flex-end;
  background-color: #ffffff;
  color: #000000;
  border-bottom-right-radius: 4px;
}

.mockup-msg-meta {
  font-size: 10.5px;
  opacity: 0.65;
  margin-top: 4px;
  text-align: right;
}

/* Simulated Telegram 4-Photo Collage inside mockup */
.mockup-collage {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 2px;
  width: 320px;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  background-color: #000;
  margin-bottom: 4px;
  position: relative;
}

.mockup-collage-item {
  position: relative;
  overflow: hidden;
  background-color: #27272a;
}

.mockup-collage-item.featured {
  grid-row: 1 / span 3;
  grid-column: 1;
}

.mockup-collage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mockup-input-bar {
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background-color: rgba(12, 12, 15, 0.85);
  display: flex;
  align-items: center;
  gap: 12px;
}

.mockup-input-pill {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   METRICS SECTION
   ========================================================================== */

.metrics-section {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background-color: rgba(255, 255, 255, 0.015);
  padding: 50px 0;
}

.metrics-grid {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
}

.metric-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

@media (max-width: 840px) {
  .metrics-grid {
    flex-wrap: wrap;
    gap: 28px;
  }
  .metric-card {
    flex: 1 1 calc(50% - 14px);
  }
}

@media (max-width: 480px) {
  .metric-card {
    flex: 1 1 100%;
  }
}

.metric-value {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin-bottom: 6px;
  background: linear-gradient(180deg, #ffffff 40%, rgba(255, 255, 255, 0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   BENTO GRID FEATURES
   ========================================================================== */


/* ==========================================================================
   UPGRADED BENTO CARDS & RICH FEATURE PREVIEWS
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 960px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
}

.bento-card {
  position: relative;
  background: linear-gradient(180deg, rgba(20, 20, 26, 0.72) 0%, rgba(10, 10, 14, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 26px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  box-shadow: 
    0 24px 60px -20px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.2px;
  background: radial-gradient(350px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), rgba(255, 255, 255, 0.45), transparent 45%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.bento-card:hover::after {
  opacity: 1;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  opacity: 0.6;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 
    0 34px 70px -15px rgba(0, 0, 0, 0.9),
    0 0 50px -10px rgba(255, 255, 255, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.bento-card.span-2 {
  grid-column: span 2;
}

@media (max-width: 640px) {
  .bento-card.span-2 {
    grid-column: span 1;
  }
}

/* Bento Header & Badges */
.bento-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.bento-icon-pill {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.bento-card:hover .bento-icon-pill {
  transform: scale(1.05);
  background-color: rgba(255, 255, 255, 0.1);
}

.bento-badge {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d4d4d8;
}

.bento-badge-shield {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: #4ade80;
}

.status-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.bento-badge-gold {
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: #fbbf24;
}

.bento-badge-code {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a1a1aa;
}

.bento-card-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 10px;
}

.bento-card-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 24px;
}

/* Bento Preview Box Container */
.bento-preview-box {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px 18px;
  margin-top: auto;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.bento-card:hover .bento-preview-box {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.55);
}

/* ==========================================================================
   FEATURE 1: MINI COLLAGE PREVIEW (1 + 3 TELEGRAM STYLE)
   ========================================================================== */
.mini-collage-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 5px;
  height: 135px;
  border-radius: 12px;
  overflow: hidden;
  background: #08080a;
  padding: 4px;
}

.mini-photo-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #14151a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.mini-photo-item.photo-large {
  grid-row: 1 / span 3;
  grid-column: 1;
  background: linear-gradient(145deg, #181a24 0%, #0d0e14 100%);
}

.mini-photo-item.photo-thumb {
  background: linear-gradient(145deg, #20222e 0%, #111219 100%);
}

.bento-card:hover .mini-photo-item {
  border-color: rgba(255, 255, 255, 0.16);
}

.mini-photo-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: -0.01em;
}

.mini-photo-tag {
  background: rgba(0, 0, 0, 0.55);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 11.5px;
}

.mini-collage-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
}

.meta-tag {
  color: #22c55e;
  font-weight: 600;
}

.meta-time {
  color: rgba(255, 255, 255, 0.45);
}

/* ==========================================================================
   FEATURE 2: MINI PASSCODE PREVIEW
   ========================================================================== */
.passcode-visual-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.passcode-lock-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.passcode-dots-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.passcode-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.25s ease;
}

.passcode-dot.is-filled {
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.bento-card:hover .passcode-dot.is-filled {
  transform: scale(1.15);
}

.passcode-meta-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.passcode-status-pill {
  color: #22c55e;
  font-weight: 600;
}

/* ==========================================================================
   FEATURE 3: MINI VOICE MESSAGE PREVIEW
   ========================================================================== */
.voice-player-bubble {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.voice-play-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
  transition: transform 0.2s ease;
}

.bento-card:hover .voice-play-circle {
  transform: scale(1.08);
}

.voice-waveform-stream {
  display: flex;
  align-items: center;
  gap: 3.5px;
  flex: 1;
  height: 30px;
}

.v-bar {
  flex: 1;
  border-radius: 3px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.v-bar.h-3 { height: 30%; }
.v-bar.h-4 { height: 40%; }
.v-bar.h-5 { height: 50%; }
.v-bar.h-6 { height: 60%; }
.v-bar.h-7 { height: 70%; }
.v-bar.h-8 { height: 80%; }
.v-bar.h-9 { height: 90%; }
.v-bar.h-10 { height: 100%; }

.v-bar.played {
  background-color: #ffffff;
}

.v-bar.unplayed {
  background-color: rgba(255, 255, 255, 0.24);
}

.bento-card:hover .v-bar {
  animation: barPulse 1.2s ease-in-out infinite alternate;
}
.bento-card:hover .v-bar:nth-child(2n) { animation-delay: 0.15s; }
.bento-card:hover .v-bar:nth-child(3n) { animation-delay: 0.3s; }
.bento-card:hover .v-bar:nth-child(4n) { animation-delay: 0.45s; }

@keyframes barPulse {
  0% { transform: scaleY(0.7); }
  100% { transform: scaleY(1.15); }
}

.voice-duration {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  font-variant-numeric: tabular-nums;
}

.voice-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

/* ==========================================================================
   FEATURE 4: MINI SPARKS REACTION PREVIEW
   ========================================================================== */
.sparks-showcase-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sparks-pill-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  transition: all 0.25s ease;
}

.sparks-pill-badge.is-active {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.38);
  color: #fbbf24;
}

.bento-card:hover .sparks-pill-badge.is-active {
  transform: scale(1.05);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.25);
}

.sparks-meta-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.sparks-verified-link {
  color: #fbbf24;
  font-weight: 600;
}

/* ==========================================================================
   FEATURE 5: MINI DEVELOPER TERMINAL (BOT API)
   ========================================================================== */
.mini-terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.terminal-dots {
  display: flex;
  gap: 5px;
}

.terminal-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.5);
}

.terminal-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
}

.terminal-code-body {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: #e4e4e7;
  overflow-x: auto;
}

.tok-kw { color: #c084fc; font-weight: 600; }
.tok-fn { color: #60a5fa; }
.tok-str { color: #4ade80; }

/* ==========================================================================
   SECURITY SECTION (DEEP DIVE)
   ========================================================================== */

.security-section {
  background: radial-gradient(circle at 50% 50%, rgba(20, 20, 25, 0.5) 0%, #000000 80%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.security-card-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 860px) {
  .security-card-split {
    grid-template-columns: 1fr;
  }
}

.security-visual-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lock-shield-emblem {
  width: 140px;
  height: 140px;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  animation: shieldPulse 4s ease-in-out infinite;
}

@keyframes shieldPulse {
  0%, 100% { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 0 0 rgba(255, 255, 255, 0.05); }
  50% { box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9), 0 0 0 16px rgba(255, 255, 255, 0.02); }
}

.security-bullets {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}

.security-bullet-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.security-bullet-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  margin-top: 2px;
}

.security-bullet-text h4 {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.security-bullet-text p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   CALL TO ACTION BANNER (OPEN IN BROWSER)
   ========================================================================== */

.cta-section {
  padding: 120px 0;
  text-align: center;
  position: relative;
}

.cta-box {
  background: linear-gradient(180deg, #121215 0%, #08080a 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.cta-title {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 18px;
}

.cta-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 36px;
}

.cta-link-hint {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 18px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 40px;
  background-color: var(--bg-black);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 12px;
  line-height: 1.5;
}

.footer-columns {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   REVEAL ON SCROLL ANIMATIONS
   ========================================================================== */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }


.mockup-screen-container {
  position: relative;
  width: 100%;
  background-color: #050507;
  overflow: hidden;
  line-height: 0;
  display: block;
}

.mockup-screen-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  border-bottom-left-radius: 23px;
  border-bottom-right-radius: 23px;
}

/* ==========================================================================
   ICONIFY GLOBAL STYLES & SOLAR ICONS INTEGRATION
   ========================================================================== */
iconify-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  line-height: 1;
  flex-shrink: 0;
}

.metric-icon {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.25));
  transition: transform 0.25s ease, color 0.25s ease;
}

.metric-card:hover .metric-icon {
  transform: scale(1.12) translateY(-2px);
  color: #ffffff;
}

.security-bullet-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-bullet-icon iconify-icon {
  color: #22c55e;
}

.lock-shield-emblem iconify-icon {
  filter: drop-shadow(0 8px 30px rgba(255, 255, 255, 0.25));
}
