/* FontReport - About Page Styles */

/* Content */
.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px 20px;
}

.content-card {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 32px;
  margin: 0 0 32px 0;
}

/* Enhanced numbered lists */
.content-card ol {
  counter-reset: custom-counter;
  list-style: none;
  padding-left: 0;
}

.content-card ol li {
  counter-increment: custom-counter;
  position: relative;
  padding-left: 50px;
  margin: 18px 0;
  line-height:20px;
}

.content-card ol li::before {
  content: counter(custom-counter);
  position: absolute;
  left: 0;
  top: -5px;
  width: 30px;
  height: 30px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.content-card ol li strong {
  font-size: 14px;
  font-weight: 600;
}

h2 {
  margin: 0 0 20px 0;
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
}

/* Override defaults.css for content cards */
.content-card h2 {
  margin: 0 0 20px 0;
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
}

h3 {
  margin: 32px 0 16px 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

h4 {
  margin: 24px 0 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

p {
  margin: 0 0 16px 0;
  line-height: 1.6;
}

.summary-callout {
  margin: 0 0 32px 0;
}

.summary-callout p {
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  color: var(--text);
}

ul, ol {
  margin: 16px 0;
  padding-left: 24px;
}

li {
  margin: 8px 0;
  line-height: 1.6;
}

/* Actions */
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

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

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .actions {
    margin: 0;
  }
}

/* Three Column Layout */
.three-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 32px 0;
}

.column {
  text-align: center;
}

.column-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin: 0 auto 16px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.column-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
}

.column h4 {
  margin: 0 0 12px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.column p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .three-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* CTA Section - Enhanced with Depth */
.cta-section {
  background: 
    linear-gradient(135deg, #b8e371 0%, #a1d654 25%, #6fa030 50%, #8cc63f 75%, #9fd158 100%),
    radial-gradient(circle at 70% 30%, rgba(255,255,255,0.2), transparent 70%),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.12), transparent 60%); 
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 64px 48px;
  text-align: center;
  margin: 64px 0;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 24px 48px rgba(140, 198, 63, 0.25),
    0 8px 16px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.2);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 30% 70%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 60%);
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.6; }
  50% { transform: translate(-30px, -30px) rotate(180deg); opacity: 1; }
}

.cta-section h2 {
  margin: 0 0 16px 0;
  font-size: 32px;
  font-weight: 700;
  color: white;
  position: relative;
  z-index: 2;
}

.cta-section h3 {
  margin: 0 0 16px 0;
  font-size: 32px;
  font-weight: 700;
  color: white;
  position: relative;
  z-index: 2;
}

/* Remove top margin for first H3 in columns */
.two-column-intro h3:first-child,
.two-column-equal h3:first-child {
  margin-top: 0;
}

.cta-section p {
  margin: 0 0 32px 0;
  font-size: 18px;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
  line-height: 1.5;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.cta-section .btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  border: 2px solid transparent;
}

.cta-section .btn.primary {
  background: white;
  color: var(--accent);
}

.cta-section .btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
  border-color: rgba(255,255,255,0.3);
}

.cta-section .btn.secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.cta-section .btn.secondary:hover {
  background: white;
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: white;
  color: var(--accent);
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  position: relative;
  z-index: 2;
  border: 2px solid transparent;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
  border-color: rgba(255,255,255,0.3);
}

/* Two-column layouts for text-heavy sections */
.two-column-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin: 24px 0;
}

.two-column-intro .summary-callout {
  margin: 0;
}

.two-column-intro ol {
  margin: 0;
  padding-left: 20px;
}

.two-column-equal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin: 24px 0;
}

.two-column-equal > div {
  margin: 0;
}

