/* ===== SentiView Design System & Full Styles ===== */

:root {
  /* Colors */
  --color-bg-dark: #0f1115;
  --color-bg-darker: #0a0b0e;
  --color-bg-card: rgba(30, 33, 40, 0.7);

  --color-primary: #e63946;
  /* SentiView Red */
  --color-primary-hover: #f04b56;
  --color-primary-light: rgba(230, 57, 70, 0.15);

  --color-secondary: #007aff;
  /* Tech Blue */

  --color-text-main: #f8f9fa;
  --color-text-muted: #a0aec0;

  --color-border: rgba(255, 255, 255, 0.1);
  --color-glass: rgba(20, 22, 28, 0.6);

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', system-ui, sans-serif;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-width: 1200px;
  --nav-height: 80px;
}

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-dark);
  background-image:
    radial-gradient(circle at top right, rgba(230, 57, 70, 0.05), transparent 40%),
    radial-gradient(circle at bottom left, rgba(0, 122, 255, 0.03), transparent 50%);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* ===== Mouse Glow Effect ===== */
.mouse-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.12) 0%, rgba(0, 122, 255, 0.04) 40%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.5s ease;
  will-change: transform;
}

body:hover .mouse-glow {
  opacity: 1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-normal);
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.text-red {
  color: var(--color-primary);
}

.text-main {
  color: var(--color-text-main);
}

.text-muted {
  color: var(--color-text-muted);
}

.text-gradient {
  background: linear-gradient(135deg, #fff 0%, var(--color-text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-red {
  background: linear-gradient(135deg, var(--color-primary) 0%, #ff6b6b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-darker {
  background-color: var(--color-bg-darker);
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 600px;
}

.text-center {
  text-align: center;
}

.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-6 {
  margin-top: 4rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.mb-6 {
  margin-bottom: 4rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-fast);
}

.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: #fff;
  border: 1px solid var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-block {
  width: 100%;
}

/* Base interactive elements */
.glass-panel {
  background: var(--color-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
}

.navbar.scrolled {
  background: rgba(10, 11, 14, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  height: 70px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 1px;
}

.logo-icon {
  color: var(--color-primary);
  font-size: 1.5rem;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-normal);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.05));
}

.logo-img:hover {
  filter: drop-shadow(0 0 15px rgba(230, 57, 70, 0.4));
  transform: scale(1.02);
}

.footer .logo-img {
  height: 48px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-main);
  position: relative;
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-height);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 50vh;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border: 1px solid rgba(230, 57, 70, 0.3);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.main-dashboard {
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.15);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.main-dashboard:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0);
}

.panel-header {
  padding: 1rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.2);
}

.dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-text-muted);
  margin-right: 5px;
}

.dots span:nth-child(1) {
  background: #ff5f56;
}

.dots span:nth-child(2) {
  background: #ffbd2e;
}

.dots span:nth-child(3) {
  background: #27c93f;
}

.panel-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.camera-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.5rem;
}

.camera-feed {
  background: #000;
  aspect-ratio: 16/9;
  border-radius: 0.25rem;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0.5rem;
  overflow: hidden;
}

.camera-feed::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.02) 2px, rgba(255, 255, 255, 0.02) 4px);
}

.camera-name {
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.2rem 0.5rem;
  border-radius: 0.2rem;
  z-index: 2;
}

.alert-active {
  border: 1px solid var(--color-primary);
  animation: pulse-border 2s infinite;
}

.bounding-box {
  position: absolute;
  border: 2px solid var(--color-primary);
  top: 20%;
  left: 30%;
  right: 40%;
  bottom: 30%;
  z-index: 2;
}

.box-label {
  position: absolute;
  top: -20px;
  left: -2px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.6rem;
  padding: 0.1rem 0.3rem;
  font-weight: bold;
}

.system-status {
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-success);
}

