/* Home Page - Specific Styles */

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.08), rgba(14, 165, 233, 0.08));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.7s ease forwards;
  opacity: 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--accent-2);
  margin: 0 0 6px;
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 5vw, 42px);
}

.lede {
  margin: 0 0 16px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  clip-path: inset(15% 0 15% 0 round var(--radius));
  object-position: center;
}

/* Theme-specific image visibility */
.hero-image-light {
  display: none;
}

.hero-image-dark {
  display: block;
}

[data-theme="light"] .hero-image-light {
  display: block;
}

[data-theme="light"] .hero-image-dark {
  display: none;
}

[data-theme="light"] .hero-image {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-image:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .hero-image:hover {
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for hero section */
@media (max-width: 968px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .hero-image-container {
    order: -1;
    max-height: 400px;
    overflow: hidden;
    border-radius: var(--radius);
  }
  
  .hero-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    clip-path: inset(15% 0 15% 0);
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 20px;
  }
  
  .hero-image-container {
    max-height: 300px;
  }
  
  .hero-image {
    max-height: 300px;
    clip-path: inset(15% 0 15% 0);
  }
}

@media (max-width: 480px) {
  .hero-image-container {
    max-height: 250px;
  }
  
  .hero-image {
    max-height: 250px;
    clip-path: inset(15% 0 15% 0);
  }
}

/* Tools Grid Section */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.tool-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.3s ease, background-color 0.3s ease;
  animation: fadeInUp 0.65s ease forwards;
  opacity: 0;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .tool-card:hover {
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.tool-icon {
  font-size: 48px;
  margin-bottom: 8px;
}

.tool-card h2 {
  margin: 0;
  font-size: 24px;
}

.tool-card p {
  margin: 0;
  color: var(--muted);
  flex-grow: 1;
}

.tool-card .button {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
}

.tool-card:nth-child(1) { animation-delay: 0.05s; }
.tool-card:nth-child(2) { animation-delay: 0.1s; }
.tool-card:nth-child(3) { animation-delay: 0.15s; }
.tool-card:nth-child(4) { animation-delay: 0.2s; }
.tool-card:nth-child(5) { animation-delay: 0.25s; }
.tool-card:nth-child(6) { animation-delay: 0.3s; }

/* Most Popular Features Section */
.popular-features {
  margin: 48px 0;
  padding: 48px 20px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(14, 165, 233, 0.05));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  animation: fadeIn 0.8s ease forwards;
}

.popular-container {
  max-width: 1100px;
  margin: 0 auto;
}

.popular-header {
  text-align: center;
  margin-bottom: 40px;
  animation: fadeInUp 0.6s ease forwards;
}

.popular-header .eyebrow {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--accent-2);
  margin: 0 0 8px;
  font-size: 14px;
}

.popular-header h2 {
  font-size: clamp(32px, 5vw, 42px);
  margin: 0 0 12px;
}

.popular-intro {
  color: var(--muted);
  font-size: 18px;
  margin: 0;
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.popular-card {
  position: relative;
  padding: 36px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

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

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

.popular-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(124, 58, 237, 0.2);
  border-color: var(--accent);
}

[data-theme="light"] .popular-card:hover {
  box-shadow: 0 30px 80px rgba(124, 58, 237, 0.15);
}

.popular-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gradient);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.popular-icon {
  font-size: 64px;
  margin-bottom: 8px;
  animation: float 3s ease-in-out infinite;
}

.popular-card:nth-child(2) .popular-icon {
  animation-delay: 0.5s;
}

.popular-card h3 {
  margin: 0;
  font-size: 28px;
  color: var(--text);
}

.popular-card > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px;
}

