/* Page-Specific Layout Styles & Marketing Elements */

/* Hero Section */
.hero-section {
  position: relative;
  background-color: #0f172a; /* Deep elegant slate background */
  color: #ffffff;
  padding: 6.5rem 0 7rem;
  overflow: hidden;
  border-bottom: 1px solid #1e293b;
}

.hero-section h1 {
  color: #ffffff;
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-section p {
  color: #94a3b8;
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.hero-trust {
  font-size: 0.825rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.25rem;
  }
  .hero-section p {
    font-size: 1.05rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    gap: 0.75rem;
  }
}

/* Feature Grid Layouts */
.section-header {
  max-width: 680px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 2.5rem 2rem;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.04), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  border-color: rgba(16, 185, 129, 0.2);
}

.feature-icon-wrapper {
  width: 3rem;
  height: 3rem;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: bold;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.875rem;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

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

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

/* Platform Capabilities / Features Bar */
.stats-bar {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
}

.stat-item .cap-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.stat-item h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.stat-item p {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
}

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

/* Testimonials / Social Proof Row */
.testimonials-section {
  background-color: #f1f5f9;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.01);
}

.testimonial-card p {
  font-size: 1.05rem;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 2.75rem;
  height: 2.75rem;
  background-color: var(--primary-light);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.testimonial-info p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0;
  font-style: normal;
}

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

/* Call-to-Action (CTA) Row */
.cta-banner {
  background-color: #0f172a;
  color: #ffffff;
  border-radius: 12px;
  padding: 4.5rem;
  border: 1px solid #1e293b;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.cta-banner h2 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: #94a3b8;
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.cta-banner .btn {
  padding: 0.75rem 2rem;
}

.cta-banner-controls {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.cta-footnote {
  color: #64748b;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .cta-banner {
    padding: 3rem 1.5rem;
  }
  .cta-banner h2 {
    font-size: 1.85rem;
  }
  .cta-banner-controls {
    flex-direction: column;
    align-items: stretch;
    max-width: 300px;
    margin: 0 auto 1.5rem;
  }
}

/* Features Detailed Page layout */
.detailed-feature-block {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 6rem;
}

.detailed-feature-block:nth-child(even) {
  flex-direction: row-reverse;
}

.detailed-feature-block:last-child {
  margin-bottom: 0;
}

.detailed-feature-text {
  flex: 1;
}

.detailed-feature-text h3 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.detailed-feature-text p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
}

.detailed-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.detailed-feature-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
}

.detailed-feature-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.detailed-feature-graphic {
  flex: 1;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 3.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.feature-mockup-window {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.mockup-header {
  background-color: #f1f5f9;
  border-bottom: 1px solid #cbd5e1;
  height: 24px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 4px;
}

.mockup-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #ef4444;
}
.mockup-dot:nth-child(2) { background-color: #f59e0b; }
.mockup-dot:nth-child(3) { background-color: #10b981; }

.mockup-content {
  padding: 1.5rem;
  background-color: #ffffff;
  font-family: monospace;
  font-size: 0.775rem;
  color: #475569;
  min-height: 140px;
}

@media (max-width: 992px) {
  .detailed-feature-block, .detailed-feature-block:nth-child(even) {
    flex-direction: column;
    gap: 2.5rem;
  }
}

/* Pricing Toggle Switch Components */
.pricing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.pricing-toggle-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.pricing-toggle-label.active {
  color: var(--primary);
}

.switch-control {
  position: relative;
  display: inline-block;
  width: 3.25rem;
  height: 1.75rem;
}

.switch-control input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-knob {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--primary);
  transition: .4s;
  border-radius: 34px;
}

.slider-knob:before {
  position: absolute;
  content: "";
  height: 1.25rem;
  width: 1.25rem;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider-knob {
  background-color: var(--accent);
}

input:focus + .slider-knob {
  box-shadow: 0 0 1px var(--accent);
}

input:checked + .slider-knob:before {
  transform: translateX(1.5rem);
}

/* Pricing Cards Layout */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 5rem;
}

.pricing-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-card.popular {
  border-color: var(--accent);
  box-shadow: 0 10px 20px -5px rgba(16, 185, 129, 0.08);
  transform: scale(1.02);
}

@media (max-width: 992px) {
  .pricing-card.popular {
    transform: none;
  }
}

.pricing-card:hover {
  box-shadow: 0 12px 20px -8px rgba(15, 23, 42, 0.05);
}

.popular-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.plan-desc {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.plan-price-block {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 2.5rem;
}

.plan-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.plan-price {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.plan-period {
  font-size: 0.875rem;
  color: var(--text-light);
}

.plan-features-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
  text-align: left;
}

.plan-features-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 500;
}

.plan-features-list li::before {
  content: "✓";
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.plan-btn {
  margin-top: auto;
  width: 100%;
  padding: 0.75rem;
}

@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto 4rem;
  }
}

/* Compliance Notice Display (Pricing and Legal pages) */
.compliance-notice-box {
  background-color: #ffffff;
  border: 1px dashed var(--border-color);
  border-radius: 8px;
  padding: 2.25rem;
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

.compliance-notice-box h4 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.compliance-notice-box h4::before {
  content: "🛡️";
}

.compliance-notice-box p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Contact Us Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-col h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.contact-block {
  margin-bottom: 2rem;
}

.contact-block h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.contact-block p {
  color: var(--text-light);
  font-size: 0.925rem;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Legal Terms Styles (High-Compliance layouts) */
.legal-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 4rem 3rem;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.01);
}

.legal-wrapper h1 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h2 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.legal-section p {
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-main);
  font-size: 0.95rem;
}

.legal-section ul li {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .legal-wrapper {
    padding: 2.5rem 1.5rem;
  }
  .legal-wrapper h1 {
    font-size: 1.75rem;
  }
}
