/*
Theme Name: Fsdh api sanbox
Author: Antigravity
Description: A custom sandbox theme for FSDH API project.
Version: 1.0.0
Text Domain: fsdh-api-sandbox
*/

/* 
   Using 'Inter' and 'Outfit' as high-quality substitutes for Nacelle 
   as it is a custom font often used in modern web design.
*/
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@400;600;700&family=DM+Serif+Display&display=swap");

:root {
  --font-main: "Inter", sans-serif;
  --font-heading: "Outfit", sans-serif;
  --primary-blue: #004a99;
}

body {
  font-family: var(--font-main);
  background-color: #0a0b10; /* Darker background */
  color: #ffffff;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header Styles */
.site-header {
  width: 100%;
  height: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed; /* Sticky functionality */
  top: 0;
  left: 0;
  z-index: 1000;
  margin-top: 30px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
  background-color: #ffffff;
  margin-top: 10px !important;
  height: 80px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-container {
  width: 1400px;
  height: 99px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
  transition: color 0.4s ease;
}

.scrolled .site-logo {
  color: #000000;
}

/* Navigation */
.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 40px;
}

.main-navigation li a {
  text-decoration: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.4s ease;
}

.scrolled .main-navigation li a {
  color: #000000;
}

.main-navigation li a:hover {
  color: white;
}

/* Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-signin,
.btn-signup {
  width: 149px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 12px; /* Add gap for icon */
}

.btn-signin {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  transition: all 0.4s ease;
}

.scrolled .btn-signin {
  color: #000000;
  border-color: rgba(0, 0, 0, 0.1);
}

.btn-signin:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #ffffff;
}

.scrolled .btn-signin:hover {
  background: rgba(0, 0, 0, 0.03);
  border-color: #000000;
}

.btn-signup {
  color: #fff;
  background: var(--primary-blue);
}

.btn-signup:hover {
  background: #003366;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 74, 153, 0.2);
}

.btn-icon-wrapper {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; /* Prevent icon from shrinking */
}

.btn-icon-svg {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  height: 850px !important; /* Reduced from 950px */
  min-height: 850px;
  background-image: url("assets/images/herobg.jpg") !important;
  background-size: 2308px 1540.54px; /* Figma width/height */
  background-position: -36px -199px; /* Figma top/left offsets */
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #000;
  animation: heroFadeIn 0.6s ease forwards;
}

@keyframes heroFadeIn {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.5472) 54.72%,
    #000000 100%
  );
  z-index: 1;
}

.hero-container {
  width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.hero-content {
  width: 790px;
  height: 602px;
  padding-right: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Badge */
.hero-badge {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 50px; /* More pill-shaped */
  padding: 4px 12px; /* Reduced from 8px 16px */
  width: fit-content;
  gap: 8px;
  margin-bottom: 24px; /* Reduced from 40px */
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.2s;
}

.hero-badge-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-badge-text {
  font-family: var(--font-main);
  font-size: 14px; /* Reduced from 20px */
  font-weight: 500;
  color: #000000;
}

/* Typography */
.hero-title {
  font-family: "DM Serif Display", serif;
  font-size: 72px; /* Increased from 64px */
  line-height: 1.1;
  color: #ffffff;
  width: 970px; /* Reduced from 970px */
  margin: 24px 0; /* Reduced from 40px */
  text-align: left;
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.4s;
}

.hero-description {
  font-family: var(--font-main);
  font-size: 17px; /* Further reduced to 16px */
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  width: 750px; /* Reduced from 970px */
  margin-bottom: 40px;
  text-align: left;
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.6s;
}

/* Buttons */
.hero-actions {
  display: flex;
  gap: 20px;
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.8s;
}

.btn-hero-get-started {
  background: #004987;
  color: #ffffff;
  width: 210px; /* Reduced from 240px */
  height: 56px; /* Reduced from 64px */
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  gap: 12px;
  transition: all 0.3s ease;
}

.btn-hero-explore {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 250px; /* Reduced from 280px */
  height: 56px; /* Reduced from 64px */
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  gap: 12px;
  transition: all 0.3s ease;
}

.btn-hero-get-started:hover,
.btn-hero-explore:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 74, 153, 0.3);
}

.btn-hero-get-started:hover {
  background: #003a6c;
}

.btn-hero-explore:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #ffffff;
}

/* Mobile Specific Styles */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1100;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 2000;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.mobile-menu-header .site-logo {
  color: #000000;
  font-size: 32px;
}

