:root {
  --bg-color: #05050a;
  --bg-accent: #0f0f16;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --accent-primary: #3b82f6; /* Blue */
  --accent-glow: rgba(59, 130, 246, 0.5);
  --border-color: #27272a;
  --card-bg: rgba(24, 24, 27, 0.6);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navbar */
.navbar {
  padding: 1.5rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 10, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-text {
  background: linear-gradient(to right, #fff, #9ca3af);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a:not(.btn) {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

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

.nav-links .powered-by {
  color: var(--text-secondary);
  font-size: 0.85rem;
  padding-left: 1rem;
  border-left: 1px solid var(--border-color);
}

.nav-links .powered-by a {
  color: #60a5fa;
}

.nav-links .powered-by a:hover {
  color: #93c5fd;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

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

.btn-primary:hover {
  background-color: #e5e5e5;
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.15) 0%,
    rgba(5, 5, 10, 0) 70%
  );
  z-index: -1;
  pointer-events: none;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin-bottom: 4rem;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  background: linear-gradient(to bottom, #ffffff 0%, #9ca3af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .lead {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.note-box {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.note-box strong {
    color: #60A5FA;
    display: inline;
    margin-bottom: 0.25rem;
}

.text-link {
    color: #60A5FA;
    text-decoration: underline;
    margin-left: 0.25rem;
}

.text-link:hover {
    color: #93C5FD;
}

.cta-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.tech-stack {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.tech-icon {
  opacity: 0.8;
}

.hero-image {
  position: relative;
  width: 150px;
  height: 150px;
  perspective: 1000px;
}

.window-frame {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: rotateX(2deg);
  transition: transform 0.5s ease;
}

.window-frame:hover {
  transform: rotateX(0deg);
}

.app-screenshot {
  width: 150px;
  height: 150px;
  display: block;
  border-radius: 32px;
}

/* Features Section */
.features {
  padding: 6rem 0;
  background: var(--bg-accent);
  position: relative;
  border-top: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

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

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

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

.feature-card {
  background: var(--bg-color);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.icon-wrapper {
  width: 48px;
  height: 48px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

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

/* Screenshots Section */
.screenshots {
  padding: 6rem 0;
  position: relative;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.screenshot-card {
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.screenshot-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 40px -20px rgba(59, 130, 246, 0.2);
}

.screenshot-img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid var(--border-color);
}

.screenshot-card h3 {
  font-size: 1.1rem;
  margin: 1.25rem 1.5rem 0.5rem;
}

.screenshot-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0 1.5rem 1.25rem;
}

/* How It Works */
.how-it-works {
  padding: 6rem 0;
  overflow: hidden;
}

.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.steps-list {
  margin-top: 2rem;
}

.step-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.step-number {
  font-family: monospace;
  color: var(--text-secondary);
  font-size: 1rem;
  padding-top: 0.25rem;
  opacity: 0.5;
}

.step-details h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step-details p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.visual-content {
  position: relative;
}

.workflow-visual {
  height: 400px;
  background: radial-gradient(
    circle at center,
    rgba(59, 130, 246, 0.1),
    transparent 70%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 12px;
  transform: rotate(-3deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.code-block {
  font-family: "SF Mono", "Roboto Mono", monospace;
  font-size: 0.9rem;
  color: #e2e8f0;
  line-height: 1.5;
}

.keyword {
  color: #60a5fa;
  font-weight: 700;
}

/* Footer */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.footer-brand h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.link-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.link-group h5 {
  color: var(--text-primary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.link-group a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.link-group a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: #6B7280; /* Darker gray */
  margin-bottom: 0.5rem;
}

.footer-bottom .powered-by {
  margin-top: 0.5rem;
}

.footer-bottom .powered-by a {
  color: #60a5fa;
}

.footer-bottom .powered-by a:hover {
  color: #93c5fd;
}

/* Responsive */
/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  .navbar .container {
    padding: 0 1.25rem;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  /* Hide regular nav links on mobile */
  .nav-links {
    display: none;
  }
  
  /* But keep the download button if possible, or hide all if space is tight */
  /* For now hiding all as per standard pattern, or could show just button */

  .hero {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero .lead {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }

  .cta-group {
    flex-direction: column;
    width: 100%;
  }

  .cta-group .btn {
    width: 100%;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .screenshots-grid {
    grid-template-columns: 1fr;
  }

  .split-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .visual-content {
    order: -1;
  }

  .workflow-visual {
    height: 300px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
}