.popular-features-list {
  list-style: none;
  padding: 0;
  margin: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.popular-features-list li {
  color: var(--text);
  font-size: 15px;
  padding-left: 8px;
}

.popular-features-list li::marker {
  content: '';
}

.popular-card .button {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 12px 24px;
}

.featured-signature {
  border-left: 4px solid var(--accent);
}

.featured-email {
  border-left: 4px solid var(--accent-2);
}

/* FAQ Section */
.faq-section {
  margin-top: 48px;
  padding: 0 20px;
  animation: fadeIn 0.8s ease forwards;
  opacity: 0;
}

.faq-container {
  max-width: 1100px;
  margin: 0 auto;
}

.faq-container > h2 {
  font-size: clamp(28px, 4vw, 36px);
  margin: 0 0 8px;
  text-align: center;
}

.faq-intro {
  text-align: center;
  color: var(--muted);
  margin: 0 0 40px;
  font-size: 18px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.faq-category {
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.faq-category:nth-child(1) { animation-delay: 0.05s; }
.faq-category:nth-child(2) { animation-delay: 0.1s; }
.faq-category:nth-child(3) { animation-delay: 0.15s; }
.faq-category:nth-child(4) { animation-delay: 0.2s; }
.faq-category:nth-child(5) { animation-delay: 0.25s; }
.faq-category:nth-child(6) { animation-delay: 0.3s; }
.faq-category:nth-child(7) { animation-delay: 0.35s; }

.faq-category > h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--accent-2);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: transparent;
  border: none;
  text-align: left;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-family: inherit;
}

.faq-question:hover {
  background: rgba(124, 58, 237, 0.05);
}

.faq-question[aria-expanded="true"] {
  background: rgba(124, 58, 237, 0.08);
}

.faq-question span:first-child {
  flex: 1;
  padding-right: 16px;
}

.faq-icon {
  font-size: 24px;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s ease;
  min-width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

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

.faq-question[aria-expanded="true"] + .faq-answer {
  max-height: 1000px;
  padding: 0 20px 20px;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  padding-top: 8px;
}

.faq-answer p:first-child {
  padding-top: 0;
}

/* New Tool Section - PDF Merger (Updated Colors) */
.new-tool-section {
  margin: 64px 0;
  padding: 64px 20px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.12));
  border-top: 3px solid rgba(99, 102, 241, 0.4);
  border-bottom: 3px solid rgba(99, 102, 241, 0.4);
  animation: fadeIn 0.8s ease forwards;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(99, 102, 241, 0.2), inset 0 0 80px rgba(139, 92, 246, 0.08);
}

.new-tool-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.2), transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(59, 130, 246, 0.15), transparent 50%),
              radial-gradient(circle at 50% 100%, rgba(139, 92, 246, 0.12), transparent 60%);
  pointer-events: none;
  animation: pulse 4s ease-in-out infinite;
}

.new-tool-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 50px,
    rgba(99, 102, 241, 0.02) 50px,
    rgba(99, 102, 241, 0.02) 52px
  );
  pointer-events: none;
  opacity: 0.5;
}

.new-tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6, #3b82f6);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.5), 0 0 30px rgba(139, 92, 246, 0.3);
  margin-bottom: 24px;
  animation: fadeInDown 0.6s ease forwards;
  position: relative;
  overflow: hidden;
}

.new-tool-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shine 3s infinite;
}

.new-badge-icon {
  font-size: 18px;
  animation: spin 2s linear infinite;
}

.new-badge-text {
  font-size: 13px;
}

.new-tool-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  animation: fadeInUp 0.8s ease forwards;
  position: relative;
  z-index: 1;
}

.new-tool-text h2 {
  font-size: clamp(36px, 5vw, 48px);
  margin: 0 0 16px;
  color: #ffffff;
  line-height: 1.2;
  background: linear-gradient(135deg, #6366f1, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.new-tool-subtitle {
  font-size: 20px;
  color: var(--muted);
  margin: 0 0 24px;
  font-weight: 500;
}

.new-tool-description {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  margin: 0 0 32px;
}

.new-tool-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.new-tool-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--text);
}

.feature-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #14b8a6, #c084fc);
  color: white;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(20, 184, 166, 0.4), 0 2px 8px rgba(192, 132, 252, 0.4);
}

.new-tool-button {
  font-size: 18px;
  padding: 16px 32px;
  background: #0ea5e9;
  border: none;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
  transition: all 0.3s ease;
}

.new-tool-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.5);
  background: #38bdf8;
}

.new-tool-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.new-tool-preview {
  width: 100%;
  max-width: 400px;
}

.preview-card {
  background: var(--surface);
  border: 2px solid rgba(99, 102, 241, 0.3);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
  animation: float 4s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.preview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6366f1, #3b82f6, #8b5cf6);
}

.preview-header {
  font-size: 48px;
  text-align: center;
  margin-bottom: 16px;
}