.mobile-menu-close {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-navigation {
  margin-bottom: auto;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-list li {
  margin-bottom: 30px;
}

.mobile-nav-list li a {
  color: #000000;
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
}

.mobile-menu-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
}

.btn-signup-mobile,
.btn-signin-mobile {
  flex: 1;
  height: 56px; /* Premium height */
  border-radius: 56px; /* Pill shape */
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px; /* Optimized for mobile readability */
  gap: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-signup-mobile {
  background-color: #004a99;
  color: #f8f8f8;
  border: 1px solid #e2e8f0;
}

.btn-signin-mobile {
  background: #ffffff;
  color: #004a99;
  border: 1.5px solid #004a99;
}

/* Viewport Specific */
@media (max-width: 1024px) {
  .main-navigation,
  .header-actions {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .header-container {
    width: 100%;
    padding: 0 20px;
  }

  .site-header {
    position: absolute !important; /* Disable sticky on mobile */
    margin-top: 10px !important;
  }

  .hero-section {
    height: 650px !important;
    min-height: 650px;
    background-size: cover !important;
    background-position: center !important;
  }

  .hero-overlay {
    background: rgba(
      0,
      0,
      0,
      0.55
    ) !important; /* Stronger overlay for mobile readability */
  }

  .hero-badge {
    display: none;
  }

  .hero-container {
    width: 100%;
    padding: 0 20px;
  }

  .hero-content {
    width: 100%;
    padding-right: 0;
  }

  .hero-title {
    font-size: 32px; /* Reduced from 40px for better mobile balance */
    width: 100%;
    margin: 16px 0;
  }

  .hero-description {
    font-size: 16px; /* Reduced from 18px */
    width: 100%;
  }

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

  .btn-hero-explore {
    display: none; /* Hide on mobile as requested */
  }

  .btn-hero-get-started {
    width: 200px !important;
    height: 56px !important;
    justify-content: center;
  }
}
/* Getting Started Section */
.getting-started-section {
  padding: 40px 100px; /* Reduced from 50px */
  background-color: #ffffff;
  color: #000000;
}

.getting-started-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  overflow: hidden; /* Prevent child overflow */
}

.getting-started-image-wrapper {
  flex-shrink: 0;
  margin-right: 40px; /* Reduced from 120px */
}

.getting-started-image {
  max-width: 100%; /* Better for responsiveness */
  width: 608px;
  height: 601px; /* Allow height to scale */
  object-fit: cover;
  border-radius: 20px;
  transform: scaleX(-1); /* Flip image horizontally */
}

.getting-started-content {
  flex-grow: 1;
}

.section-tagline {
  font-family: "DM Serif Display", serif;
  font-size: 50px; /* Restored to 50px as per original design request */
  margin: 0 0 40px 0; /* Reduced from 60px */
  color: #000000;
  font-weight: 400;
  text-align: center; /* Centered at the top */
  width: 100%;
}

.section-heading {
  max-width: 900px;
  width: 100%;
  font-family: var(--font-main);
  font-size: 24px; /* Reduced from 32px */
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 30px;
  color: #000000;
}

.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step-counter;
}

.steps-list li {
  font-family: var(--font-main);
  font-size: 18px; /* Reduced from 24px */
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.steps-list li::before {
  counter-increment: step-counter;
  content: counter(step-counter) ". ";
  margin-right: 8px;
}

.getting-started-actions {
  margin-top: 32px;
}

.btn-get-funding {
  display: none; /* Hidden on desktop */
  width: 149px;
  height: 56px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  background: var(--primary-blue);
  color: #ffffff;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-get-funding:hover {
  background: #003366;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 74, 153, 0.2);
}

/* Responsive Getting Started */
@media (max-width: 1400px) {
  .getting-started-section {
    padding: 50px 40px;
  }

  .getting-started-image {
    width: 100%;
    max-width: 600px;
    height: auto;
  }

  .getting-started-image-wrapper {
    margin-right: 60px;
  }
}

@media (max-width: 1024px) {
  .getting-started-section {
    padding: 50px 20px;
  }

  .getting-started-container {
    flex-direction: column;
  }

  .getting-started-image-wrapper {
    margin-right: 0;
    margin-bottom: 20px; /* Reduced from 40px */
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .getting-started-image {
    width: 100%;
    height: 390px;
    object-fit: cover;
    margin-bottom: 0px; /* Managed by wrapper margin now */
    border-radius: 20px;
  }

  .section-tagline {
    font-family: "DM Serif Display", serif;
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    width: 100%;
  }

  .section-heading {
    width: 100%;
    font-size: 20px; /* Reduced for better UI spirit */
    text-align: left;
  }

  .steps-list li {
    font-size: 16px; /* Reduced for cleaner look */
  }

  .btn-get-funding {
    display: inline-flex; /* Visible on mobile */
    width: 180px; /* Increased from 149px */
    height: 56px;
  }
}

/* Product Offerings Section */
.product-offerings-section {
  padding: 60px 100px; /* Reduced from 100px */
  background-color: #ffffff;
  min-height: 600px; /* Reduced from 712px */
  color: #000000;
}

.product-offerings-container {
  max-width: 1512px;
  margin: 0 auto;
}

.product-offerings-section .section-header {
  text-align: center;
  margin-bottom: 40px; /* Reduced from 60px */
}

.section-intro {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.6;
  color: #475467;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.product-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  justify-items: center;
}

.product-card {
  width: 484px;
  height: 436px;
  background-color: #f2f4f7;
  border-radius: 24px;
  padding: 30px; /* Reduced from 40px */
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.card-number {
  width: 65px;
  height: 65px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 30px; /* Reduced from 50px */
}

.card-number.color-1 {
  background-color: #004987;
}
.card-number.color-2 {
  background-color: #a12538;
}
.card-number.color-3 {
  background-color: #deb129;
}

.card-title {
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 700;
  color: #000000;
  margin: 0 0 16px 0;
  text-align: left;
}

.card-description {
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #475467;
  margin-bottom: auto;
  text-align: left;
}

.btn-read-more {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 500;
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
  margin-top: 30px;
}

.btn-read-more:hover {
  color: var(--primary-blue);
}

/* Responsive Product Offerings */
@media (max-width: 1600px) {
  .product-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  }

  .product-card {
    width: 100%;
    max-width: 484px;
  }
}

@media (max-width: 1024px) {
  .product-offerings-section {
    padding: 60px 20px;
  }

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

  .product-offerings-section .section-tagline {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .section-intro {
    font-size: 16px; /* Reduced from 18px */
    line-height: 1.5;
  }

  .product-card {
    height: auto;
    min-height: 320px; /* Reduced from 400px */
    padding: 30px 24px; /* Reduced padding */
  }

  .card-number {
    width: 50px; /* Smaller icon */
    height: 50px;
    margin-bottom: 30px; /* Reduced from 50px */
  }

  .card-title {
    font-size: 20px; /* Reduced from 24px */
    margin-bottom: 12px;
  }

  .card-description {
    font-size: 16px; /* Reduced from 18px */
    margin-bottom: 20px;
  }
}

/* FAQ Section */
.faq-section {
  padding: 60px 100px;
  background-color: #ffffff;
}

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

.faq-tagline {
  text-align: center;
  margin-bottom: 50px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #f9fafb;
  border-radius: 16px;
  background-color: #f9fafb;
  overflow: hidden;
  padding: 0 30px;
}

.faq-item {
  border-bottom: 1px solid #e4e7ec;
}

.faq-item:first-child {
  border-top: 1px solid #e4e7ec;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 600;
  color: #000000;
  text-align: left;
  gap: 16px;
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: #000000;
}

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

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

.faq-answer.open {
  max-height: 400px;
  padding-bottom: 20px;
}

.faq-answer p,
.faq-answer ul {
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #475467;
  margin: 0;
}

.faq-answer ul {
  padding-left: 20px;
  margin-top: 8px;
}

.faq-answer li {
  margin-bottom: 4px;
}

/* Responsive FAQ */
@media (max-width: 1024px) {
  .faq-section {
    padding: 50px 20px;
  }

  .faq-question {
    font-size: 16px;
  }
}

/* Why Choose Us Section */
.why-choose-section {
  padding: 60px 100px;
  background-color: #0a0b10; /* Same dark as hero */
  min-height: 712px;
  display: flex;
  align-items: center;
}

.why-choose-container {
  max-width: 1512px;
  margin: 0 auto;
  width: 100%;
}

.why-choose-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.why-tagline {
  color: #ffffff !important; /* Override for dark bg */
}

.why-intro {
  color: rgba(255, 255, 255, 0.7) !important;
}

.why-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* PRODUCT DETAIL PAGE */
.product-detail-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.product-detail-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.detail-block {
  margin-bottom: 80px;
}

.detail-heading {
  font-family: "DM Serif Display", serif;
  font-size: 40px;
  font-weight: 500;
  color: #000000;
  margin-bottom: 30px;
  letter-spacing: -0.02em;
}

.detail-text {
  font-family: var(--font-main);
  font-size: 18px;
  color: #333333;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.detail-actions {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.btn-api-documentation {
  background-color: #004a99;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 28px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.btn-api-documentation:hover {
  background-color: #003366;
  transform: translateY(-2px);
}

.btn-api-documentation .btn-icon-wrapper {
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .product-detail-section {
    padding: 60px 0;
  }

  .detail-heading {
    font-size: 32px;
  }

  .detail-text {
    font-size: 16px;
  }

  .detail-block {
    margin-bottom: 50px;
  }
}

.why-card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  background: transparent;
  transition:
    border-color 0.3s ease,
    background 0.3s ease;
}

.why-card:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.03);
}

.why-card-icon {
  width: 65px;
  height: 65px;
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  flex-shrink: 0;
}

.why-card-title {
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px 0;
  text-align: left;
}

.why-card-desc {
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  text-align: left;
  margin: 0;
}

/* Responsive Why Choose Us */
@media (max-width: 1024px) {
  .why-choose-section {
    padding: 60px 20px;
    min-height: auto;
  }

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

  .why-card {
    padding: 30px 24px;
  }

  .why-card-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
  }

  .why-card-title {
    font-size: 20px;
  }

  .why-card-desc {
    font-size: 16px;
  }
}

