:root {
  /* Professional Blue Primary Colors */
  --primary-blue: #2563eb;
  --primary-blue-dark: #1d4ed8;
  --primary-blue-light: #3b82f6;
  
  /* Success Green for CTAs */
  --success-green: #10b981;
  --success-green-dark: #059669;
  --success-green-light: #34d399;
  
  /* Professional Gray Scale */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  
  /* Semantic Colors */
  --background: var(--gray-900);
  --background-elevated: var(--gray-800);
  --text-primary: var(--gray-50);
  --text-secondary: var(--gray-300);
  --text-muted: var(--gray-400);
  --border: var(--gray-700);
  --border-light: var(--gray-600);
  
  /* Legacy mappings for backward compatibility */
  --primary-color1: var(--primary-blue);
  --primary-color2: var(--primary-blue-light);
  --secondary-color1: var(--text-secondary);
  --secondary-color2: var(--text-primary);
  --action1: var(--success-green);
  --action2: var(--success-green-dark);
  --neutral1: var(--background-elevated);
  --neutral2: var(--background);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

*:focus {
  outline-offset: 2px;
}

::selection {
  background: var(--primary-blue);
  color: white;
}

.header-content {
  text-align: center;
  margin: 1rem 0; /* Space around the header links */
}

.header-content a {
  text-decoration: none;
  margin: 0 0.5rem;
  transition: color 0.3s;
}

hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 3rem auto;
  width: 100%;
  max-width: 400px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 1.7;
  font-size: 16px;
  letter-spacing: 0.01em;
  margin: 0;
  padding: 0;
}

input {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  background-color: var(--background-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1rem;
  transition: all 0.2s ease-in-out;
  width: 100%;
  max-width: 300px;
}

input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  transform: translateY(-1px);
}

input::placeholder {
  color: var(--text-muted);
}

.container {
  justify-content: center;
  padding: 2rem 1rem;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .container {
    padding: 3rem 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
    padding: 4rem 2rem;
  }
}

.card {
  background: var(--background-elevated);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 2rem;
  margin: 1.5rem 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease-in-out;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-color: var(--border-light);
}

.logo {
  max-width: 200px;
  width: 100%;
  margin: 1.5rem 0;
  transition: transform 0.2s ease-in-out;
}

.logo:hover {
  transform: scale(1.05);
}

@media (min-width: 640px) {
  .logo {
    max-width: 250px;
  }
}

.screenshot {
  margin-top: 1rem;
  max-width: 100%;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.highlight {
  color: var(--success-green-light);
  font-weight: 600;
}

h1 {
  color: var(--text-primary);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1.5rem 0;
  letter-spacing: -0.025em;
}

h2 {
  color: var(--primary-blue-light);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 1.25rem 0;
  letter-spacing: -0.015em;
}

.tagline {
  color: var(--text-secondary);
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 400;
  margin: 0 0 2rem 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 1.5rem 0;
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
}

a {
  color: var(--primary-blue-light);
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  position: relative;
}

a:hover {
  color: var(--success-green-light);
}

a:visited {
  color: var(--primary-blue);
}

a:active {
  color: var(--success-green);
}

a:focus {
  outline: 2px solid var(--primary-blue-light);
  outline-offset: 2px;
  border-radius: 2px;
} 

.cta-button {
  background: linear-gradient(135deg, var(--success-green) 0%, var(--success-green-dark) 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  margin: 1rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.25);
  min-width: 200px;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, var(--success-green-light) 0%, var(--success-green) 100%);
}

.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.25);
}

.cta-button:focus {
  outline: none;
  ring: 2px;
  ring-color: var(--success-green);
  ring-offset: 2px;
  ring-offset-color: var(--background);
}

.container ul {
  list-style: none;
  padding: 0;
  text-align: left;
  display: grid;
  gap: 1rem;
}

.container li {
  padding: 1.5rem;
}

/* Feature list styling - only for home page feature lists */
.feature-list li {
  padding: 1.5rem;
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  transition: all 0.2s ease-in-out;
  position: relative;
}

.feature-list li:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: var(--primary-blue);
  transform: translateX(4px);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--success-green);
  font-weight: bold;
  margin-right: 0.5rem;
}

.feature-list li b {
  margin-left: 1.5rem;
}

footer {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 3rem 0 2rem 0;
  background: var(--background-elevated);
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
}

footer p {
  margin: 0.75rem 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

footer p:first-of-type {
  color: var(--text-primary);
  font-weight: 500;
  margin-top: 1.5rem;
}

footer a {
  color: var(--primary-blue-light);
  text-decoration: none;
  margin: 0 0.75rem;
  transition: all 0.2s ease-in-out;
  padding: 0.25rem 0;
  border-radius: 2px;
}

footer a:hover {
  color: var(--success-green-light);
  transform: translateY(-1px);
}

.responsive-iframe { 
  width: 100%;
  aspect-ratio: 16 / 9;
}

/* Hero Section Styling */
.hero-section {
  padding: 3rem 1rem;
  background: linear-gradient(135deg, var(--background) 0%, var(--background-elevated) 100%);
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  margin: 2rem 1rem;
  border: 1px solid var(--border);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.platform-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.platform-icons img {
  transition: all 0.2s ease-in-out;
  filter: grayscale(0.5) opacity(0.8);
}

.platform-icons img:hover {
  filter: grayscale(0) opacity(1);
  transform: scale(1.1);
}

/* Demo Video Styling */
.demo-section {
  background: var(--background-elevated);
  border-radius: 1rem;
  padding: 2rem;
  margin: 3rem 0;
  border: 1px solid var(--border);
}

.screenshot {
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease-in-out;
}

.screenshot:hover {
  transform: scale(1.02);
}

/* Responsive Design */
@media (min-width: 640px) {
  .hero-section {
    padding: 3.5rem 2rem;
  }
  
  .platform-icons {
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 80%;
  }

  .responsive-iframe { 
    width: 80%;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }
  
  .hero-section {
    padding: 4rem 2rem;
  }
}

@media (min-width: 1024px) {
  .hero-section {
    padding: 4.5rem 2rem;
  }
}