.preview-text {
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  margin-bottom: 16px;
}

.preview-footer {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

[data-theme="light"] .preview-text {
  color: var(--text);
}

[data-theme="light"] .preview-footer {
  color: var(--muted);
}

@keyframes shine {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .new-tool-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .new-tool-visual {
    order: -1;
  }
  
  .new-tool-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .new-tool-section {
    padding: 48px 16px;
    margin: 48px 0;
  }
  
  .new-tool-text h2 {
    font-size: 28px;
  }
  
  .new-tool-subtitle {
    font-size: 18px;
  }
  
  .new-tool-description {
    font-size: 16px;
  }
  
  .preview-card {
    padding: 24px;
  }
}

/* Modal Styles - PDF Merger */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: var(--surface);
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 0.4s ease;
  position: relative;
  border: 1px solid var(--border);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 24px;
  color: var(--text);
  z-index: 10;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.2);
  transform: rotate(90deg);
}

.new-tool-modal {
  padding: 0;
}

.modal-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #6366f1, #3b82f6, #8b5cf6);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 20px 20px 0 0;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.modal-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shine 3s infinite;
}

.modal-badge-icon {
  font-size: 18px;
  animation: spin 2s linear infinite;
}

.modal-body {
  padding: 40px;
  text-align: center;
  overflow-y: auto;
}

.modal-icon {
  font-size: 80px;
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite;
}

.modal-title {
  font-size: clamp(28px, 5vw, 36px);
  margin: 0 0 12px;
  color: var(--text);
  background: linear-gradient(135deg, #6366f1, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .modal-title {
  background: linear-gradient(135deg, #6366f1, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-subtitle {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 32px;
  line-height: 1.6;
}

.modal-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
  text-align: left;
}

.modal-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--text);
  padding: 12px;
  background: var(--bg);
  border-radius: 8px;
}

.modal-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #14b8a6, #c084fc);
  color: white;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(20, 184, 166, 0.4), 0 2px 8px rgba(192, 132, 252, 0.4);
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-button {
  font-size: 18px;
  padding: 16px 32px;
  background: #0ea5e9;
  border: none;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
  transition: all 0.3s ease;
  width: 100%;
  justify-content: center;
}

.modal-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.5);
  background: #38bdf8;
}

.modal-close-btn {
  width: 100%;
  justify-content: center;
  padding: 12px 24px;
  color: #f472b6;
  border-color: rgba(244, 114, 182, 0.3);
}

.modal-close-btn:hover {
  background: rgba(244, 114, 182, 0.1);
  border-color: rgba(244, 114, 182, 0.5);
  color: #f472b6;
}

@keyframes slideUpFromBottom {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .modal-content {
    border-radius: 20px 20px 0 0;
    max-width: 100%;
    width: 100%;
    max-height: 100vh;
    height: 100vh;
    height: 100dvh;
    animation: slideUpFromBottom 0.4s ease;
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
  }

  .modal-body {
    padding: 16px 20px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
    text-align: center;
    box-sizing: border-box;
  }

  .modal-icon {
    font-size: 48px;
    margin-bottom: 12px;
  }

  .modal-title {
    font-size: 22px;
    margin-bottom: 6px;
  }

  .modal-subtitle {
    font-size: 15px;
    margin-bottom: 16px;
    line-height: 1.4;
  }

  .modal-features {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 12px 0;
    flex-shrink: 0;
  }

  .modal-feature {
    font-size: 14px;
    padding: 10px;
  }

  .modal-badge {
    padding: 12px 20px;
    font-size: 12px;
    border-radius: 20px 20px 0 0;
    flex-shrink: 0;
    box-sizing: border-box;
  }

  .modal-icon,
  .modal-title,
  .modal-subtitle {
    flex-shrink: 0;
  }

  .modal-actions {
    flex-shrink: 0;
    padding: 16px 20px;
    background: var(--surface);
    border-top: 1px solid var(--border);
    margin-top: auto;
    box-sizing: border-box;
  }
}

/* Responsive Styles */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .faq-section {
    padding: 0 12px;
  }
  .popular-grid {
    grid-template-columns: 1fr;
  }
  .popular-features {
    padding: 32px 12px;
  }
  .popular-card {
    padding: 28px;
  }
}

