/* ================================
   TriggerNest Website Styles
   ================================ */

/* Import modern thin font - Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600&display=swap');

/* CSS Variables - Edit these to change colors site-wide */
:root {
  --color-primary: #00b896;
  --color-accent: #d4b570;
  --color-bg: #0e0f0f;
  --color-text: #ffffff;
  --color-text-muted: #a0a0a0;
  --spacing-section: 80px;
  --spacing-section-mobile: 50px;
  --max-width: 1200px;
}

/* ================================
   Global Styles
   ================================ */

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* Grid background with gradient fade - Zixflow style */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* Subtle radial glow at top */
body::after {
  content: '';
  position: fixed;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 184, 150, 0.08) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* ================================
   Animations
   ================================ */

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ================================
   Navigation
   ================================ */

.header {
  position: sticky;
  top: 0;
  background-color: rgba(14, 15, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  padding: 20px 0;
  animation: fadeIn 0.6s ease-out;
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 60px;
  width: auto;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.05);
  opacity: 0.9;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
}

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

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-links {
    gap: 15px;
    font-size: 13px;
  }

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

@media (max-width: 480px) {
  .nav-links {
    gap: 12px;
    font-size: 12px;
  }

  .logo-img {
    height: 35px;
  }
}

/* ================================
   Hero Section
   ================================ */

.hero {
  padding: 120px 0;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: 72px;
  line-height: 1.1;
  margin-bottom: 28px;
  font-weight: 300;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero .subheadline {
  font-size: 22px;
  color: var(--color-text-muted);
  margin-bottom: 48px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero .btn {
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Mobile Hero */
@media (max-width: 768px) {
  .hero {
    padding: 80px 0;
  }

  .hero h1 {
    font-size: 42px;
    font-weight: 300;
  }

  .hero .subheadline {
    font-size: 18px;
  }
}

/* ================================
   Buttons
   ================================ */

.btn {
  display: inline-block;
  padding: 16px 32px;
  background-color: var(--color-primary);
  color: var(--color-text);
  text-decoration: none;
  font-weight: 400;
  border-radius: 6px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  font-size: 16px;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  background-color: #00a085;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 184, 150, 0.4);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
}

.btn-secondary:hover {
  background-color: var(--color-accent);
  color: var(--color-bg);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 181, 112, 0.3);
}

/* ================================
   Section Styles
   ================================ */

.section {
  padding: var(--spacing-section) 0;
}

.section-title {
  font-size: 48px;
  text-align: center;
  margin-bottom: 60px;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.section-bg {
  background-color: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
  .section {
    padding: var(--spacing-section-mobile) 0;
  }

  .section-title {
    font-size: 32px;
    margin-bottom: 40px;
  }
}

/* ================================
   Service Options (Tabbed Interface)
   ================================ */

.service-tabs {
  max-width: 800px;
  margin: 0 auto;
}

/* Hide the radio inputs */
.tab-input {
  display: none;
}

/* Tab Buttons Container */
.tab-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  justify-content: center;
}

/* Individual Tab Button */
.tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 40px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex: 1;
  max-width: 350px;
  text-align: center;
}

.tab-btn:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.tab-label {
  display: inline-block;
  background-color: rgba(0, 184, 150, 0.2);
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  transition: all 0.4s ease;
}

.tab-title {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text-muted);
  transition: color 0.4s ease;
}

/* Active Tab Styles */
#tab-a:checked ~ .tab-buttons label[for="tab-a"],
#tab-b:checked ~ .tab-buttons label[for="tab-b"] {
  background-color: rgba(0, 184, 150, 0.1);
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(0, 184, 150, 0.2);
  transform: translateY(-4px);
}

#tab-a:checked ~ .tab-buttons label[for="tab-a"] .tab-label,
#tab-b:checked ~ .tab-buttons label[for="tab-b"] .tab-label {
  background-color: var(--color-primary);
  color: var(--color-bg);
}

#tab-a:checked ~ .tab-buttons label[for="tab-a"] .tab-title,
#tab-b:checked ~ .tab-buttons label[for="tab-b"] .tab-title {
  color: var(--color-text);
}

/* Tab Content Wrapper */
.tab-content-wrapper {
  position: relative;
}

