/* Vibetest Static Website - Main CSS */
/* Compiled from Tailwind CSS with custom variables */

:root {
  /* VibeTest brand – clean white background with black text */
  --background: 0 0% 100%;
  --foreground: 0 0% 6%;

  --card: 0 0% 100%;
  --card-foreground: 0 0% 6%;

  --popover: 0 0% 100%;
  --popover-foreground: 0 0% 6%;

  /* Primary / accent are dark, for strong contrast on white background */
  --primary: 0 0% 6%;
  --primary-foreground: 0 0% 100%;

  --secondary: 0 0% 96%;
  --secondary-foreground: 0 0% 6%;

  --muted: 0 0% 96%;
  --muted-foreground: 0 0% 40%;

  --accent: 0 0% 6%;
  --accent-foreground: 0 0% 100%;

  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;

  --border: 0 0% 90%;
  --input: 0 0% 90%;
  --ring: 0 0% 6%;

  --radius: 0.75rem;
  
  /* Custom design tokens */
  --gradient-primary: linear-gradient(135deg, hsl(0 0% 98%), hsl(0 0% 94%));
  --gradient-accent: linear-gradient(90deg, hsl(0 0% 6%), hsl(0 0% 20%));
  --gradient-subtle: linear-gradient(180deg, hsl(0 0% 100%), hsl(0 0% 98%));
  --shadow-elegant: 0 18px 60px -20px hsl(0 0% 0% / 0.1);
  --shadow-glow: 0 0 80px hsl(0 0% 0% / 0.05);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
}

/* Container */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid hsl(var(--border));
  background-color: hsla(var(--background) / 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}

.logo-link:hover {
  opacity: 0.8;
}

.logo-icon {
  height: 2rem;
  width: 2rem;
  border-radius: 0.5rem;
  background-color: oklch(0.145 0 0);
  color: oklch(0.985 0 0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

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

.nav-link {
  color: hsla(var(--foreground) / 0.8);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: hsl(var(--foreground));
}

.nav-spacer {
  width: 100px;
}

/* Main Content */
main {
  min-height: 100vh;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, hsl(var(--background)), hsl(var(--background)));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

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

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background-color: hsla(var(--accent) / 0.1);
  color: hsl(var(--accent));
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-title-gradient {
  display: block;
  color: hsl(var(--accent));
}

.hero-description {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  max-width: 36rem;
  margin-top: 2rem;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, hsl(0 0% 0% / 0.05), transparent 60%);
  border-radius: 1.5rem;
  filter: blur(3rem);
}

.hero-image {
  position: relative;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  width: 100%;
}

/* Features Section */
.features-section {
  padding: 6rem 1.5rem;
  background: var(--gradient-subtle);
}

.features-header {
  text-align: center;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}

.features-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .features-title {
    font-size: 3rem;
  }
}

.features-title-gradient {
  display: block;
  color: hsl(var(--accent));
}

.features-subtitle {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
}

.features-grid {
  display: grid;
  gap: 2rem;
}

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

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

