
/* IMJuice Static Site - styles.css */
/* IMJuice Design System */

:root {
  --background: 220 20% 97%;
  --foreground: 220 30% 10%;
  --card: 0 0% 100%;
  --card-foreground: 220 30% 10%;
  --primary: 142 76% 36%;
  --primary-foreground: 0 0% 100%;
  --secondary: 220 14% 96%;
  --secondary-foreground: 220 30% 10%;
  --muted: 220 14% 96%;
  --muted-foreground: 220 10% 46%;
  --accent: 38 92% 50%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 84% 60%;
  --border: 220 13% 91%;
  --input: 220 13% 91%;
  --ring: 142 76% 36%;
  --radius: 0.75rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: hsl(var(--primary)); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { line-height: 1.2; margin-bottom: 0.5em; color: hsl(var(--foreground)); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.max-w-4xl { max-width: 56rem; margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }
.max-w-5xl { max-width: 64rem; margin-left: auto; margin-right: auto; }

/* Text gradient */
.text-gradient {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bg-gradient-brand {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
}
.bg-gradient-subtle {
  background: linear-gradient(180deg, hsl(var(--background)), hsl(var(--secondary)));
}

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: hsla(var(--background), 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border));
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 4rem;
}
.site-header .logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1.25rem; font-weight: 700;
  color: hsl(var(--foreground));
}
.site-header .logo-icon {
  width: 2rem; height: 2rem; border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.2rem;
}
.site-header nav { display: flex; align-items: center; gap: 1.5rem; }
.site-header nav a { color: hsl(var(--muted-foreground)); font-size: 0.875rem; font-weight: 500; }
.site-header nav a:hover { color: hsl(var(--foreground)); text-decoration: none; }

/* Resources dropdown */
.dropdown { position: relative; }
.dropdown-toggle { cursor: pointer; display: flex; align-items: center; gap: 0.25rem; background: none; border: none; font: inherit; color: hsl(var(--muted-foreground)); font-size: 0.875rem; font-weight: 500; }
.dropdown-toggle:hover { color: hsl(var(--foreground)); }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: var(--radius); padding: 1.5rem;
  min-width: 700px; box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  z-index: 100;
}
.dropdown:hover .dropdown-menu { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.dropdown-menu h4 { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; color: hsl(var(--muted-foreground)); margin-bottom: 0.75rem; letter-spacing: 0.05em; }
.dropdown-menu a { display: block; font-size: 0.8125rem; color: hsl(var(--foreground)); padding: 0.25rem 0; }
.dropdown-menu a:hover { color: hsl(var(--primary)); }

/* Mobile menu */
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; font-size: 1.5rem; color: hsl(var(--foreground)); }
.mobile-menu { display: none; position: fixed; top: 4rem; left: 0; right: 0; bottom: 0; background: hsl(var(--background)); padding: 1.5rem; overflow-y: auto; z-index: 40; }
.mobile-menu.active { display: block; }
.mobile-menu a { display: block; padding: 0.75rem 0; font-size: 1rem; color: hsl(var(--foreground)); border-bottom: 1px solid hsl(var(--border)); }
.mobile-menu h4 { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; color: hsl(var(--muted-foreground)); margin: 1rem 0 0.5rem; }

@media (max-width: 768px) {
  .site-header nav { display: none; }
  .mobile-menu-btn { display: block; }
  .dropdown-menu { min-width: auto; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.625rem 1.5rem; border-radius: var(--radius); font-weight: 600;
  font-size: 0.875rem; cursor: pointer; border: none; transition: all 0.2s;
  text-decoration: none !important;
}
.btn-primary { background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent))); color: white; }
.btn-primary:hover { opacity: 0.9; }
.btn-outline { background: transparent; border: 1px solid hsl(var(--border)); color: hsl(var(--foreground)); }
.btn-outline:hover { background: hsl(var(--muted)); }
.btn-lg { padding: 0.875rem 2rem; font-size: 1.125rem; }

/* Cards */
.card {
  background: hsl(var(--card)); border-radius: var(--radius);
  border: 1px solid hsl(var(--border)); overflow: hidden;
}
.card-shadow { box-shadow: 0 4px 20px rgba(0,0,0,0.08); border: none; }
.glass-card {
  background: hsla(var(--card), 0.8); backdrop-filter: blur(12px);
  border: 1px solid hsla(var(--border), 0.5);
}