/* =============================================
   PRODUCTS PAGE
   ============================================= */

.products-hero-section {
  position: relative;
  width: 100%;
  height: 500px; /* Uniform height for all inner heroes */
  background-image: url("assets/images/producthero.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

/* Dark overlay for readability */
.products-hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(5, 5, 30, 0.85) 0%,
    rgba(5, 5, 30, 0.5) 60%,
    rgba(5, 5, 30, 0.1) 100%
  );
  z-index: 1;
}

.products-hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 100px;
}

.products-hero-content {
  max-width: 600px;
}

.products-hero-label {
  font-family: "DM Serif Display", serif;
  font-size: 34px; /* As specified */
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px 0;
  text-align: left;
}

.products-hero-subtitle {
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  text-align: left;
  line-height: 1.6;
}

/* Products Page Cards Section */
.products-cards-section {
  padding: 60px 100px;
  background-color: #ffffff;
}

.products-cards-container {
  max-width: 1512px;
  margin: 0 auto;
}

.products-cards-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}

/* Responsive Products Cards */
@media (max-width: 1024px) {
  .products-cards-section {
    padding: 60px 20px;
  }
}

/* Responsive Products Hero */
@media (max-width: 1024px) {
  .products-hero-section {
    height: 400px;
  }

  .products-hero-container {
    padding: 0 20px;
  }

  .products-hero-label {
    font-size: 26px;
  }

  .products-hero-subtitle {
    font-size: 18px;
  }
}

