
:root {
  --background: #f9fafb;
  --foreground: #0f172a;
  --primary: #0066cc;
  --primary-foreground: #f8fafc;
  --primary-hover: #0056b3;
  --secondary: #f1f5f9;
  --secondary-foreground: #1e293b;
  --accent: #ff9933;
  --accent-foreground: #1e293b;
  --accent-hover: #ff8c1a;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --border: #e2e8f0;
  --input: #e2e8f0;
  --radius: 0.5rem;
  --card: #ffffff;
  --card-foreground: #0f172a;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Base styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

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

.site-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex-grow: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
}

/* Button styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  font-size: 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
  text-decoration: none;
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--primary-foreground);
}

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

.btn-outline:hover {
  background-color: var(--secondary);
  color: var(--primary);
}

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

.btn-accent:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Navbar */
.navbar {
  background-color: var(--card);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--foreground);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--muted-foreground);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
}

/* Hero section */
.hero {
  padding: 5rem 0 3rem;
  text-align: center;
  background: linear-gradient(to bottom, #f0f9ff, var(--background));
}

.hero h1 {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #0056b3, #007bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Features section */
.features {
  padding: 5rem 0;
  background-color: var(--card);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

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

.feature-card {
  background-color: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #0056b3, #007bff);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

/* Footer */
.footer {
  background-color: var(--card);
  padding-top: 4rem;
  box-shadow: 0 -1px 0 var(--border);
}

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

.footer-logo {
  max-width: 300px;
}

.footer-logo h3 {
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
  color: var(--muted-foreground);
}

.footer-section ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  text-align: center;
  color: var(--muted-foreground);
}

/* Animations */
.animate-in {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Premium page specific styles */
.premium-hero {
  background: linear-gradient(to bottom, #f0f9ff, #e0f2fe);
  padding: 5rem 0 3rem;
}

.premium-price {
  margin: 2rem 0;
}

.premium-price .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.premium-price .period {
  font-size: 1.25rem;
  color: var(--muted-foreground);
}

.premium-trial {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.premium-features {
  padding: 5rem 0;
}

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

.premium-card {
  padding: 2rem;
  background-color: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.premium-card:hover {
  transform: translateY(-5px);
}

.premium-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.premium-comparison {
  max-width: 800px;
  margin: 0 auto 4rem;
}

.premium-comparison h3 {
  margin-bottom: 1.5rem;
  text-align: center;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}

.comparison-header {
  background-color: var(--primary);
  color: white;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
}

.comparison-row {
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-cell {
  padding: 1rem;
  text-align: center;
}

.comparison-cell:first-child {
  text-align: left;
}

.comparison-header .comparison-cell {
  font-weight: 600;
}

.highlight {
  background-color: rgba(0, 102, 204, 0.05);
}

.premium-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Redirect page */
.redirect-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
}

.redirect-content {
  background-color: white;
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 90%;
  max-width: 500px;
  text-align: center;
}

.redirect-progress {
  height: 8px;
  background-color: var(--muted);
  border-radius: 4px;
  margin: 2rem 0;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  background-color: var(--primary);
  transition: width 1s linear;
}

/* Responsive design */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
  
  .comparison-header,
  .comparison-row {
    grid-template-columns: 2fr 1fr 1fr;
  }
  
  .redirect-content {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
  }
  
  .navbar .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .comparison-header,
  .comparison-row {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}
