/* ==========================================================================
   CSS CUSTOM VARIABLES
   ========================================================================== */
:root {
  --bg-accent: #464748;        /* Hover borders/elements */
  
  --primary: #ffa500;    /* Vivid Brand Orange */
  --primary-hover: #d68b00;    /* Lightened brand orange */
  --secondary-color: #e2e8f0;  /* Clean white button action */
  
  /* Layout & Spacing */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1100px;
}

/* ==========================================================================
   BASE RESET & STYLES
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* Common Layout Containers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.grid {
  display: grid;
  gap: 32px;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: sticky;
  z-index: 1;
  top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: var(--space-xl) auto;
  padding: var(--space-sm) var(--space-lg);
  backdrop-filter: var(--filter) brightness(40%);
  border: 1px solid var(--bg-accent);
  border-radius: var(--radius-lg);
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   BUTTONS SYSTEM
   ========================================================================== */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--primary);
  color: #000;
  border: none;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px #ffc40033;
}

.btn-secondary {
  background-color: var(--bg-accent);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-secondary:hover {
  background-color: var(--text-muted);
  color: var(--bg-primary);
}

/* Hero Pulsing Accent Action */
#getstartedBtn {
  animation: subtlePulse 3s infinite ease-in-out;
}

@keyframes subtlePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 120px 0 80px 0;
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 40px auto;
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
}

.cards-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  background-color: var(--card-bg);
  border: 1px solid var(--bg-accent);
  padding: 40px 32px;
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 92, 0, 0.4);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

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

/* ==========================================================================
   SPLIT LAYOUT / ANALYTICS
   ========================================================================== */
.split-container {
  display: flex;
  align-items: center;
  gap: 64px;
}

.split-text, .split-visual {
  flex: 1;
}

.split-text h2 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}

.split-text p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.benefit-list {
  list-style: none;
}

.benefit-list li {
  margin-bottom: 12px;
  color: var(--primary);
  font-weight: 600;
}

.screenshots-section {
  padding: 100px 0;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.screenshot-card {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,.03);
  transition: transform .2s ease;
}

.screenshot-card:hover {
  transform: translateY(-4px);
}

.screenshot-card img {
  width: 100%;
  display: block;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.screenshot-card h3 {
  padding: 20px 20px 10px;
}

.screenshot-card p {
  padding: 0 20px 20px;
  opacity: .8;
  line-height: 1.6;
}

/* Simple Mockup Component Representing Dashboard Graphic */
.mock-dashboard {
  background: #111827;
  border: 1px solid var(--bg-accent);
  height: 300px;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mock-header {
  background: var(--bg-secondary);
  height: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 16px;
}

.mock-header span {
  width: 8px;
  height: 8px;
  background: var(--bg-accent);
  border-radius: 50%;
}

.mock-body {
  display: flex;
  flex: 1;
}

.mock-sidebar {
  width: 60px;
  background: var(--bg-secondary);
  opacity: 0.5;
  border-right: 1px solid var(--bg-accent);
}

.mock-content {
  flex: 1;
  padding: 24px;
  display: flex;
  gap: 16px;
}

.mock-widget {
  flex: 1;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  border: 1px solid var(--bg-accent);
}

/* ==========================================================================
   CALL TO ACTION & FOOTER
   ========================================================================== */
.cta-section {
  text-align: center;
  background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
}

.cta-container h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta-container p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

footer {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid var(--bg-accent);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 900px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .split-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  
  .benefit-list {
    display: inline-block;
    text-align: left;
  }
}

@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    gap: 16px;
    border-radius: var(--radius-md);
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section {
    padding: 60px 0;
  }
}