/* Tab Content Panels */
.tab-content {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

/* Active Content Panel */
#tab-a:checked ~ .tab-content-wrapper .tab-content-a,
#tab-b:checked ~ .tab-content-wrapper .tab-content-b {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
  position: relative;
}

/* Service Option Card (inside tab) */
.service-option {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 40px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-option:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.05);
}

.option-tagline {
  font-size: 20px;
  color: var(--color-text);
  margin-bottom: 32px;
  line-height: 1.6;
  font-weight: 300;
}

.option-examples,
.option-process {
  margin-bottom: 28px;
}

.examples-label,
.process-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.option-examples ul,
.option-process ol {
  margin-left: 20px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.option-examples li,
.option-process li {
  margin-bottom: 8px;
  font-weight: 300;
}

.service-option .btn {
  margin-top: 12px;
  display: block;
  text-align: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Option Grid Layout */
.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 32px;
}

.option-card {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 28px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.option-card:hover {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.option-card-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 184, 150, 0.2);
}

.option-list {
  list-style: none;
}

.option-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-text-muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 14px;
  transition: color 0.3s ease;
}

.option-list li:last-child {
  margin-bottom: 0;
}

.option-list li:hover {
  color: var(--color-text);
}

.list-icon {
  color: var(--color-primary);
  font-weight: 500;
  flex-shrink: 0;
}

/* Process Steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.process-step {
  display: flex;
  align-items: center;
  gap: 16px;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-primary), #00a085);
  color: var(--color-bg);
  font-size: 14px;
  font-weight: 600;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 184, 150, 0.3);
  transition: all 0.3s ease;
}

.process-step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 184, 150, 0.4);
}

.step-text {
  color: var(--color-text-muted);
  font-size: 15px;
  font-weight: 300;
  transition: color 0.3s ease;
}

.process-step:hover .step-text {
  color: var(--color-text);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .tab-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .tab-btn {
    max-width: 100%;
    padding: 20px 24px;
  }

  .tab-title {
    font-size: 16px;
  }

  .service-option {
    padding: 30px 24px;
  }

  .option-tagline {
    font-size: 18px;
  }

  .option-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .option-card {
    padding: 24px;
  }
}

/* ================================
   Three Column Grid
   ================================ */

.three-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

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

/* ================================
   Feature Cards
   ================================ */

.feature-card {
  text-align: center;
  padding: 30px 20px;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.feature-card:nth-child(1) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(2) {
  animation-delay: 0.4s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.6s;
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 400;
}

.feature-card p {
  color: var(--color-text-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ================================
   Problem/Solution Cards
   ================================ */

.problem-solution {
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  animation: scaleIn 0.6s ease-out forwards;
}

.problem-solution:nth-child(1) {
  animation-delay: 0.3s;
}

.problem-solution:nth-child(2) {
  animation-delay: 0.5s;
}

.problem-solution:nth-child(3) {
  animation-delay: 0.7s;
}

.problem-solution:hover {
  border-color: var(--color-primary);
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 184, 150, 0.15);
}

.problem {
  color: var(--color-text-muted);
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 300;
}

.solution {
  color: var(--color-primary);
  font-size: 18px;
  font-weight: 400;
}

/* ================================
   Case Study Card
   ================================ */

.case-study-card {
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 800px;
  margin: 0 auto 30px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.case-study-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent);
  box-shadow: 0 12px 32px rgba(212, 181, 112, 0.15);
  background-color: rgba(255, 255, 255, 0.05);
}

.case-study-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--color-accent);
  font-weight: 400;
}

.case-study-card p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
  line-height: 1.8;
  font-weight: 300;
}

/* ================================
   Case Study Page Specific
   ================================ */

.case-study-header {
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.case-study-header h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.case-study-meta {
  display: flex;
  gap: 40px;
  color: var(--color-text-muted);
  font-size: 16px;
  flex-wrap: wrap;
  font-weight: 300;
}

.case-study-meta strong {
  color: var(--color-primary);
}

.case-study-content {
  padding: 60px 0;
  max-width: 800px;
  margin: 0 auto;
}

.case-study-section {
  margin-bottom: 50px;
}

.case-study-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--color-accent);
  font-weight: 400;
}

.case-study-section p {
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
  font-weight: 300;
}

.results-list {
  list-style: none;
  margin-top: 20px;
}