.feature-card {
  padding: 2rem;
  border-radius: 1rem;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: hsl(var(--border));
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.feature-icon-wrapper {
  height: 3rem;
  width: 3rem;
  border-radius: 0.75rem;
  background-color: hsl(var(--accent) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background-color 0.2s;
}

.feature-card:hover .feature-icon-wrapper {
  background-color: hsl(var(--accent) / 0.2);
}

.feature-icon {
  height: 1.5rem;
  width: 1.5rem;
  color: hsl(var(--accent));
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: hsl(var(--foreground));
}

.feature-description {
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  border: none;
  outline: none;
}

.btn-lg {
  height: 3rem;
  padding: 0 2rem;
  font-size: 1rem;
}

.btn-primary {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.btn-primary:hover {
  background-color: hsl(var(--accent) / 0.9);
  box-shadow: 0 10px 15px -3px hsl(var(--accent) / 0.2);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
}

.btn-outline:hover {
  background-color: hsl(var(--muted));
  color: hsl(var(--foreground));
  border-color: hsl(var(--border));
}

/* Cards */
.card {
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--card));
  color: hsl(var(--card-foreground));
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.card-header {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
}

.card-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.card-content {
  padding: 1.5rem;
  padding-top: 0;
}

/* Guide Page */
.guide-section {
  padding: 8rem 1.5rem;
  background-color: hsl(var(--background));
}

.guide-header {
  text-align: center;
  margin-bottom: 4rem;
}

.guide-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: hsl(var(--foreground));
}

@media (min-width: 768px) {
  .guide-title {
    font-size: 3rem;
  }
}

.guide-subtitle {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
}

.guide-card {
  margin-bottom: 2rem;
  border: 1px solid hsl(var(--border));
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.guide-card-content {
  padding: 2rem;
}

.guide-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.guide-card-icon {
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 0.5rem;
  background-color: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-card-icon svg {
  height: 1.25rem;
  width: 1.25rem;
  color: hsl(var(--primary));
}

.guide-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.guide-subsection-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}

.guide-text {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.guide-list {
  list-style: decimal;
  list-style-position: inside;
  color: hsl(var(--muted-foreground));
  margin-left: 0.5rem;
}

.guide-list li {
  margin-bottom: 0.5rem;
}

.guide-list ul {
  list-style: disc;
  list-style-position: inside;
  margin-left: 1.5rem;
  margin-top: 0.5rem;
}

.guide-list ul li {
  margin-bottom: 0.25rem;
}

.guide-link {
  color: hsl(var(--primary));
  text-decoration: none;
  transition: color 0.2s;
}

.guide-link:hover {
  color: hsla(var(--primary) / 0.8);
}

/* Pricing Page */
.pricing-hero {
  padding-top: 8rem;
  padding-bottom: 1rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  background: hsl(var(--background));
}

.pricing-hero-content {
  text-align: center;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}

.pricing-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: hsl(var(--foreground));
}

@media (min-width: 768px) {
  .pricing-title {
    font-size: 3.75rem;
  }
}

.pricing-subtitle {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.pricing-section {
  padding: 1rem 1.5rem 2.5rem;
}

.pricing-highlight {
  text-align: center;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}

.pricing-highlight-card {
  background-color: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
}

.pricing-highlight-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.pricing-highlight-text {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}

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

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

.pricing-card {
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.pricing-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.pricing-card-featured {
  border-color: hsl(var(--primary));
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.pricing-card-header {
  text-align: center;
  padding-bottom: 1.5rem;
}

.pricing-plan-name {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.pricing-plan-desc {
  font-size: 1rem;
}

.pricing-price {
  margin-top: 1rem;
}

.pricing-price-amount {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.pricing-price-period {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.pricing-features {
  list-style: none;
  padding: 0;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.pricing-check {
  height: 1.25rem;
  width: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  display: inline-block;
}

.pricing-check svg {
  height: 1.25rem;
  width: 1.25rem;
  color: hsl(var(--primary));
}

.pricing-feature-text {
  color: hsl(var(--muted-foreground));
}

.pricing-feature-text-bold {
  color: hsl(var(--foreground));
  font-weight: 500;
}

.pricing-cta {
  width: 100%;
  margin-top: 1rem;
}

.pricing-cta-featured {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.pricing-cta-featured:hover {
  opacity: 0.9;
}

.pricing-bottom-section {
  text-align: center;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  margin-top: 4rem;
}

/* Footer */
footer {
  border-top: 1px solid hsl(var(--border));
  background-color: hsl(var(--background));
  padding: 3rem 1.5rem;
}

.footer-content {
  text-align: center;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* 404 Page */
.error-page {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background-color: #f3f4f6;
}

.error-content {
  text-align: center;
}

.error-title {
  margin-bottom: 1rem;
  font-size: 2.25rem;
  font-weight: 700;
}

.error-message {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: #4b5563;
}

.error-link {
  color: #3b82f6;
  text-decoration: underline;
}

.error-link:hover {
  color: #2563eb;
}

/* Utilities */
.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.space-y-8 > * + * {
  margin-top: 2rem;
}

.max-w-xl {
  max-width: 36rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

/* Skip Link (Accessibility) */
.skip-link:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  text-decoration: none;
  border-radius: 0.25rem;
  width: auto;
  height: auto;
  overflow: visible;
}

/* Focus indicators for accessibility */
a:focus,
button:focus {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .nav-links {
    gap: 1rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .pricing-title {
    font-size: 2rem;
  }
}