/* Section styles */
.section { padding: 6rem 0; }
.section-muted { background: hsl(var(--secondary) / 0.3); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2.25rem; font-weight: 700; }
.section-header p { font-size: 1.125rem; color: hsl(var(--muted-foreground)); max-width: 42rem; margin: 0.5rem auto 0; }

.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 1rem; border-radius: 9999px;
  background: hsl(var(--primary) / 0.1); color: hsl(var(--primary));
  font-size: 0.875rem; font-weight: 500;
}

/* Hero */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 6rem 1.5rem;
  background: linear-gradient(180deg, hsl(var(--background)), hsl(var(--secondary)));
  position: relative;
}
.hero h1 { font-size: clamp(2rem, 5vw, 4rem); font-weight: 700; margin-bottom: 1.5rem; }
.hero p { font-size: 1.125rem; color: hsl(var(--muted-foreground)); max-width: 48rem; margin: 0 auto 1rem; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 48rem; margin: 2rem auto 0; }
.stat-card { text-align: center; padding: 1.5rem; border-radius: var(--radius); }
.stat-card .value { font-size: 1.875rem; font-weight: 700; }
.stat-card .label { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }

/* Features grid */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.feature-card { padding: 2rem; border-radius: var(--radius); }
.feature-card h3 { font-size: 1.25rem; font-weight: 600; margin: 1rem 0 0.5rem; }
.feature-card p { color: hsl(var(--muted-foreground)); font-size: 0.9375rem; }
.feature-icon {
  width: 3rem; height: 3rem; border-radius: 0.75rem;
  background: hsl(var(--primary) / 0.1);
  display: flex; align-items: center; justify-content: center;
  color: hsl(var(--primary)); font-size: 1.5rem;
}

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; max-width: 64rem; margin: 0 auto; }
.pricing-card { padding: 2rem; text-align: center; position: relative; }
.pricing-card.highlighted { border: 2px solid hsl(var(--primary)); transform: scale(1.02); }
.pricing-card .price { font-size: 2.5rem; font-weight: 700; }
.pricing-card .period { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.pricing-card ul { list-style: none; padding: 0; margin: 1.5rem 0; text-align: left; }
.pricing-card li { padding: 0.5rem 0; font-size: 0.9375rem; display: flex; align-items: center; gap: 0.5rem; }
.pricing-card li::before { content: "✓"; color: hsl(var(--primary)); font-weight: 700; }
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 2rem; }
.pricing-toggle button { padding: 0.5rem 1.25rem; border-radius: 9999px; border: 1px solid hsl(var(--border)); background: transparent; cursor: pointer; font-weight: 500; }
.pricing-toggle button.active { background: hsl(var(--primary)); color: white; border-color: hsl(var(--primary)); }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.testimonial-card { padding: 2rem; }
.testimonial-card .stars { color: hsl(var(--accent)); margin-bottom: 1rem; font-size: 1.25rem; }
.testimonial-card blockquote { font-size: 0.9375rem; color: hsl(var(--foreground)); margin-bottom: 1.5rem; line-height: 1.7; }
.testimonial-card .author { display: flex; align-items: center; gap: 1rem; }
.testimonial-card .avatar {
  width: 3rem; height: 3rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem; font-weight: 700; color: white;
}
.testimonial-card .name { font-weight: 600; }
.testimonial-card .role { font-size: 0.8125rem; color: hsl(var(--muted-foreground)); }

/* FAQ */
.faq-list { max-width: 48rem; margin: 0 auto; }
.faq-item { border-bottom: 1px solid hsl(var(--border)); }
.faq-question {
  width: 100%; padding: 1.25rem 0; background: none; border: none;
  text-align: left; font-size: 1rem; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  color: hsl(var(--foreground));
}
.faq-question::after { content: "+"; font-size: 1.5rem; color: hsl(var(--muted-foreground)); transition: transform 0.2s; }
.faq-item.active .faq-question::after { content: "−"; }
.faq-answer { display: none; padding: 0 0 1.25rem; color: hsl(var(--muted-foreground)); line-height: 1.7; }
.faq-item.active .faq-answer { display: block; }

/* CTA */
.cta-section {
  padding: 5rem 1.5rem; text-align: center;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
  color: white;
}
.cta-section h2 { font-size: 2.25rem; color: white; }
.cta-section p { opacity: 0.9; margin: 0.5rem auto 2rem; max-width: 36rem; }
.cta-section .btn { background: white; color: hsl(var(--foreground)); }
.cta-section .btn:hover { opacity: 0.9; }