.results-list li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 18px;
  font-weight: 300;
}

.results-list li:last-child {
  border-bottom: none;
}

.results-list strong {
  color: var(--color-primary);
}

.tech-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.tech-tag {
  background-color: rgba(0, 184, 150, 0.1);
  color: var(--color-primary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  border: 1px solid rgba(0, 184, 150, 0.2);
}

@media (max-width: 768px) {
  .case-study-header h1 {
    font-size: 32px;
  }

  .case-study-meta {
    gap: 20px;
  }

  .case-study-section h2 {
    font-size: 26px;
  }
}

/* ================================
   CTA Section
   ================================ */

.cta-section {
  text-align: center;
  padding: var(--spacing-section) 0;
  background-color: rgba(0, 184, 150, 0.05);
  border-top: 1px solid rgba(0, 184, 150, 0.2);
  border-bottom: 1px solid rgba(0, 184, 150, 0.2);
}

.cta-section h2 {
  font-size: 48px;
  margin-bottom: 16px;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.cta-section p {
  font-size: 20px;
  color: var(--color-text-muted);
  margin-bottom: 30px;
  font-weight: 300;
}

@media (max-width: 768px) {
  .cta-section h2 {
    font-size: 32px;
  }

  .cta-section p {
    font-size: 18px;
  }
}

/* ================================
   Integrations Section
   ================================ */

.integrations-section {
  overflow: visible;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 18px;
  font-weight: 300;
  margin-top: -40px;
  margin-bottom: 60px;
}

.integrations-arcs {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 450px; /* Extra height for tooltips at top */
  padding-top: 50px; /* Space for tooltips */
  margin: 0 auto;
  margin-top: -50px; /* Compensate for padding */
  /* Fade mask at bottom only - adjusted for new height */
  mask-image: linear-gradient(to top, transparent 0%, transparent 8%, black 25%, black 100%);
  -webkit-mask-image: linear-gradient(to top, transparent 0%, transparent 8%, black 25%, black 100%);
}

/* SVG Arc Lines */
.arcs-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.arc-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 1;
  stroke-dasharray: 4 8;
}

/* Integration Items - positioned by JavaScript */
.integration-item {
  position: absolute;
  width: 48px;
  height: 48px;
  transform: translate(-50%, 50%);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 15, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.integration-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-primary);
  transform: translate(-50%, 50%) scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 184, 150, 0.3);
}

.integration-item img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

/* Tooltip for tool name - appears above the logo */
.integration-item::after {
  content: attr(data-name);
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: var(--color-text);
  font-size: 12px;
  font-weight: 400;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.integration-item:hover::after {
  opacity: 1;
}

.integrations-note {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 300;
  margin-top: 10px;
}

/* Mobile Integrations */
@media (max-width: 768px) {
  .integrations-arcs {
    height: 220px;
    margin-top: 0px;
  }

  .integration-item {
    width: 38px;
    height: 38px;
  }

  .integration-item img {
    width: 20px;
    height: 20px;
  }

  .section-subtitle {
    margin-top: -40px;
    margin-bottom: 0;
  }

  .integration-item::after {
    display: none;
  }
}

/* ================================
   FAQ Section
   ================================ */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-toggle {
  display: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text);
  transition: all 0.3s ease;
}

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

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-primary);
  transition: all 0.3s ease;
}

.faq-icon::before {
  width: 2px;
  height: 14px;
  left: 9px;
  top: 3px;
}

.faq-icon::after {
  width: 14px;
  height: 2px;
  left: 3px;
  top: 9px;
}

.faq-toggle:checked + .faq-question .faq-icon::before {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
}

.faq-answer p {
  padding: 0 24px 24px;
  color: var(--color-text-muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
}

.faq-toggle:checked + .faq-question + .faq-answer {
  max-height: 300px;
}

.faq-toggle:checked + .faq-question {
  color: var(--color-primary);
}

/* Mobile FAQ */
@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .faq-question {
    padding: 20px;
    font-size: 15px;
  }

  .faq-answer p {
    padding: 0 20px 20px;
    font-size: 14px;
  }
}

/* ================================
   Footer
   ================================ */

.footer {
  text-align: center;
  padding: 40px 0;
  color: var(--color-text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}