/* =============================================
   AUTH PAGES (Sign In / Sign Up)
   ============================================= */

.auth-page,
.auth-page body {
  background-color: #ffffff !important;
  margin: 0;
  padding: 0;
}

.auth-header {
  width: 100%;
  padding: 24px 60px;
  border-bottom: 1px solid #e4e7ec;
  background: #ffffff;
}

.auth-header-container {
  max-width: 1400px;
  margin: 0 auto;
}

.auth-header .site-logo {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 700;
  color: #000000;
  text-decoration: none;
}

@media (max-width: 1024px) {
  .auth-header {
    padding: 20px 24px;
  }
}

/* Auth Header — White Background Variant */

/* Override dark body background on auth pages */
body.auth-page {
  background-color: #ffffff !important;
  color: #000000 !important;
}

/* Override fixed/transparent header on auth pages */
body.auth-page .auth-site-header {
  background: #ffffff !important;
  border-bottom: 1px solid #e4e7ec !important;
  position: relative !important;
  margin-top: 0 !important;
  box-shadow: none !important;
  top: auto !important;
  left: auto !important;
}

/* Dark logo on white bg */
body.auth-page .auth-logo {
  color: #000000 !important;
}

/* Dark nav links on white bg */
body.auth-page .main-navigation ul li a {
  color: #000000 !important;
}

body.auth-page .main-navigation ul li a:hover {
  color: var(--primary-blue) !important;
}

/* Sign in button — outlined dark on white bg */
body.auth-page .btn-signin-light {
  color: #000000 !important;
  border: 1.5px solid #000000 !important;
  background: transparent !important;
}

body.auth-page .btn-signin-light:hover {
  background: #f5f5f5 !important;
}

/* Auth Page Content */
.auth-main {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: calc(100vh - 99px);
  background-color: #ffffff;
}

.auth-card {
  width: 925px;
  min-height: 902px;
  background-color: #f8f8f8;
  border-radius: 40px;
  padding: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
}

.auth-title {
  font-family: "DM Serif Display", serif;
  font-size: 64px;
  color: #000000;
  margin: 0 0 8px 0;
  text-align: center;
}

.auth-subtitle {
  font-family: var(--font-main);
  font-size: 18px;
  color: #696c80;
  margin: 0 0 48px 0;
  text-align: center;
}

.auth-subtitle a {
  color: #004987;
  font-weight: 600;
  text-decoration: none;
}

.auth-form {
  width: 804px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  color: #000000;
}

.form-group input {
  width: 100%;
  height: 56px;
  background: #ffffff;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  padding: 0 16px;
  font-family: var(--font-main);
  font-size: 16px;
  color: #000000;
  transition: border-color 0.3s ease;
}

.form-group input::placeholder {
  color: #696c80;
  opacity: 0.5;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.input-with-icon {
  position: relative;
  width: 100%;
}

.password-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #696c80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.form-row {
  display: flex;
  gap: 24px;
  width: 100%;
}

.half-width {
  flex: 1;
}

.btn-auth-submit {
  width: 100%;
  height: 69px;
  background: #004987;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  margin-top: 16px;
  transition: all 0.3s ease;
}

.btn-auth-submit:hover {
  background: #003366;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 74, 153, 0.2);
}

.btn-auth-submit .btn-icon-wrapper {
  width: 32px;
  height: 32px;
}

/* Sign In, Forgot Password & Reset Specific Refinements */
.sign-in-card,
.forgot-password-card,
.reset-password-card,
.confirmation-card {
  min-height: auto;
  padding-bottom: 60px;
}

.confirmation-icon {
  width: 98px;
  height: 98px;
  margin-bottom: 40px;
}

.confirmation-card .auth-title {
  margin-bottom: 30px;
}

.confirmation-message {
  text-align: center;
  max-width: 600px;
}

.confirmation-message p {
  font-family: var(--font-main);
  font-size: 18px;
  line-height: 1.6;
  color: #475467;
  margin: 0 0 16px 0;
}

.confirmation-message .user-email {
  font-weight: 600;
  color: #000000;
}

.auth-footer {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;
}

.btn-forgot-password {
  background-color: #f2f4f7;
  color: #696c80;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-forgot-password:hover {
  background-color: #e4e7ec;
  color: #000000;
}

/* Responsive Auth Page */
@media (max-width: 1024px) {
  .auth-card {
    width: 100%;
    min-height: auto;
    padding: 40px 20px;
    border-radius: 24px;
  }

  .auth-form {
    width: 100%;
  }

  .auth-title {
    font-size: 40px;
  }

  .form-row {
    flex-direction: column;
    gap: 24px;
  }
}

/* Global Footer */
/* Profile Page & Logic Styles */
.user-profile-menu {
  display: flex;
  align-items: center;
}