.status-logs {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.time {
  color: var(--color-text-main);
}

@keyframes pulse-border {
  0% {
    box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(230, 57, 70, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(230, 57, 70, 0);
  }
}

/* Problem Solution */
.comparison-grid {
  display: flex;
  align-items: stretch;
  gap: 2rem;
  position: relative;
}

.comparison-card {
  flex: 1;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 2.5rem;
  transition: transform var(--transition-normal);
}

.comparison-card.premium {
  background: rgba(30, 33, 40, 0.9);
  border-color: rgba(230, 57, 70, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 60px rgba(230, 57, 70, 0.05);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.card-header h3 {
  margin: 0;
  font-size: 1.5rem;
}

.badge-grey {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  font-size: 1rem;
  padding: 0.4rem 1rem;
}

.badge-red {
  background: var(--color-primary);
  color: #fff;
  border: none;
  font-size: 1rem;
  padding: 0.4rem 1rem;
}

.comparison-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--color-text-muted);
}

.comparison-card.premium .comparison-list li {
  color: var(--color-text-main);
}

.comparison-list i {
  margin-top: 0.3rem;
}

.vs-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: var(--color-bg-darker);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--color-text-muted);
  z-index: 10;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 2.5rem;
  transition: var(--transition-normal);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(230, 57, 70, 0.3);
  box-shadow: 0 20px 40px rgba(230, 57, 70, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  transition: var(--transition-normal);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.product-card:hover {
  border-color: rgba(230, 57, 70, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(230, 57, 70, 0.1);
}

.product-card.popular {
  border-color: var(--color-primary);
}

.popular-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
}

.product-image-placeholder {
  height: 200px;
  background: linear-gradient(135deg, #1a1c23 0%, #111318 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--color-border);
}

.product-info {
  padding: 2rem;
}

.product-target {
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.product-desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  min-height: 65px;
}

.product-specs {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.product-specs li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.product-specs i {
  width: 20px;
  text-align: center;
  color: var(--color-text-main);
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}

.product-link:hover {
  color: var(--color-primary);
  gap: 0.75rem;
}

/* Targets (Use Cases) */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-layout.reverse .split-content {
  order: 2;
}

.split-layout.reverse .split-image {
  order: 1;
}

.text-large {
  font-size: 1.15rem;
  color: var(--color-text-muted);
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.benefits-list i {
  font-size: 1.5rem;
  margin-top: 0.2rem;
}

.benefits-list strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.benefits-list p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.image-wrapper {
  background: var(--color-bg-card);
  border-radius: 1rem;
  height: 400px;
  position: relative;
  overflow: hidden;
}

.quote-card {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  left: 2rem;
  background: rgba(10, 11, 14, 0.8);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--color-border);
}

.quote-card i {
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.quote-card p {
  font-style: italic;
  margin-bottom: 1rem;
}

.author strong {
  display: block;
}

.author span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Forms & CTA */
.cta-section {
  padding: 8rem 0;
  text-align: center;
}

.cta-glow-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: 0;
}

.cta-card {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2.5rem;
}

.cta-content p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.contact-form input,
.contact-form select {
  width: 100%;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.contact-form input:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(0, 0, 0, 0.5);
}

/* Footer */
.footer {
  background: #000;
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1.5fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.footer-desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: #fff;
}

.social-links a:hover {
  background: var(--color-primary);
}

.footer-links h3 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-links ul a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.legal-links {
  display: flex;
  gap: 1.5rem;
}

.legal-links a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 992px) {

  .hero-container,
  .split-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split-layout.reverse .split-content {
    order: 1;
  }

  .split-layout.reverse .split-image {
    order: 2;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    right: -100%;
    width: 250px;
    height: calc(100vh - var(--nav-height));
    background: var(--color-bg-dark);
    flex-direction: column;
    padding: 2rem;
    border-left: 1px solid var(--color-border);
    transition: var(--transition-normal);
  }

  .nav-links.active {
    right: 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .comparison-grid {
    flex-direction: column;
    gap: 3rem;
  }

  .vs-badge {
    top: auto;
    bottom: -40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}