/* Footer */
.site-footer {
  background: hsl(var(--foreground)); color: hsl(var(--background));
  padding: 4rem 0 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 3rem; margin-bottom: 3rem; }
.footer-grid h4 { font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; opacity: 0.7; }
.footer-grid a { display: block; font-size: 0.8125rem; color: hsl(var(--background)); opacity: 0.7; padding: 0.25rem 0; }
.footer-grid a:hover { opacity: 1; }
.footer-bottom { border-top: 1px solid hsla(var(--background), 0.1); padding-top: 2rem; text-align: center; font-size: 0.8125rem; opacity: 0.6; }

/* Breadcrumbs */
.breadcrumbs { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: hsl(var(--muted-foreground)); padding: 1rem 0; }
.breadcrumbs a { color: hsl(var(--primary)); }
.breadcrumbs span { color: hsl(var(--muted-foreground)); }

/* Content pages */
.content-page { padding-top: 6rem; padding-bottom: 4rem; }
.content-page h1 { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 700; margin-bottom: 1.5rem; }
.content-page h2 { font-size: 1.5rem; font-weight: 700; margin-top: 2.5rem; margin-bottom: 1rem; }
.content-page h3 { font-size: 1.25rem; font-weight: 600; margin-top: 2rem; margin-bottom: 0.75rem; }
.content-page p { color: hsl(var(--muted-foreground)); margin-bottom: 1rem; line-height: 1.8; }
.content-page ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.content-page li { color: hsl(var(--muted-foreground)); padding: 0.25rem 0; }
.content-page blockquote { border-left: 4px solid hsl(var(--primary) / 0.3); padding-left: 1rem; font-style: italic; margin: 2rem 0; }
.content-page .info-box { padding: 1.5rem; border-radius: var(--radius); background: hsl(var(--primary) / 0.05); border: 1px solid hsl(var(--primary) / 0.1); margin: 2rem 0; }

/* Comparison table */
.comparison-table { width: 100%; border-collapse: collapse; }
.comparison-table th, .comparison-table td { padding: 1rem; text-align: left; border-bottom: 1px solid hsl(var(--border)); }
.comparison-table th { font-weight: 600; }

/* Related links */
.related-links { margin-top: 3rem; padding: 2rem; background: hsl(var(--muted)); border-radius: var(--radius); }
.related-links h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 1rem; }
.related-links ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.related-links li a { font-size: 0.875rem; padding: 0.5rem 1rem; background: hsl(var(--card)); border-radius: var(--radius); border: 1px solid hsl(var(--border)); display: block; }

/* Forms */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.875rem; margin-bottom: 0.5rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid hsl(var(--border));
  border-radius: var(--radius); background: hsl(var(--card)); font-size: 0.9375rem;
  color: hsl(var(--foreground)); font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: hsl(var(--primary)); box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-message { padding: 1rem; border-radius: var(--radius); margin-bottom: 1rem; }
.form-message.success { background: hsl(var(--primary) / 0.1); color: hsl(var(--primary)); }
.form-message.error { background: hsl(var(--destructive) / 0.1); color: hsl(var(--destructive)); }

/* Two column layout */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 768px) { 
  .two-col { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Utility */
.text-center { text-align: center; }
.text-muted { color: hsl(var(--muted-foreground)); }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.p-6 { padding: 1.5rem; }
.hidden { display: none; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.flex-wrap { flex-wrap: wrap; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; counter-reset: step; }
.step { padding: 2rem; text-align: center; }
.step::before { counter-increment: step; content: counter(step); display: flex; width: 3rem; height: 3rem; border-radius: 50%; background: hsl(var(--primary)); color: white; font-weight: 700; font-size: 1.25rem; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.step h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }

/* Self-test page */
.test-results { max-width: 600px; margin: 0 auto; }
.test-item { display: flex; justify-content: space-between; padding: 0.75rem 1rem; border-bottom: 1px solid hsl(var(--border)); }
.test-pass { color: hsl(var(--primary)); font-weight: 600; }
.test-fail { color: hsl(var(--destructive)); font-weight: 600; }

/* Logo SVG sizing */
.logo-icon svg { width: 1.4rem; height: 1.4rem; }

/* Logo SVG sizing */
.logo-icon svg { width: 1.4rem; height: 1.4rem; }
