/* ================================
   Quiet Tabs Website Styles
   ================================ */

/* CSS Variables */
:root {
  --primary-color: #e07040;
  --primary-dark: #c55a30;
  --secondary-color: #d98a3d;
  --text-dark: #333;
  --text-medium: #666;
  --text-light: #888;
  --border-color: #e0e0e0;
  --bg-light: #f5f5f5;
  --bg-white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
  --gradient-primary: linear-gradient(135deg, #e07040 0%, #d98a3d 100%);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(32px, 5vw, 56px);
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
}

h3 {
  font-size: clamp(20px, 3vw, 28px);
}

p {
  margin-bottom: 16px;
  color: var(--text-medium);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
}

.btn-primary:hover {
  filter: brightness(1.1);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--text-dark);
  border: 2px solid var(--border-color);
}

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

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* Header/Navigation */
.site-header {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--primary-color);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
}

.logo-img {
  width: 40px;
  height: 40px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.nav-menu a {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 15px;
}

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

.nav-menu a.active {
  color: var(--primary-color);
}

.purepc-link {
  opacity: 0.7;
  font-size: 14px;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 50px 0;
  background: var(--gradient-primary);
  color: white;
}

.hero .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content {
  max-width: 700px;
  text-align: center;
}

.hero-title {
  color: white;
  margin-bottom: 24px;
  font-size: clamp(36px, 5vw, 56px);
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.95);
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-cta .btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
}

.hero-cta .btn-secondary:hover {
  background: white;
  color: var(--primary-color);
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat strong {
  font-size: 32px;
  font-weight: 700;
}

.stat span {
  font-size: 14px;
  opacity: 0.9;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.screenshot {
  width: 100%;
  max-width: 500px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-medium);
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--bg-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 64px;
}

.feature-card {
  padding: 32px;
  background: var(--bg-white);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin-bottom: 12px;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-medium);
  line-height: 1.7;
}

.coming-soon-banner {
  background: var(--gradient-primary);
  border-radius: var(--border-radius);
  padding: 40px;
  text-align: center;
  color: white;
}

.coming-soon-content h3 {
  color: white;
  font-size: 28px;
  margin-bottom: 12px;
}

.coming-soon-content p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 18px;
}

/* Comparison Section */
.comparison {
  padding: 100px 0;
  background: var(--bg-light);
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin-bottom: 48px;
}

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

.comparison-table th,
.comparison-table td {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table thead th {
  background: var(--bg-light);
  font-weight: 600;
  color: var(--text-dark);
}

.comparison-table tbody td:first-child {
  text-align: left;
  font-weight: 500;
}

.highlight-col {
  background: rgba(255, 107, 53, 0.05);
}

.product-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.product-logo {
  width: 28px;
  height: 28px;
}

.comparison-table tbody tr:hover {
  background: var(--bg-light);
}

.comparison-cta {
  text-align: center;
}

.comparison-cta p {
  font-size: 18px;
  margin-bottom: 24px;
}

/* Use Cases Section */
.use-cases {
  padding: 100px 0;
  background: var(--bg-white);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.use-case-card {
  padding: 32px;
  background: var(--bg-light);
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
}

.use-case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.use-case-icon {
  font-size: 56px;
  margin-bottom: 16px;
}

.use-case-card h3 {
  margin-bottom: 12px;
}

.use-case-card p {
  color: var(--text-medium);
}

/* Changelog Section */
.changelog {
  padding: 100px 0;
  background: var(--bg-light);
}

.changelog-list {
  max-width: 900px;
  margin: 0 auto;
}

.changelog-item {
  background: var(--bg-white);
  padding: 32px;
  border-radius: var(--border-radius);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.changelog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.version-badge {
  background: var(--gradient-primary);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
}

.date {
  color: var(--text-light);
  font-size: 14px;
}

.changelog-item h3 {
  margin-bottom: 16px;
  color: var(--text-dark);
}

.changelog-item ul {
  list-style: none;
  padding-left: 0;
}

.changelog-item li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: var(--text-medium);
}

.changelog-item li::before {
  content: '•';
  position: absolute;
  left: 8px;
  color: var(--primary-color);
  font-weight: bold;
}

.changelog-item strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  background: var(--bg-white);
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary-color);
}

.faq-icon {
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 24px 24px;
  color: var(--text-medium);
  line-height: 1.7;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: var(--gradient-primary);
  color: white;
  text-align: center;
}

.cta-content h2 {
  color: white;
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 16px;
}

.cta-content > p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 32px;
}

.cta-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 16px;
}

/* Footer */
.site-footer {
  background: var(--text-dark);
  color: white;
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-logo img {
  width: 40px;
  height: 40px;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-col h4 {
  color: white;
  margin-bottom: 16px;
  font-size: 16px;
}

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

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-container .btn {
    display: none;
  }

  .hero {
    padding: 60px 0;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .features,
  .comparison,
  .use-cases,
  .changelog,
  .faq,
  .cta-section {
    padding: 60px 0;
  }

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

  .comparison-table {
    font-size: 14px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px 8px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    gap: 24px;
  }

  .stat strong {
    font-size: 24px;
  }

  .section-header {
    margin-bottom: 40px;
  }
}
