/* CoverCheck Static Pages Styles */

:root {
  --primary-green: #9FE870;
  --primary-green-hover: #8DD65F;
  --light-green-bg: #F0F9E8;
  --text-primary: #1F2937;
  --text-secondary: #6B7280;
  --text-muted: #9CA3AF;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --border-light: #E5E7EB;
  
  --font-display: 56px;
  --font-h1: 48px;
  --font-h2: 36px;
  --font-h3: 24px;
  --font-body: 16px;
  --font-small: 14px;
  
  --font-bold: 700;
  --font-semibold: 600;
  --font-normal: 400;
  
  --leading-tight: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: var(--font-body);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  color: var(--text-primary);
  margin-bottom: 1rem;
}

h1 {
  font-size: var(--font-h1);
}

h2 {
  font-size: var(--font-h2);
}

h3 {
  font-size: var(--font-h3);
}

p {
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: 1rem;
}

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

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

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

@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  padding: 1rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: var(--font-bold);
  color: var(--text-primary);
  text-decoration: none;
}

.logo svg {
  width: 32px;
  height: 32px;
}

.nav {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

.nav a {
  color: var(--text-secondary);
  font-weight: var(--font-semibold);
  transition: color 0.2s;
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 4px 0;
  transition: 0.3s;
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 0.75rem;
  color: var(--text-secondary);
  font-weight: var(--font-semibold);
  border-bottom: 1px solid var(--gray-100);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

/* Buttons */
.btn-primary {
  background: var(--primary-green);
  color: var(--text-primary);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: var(--font-semibold);
  font-size: var(--font-body);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--primary-green-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(159, 232, 112, 0.3);
}

.btn-secondary {
  background: var(--white);
  color: var(--text-primary);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: var(--font-semibold);
  font-size: var(--font-body);
  border: 2px solid var(--border-light);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--text-secondary);
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: var(--font-display);
  margin-bottom: 1.5rem;
}

.hero .subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }
  
  .hero .subtitle {
    font-size: 18px;
  }
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-light {
  background: var(--light-green-bg);
}

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

.section-title h2 {
  font-size: var(--font-h2);
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border-light);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

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

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

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

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

/* Icon Container */
.icon-container {
  width: 80px;
  height: 80px;
  background: var(--light-green-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-container svg {
  width: 40px;
  height: 40px;
  stroke: var(--primary-green);
}

/* Step Numbers */
.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-bold);
  font-size: 20px;
  color: var(--text-primary);
  margin: 0 auto 20px;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin: 4rem 0;
}

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

.process-step {
  text-align: center;
}

.process-step h3 {
  margin-bottom: 0.5rem;
}

