html {
  scroll-behavior: smooth;
}

:root {
  --primary: #000000;
  --secondary: #666666;
  --background: #ffffff;
  --surface: #f9f9f9;
  --border: #eaeaea;
  --accent: #0070f3;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--background);
  color: var(--primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header - Floating Island / Pill Design */
header {
  height: auto;
  position: sticky;
  top: 1rem;
  z-index: 100;
  padding: 0 1rem;
  pointer-events: none; /* Allows clicking elements behind the header margins */
}

header .container {
  pointer-events: auto; /* Re-enable clicks for the actual pill */
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 550px;
  margin: 0 auto;
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 99px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

.logo {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo img {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: #333;
  opacity: 1;
}

.btn-outline {
  border: none;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(0, 0, 0, 0.05);
  opacity: 1;
}

/* Hero Section */
.hero {
  padding: 6rem 0;
  text-align: left;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero h1 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  margin-bottom: 1.5rem;
  line-height: 1;
  color: var(--primary);
}

.hero p {
  font-size: 1.25rem;
  color: var(--secondary);
  margin-bottom: 2.5rem;
}

/* Marketing Image Styling */
.marketing-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  display: block;
  cursor: zoom-in;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) {
  .marketing-image:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 40px -10px rgba(0, 0, 0, 0.15);
    z-index: 10;
  }
}

/* Common Section Styles */
.feature-section, .features-grid-section, .pricing {
  padding: 4rem 0;
}

.alt {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse .feature-content {
  direction: ltr;
}

.feature-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.feature-content p {
  color: var(--secondary);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.6;
}

.feature-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1.5;
}

/* Grid Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.2s ease;
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feature-card p {
  color: var(--secondary);
}

/* Pricing Section */
.pricing {
  text-align: center;
  padding-bottom: 2rem;
}

.pricing-card {
  background: white;
  max-width: 450px;
  margin: 1rem auto 0;
  padding: 4rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

.price {
  font-size: 4rem;
  font-weight: 800;
  margin: 1rem 0;
  letter-spacing: -0.04em;
}

.price span {
  font-size: 1.25rem;
  color: var(--secondary);
  font-weight: 400;
  letter-spacing: 0;
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  cursor: zoom-out;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Footer */
footer {
  padding: 2rem 0 4rem;
  text-align: center;
  color: var(--secondary);
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-tagline {
    font-size: 3rem;
  }

  .feature-section, .features-grid-section, .pricing {
    padding: 4rem 0;
  }

  .feature-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .feature-row.reverse {
    direction: ltr;
  }

  .feature-list li {
    justify-content: center;
  }
}

/* Coming Soon Modal */
.cs-overlay {
  display: none;
  position: fixed;
  z-index: 1001;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.cs-overlay.active {
  display: flex;
}

.cs-card {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 2.5rem;
  max-width: 440px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.cs-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.25rem;
  cursor: pointer;
  color: var(--secondary);
}

.cs-close:hover {
  color: var(--primary);
}

.cs-card h2 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
}

.cs-card > p {
  color: var(--secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.cs-field {
  margin-bottom: 1rem;
}

.cs-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.cs-field input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-family);
  font-size: 1rem;
  color: var(--primary);
  outline: none;
  transition: border-color 0.2s ease;
}

.cs-field input:focus {
  border-color: var(--primary);
}

.cs-submit {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.5rem;
  font-size: 1rem;
  border: none;
}

.cs-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cs-success {
  text-align: center;
  padding: 1rem 0;
}

.cs-success p {
  color: var(--secondary);
  font-size: 1rem;
  line-height: 1.6;
}