/* Profile mobile button base styles (signup/signin handled at line ~436) */
.btn-profile-mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 60px;
  padding: 0 24px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  background-color: #004a99;
  color: #ffffff;
}

.btn-profile-mobile .profile-icon {
  margin-right: 12px;
  display: flex;
  align-items: center;
}

.mobile-menu-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  padding: 24px;
  margin-top: auto;
}

.btn-profile-mobile {
  flex: 1;
}

.btn-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #ffffff;
  color: #000000;
  padding: 8px 16px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  height: 50px;
}

.btn-profile-light {
  background-color: #004a99;
  color: #ffffff;
}

.profile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background-color: #004a99;
  color: #ffffff;
  border-radius: 50%;
}

.btn-profile-light .profile-icon {
  background-color: #ffffff;
  color: #004a99;
}

.profile-arrow {
  display: flex;
  align-items: center;
  opacity: 0.6;
}

.profile-page-main {
  background-color: #f8f9fa;
  padding: 80px 0;
  min-height: calc(100vh - 400px);
}

.profile-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.profile-page-title {
  text-align: center;
  font-family: var(--font-header);
  font-size: 48px;
  margin-bottom: 60px;
  color: #000000;
}

.profile-dashboard {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.profile-sidebar {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.profile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.profile-nav li {
  margin-bottom: 8px;
}

.profile-nav li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  color: #666666;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.profile-nav li.active a {
  background-color: #eef3f9;
  color: #004a99;
}

.profile-nav li.logout a {
  color: #e53e3e;
  margin-top: 20px;
}

.profile-nav li a:hover:not(.active) {
  background-color: #f7fafc;
  color: #000000;
}

.profile-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
}

.profile-avatar-section {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #f8f9fa;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.avatar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.profile-avatar:hover .avatar-overlay {
  opacity: 1;
}

.profile-avatar:hover {
  transform: scale(1.02);
  border-color: #004a99;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-content .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.profile-content .section-header h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.btn-edit {
  color: #38a169;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.info-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-row {
  display: flex;
  justify-content: space-between;
}

.info-label {
  color: #718096;
  font-size: 16px;
}

.info-value {
  color: #000000;
  font-weight: 600;
  font-size: 16px;
}

/* Profile Edit Form */
.profile-edit-input {
  width: 60%;
  padding: 10px 14px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 500;
  color: #000000;
  background: #f9fafb;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.profile-edit-input:focus {
  outline: none;
  border-color: #004a99;
  box-shadow: 0 0 0 3px rgba(0, 74, 153, 0.1);
  background: #ffffff;
}

.profile-edit-form .info-row {
  align-items: center;
}

/* Password Update Form Styles */
.password-update-card {
  max-width: 600px;
  margin-left: 0;
}

.profile-password-form .form-group {
  margin-bottom: 24px;
}

.form-actions {
  margin-top: 40px;
  display: flex;
  justify-content: flex-start;
}

