body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0f172a;
  color: #e5e7eb;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Header Styles */
.main-header {
  background: #1e293b;
  border-bottom: 1px solid #334155;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand h1 {
  font-size: 1.5rem;
  margin: 0;
  color: #f1f5f9;
}

.tagline {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-left: 0.5rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav-menu a {
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: #3b82f6;
}

.nav-cta {
  display: flex;
  align-items: center;
}

/* Hero Section */
.hero-section {
  padding: 4rem 2rem;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  margin: 0 0 0.5rem 0;
  color: #f1f5f9;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #3b82f6;
  margin: 0 0 2rem 0;
}

.hero-description {
  font-size: 1.125rem;
  color: #94a3b8;
  max-width: 800px;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Software Section */
.software-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.software-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #f1f5f9;
}

.software-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.software-card {
  background: #1e293b;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #334155;
  transition: transform 0.2s, border-color 0.2s;
}

.software-card:hover {
  transform: translateY(-4px);
  border-color: #3b82f6;
}

.software-card h3 {
  font-size: 1.5rem;
  margin: 0 0 1rem 0;
  color: #f1f5f9;
}

.software-card p {
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.software-link {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.software-link:hover {
  color: #60a5fa;
}

/* Footer Styles */
.main-footer {
  background: #1e293b;
  border-top: 1px solid #334155;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  font-size: 1.25rem;
  margin: 0 0 1rem 0;
  color: #f1f5f9;
}

.footer-section p {
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: #3b82f6;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.footer-bottom {
  background: #0f172a;
  padding: 1.5rem 2rem;
  text-align: center;
  border-top: 1px solid #334155;
}

.footer-bottom p {
  color: #64748b;
  margin: 0;
  font-size: 0.875rem;
}

.footer-bottom a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: #3b82f6;
}

/* Button Styles */
.primary-btn {
  padding: 0.75rem 1.5rem;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s;
}

.primary-btn:hover {
  background: #2563eb;
}

.secondary-btn {
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: #e5e7eb;
  border: 1px solid #475569;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, border-color 0.2s;
}

.secondary-btn:hover {
  background: #1e293b;
  border-color: #64748b;
}

@media (min-width: 768px) {
  body {
    padding: 0;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .nav-container {
    padding: 1rem 2rem;
  }
}

.card {
  max-width: 1400px;
  margin: auto;
  background: #1e293b;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  max-height: 100vh;
  overflow-y: auto;
}

@media (min-width: 768px) {
  .card {
    padding: 2rem;
  }
}

h1, h2, h3 { 
  margin-top: 0; 
  color: #f1f5f9;
}

h1 { font-size: 1.5rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.1rem; }

@media (min-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
}

.formula-controls {
  background: #020617;
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .formula-controls {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

.formula-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .formula-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .formula-grid { grid-template-columns: repeat(3, 1fr); }
}

.formula-item {
  background: #1e293b;
  padding: 0.75rem;
  border-radius: 8px;
}

@media (min-width: 768px) {
  .formula-item { padding: 1rem; }
}

.controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
  background: #020617;
  padding: 1rem;
  border-radius: 12px;
}

@media (min-width: 640px) {
  .controls { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .controls {
    grid-template-columns: repeat(3, 1fr);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

button {
  padding: 0.5rem 1rem;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

button:hover { background: #2563eb; }

button.secondary {
  background: #64748b;
}

button.secondary:hover {
  background: #475569;
}

.result {
  margin: 1rem 0;
  padding: 1rem;
  background: #020617;
  border-radius: 12px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* Screenshot & Media Styles */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.screenshot-card {
  background: #1e293b;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #334155;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
}

.screenshot-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f1f5f9;
  font-size: 1.2rem;
  font-weight: 600;
}

.screenshot-info {
  padding: 1.5rem;
}

.screenshot-title {
  color: #f1f5f9;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.screenshot-description {
  color: #94a3b8;
  line-height: 1.6;
  font-size: 0.95rem;
}

.video-section {
  margin: 3rem 0;
  text-align: center;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  border-radius: 12px;
  border: 2px solid #334155;
  margin: 2rem auto;
  max-width: 900px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.coming-soon {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: #f1f5f9;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-align: center;
  margin: 2rem 0;
  font-weight: 600;
}