/* Mobile: stack columns */
@media (max-width: 768px) {
  .two-column-intro,
  .two-column-equal {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* FAQ Accordion - Clean Minimal Design */
.faq-section {
  margin-top: 72px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 56px;
  font-size: 28px;
  font-weight: 600;
}

.faq-item {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  padding: 12px 0;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  transition: all 0.2s ease;
  line-height: 1.4;
  gap: 24px;
}

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

.faq-question-text {
  flex: 1;
}

.faq-arrow {
  font-size: 14px;
  transition: transform 0.3s ease;
  color: var(--muted);
  margin-top: 2px;
  flex-shrink: 0;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

.faq-item.active .faq-answer {
  padding: 0 0 28px 0;
  max-height: 1000px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  margin-left: 16px !important;
  padding-left: 10px !important;
  list-style: disc !important;
}

.faq-answer li {
  margin: 10px 0 !important;
  list-style: disc !important;
  display: list-item !important;
}

.faq-answer a {
  color: var(--accent);
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* Categories - Clean Design */
.faq-category {
  margin: 56px 0 32px 0;
  text-align: left;
}

.faq-category h3 {
  margin: 0;
  color: var(--accent);
  font-size: 20px;
  font-weight: 600;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

/* Custom icons for warning and limitation lists */

.content ul {
  margin-left:0px;
  padding-left:0px;
}
.warning-list {
  counter-reset: none;
  list-style: none;
  padding-left: 0;
}

.warning-list li {
  counter-increment: none;
  position: relative;
  padding-left: 40px;
  margin: 18px 0;
  line-height: 20px;
}

/* 
.warning-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: -5px;
  width: 30px;
  height: 30px;
  background: var(--warn);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
*/
.warning-list li::after {
  content: "";
  position: absolute;
  left: 0px;
  top: 0px;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%238cc63f' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m21.73 18-8-14a2 2 0 0 0-3.46 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z'/%3E%3Cpath d='M12 8v5' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='16' r='1.2' fill='%238cc63f' stroke='none'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.limitation-list {
  counter-reset: none;
  list-style: none;
  padding-left: 0;
}

.limitation-list ul {
  margin-left:0px;
  padding-left:0px;
}

.limitation-list li {
  counter-increment: none;
  position: relative;
  padding-left: 40px;
  margin: 18px 0;
  line-height: 20px;
}

.limitation-list li::after {
  content: "";
  position: absolute;
  left: 0px;
  top: -4px;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%238cc63f' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 6L6 18'/%3E%3Cpath d='M6 6l12 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.warning-list li strong,
.limitation-list li strong {
  font-size: 14px;
  font-weight: 600;
}

/* Make the "FontReport addresses" paragraph larger */
.two-column-equal div:last-child p:last-of-type {
  font-size: 18px;
  line-height: 1.6;
}

.last-updated {
  text-align: left;
  margin-top: 40px;
  color: var(--muted);
  font-size: 12px;
  font-style: italic;
}

/* Comparison Table Styles */
.comparison-section {
  margin: 40px 0 60px 0;
  padding: 32px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
}

.comparison-section h2 {
  margin: 0 0 24px 0;
  text-align: center;
  color: var(--text);
  font-size: 24px;
}

.comparison-table {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
}

.comparison-row {
  display: contents;
}

.comparison-row.header .feature-cell,
.comparison-row.header .free-cell,
.comparison-row.header .paid-cell {
  background: var(--chip);
  color: white;
  font-weight: 600;
  font-size: 16px;
  padding: 16px;
}

.feature-cell,
.free-cell,
.paid-cell {
  padding: 14px 16px;
  border-right: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  display: flex;
  align-items: center;
}

.feature-cell {
  font-weight: 500;
  background: var(--bg);
}

.free-cell {
  background: var(--panel);
  text-align: center;
  justify-content: center;
}

.paid-cell {
  background: var(--panel);
  text-align: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 500;
}

.comparison-row:last-child .feature-cell,
.comparison-row:last-child .free-cell,
.comparison-row:last-child .paid-cell {
  border-bottom: none;
}

.paid-cell:last-child,
.free-cell:last-child {
  border-right: none;
}

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

.comparison-cta .btn {
  padding: 12px 24px;
  font-size: 16px;
}

.faq-divider {
  height: 1px;
  background: var(--stroke);
  margin: 40px 0;
}

/* Mobile responsiveness for comparison table */
@media (max-width: 768px) {
  .comparison-table {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  
  .comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
  }
  
  .comparison-row.header {
    display: contents;
  }
  
  .comparison-row.header .feature-cell {
    grid-column: 1 / -1;
  }
  
  .feature-cell {
    grid-column: 1 / -1;
    text-align: center;
    background: var(--muted);
    color: var(--bg);
    font-weight: 600;
  }
  
  .comparison-section {
    padding: 20px;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .content-card {
    padding: 24px;
  }
  
  .cta-section {
    padding: 48px 32px;
  }
  
  .cta-section h3 {
    font-size: 28px;
  }
  
  .cta-section p {
    font-size: 16px;
  }
  
  .faq-question {
    font-size: 16px;
    padding: 24px 0;
  }
  
  .faq-category {
    margin: 48px 0 24px 0;
  }
}