.btn-profile-save {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 400px;
  height: 60px;
  background-color: #004a99;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 0 30px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-profile-save:hover {
  background-color: #003a7a;
  transform: translateY(-2px);
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon input {
  width: 100%;
  padding-right: 50px !important;
}

.password-toggle {
  position: absolute;
  right: 15px;
  background: none;
  border: none;
  color: #a0aec0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: color 0.3s ease;
}

.password-toggle:hover {
  color: #4a5568;
}

.btn-profile-save .btn-icon-wrapper {
  margin-left: 20px;
}

.btn-profile-save .btn-icon-svg {
  width: 32px;
  height: 32px;
}

.subscriptions-section {
  margin-top: 60px;
}

.subscriptions-title {
  text-align: center;
  font-family: var(--font-header);
  font-size: 42px;
  margin-bottom: 40px;
}

.subscriptions-table-wrapper {
  background: #ffffff;
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow-x: auto;
}

.subscriptions-table {
  width: 100%;
  border-collapse: collapse;
}

.subscriptions-table th {
  text-align: left;
  padding: 20px;
  color: #718096;
  font-weight: 500;
  font-size: 14px;
}

.subscriptions-table td {
  padding: 20px;
  font-size: 16px;
  color: #000000;
}

.subscriptions-table tr:not(:last-child) {
  border-bottom: 1px solid #f0f0f0;
}

.subscriptions-table .empty-state td {
  text-align: center;
  padding: 40px;
  color: #a0aec0;
  font-style: italic;
}

.profile-nav-trigger {
  display: none;
}

@media (max-width: 991px) {
  .profile-page-title {
    font-size: 29px !important;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
  }

  .subscriptions-title {
    font-size: 29px !important;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 24px;
  }

  .profile-dashboard {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .profile-sidebar {
    padding: 0;
    box-shadow: none;
    background: transparent;
    margin-bottom: 20px;
  }

  .profile-nav-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 20px;
    background: #ffffff;
    border: 1px solid #ededed;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  }

  .profile-nav-trigger .trigger-icon {
    display: flex;
    color: #000000;
    margin-right: 12px;
  }

  .profile-nav-trigger .trigger-text {
    flex-grow: 1;
    text-align: left;
    color: #000000;
    font-weight: 500;
  }

  .trigger-arrow {
    transition: transform 0.3s ease;
    opacity: 0.5;
  }

  .profile-nav {
    display: none;
    background: #ffffff;
    border: 1px solid #ededed;
    border-radius: 8px;
    margin-top: 4px;
    padding: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    position: absolute;
    width: calc(100% - 40px);
    z-index: 100;
  }

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

  .profile-nav li.logout a {
    margin-top: 10px;
    border-top: 1px solid #f0f4f8;
    padding-top: 15px;
  }

  .profile-card {
    padding: 20px;
    border-radius: 12px;
  }

  .profile-avatar {
    width: 80px;
    height: 80px;
  }

  .profile-content .section-header h2 {
    font-size: 20px;
  }

  /* Responsive Subscriptions Card Layout */
  .subscriptions-table,
  .subscriptions-table thead,
  .subscriptions-table tbody,
  .subscriptions-table th,
  .subscriptions-table td,
  .subscriptions-table tr {
    display: block;
  }

  .subscriptions-table thead {
    display: none;
  }

  .subscriptions-table tr {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 16px;
    padding: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  }

  .subscriptions-table td {
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: none !important;
    font-size: 14px;
  }

  .subscriptions-table td:before {
    content: attr(data-label);
    font-size: 14px;
    color: #718096;
    font-weight: 400;
  }

  .subscriptions-table td:first-child {
    font-weight: 600;
  }

  .subscriptions-table .empty-state td {
    justify-content: center;
    padding: 30px 0;
    font-style: italic;
    color: #a0aec0;
  }

  .subscriptions-table .empty-state td:before {
    display: none;
  }

  /* Actions buttons on mobile card */
  .subscriptions-table td:last-child {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    gap: 8px;
    justify-content: flex-start;
  }

  .mobile-actions {
    display: flex;
    gap: 8px;
    width: 100%;
  }

  .btn-rename,
  .btn-cancel {
    flex: 1;
    padding: 8px 16px;
    border-radius: 50px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
  }

  .btn-rename {
    background: #004a99;
    color: #ffffff;
    border: 1px solid #004a99;
  }

  .btn-cancel {
    background: transparent;
    border: 1px solid #004a99;
    color: #004a99;
  }
}

.site-footer-custom {
  width: 100%;
  background-color: #242323;
  color: #ffffff;
  padding: 80px 0 40px 0;
  font-family: var(--font-main);
}

.footer-container {
  width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.f-logo {
  width: 100px; /* Adjust based on asset */
  height: auto;
}

.find-us-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col-title {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 24px 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links li a {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-links li a:hover {
  color: #ffffff;
}

.footer-info p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
  line-height: 1.6;
}

.whistle-links {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
}

.whistle-links li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
  line-height: 1.4;
}

/* Footer Subscribe Form */
.footer-subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.f-input {
  width: 339px;
  height: 49px;
  background: #333333;
  border: 1px solid #444444;
  border-radius: 8px;
  padding: 0 16px;
  color: #ffffff;
  font-family: var(--font-main);
}

.f-checkbox-group {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.f-checkbox-group label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

.btn-footer-subscribe {
  width: 143px;
  height: 50px;
  background-color: #ffffff;
  color: #000000;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-footer-subscribe:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

/* Footer Middle */
.footer-middle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.app-buttons {
  display: flex;
  gap: 16px;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-link img {
  width: 32px;
  height: 32px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.social-link:hover img {
  opacity: 1;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 40px;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.copyright p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.bottom-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.f-logo-large {
  width: 140px;
  height: 110px;
  object-fit: contain;
}

.cbn-license {
  background-color: #333333;
  padding: 8px 16px;
  border-radius: 24px;
}

.cbn-license span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Footer */
@media (max-width: 1400px) {
  .footer-container {
    width: 100%;
    padding: 0 40px;
  }
}

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

  .f-input {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .site-footer-custom {
    padding: 40px 0 30px 0;
  }

  .footer-top {
    margin-bottom: 30px;
    gap: 20px;
  }

  .f-logo {
    width: 80px; /* Tighter logo for mobile crispness */
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
  }

  .footer-col-title {
    margin-bottom: 12px;
    font-size: 18px;
  }

  .footer-links li {
    margin-bottom: 8px;
  }

  .footer-top,
  .footer-middle,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .footer-middle {
    padding: 30px 0;
    margin-bottom: 30px;
  }

  .app-buttons {
    flex-wrap: wrap;
    gap: 12px;
  }

  .app-btn img {
    width: 130px; /* Slightly smaller for tighter layout */
    height: auto;
  }

  .bottom-right {
    align-items: flex-start;
    gap: 15px;
  }

  .f-logo-large {
    width: 110px; /* Adjusted size to prevent blurriness from overscaling */
    height: auto;
  }
}
/* =============================================
   API SANDBOX PAGE
   ============================================= */

.api-sandbox-main {
  background-color: #f8f8f8;
}

.api-sandbox-section {
  width: 100%;
  min-height: 500px;
  padding: 80px 0 120px 0; /* Added generous bottom padding */
  display: flex;
  align-items: flex-start;
  background-color: #f8f8f8;
}

.api-sandbox-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

.api-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.api-page-title {
  font-family: "DM Serif Display", serif;
  font-size: 50px;
  font-weight: 400;
  color: #000000;
  margin: 0;
  text-align: left;
}

.api-search-form {
  display: flex;
  gap: 16px;
  align-items: center;
}

.search-input-group {
  position: relative;
  width: 518px;
  height: 58px;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #ededed;
  border-radius: 8px;
  padding: 16px 32px 16px 52px; /* Increased left padding to clear icon */
  gap: 16px;
}

.search-icon {
  display: flex;
  color: #667085;
}

.search-input-group input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 16px;
  color: #101828;
  padding: 0 0 0 12px; /* Added padding to clear icon if flex, though icon is absolute below */
}

.search-input-group input:focus {
  outline: none;
}

.btn-api-search {
  height: 58px;
  padding: 0 32px;
  background-color: #000000;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-api-search:hover {
  background-color: #333333;
}

.api-list-table {
  width: 100%;
}

.api-table-header {
  display: flex;
  padding: 20px 40px;
  color: #667085;
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 12px;
}

.col-name {
  width: 220px;
  flex-shrink: 0;
}
.col-description {
  flex-grow: 1;
  padding: 0 40px;
}
.col-type {
  width: 100px;
  text-align: right;
  flex-shrink: 0;
}

.api-cards-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.api-info-card {
  display: flex;
  align-items: center;
  padding: 32px 40px;
  background-color: #eaecf0;
  border-radius: 16px;
  transition: transform 0.3s ease;
}

.api-info-card:hover {
  transform: translateY(-2px);
}

.api-info-card .col-name {
  font-weight: 600;
  font-size: 18px;
  color: #101828;
}

.api-info-card .col-description {
  font-size: 16px;
  color: #242426;
  line-height: 1.5;
}

.api-info-card .col-type {
  font-weight: 600;
  font-size: 16px;
  color: #101828;
}

/* Mobile Responsive API Sandbox */
@media (max-width: 991px) {
  .api-sandbox-section {
    height: auto;
    padding: 40px 0;
    margin-bottom: 40px;
    background-color: #f8f8f8;
  }

  .api-sandbox-container {
    padding: 0 16px;
  }

  .api-top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
  }

  .api-page-title {
    font-size: 28px;
  }

  .api-search-form {
    width: 100%;
  }

  .search-input-group {
    width: 100%;
    height: 48px;
    padding: 12px 16px 12px 48px; /* Added left padding to clear icon */
  }

  .btn-api-search {
    display: none;
  }

  .api-table-header {
    display: none;
  }

  .api-info-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    border-radius: 12px;
    background-color: #eaecf0;
  }

  .api-info-card .col-name {
    width: 100%;
    font-size: 17px;
    margin-bottom: 4px;
    font-weight: 700;
  }

  .api-info-card .col-description {
    width: 100%;
    padding: 0;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 4px;
    color: #242426;
  }

  .api-info-card .col-type {
    width: 100%;
    text-align: left;
    padding-top: 0;
    border-top: none;
    font-size: 14px;
    font-weight: 600;
  }
}

/* =============================================
   GO LIVE PAGE
   ============================================= */

.go-live-main {
  background-color: #ffffff;
}

.go-live-section {
  width: 100%;
  padding: 80px 0 120px;
  display: flex;
  justify-content: center;
}

.go-live-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.go-live-header {
  text-align: center;
  margin-bottom: 40px;
}

.go-live-title {
  font-family: "DM Serif Display", serif;
  font-size: 56px;
  font-weight: 400;
  color: #101828;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.go-live-intro {
  font-size: 16px;
  font-weight: 300;
  color: #667085;
  line-height: 1.6;
  max-width: 1000px;
  margin: 0 auto 40px;
}

.go-live-form-wrapper {
  background-color: #f9fafb;
  padding: 60px 80px;
  border-radius: 40px;
  border: 1px solid #eaecf0;
}

.go-live-form .form-group {
  margin-bottom: 32px;
}

.go-live-form .form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #344054;
  margin-bottom: 12px;
}

.go-live-form .form-input,
.go-live-form .form-select {
  width: 100%;
  height: 56px;
  padding: 12px 20px;
  background-color: #ffffff;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  font-size: 16px;
  color: #101828;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
}

.go-live-form .form-input::placeholder {
  color: #667085;
}

.go-live-form .select-wrapper {
  position: relative;
}

.go-live-form .form-select {
  appearance: none;
  cursor: pointer;
}

.go-live-form .select-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #667085;
  pointer-events: none;
}

.go-live-form .checkbox-group {
  display: flex;
  gap: 32px;
  margin-bottom: 8px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #344054;
  cursor: pointer;
}

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

.compliance-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #475467;
  line-height: 1.5;
  cursor: pointer;
}

.go-live-form input[type="checkbox"] {
  display: none;
}

.checkbox-custom {
  width: 24px;
  height: 24px;
  background-color: #ffffff;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.go-live-form input[type="checkbox"]:checked + .checkbox-custom {
  background-color: #101828;
  border-color: #101828;
}

.go-live-form input[type="checkbox"]:checked + .checkbox-custom::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.phone-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.phone-prefix {
  position: absolute;
  left: 20px;
  display: flex;
  align-items: center;
}

.flag-icon {
  width: 24px;
  height: auto;
}

.phone-input-group .form-input {
  padding-left: 60px;
  padding-right: 50px;
}

.phone-icon {
  position: absolute;
  right: 20px;
  color: #667085;
}

/* PRODUCT SUBSCRIPTION PAGE */
.subscription-hero {
  height: 500px; /* Uniform with products hero */
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("assets/images/producthero.jpg");
}

.product-subscription-page {
  background-color: #ffffff;
}

.subscription-controls-section,
.api-product-list-section {
  background-color: #ffffff;
}

.subscription-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
}

.subscription-title {
  font-family: "DM Serif Display", serif;
  font-size: 42px;
  text-align: center;
  color: #0c111d;
  margin: 60px 0 40px;
}

.subscription-card,
.api-list-card {
  background: #f9f9f9;
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  margin-bottom: 80px;
}

.empty-state-icon {
  margin-bottom: 24px;
}

.empty-state-icon img {
  width: 98px;
  height: 98px;
}

.empty-state-text {
  font-size: 18px;
  color: #475467;
  margin-bottom: 32px;
}

.subscription-form {
  max-width: 500px;
  margin: 0 auto;
}

.sub-input {
  width: 100%;
  height: 56px;
  padding: 0 20px;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  font-size: 16px;
  margin-bottom: 20px;
  background-color: #ffffff;
}

.checkbox-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  color: #475467;
  cursor: pointer;
  margin-bottom: 32px;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background-color: #004a99;
  border-color: #004a99;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.btn-subscribe {
  background-color: #004a99;
  color: #ffffff;
  height: 56px;
  padding: 0 32px;
  border: none;
  border-radius: 28px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.btn-subscribe:hover {
  background-color: #003366;
}

/* API List Table */
.list-header {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  justify-content: center;
}

.search-wrapper {
  position: relative;
  flex: 1;
  max-width: 400px;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
}

.list-search-input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 48px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background-color: #ffffff;
}