/* Form Elements */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: var(--font-semibold);
  color: var(--text-primary);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: var(--font-body);
  transition: all 0.2s;
  background: var(--white);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(159, 232, 112, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
.footer {
  background: var(--gray-50);
  padding: 60px 0 40px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-column h4 {
  font-size: 18px;
  margin-bottom: 1rem;
}

.footer-column a {
  display: block;
  color: var(--text-secondary);
  padding: 0.25rem 0;
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  text-align: center;
  color: var(--text-muted);
  font-size: var(--font-small);
}

/* CTA Section */
.cta-section {
  background: var(--light-green-bg);
  padding: 60px 0;
  text-align: center;
  border-radius: 24px;
  margin: 80px 0;
}

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

.cta-section p {
  font-size: 18px;
  margin-bottom: 2rem;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

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

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

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

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

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

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

/* Accordion/FAQ */
.faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem;
  background: none;
  border: none;
  font-size: 18px;
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-question.active {
  background: var(--light-green-bg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.faq-answer.active {
  display: block;
}

.faq-icon {
  transition: transform 0.3s;
}

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

/* Pricing Cards */
.pricing-card {
  background: var(--white);
  border: 2px solid var(--border-light);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s;
}

.pricing-card.popular {
  border-color: var(--primary-green);
  transform: scale(1.05);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-4px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-green);
  color: var(--text-primary);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: var(--font-semibold);
  text-transform: uppercase;
}

.pricing-price {
  font-size: 48px;
  font-weight: var(--font-bold);
  margin: 1rem 0;
}

.pricing-price span {
  font-size: 20px;
  color: var(--text-secondary);
}

.pricing-features {
  list-style: none;
  margin: 2rem 0;
}

.pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.checkmark {
  color: var(--primary-green);
  font-weight: bold;
}

/* Blog Cards */
.blog-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all 0.3s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-category {
  display: inline-block;
  background: var(--light-green-bg);
  color: var(--primary-green);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: var(--font-semibold);
  margin-bottom: 0.75rem;
}

.blog-card h3 {
  margin-bottom: 0.5rem;
  font-size: 20px;
}

.blog-card p {
  font-size: var(--font-small);
  margin-bottom: 1rem;
}

.blog-meta {
  font-size: var(--font-small);
  color: var(--text-muted);
}

/* Security Features Grid */
.security-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 3rem 0;
}

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

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

.security-card {
  text-align: center;
  padding: 2rem;
}

.security-card h3 {
  font-size: 20px;
  margin-bottom: 0.5rem;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.team-member {
  text-align: center;
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 4px solid var(--light-green-bg);
}

.team-member h4 {
  font-size: 18px;
  margin-bottom: 0.25rem;
}

.team-member p {
  color: var(--text-muted);
  font-size: var(--font-small);
}

/* Document Layout */
.document-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 100px;
  min-height: 80vh;
}

@media (min-width: 992px) {
  .document-layout {
    grid-template-columns: 250px 1fr;
  }
}

.document-sidebar {
  display: none;
}

@media (min-width: 992px) {
  .document-sidebar {
    display: block;
    position: sticky;
    top: 100px;
    height: fit-content;
  }
}

.document-nav {
  list-style: none;
}

.document-nav a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  border-left: 2px solid transparent;
  transition: all 0.2s;
}

.document-nav a:hover,
.document-nav a.active {
  color: var(--primary-green);
  border-left-color: var(--primary-green);
  background: var(--light-green-bg);
}

.document-content {
  max-width: 800px;
}

.document-content h2 {
  font-size: 28px;
  margin: 2rem 0 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.document-content h2:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.document-content h3 {
  font-size: 20px;
  margin: 1.5rem 0 1rem;
}

.document-content ul,
.document-content ol {
  margin: 1rem 0 1rem 2rem;
  color: var(--text-secondary);
}

.document-content li {
  margin-bottom: 0.5rem;
  line-height: var(--leading-relaxed);
}

/* Contact Split Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin: 3rem 0;
}

@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 3fr 2fr;
  }
}

.contact-info {
  padding: 2rem;
  background: var(--light-green-bg);
  border-radius: 16px;
}

.contact-info-item {
  margin-bottom: 2rem;
}

.contact-info-item h3 {
  font-size: 18px;
  margin-bottom: 0.5rem;
}

.contact-info-item p {
  color: var(--text-secondary);
}

/* Responsive Utilities */
@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }
}

@media (min-width: 769px) {
  .show-mobile {
    display: none;
  }
}

/* Loading State */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--primary-green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Badge */
.badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--light-green-bg);
  color: var(--primary-green);
  border-radius: 20px;
  font-size: 12px;
  font-weight: var(--font-semibold);
  text-transform: uppercase;
}

/* Table */
.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

thead {
  background: var(--gray-50);
}

th {
  text-align: left;
  padding: 1rem;
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  border-bottom: 2px solid var(--border-light);
}

td {
  padding: 1rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--gray-100);
}

tr:last-child td {
  border-bottom: none;
}

/* Cookie Preference Center */
.cookie-center {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
}

.cookie-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
}

.cookie-toggle:last-child {
  border-bottom: none;
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 24px;
  background: var(--gray-300);
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.3s;
}

.toggle-switch.active {
  background: var(--primary-green);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.3s;
}

.toggle-switch.active::after {
  transform: translateX(24px);
}