.btn-list-search {
  height: 48px;
  padding: 0 24px;
  background-color: #000000;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.api-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
  text-align: left;
}

.api-table th {
  padding: 12px 24px;
  font-size: 14px;
  color: #667085;
  font-weight: 500;
}

.api-table td {
  background: #f2f4f7;
  padding: 24px;
}

.api-table tr td:first-child {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  width: 250px;
  font-weight: 600;
  color: #101828;
}

.api-table tr td:last-child {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  color: #475467;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .subscription-hero {
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .products-hero-content {
    padding: 0 20px;
  }

  .products-hero-label {
    font-size: 30px !important;
  }

  .products-hero-subtitle {
    font-size: 14px !important;
    line-height: 1.5;
  }

  .subscription-title {
    font-size: 26px;
    text-align: left;
    margin: 40px 0 24px;
  }

  .subscription-card,
  .api-list-card {
    padding: 30px 20px;
    margin-bottom: 40px;
    border-radius: 16px;
  }

  .list-header {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
  }

  .search-wrapper {
    max-width: 100%;
  }

  .btn-list-search {
    width: 100%;
  }

  /* Transform table into card layout */
  .api-table,
  .api-table thead,
  .api-table tbody,
  .api-table th,
  .api-table td,
  .api-table tr {
    display: block;
    width: 100%;
  }

  .api-table thead {
    display: none; /* Hide headers on mobile */
  }

  .api-table td {
    background: #f2f4f7;
    margin-bottom: 16px;
    padding: 20px !important;
    border-radius: 12px !important;
    text-align: left;
  }

  .api-name-cell {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #101828 !important;
    padding-bottom: 10px !important;
  }

  .api-desc-cell {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
}

.form-footer {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.btn-go-live {
  width: 180px;
  height: 56px;
  background-color: #004a99;
  color: #ffffff;
  border: none;
  border-radius: 28px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-go-live:hover {
  background-color: #003366;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 74, 153, 0.2);
}

.btn-go-live .btn-icon-wrapper {
  display: flex;
  align-items: center;
}

.btn-go-live .btn-icon-wrapper svg {
  width: 32px;
  height: 32px;
}

/* Go Live Mobile Responsiveness */
@media (max-width: 991px) {
  .go-live-section {
    padding: 40px 0;
  }

  .go-live-title {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .go-live-intro {
    font-size: 14px;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .go-live-form-wrapper {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .go-live-form .form-group {
    margin-bottom: 20px;
  }

  .go-live-form .form-label {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .go-live-form .form-input,
  .go-live-form .form-select {
    height: 48px;
    font-size: 14px;
    padding: 0 16px;
  }

  .go-live-form .checkbox-group {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }

  .checkbox-item,
  .compliance-item {
    font-size: 13px;
  }

  .checkbox-custom {
    width: 20px;
    height: 20px;
  }

  .go-live-form input[type="checkbox"]:checked + .checkbox-custom::after {
    left: 6px;
    top: 3px;
    width: 5px;
    height: 9px;
  }

  .phone-input-group .form-input {
    padding-left: 55px;
  }

  .phone-prefix {
    left: 12px;
  }

  .btn-go-live {
    width: 100%;
    height: 56px;
    font-size: 16px;
  }

  .btn-go-live .btn-icon-wrapper svg {
    width: 24px;
    height: 24px;
  }
}
